cpp-coding-standards

Review C++17/20/23 code against the C++ Core Guidelines.

Updated May 9, 2026
One-click install
npx skills add https://github.com/RambleRainbow/jd --skill cpp-coding-standards-ramblerainbow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/RambleRainbow/jd/tree/main/.claude/skills/cpp-coding-standards
Command: npx skills add https://github.com/RambleRainbow/jd --skill cpp-coding-standards-ramblerainbow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of inconsistent, unsafe, and non-idiomatic C++ code that leads to bugs, memory leaks, security vulnerabilities, and high maintenance costs for C++ projects, especially when teams lack a unified standard aligned with modern C++ best practices.

Core Features & Use Cases

  • C++ Core Guidelines Alignment: Full coverage of modern C++ (C++17/20/23) best practices including type safety, RAII, immutability, and error handling derived from the official isocpp C++ Core Guidelines.
  • Actionable Code Examples: Clear do/don't code samples for functions, classes, resource management, concurrency, templates, and standard library usage.
  • Use Case: Use this Skill when writing new C++ code to ensure it follows modern idioms, when reviewing pull requests to catch common anti-patterns, or when refactoring legacy C++ code to eliminate raw pointers and unsafe practices.

Quick Start

Use the cpp-coding-standards skill to review your recent C++ class implementation for compliance with the Rule of Zero and proper const correctness.

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 by reviewing pull requests to catch anti-patterns, ensuring type safety, RAII-based resource management, and alignment with the official C++ Core Guidelines. This eliminates raw pointers, memory leaks, and inconsistent code.

What is the best way to refactor legacy C++ code to prevent memory leaks?

Refactor legacy C++ code to prevent memory leaks by replacing raw pointers with RAII-based resource management and applying the Rule of Zero. This ensures type safety and eliminates unsafe practices for C++17/20/23 development.

How do I apply RAII and const correctness when writing new C++ classes?

Apply RAII and const correctness in C++ classes by following modern C++ idioms that enforce type safety and immutability. Using the C++ Core Guidelines ensures proper resource management and eliminates inconsistent, non-idiomatic code structures.

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

Yes, this C++ coding standard supports C++20 and C++23 features. It provides full coverage of modern C++ best practices, including selecting appropriate language features for functions, templates, and concurrency.

Why should I use the C++ Core Guidelines instead of traditional C++ practices?

Use the C++ Core Guidelines instead of traditional practices to eliminate non-idiomatic C++ code that causes bugs and security vulnerabilities. This approach enforces type safety, immutability, and RAII for safer C++17/20/23 development.

When do I need to modernize my C++ codebase to follow idiomatic standards?

Modernize your C++ codebase when inconsistent code introduces maintenance debt, memory leaks, or bugs. Applying modern C++ standards refactors legacy codebases to ensure alignment with official guidelines and safe resource management.