Skip to content
Skill

Cpp coding standards

Guides an agent to write and review C++ code following the C++ Core Guidelines

Cpp coding standards is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
7
Last commit
License
MIT
Listing updated

Similar skills

About Cpp coding standards

This skill gives the agent a condensed reference of the C++ Core Guidelines, organized by topic such as interfaces, functions, classes, resource management, error handling, concurrency, templates and naming. It targets modern C++ from C++17 through C++23 and is meant to steer code toward type safety, RAII, immutability by default and clear intent.

The instructions are mostly rule tables paired with short good and bad code examples, plus lists of anti-patterns to avoid and a closing checklist the agent can run through before calling C++ work finished. It is applied while writing new code, reviewing existing code or refactoring, and it also covers choices such as enum versus enum class or raw pointer versus smart pointer.

The skill ships as a single SKILL.md with no scripts or supporting files. It expects a C++ codebase and does not call external tools; it advises on code the agent already has in front of it. It is not meant for non-C++ projects, legacy C code that cannot adopt modern features, or embedded contexts where some guidelines conflict with hardware constraints.

When your agent uses it

C++ coding standards based on the C++ Core Guidelines (isocpp.github.io). Use when writing, reviewing, or refactoring C++ code to enforce modern, safe, and idiomatic practices.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (22 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the ecc plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add AbdullayevTemurmalik/ECC
/plugin install ecc@ecc

Or copy only this skill to ~/.claude/skills/cpp-coding-standards:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cpp-coding-standards &&
cp -R "$tmp/.kiro/skills/cpp-coding-standards" ~/.claude/skills/cpp-coding-standards &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/cpp-coding-standards inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/cpp-coding-standards to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cpp-coding-standards &&
cp -R "$tmp/.kiro/skills/cpp-coding-standards" ~/.agents/skills/cpp-coding-standards &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/cpp-coding-standards inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/cpp-coding-standards to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cpp-coding-standards &&
cp -R "$tmp/.kiro/skills/cpp-coding-standards" ~/.cursor/skills/cpp-coding-standards &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/cpp-coding-standards inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/AbdullayevTemurmalik/ECC.git --path .kiro/skills/cpp-coding-standards

Or copy the folder to ~/.gemini/skills/cpp-coding-standards yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cpp-coding-standards:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cpp-coding-standards &&
cp -R "$tmp/.kiro/skills/cpp-coding-standards" ~/.copilot/skills/cpp-coding-standards &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/cpp-coding-standards inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git

Then copy ECC/.kiro/skills/cpp-coding-standards into your agent's skills folder as cpp-coding-standards. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Core Guidelines rule summaries
Tables mapping many Core Guidelines rule identifiers to short summaries across major topics.
Resource and memory safety
Guidance on RAII, smart pointers, ownership signalling and avoiding naked new and delete.
Class and interface design
Rules for constructors, the Rule of Zero and Five, virtual destructors and explicit single-argument constructors.
Error handling patterns
Custom exception types thrown by value and caught by reference, with noexcept usage.
Concurrency safety
Patterns for RAII locks, scoped_lock with multiple mutexes and condition-based waits.
Modern C++ idioms
Concepts, constexpr, const by default, nullptr, enum class and header hygiene examples.
Review checklist
A closing checklist of rule-based items to verify before finishing C++ work.

Good for

  • Review a C++ pull request for raw new or delete usage
  • Refactor a C++ class to follow the Rule of Zero
  • Convert plain enums and C-style casts to safer modern equivalents
  • Add RAII locking to a multithreaded C++ queue
  • Constrain a template with C++20 concepts

Cpp coding standards FAQ

When does Cpp coding standards apply?

It is meant for writing, reviewing or refactoring C++ code and for choosing between language features such as enum versus enum class or raw pointer versus smart pointer.

Does Cpp coding standards run any scripts or tools?

No. The skill folder contains only SKILL.md, with no scripts or reference files.

Which C++ versions does Cpp coding standards target?

Modern C++ from C++17 through C++20 and C++23, with examples using concepts and constexpr lambdas.

What does Cpp coding standards not cover?

It is not intended for non-C++ projects, legacy C codebases that cannot adopt modern features, or embedded contexts where guidelines conflict with hardware constraints.

How do I install Cpp coding standards in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cpp-coding-standards to use it in all your projects, or to .claude/skills/cpp-coding-standards in one project. Or install the ecc plugin, which includes it: /plugin marketplace add AbdullayevTemurmalik/ECC, then /plugin install ecc@ecc.

Does Cpp coding standards run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Cpp coding standards?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Cpp coding standards?

The closest alternatives to Cpp coding standards are Cpp coding standards, Readable cpp, Modern cpp, Coding guidelines and Coding.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from AbdullayevTemurmalik/ECC

  1. Write long-form articles and guides in a voice matched to your examples

    • Open source
    • 7 GitHub stars
    • Writing style
  2. Guides an agent on using Bun for runtime, installs, bundling, testing and migrations from

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Plans and drafts platform-native social posts, scripts and content calendars

    • Open source
    • 7 GitHub stars
    • Marketing and SEO
  4. Lets your agent pull current library and framework docs from Context7 instead of memory

    • Open source
    • 7 GitHub stars
    • Developer tools
  5. Builds animation-rich HTML slide decks that run in the browser, from scratch or converted

    • Open source
    • 7 GitHub stars
    • Design and media
  6. Drafts pitch decks, memos and financial models that stay consistent across fundraising

    • Open source
    • 7 GitHub stars
    • Finance and payments