{"enrichment":{"faq":[{"a":"cpp-coding-standards delivers comprehensive coding standards rooted in the C++ Core Guidelines, covering modern C++17/20/23 practices. It emphasizes type safety, resource management through RAII, immutability by default, and clear intent in code design. Use it when writing new code, reviewing existing implementations, or making architectural decisions to enforce consistent, safe, and idiomatic C++ across your projects.","q":"What C++ coding standards guidelines does this skill cover?"},{"a":"cpp-coding-standards teaches RAII (Resource Acquisition Is Initialization) patterns as a core mechanism for safe resource management. It guides you through proper use of smart pointers like unique_ptr and shared_ptr, exception-safe code design, and the Rule of Five for class lifecycle management. These patterns ensure resources are automatically cleaned up and memory leaks are prevented.","q":"How does cpp-coding-standards help with RAII and resource management?"},{"a":"cpp-coding-standards promotes type safety by encouraging const by default, proper use of const references, and avoiding unsafe casts. It teaches const correctness principles to make intent explicit, prevent accidental mutations, and enable compiler-enforced contracts. These practices reduce bugs and improve code clarity across modern C++ codebases.","q":"What type safety and const correctness principles does cpp-coding-standards apply?"},{"a":"Yes. cpp-coding-standards provides a code review framework aligned with C++ Core Guidelines, checking for safety violations, style compliance, and idiomatic patterns. It covers naming conventions, header file organization, function parameter passing, enum class usage, and anti-pattern avoidance\u2014enabling consistent, maintainable reviews across your team.","q":"Can cpp-coding-standards help with C++ code review for safety and style?"},{"a":"cpp-coding-standards covers modern C++17/20/23 features and idioms: smart pointers for memory safety, template concepts for generic code clarity, exception handling patterns, and concurrent threading with mutex and thread safety. It balances performance optimization with safety, helping you write efficient, maintainable code that leverages the latest language capabilities.","q":"How does cpp-coding-standards address modern C++ best practices?"},{"a":"cpp-coding-standards addresses concurrent C++ design with guidance on thread safety, mutex usage, and synchronization patterns. It helps you design thread-safe code that avoids race conditions and deadlocks, integrating concurrency principles into your broader C++ architecture for reliable multi-threaded applications.","q":"What concurrent C++ code patterns does cpp-coding-standards teach?"}],"shadow_tags":["type-safety","resource-lifecycle","immutability-first","raii-pattern","smart-pointers","exception-safety","concurrency-safety","code-review","compile-time-checks","memory-safety"],"summary_rewrite":"This skill delivers comprehensive coding standards rooted in the C++ Core Guidelines, covering modern C++17/20/23 practices. It emphasizes type safety, resource management through RAII, immutability by default, and clear intent in code design. Use it when writing new code, reviewing existing implementations, or making architectural decisions to enforce consistent, safe, and idiomatic C++ across your projects."},"files":[{"bytes":22659,"path":"skills/cpp-coding-standards/SKILL.md","sha256":"34278efbf293603134b7fefc50be6418dce2289d69add02a85783c26c2417b31","url":"https://skillfed.io/files/xu-xiang/everything-claude-code-zh/cpp-coding-standards/b2ad1ebd/SKILL.md"}],"id":"xu-xiang/everything-claude-code-zh/cpp-coding-standards","links":{"html":"https://skillfed.io/xu-xiang/everything-claude-code-zh/cpp-coding-standards","md":"https://skillfed.io/xu-xiang/everything-claude-code-zh/cpp-coding-standards.md","repo":"https://github.com/xu-xiang/everything-claude-code-zh"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":298,"language":"JavaScript","last_updated":"2026-03-05","license":"MIT","name":"cpp-coding-standards","publisher":"xu-xiang","stars":1767},"relations":{"similar":[{"id":"affaan-m/ECC/cpp-coding-standards"},{"id":"miles990/claude-software-skills/cpp"},{"id":"irahardianto/awesome-agv/cpp-idioms"},{"id":"Jeffallan/claude-skills/cpp-pro"},{"id":"personamanagmentlayer/pcl/cpp-expert"},{"id":"Mindrally/skills/cpp"},{"id":"softspark/ai-toolkit/cpp-rules"},{"id":"Aznatkoiny/zAI-Skills/cpp-reinforcement-learning"},{"id":"mohitmishra786/low-level-dev-skills/cpp-coroutines"},{"id":"mohitmishra786/low-level-dev-skills/cpp-templates"}]},"slug":{"owner":"xu-xiang","repo":"everything-claude-code-zh","skill":"cpp-coding-standards"},"version":"b2ad1ebd"}
