cpp-coding-standards

Enforce modern C++ coding standards aligned with the C++ Core Guidelines.

8|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/D0NMEGA/donnyclaude --skill cpp-coding-standards-d0nmega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/D0NMEGA/donnyclaude/tree/main/packages/skills/cpp-coding-standards
Command: npx skills add https://github.com/D0NMEGA/donnyclaude --skill cpp-coding-standards-d0nmega

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

C++ projects often drift from safety and readability without a shared, formal set of guidelines. This Skill codifies a practical interpretation of the C++ Core Guidelines to help teams write safer, clearer, and more maintainable code.

Core Features & Use Cases

  • Enforced rules for resource management, type safety, and immutability by default.
  • Clear guidance for common constructs (RAII, smart pointers, explicit constructors, boxed types) and anti-patterns to avoid.
  • Use during code review, onboarding, and automated checks to keep codebases consistent.

Quick Start

Apply these guidelines to your C++ project during code reviews and automated checks to elevate code quality.

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 during code review?

Enforce modern C++ coding standards during code review by checking for RAII, smart pointers, const correctness, and explicit constructors, aligning with C++ Core Guidelines for safety and readability.

What are common C++ anti-patterns to avoid for better type safety?

Common C++ anti-patterns to avoid include manual resource management, missing const correctness, and implicit constructors; this Skill enforces immutability and smart pointers to ensure type safety.

Can I use these C++ Core Guidelines for refactoring legacy projects?

Yes, you can use these C++ Core Guidelines to refactor legacy projects by enforcing RAII, templating best practices, and smart pointers to improve codebase maintainability and safety.

Does this Skill cover static analysis for C++ codebases?

This Skill supports static analysis by capturing concrete C++ coding standards and anti-patterns for automated checks, enforcing type safety and consistency across your codebase.

What is the best way to implement const correctness in C++?

The best way to implement const correctness in C++ is enforcing immutability by default; this Skill provides rules for const correctness alongside RAII and smart pointers for resource safety.