What problem does it solve?
This skill consolidates a comprehensive set of C++ coding standards derived from the C++ Core Guidelines to help teams write, review, and refactor modern, safe, and idiomatic C++ code, reducing defects and opinion-based variance.
Core Features & Use Cases
- Cross-Cutting Principles: RAII everywhere (Resource lifetime tied to object lifetime), Immutability by default, Type safety, Express intent, Minimize complexity, Value semantics over pointer semantics.
- Rules & Examples: Functions (F.), Classes & Class Hierarchies (C.), Resource Management (R.), Concurrency & Parallelism (CP.), Templates (T.), Standard Library (SL.), Enumerations (Enum.), Source Files & Naming (SF.), Performance (Per.*).
- Use Cases: Writing new C++ code, reviewing or refactoring existing code, architectural decisions, coding style enforcement across a codebase.
Quick Start
Audit and refactor your C++ projects to align with modern, safe, and idiomatic practices defined in the C++ Core Guidelines.