affaan-m avatar

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-code

Installs 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., enum vs enum 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
1vinvcn avatarsetup-matt-pocock-skillsvinvcn/mattpocock-skills-zh-cn为此仓库配置 engineering skills——设置其 issue tracker、triage labels 词汇与 domain docs 布局。在首次使用其他 engineering skills 前运行一次。6.2Kskills.sh installs
2forcedotcom avatardesign-systems-slds-validateforcedotcom/sf-skillsAudit Lightning Web Components for SLDS compliance and produce a scored quality report. Runs the SLDS linter, analyzes CSS for theming hook usage and pairing, c6Kskills.sh installs
3brianlovin avatardeslopbrianlovin/agent-configRemove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.5.8Kskills.sh installs
4affaan-m avatarblueprintaffaan-m/eccTurn a one-line objective into a step-by-step construction plan for multi-session, multi-agent engineering projects. Each step has a self-contained context brie5.5Kskills.sh installs
5affaan-m avatarknowledge-opsaffaan-m/eccKnowledge base management, ingestion, sync, and retrieval across multiple storage layers (local files, MCP memory, vector stores, Git repos). Use when the user 5.4Kskills.sh installs
6affaan-m avatarproject-flow-opsaffaan-m/eccOperate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains5.4Kskills.sh installs