
Cpp Coding Standards
Enforces modern C++ practices based on the Core Guidelines, covering RAII, smart pointers, const correctness, and the Rule of Zero/Five. Use it when writing new C++ code or reviewing pull requests to catch things like raw new/delete, missing override keywords, or returning pointers to locals. The cross-cutting principles section is especially useful because it connects dozens of specific rules back to six core ideas like immutability by default and type safety. The parameter passing guide alone (cheap types by value, expensive by const ref) will save you from common performance mistakes. If you're still debating whether to use unique_ptr or shared_ptr, this makes the answer obvious.
- skills.sh installs
- 6.2K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --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
More from affaan-m/everything-claude-code
All 256- Market Research6.2K
- Strategic Compact6.1K
- Android Clean Architecture6K
- Springboot Tdd6K
- Continuous Learning5.9K
- Database Migrations5.9K
- Django Tdd5.9K
- E2e Testing5.9K
- Liquid Glass Design5.9K
- Security Scan5.9K
- Deployment Patterns5.8K
- Jpa Patterns5.8K
- Laravel Patterns5.8K
- Clickhouse Io5.7K
- Eval Harness5.7K
- Laravel Security5.7K
- Cpp Testing5.6K
- Iterative Retrieval5.6K
- Agent Harness Construction5.5K
- Configure Ecc5.5K
- Nutrient Document Processing5.5K
- Search First5.5K
- Verification Loop5.5K
- Agentic Engineering5.4K