cpp-coding-standards

Enforces modern C++ coding standards and guidelines for C++17/20/23 codebases.

2|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/Canhada-Labs/ceo-orchestration --skill cpp-coding-standards-canhada-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/Canhada-Labs/ceo-orchestration/tree/main/.claude/skills/domains/cpp/skills/cpp-coding-standards
Command: npx skills add https://github.com/Canhada-Labs/ceo-orchestration --skill cpp-coding-standards-canhada-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenges of maintaining modern C++ code quality by enforcing core coding standards and guidelines, making it easier to write, review, and refactor C++ code.

Core Features & Use Cases

  • Enforce Coding Standards: Enforces modern C++ coding standards grounded in the public C++ Core Guidelines.
  • Review and Refactoring: Helps in reviewing and refactoring existing C++ code for safety and clarity.
  • Feature Decision Making: Assists in making informed decisions on features like raw vs. smart pointers, enum vs. enum class, etc.
  • Use Case: Ideal for C++ developers and teams working on modern C++ codebases to ensure adherence to best practices.

Quick Start

Run the skill on your C++ codebase to enforce coding standards and guidelines.

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 modern C++ coding standards in my codebase?

To enforce modern C++ coding standards, this Skill reviews and refactors your code to ensure compliance with C++ Core Guidelines, focusing on RAII, immutability, static typing, and resource safety across C++17, C++20, and C++23 codebases.

When do I need to refactor C++ code for resource safety?

You need to refactor C++ code for resource safety when raw pointers or manual memory management introduce risks. The Skill helps by enforcing RAII and guiding decisions like using smart pointers over raw pointers to ensure clear interfaces and resource safety.

What's the best way to decide between using raw pointers and smart pointers in C++?

The best way to decide between raw and smart pointers is to consult the C++ Core Guidelines. This Skill assists in feature decision-making by evaluating your C++ code and recommending smart pointers to enforce resource safety and modern coding standards.

Can I use this to review C++17 code for immutability and static typing compliance?

Yes, you can review C++17 code for immutability and static typing compliance. The Skill is applicable to C++17, C++20, and C++23 codebases, helping you author and refactor code to strictly adhere to modern C++ core guidelines.

Does C++ code refactoring for enum class over enum improve code quality?

Refactoring C++ code to use enum class over enum improves code quality by enforcing strong static typing and preventing implicit conversions. The Skill aids these refactoring decisions to ensure clear interfaces and adherence to modern C++ standards.

Why should I use C++ Core Guidelines for code review instead of general best practices?

You should use C++ Core Guidelines for code review because they provide specific, modern C++ rules like RAII and immutability. The Skill leverages these guidelines to deliver targeted refactoring and review, ensuring resource safety and clear interfaces better than general practices.