# Cpp coding standards

> Cpp coding standards is an open-source agent skill for developer tools. Guides an agent to write and review C++ code following the C++ Core Guidelines. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/AbdullayevTemurmalik/ECC/tree/master/.kiro/skills/cpp-coding-standards
- **Repository:** https://github.com/abdullayevtemurmalik/ecc
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** cpp-coding-standards
- **Collection:** https://github.com/AbdullayevTemurmalik/ECC
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/AbdullayevTemurmalik/ECC/tree/HEAD/.kiro/skills/cpp-coding-standards)
- [License: MIT](https://github.com/AbdullayevTemurmalik/ECC/tree/HEAD/.kiro/skills/cpp-coding-standards)

## Features

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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Cpp coding standards](https://ai-powered.com/skills/cpp-coding-standards): Cpp coding standards is an open-source agent skill for developer tools.
- [Readable cpp](https://ai-powered.com/skills/readable-cpp): Readable cpp is an open-source agent skill for developer tools.
- [Modern cpp](https://ai-powered.com/skills/modern-cpp): Modern cpp is an open-source agent skill for developer tools.
- [Coding guidelines](https://ai-powered.com/skills/coding-guidelines): Coding guidelines is an open-source agent skill for developer tools.
- [Coding](https://ai-powered.com/skills/coding): Coding is an open-source agent skill for developer tools.
- [Code](https://ai-powered.com/skills/code): Code is an open-source agent skill for developer tools.
- [Coding standards](https://ai-powered.com/skills/coding-standards-fmarzochi): Coding standards is an open-source agent skill for developer tools.
- [Cpp](https://ai-powered.com/skills/cpp): Cpp is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/cpp-coding-standards-abdullayevtemurmalik
