cpp-coding-standards

Enforce C++ Core Guidelines for C++17/20/23 codebases.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/SOLEROM/cldlab --skill cpp-coding-standards-solerom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/SOLEROM/cldlab/tree/main/ecc/ref_claude/skills/cpp-coding-standards
Command: npx skills add https://github.com/SOLEROM/cldlab --skill cpp-coding-standards-solerom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The C++ Core Guidelines-based standards establish a single, shared baseline for modern C++ (C++17/20/23) coding practices, reducing ambiguity and variation across teams.

Core Features & Use Cases

  • Enforces RAII, immutability by default, strong typing, and explicit interfaces to improve safety and readability.
  • Guides decisions on language features, resource management, and API design across codebases, reviews, and refactoring efforts.
  • Provides concrete examples and a structured set of rules aligned with the C++ Core Guidelines to streamline code quality checks.

Quick Start

Apply the Core Guidelines to your project by auditing existing code and starting to enforce the defined rules in new changes.

Frequently Asked Questions about cpp-coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce C++ Core Guidelines in my codebase?

To enforce C++ Core Guidelines, apply concrete, checkable rules across RAII, immutability, type safety, interfaces, templates, and standard library usage. This establishes a shared baseline for modern C++17/20/23 coding practices, reducing ambiguity and variation across teams.

What are the best practices for modern C++ refactoring?

Best practices for modern C++ refactoring involve enforcing RAII, immutability by default, and strong typing. Applying structured rules aligned with the C++ Core Guidelines streamlines code quality checks and guides decisions on language features and resource management.

Does this coding standard support C++20 and C++23 projects?

Yes, this coding standard supports C++20 and C++23 projects. It establishes a shared baseline for modern C++ coding practices across C++17, C++20, and C++23 codebases, guiding decisions on language features, resource management, and API design.

How do I review C++ code for RAII and type safety?

To review C++ code for RAII and type safety, apply concrete, checkable rules aligned with the C++ Core Guidelines. This enforces strong typing, explicit interfaces, and resource management standards to improve safety and readability during code reviews.

Why use immutability by default in C++ interfaces?

Use immutability by default in C++ interfaces to improve safety and readability. Enforcing this as part of the C++ Core Guidelines establishes explicit interfaces and strong typing, reducing ambiguity and variation across team codebases.