cpp-coding-standards

Enforce modern C++ Core Guidelines for RAII, immutability, and type safety.

2|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/mbadoz/mbadoz-skills --skill cpp-coding-standards-mbadoz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/mbadoz/mbadoz-skills/tree/main/plugins/built-planner/skills/built-planner/references/skills/cpp-coding-standards
Command: npx skills add https://github.com/mbadoz/mbadoz-skills --skill cpp-coding-standards-mbadoz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill codifies and communicates modern C++ coding standards derived from the C++ Core Guidelines to improve safety, readability, and maintainability across C++ projects.

Core Features & Use Cases

  • Comprehensive, guideline-based standards for C++17/20/23.
  • Emphasis on RAII, immutability by default, type safety, explicit interfaces, and clear, maintainable code.
  • Use during writing, review, and refactoring to enforce consistent, idiomatic C++ practices.

Quick Start

Review and apply these guidelines in your next C++ project to improve safety and clarity.

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 for RAII and type safety during code review?

Modern C++ coding standards enforce RAII, type safety, and immutability by default to improve codebase safety, readability, and maintainability across diverse projects following the C++ Core Guidelines.

What are the best practices for refactoring C++ code to improve readability and maintainability?

The best practices involve applying modern C++ coding guidelines emphasizing RAII, explicit interfaces, type safety, and clear documentation to produce consistent, maintainable, and idiomatic C++ code.

Does this coding standard support modern C++17, C++20, and C++23 features?

Yes, these comprehensive C++ coding standards provide guideline-based rules specifically designed for C++17, C++20, and C++23 to ensure modern type safety and idiomatic practices across these versions.

Why should I use C++ Core Guidelines instead of custom static analysis rules?

Using C++ Core Guidelines provides a codified, comprehensive standard for modern C++ practices, ensuring consistent enforcement of RAII, type safety, and immutability across diverse projects rather than fragmented custom rules.

When should I apply explicit interfaces and immutability by default in C++?

Apply explicit interfaces and immutability by default in C++ during writing, reviewing, and refactoring to enforce safe, clear, and maintainable code as dictated by the C++ Core Guidelines.