Skip to content
Back to skills

Cpp Coding Standards

ASecurity

C++ Core Guidelines coding standards. Use when writing, reviewing or refactoring C++ code for modern, safe, idiomatic practice.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsc++expressrefactoringgitperformance

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add ghvinashvili/specagent --skill cpp-coding-standards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cpp Coding Standards?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cpp Coding Standards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ghvinashvili-cpp-coding-standards/badge)](https://www.skillsdirectory.com/skills/ghvinashvili-cpp-coding-standards)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cpp-coding-standards
description: C++ Core Guidelines coding standards. Use when writing, reviewing or refactoring C++ code for modern, safe, idiomatic practice.
metadata:
  origin: ECC
---

# C++ Coding Standards (C++ Core Guidelines)

Comprehensive coding standards for modern C++ (C++17/20/23) derived from the [C++ Core Guidelines](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines). 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)

## Additional resources

Each further section of this skill is a file of its own under `references/`; read the one the task needs:

- [Cross-Cutting Principles](references/cross-cutting-principles.md)
- [Philosophy & Interfaces (P.*, I.*)](references/philosophy-interfaces-p-i.md)
- [Functions (F.*)](references/functions-f.md)
- [Classes & Class Hierarchies (C.*)](references/classes-class-hierarchies-c.md)
- [Resource Management (R.*)](references/resource-management-r.md)
- [Expressions & Statements (ES.*)](references/expressions-statements-es.md)
- [Error Handling (E.*)](references/error-handling-e.md)
- [Constants & Immutability (Con.*)](references/constants-immutability-con.md)
- [Concurrency & Parallelism (CP.*)](references/concurrency-parallelism-cp.md)
- [Templates & Generic Programming (T.*)](references/templates-generic-programming-t.md)
- [Standard Library (SL.*)](references/standard-library-sl.md)
- [Enumerations (Enum.*)](references/enumerations-enum.md)
- [Source Files & Naming (SF.*, NL.*)](references/source-files-naming-sf-nl.md)
- [Performance (Per.*)](references/performance-per.md)
- [Quick Reference Checklist](references/quick-reference-checklist.md)

Files in this skill

  • LICENSE1 KB
  • SHA256SUMS1.7 KB
  • SKILL.md2.1 KB
  • references/classes-class-hierarchies-c.md2.6 KB
  • references/concurrency-parallelism-cp.md1.9 KB
  • references/constants-immutability-con.md1.1 KB
  • references/cross-cutting-principles.md710 B
  • references/enumerations-enum.md640 B
  • references/error-handling-e.md1.7 KB
  • references/expressions-statements-es.md1.4 KB
  • references/functions-f.md1.8 KB
  • references/performance-per.md1 KB
  • references/philosophy-interfaces-p-i.md986 B
  • references/quick-reference-checklist.md1 KB
  • references/resource-management-r.md1.9 KB
  • references/source-files-naming-sf-nl.md1.7 KB
  • references/standard-library-sl.md912 B
  • references/templates-generic-programming-t.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.