cpp-coding-standards

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

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/RUSHYOP/imperium-cli --skill cpp-coding-standards-rushyop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/RUSHYOP/imperium-cli/tree/main/content/skills/cpp-coding-standards
Command: npx skills add https://github.com/RUSHYOP/imperium-cli --skill cpp-coding-standards-rushyop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

C++ projects often suffer from inconsistent conventions, unsafe patterns, and readability drawbacks that slow development and introduce bugs. This Skill codifies a modern, safe, and idiomatic set of rules based on the C++ Core Guidelines to help teams write, review, and refactor C++ code with confidence.

Core Features & Use Cases

  • Provides a complete reference of rules and recommended practices that promote safe resource management, clear interfaces, and robust design.
  • Supports code reviews and onboarding by establishing a common vocabulary and expectations.
  • Used during writing and refactoring to guide decisions on language features, naming, and ownership semantics.

Quick Start

Review these standards before starting any C++ work to ensure alignment with the Core Guidelines.

Frequently Asked Questions about cpp-coding-standards

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

FAQPage Schema
What are modern C++ coding standards for safe resource management?

Modern C++ coding standards emphasize safe resource management, type safety, and minimal exposure by codifying rules aligned with the C++ Core Guidelines to ensure robust and maintainable code.

How do I apply C++ Core Guidelines during code review?

Apply C++ Core Guidelines during code review by checking naming conventions, ownership semantics, and resource management against codified rules, while using anti-patterns to identify unsafe code.

How can I refactor C++ code to improve type safety and readability?

Refactor C++ code for type safety and readability by replacing unsafe patterns with idiomatic rules from the C++ Core Guidelines, ensuring clear interfaces and minimal exposure of resources.

Does this C++ coding standards reference cover naming conventions and ownership semantics?

Yes, these C++ coding standards cover naming conventions, resource management, ownership semantics, and type safety to establish a common vocabulary for writing and reviewing code.

What's the best way to establish a common vocabulary for C++ onboarding?

The best way to establish a common vocabulary for C++ onboarding is codifying a complete reference of rules and anti-patterns based on the C++ Core Guidelines to set clear project expectations.

When should I not use modern C++ features during refactoring?

Avoid modern C++ features during refactoring when they conflict with minimal exposure principles or introduce unsafe patterns, instead relying on codified rules that prioritize maintainability.