
Cpp Coding Standards
Gives Claude a comprehensive reference to the C++ Core Guidelines so it can write, review, and refactor modern C++ code. Covers the big stuff like RAII everywhere, immutability by default, smart pointers over raw pointers, and the Rule of Zero/Five. Includes specific guidance on parameter passing (cheap types by value, others by const ref), when to use constexpr and noexcept, and how to handle class hierarchies with virtual destructors. The tables and code examples are detailed enough that Claude can cite specific rules like "I.11: never transfer ownership by raw pointer" when reviewing your code. Best for C++17 and later. If you're stuck in legacy C or bare metal with weird constraints, you'll need to adapt selectively.
- skills.sh installs
- 6.2K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill cpp-coding-standards --agent claude-codeInstalls into .claude/skills of the current project.
Files
C++ Coding Standards (C++ Core Guidelines)
Comprehensive coding standards for modern C++ (C++17/20/23) derived from the C++ Core Guidelines. Enforces type safety, resource safety, immutability, and clarity.
When to Use
- Writing new C++ code (classes, functions, templates)
- Reviewing or refactoring existing C++ code
- Making architectural decisions in C++ projects
- Enforcing consistent style across a C++ codebase
- Choosing between language features (e.g.,
enumvsenum class, raw pointer vs smart pointer)
When NOT to Use
- Non-C++ projects
- Legacy C codebases that cannot adopt modern C++ features
- Embedded/bare-metal contexts where specific guidelines conflict with hardware constraints (adapt selectively)
Cross-Cutting Principles
These themes recur across the entire guidelines and form the foundation:
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Git & Pull Requests, Documentation, Code Review & Quality
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Golang Testing6.2K
- Deep Research6.2K
- Java Coding Standards6.2K
- Blender Motion State Inspection6.1K
- Laravel Patterns6.1K
- Rust Patterns6.1K
- Springboot Patterns6.1K
- Context Budget6.1K
- Accessibility6.1K
- Nestjs Patterns6.1K
- Seo6.1K
- Django Security6.1K
- Git Workflow6K
- Python Testing6K
- Strategic Compact6K
- Design System6K
- Browser Qa6K
- Springboot Security6K
- Search First6K
- Nextjs Turbopack6K
- Brand Voice6K
- Jira Integration6K
- Laravel Tdd6K
- Fastapi Patterns6K