cpp-coding-standards

Apply C++ Core Guidelines to write, review, and refactor C++17/20/23 code.

2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/multiplex-ai/muggle-ai-teams --skill cpp-coding-standards-multiplex-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/multiplex-ai/muggle-ai-teams/tree/main/skills/cpp-coding-standards
Command: npx skills add https://github.com/multiplex-ai/muggle-ai-teams --skill cpp-coding-standards-multiplex-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent adoption of modern C++ practices leads to bugs, maintenance overhead, and unclear code. This standard codifies the C++ Core Guidelines to guide writing, reviewing, and refactoring for safer, more idiomatic code.

Core Features & Use Cases

  • Rule-based guidance covering RAII, immutability by default, type safety, clear interfaces, and preferred standard-library usage.
  • Decisions support for language features (enum class vs plain enum, explicit constructors, noexcept, move semantics) and template usage with concepts.
  • Practical examples and anti-patterns to help teams modernize codebases and perform effective code reviews.
  • Use Case: when starting a new C++ module, you apply these guidelines to ensure safety, readability, and maintainability from day one.

Quick Start

Review your current C++ codebase and start applying these Core Guidelines to enforce modern, safe, and idiomatic practices.

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 project?

To enforce modern C++ coding standards, apply the C++ Core Guidelines codified by this Skill, which guide safe practices like RAII, immutability by default, and type safety across C++17/20/23 projects.

What is the best way to refactor C++ code for type safety and clear interfaces?

The best way to refactor C++ code for type safety is to apply rule-based guidance covering enum class usage, explicit constructors, smart pointers, and template usage with concepts to ensure clear interfaces.

When do I need RAII and smart pointers in C++?

You need RAII and smart pointers in C++ to manage resources safely and improve reliability, which are core guidelines enforced by this standard for modern, idiomatic C++17/20/23 development.

Does this C++ coding standard support C++20 concepts and move semantics?

Yes, this C++ coding standard supports C++20 concepts and move semantics, providing decision guidance on modern language features to ensure safe, idiomatic, and maintainable codebases.

Can I use these C++ Core Guidelines for code reviews?

Yes, you can use these C++ Core Guidelines for code reviews, leveraging practical examples and anti-patterns to modernize codebases and perform effective, safe C++ code reviews.

Why should I avoid plain enums and use enum class in modern C++?

You should use enum class instead of plain enums in modern C++ to enforce type safety and prevent implicit conversions, a specific coding standard guideline that improves reliability and clarity.