cpp-coding-standards

Review C++17/20/23 code for adherence to modern coding standards.

3|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/rlagycks/oh-my-forge --skill cpp-coding-standards-rlagycks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/rlagycks/oh-my-forge/tree/main/skills/cpp-coding-standards
Command: npx skills add https://github.com/rlagycks/oh-my-forge --skill cpp-coding-standards-rlagycks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers adopt and enforce modern C++ best practices, reducing bugs and improving code quality.

Core Features & Use Cases

  • Code Standardization: Provides comprehensive guidelines aligned with the C++ Core Guidelines.
  • Code Review: Assists in evaluating code for adherence to safety, clarity, and efficiency standards.
  • Refactoring Aid: Guides refactoring efforts to align legacy codebases with modern C++ practices, especially around RAII and smart pointers.

Quick Start

Use this Skill to review your C++ code for compliance with the latest coding standards and best 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 during a code review?

To enforce modern C++ coding standards during a code review, evaluate the code against the C++ Core Guidelines for resource management, type safety, and clarity. This ensures code safety and consistency across projects.

What is the best way to refactor legacy C++ code to use RAII and smart pointers?

The best way to refactor legacy C++ code is to guide refactoring efforts toward modern C++ practices, specifically focusing on RAII and smart pointers to improve resource management and type safety in C++17/20/23 codebases.

Can I use this to check if my C++17 code aligns with modern type safety best practices?

Yes, you can evaluate your C++17 code to verify alignment with modern type safety best practices. It assists in evaluating code for adherence to safety, clarity, and efficiency standards across C++17, C++20, and C++23.

Why should I adopt modern C++ practices for resource management in my projects?

You should adopt modern C++ practices for resource management to reduce bugs and improve code quality. Aligning with modern standards ensures safe, consistent coding practices and proper language feature usage across your projects.

How do I write C++20 code that follows the C++ Core Guidelines?

To write C++20 code that follows the C++ Core Guidelines, use comprehensive standardization guidelines that focus on proper language feature usage, ensuring safety, clarity, and efficiency in your implementation.