cpp-coding-standards

Enforce C++ Core Guidelines for safe, idiomatic C++17/20/23 code.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ValenBorras/upscribe --skill cpp-coding-standards-valenborras
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/ValenBorras/upscribe/tree/main/.github/skills/cpp-coding-standards
Command: npx skills add https://github.com/ValenBorras/upscribe --skill cpp-coding-standards-valenborras

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

C++ coding standards based on the C++ Core Guidelines help teams enforce modern, safe, and idiomatic practices across codebases.

Core Features & Use Cases

  • Enforces resource management via RAII and immutability by default to reduce bugs and improve readability.
  • Guides interfaces, templates, and standard library usage to boost type-safety and maintainability across projects.
  • Supports code reviews, onboarding, and refactoring by providing concrete rules and anti-patterns derived from the C++ Core Guidelines.

Quick Start

Analyze a representative module against the guidelines and begin applying the rules to existing and new code.

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 across my codebase?

You enforce modern C++ coding standards by applying rules derived from the C++ Core Guidelines to ensure safe, idiomatic code during writing, reviewing, and refactoring C++17/20/23 projects.

How does RAII improve resource management in C++?

RAII improves resource management in C++ by binding resource lifetimes to object scopes, reducing bugs and improving readability through immutability by default.

What is the best way to review C++ code for type-safety and maintainability?

The best way to review C++ code for type-safety is checking interfaces, templates, and standard library usage against concrete rules and anti-patterns derived from the C++ Core Guidelines.

Can I use these C++ Core Guidelines to refactor existing legacy code?

Yes, you can use these C++ Core Guidelines to refactor legacy code by analyzing a representative module against the rules and applying modern, safe practices to existing and new code.

What C++ standard versions are supported by these coding standards?

These coding standards support C++17, C++20, and C++23, enforcing modern, safe, and idiomatic practices across your codebase.

Why should I set immutability by default in C++?

You should set immutability by default in C++ to reduce bugs and improve readability, enforcing safe resource management practices derived from the C++ Core Guidelines.