C++ Coding Standards

•
323
•

Enforces modern, safe, and idiomatic C++ practices based on the official C++ Core Guidelines for C++17/20/23.

This skill integrates the comprehensive C++ Core Guidelines into Claude Code, enabling the generation and review of high-quality, high-performance, and memory-safe C++ code. It focuses on fundamental modern principles such as Resource Acquisition Is Initialization (RAII), default immutability using const and constexpr, and strict type safety. Whether you are refactoring legacy systems or architecting new C++20/23 applications, this skill provides precise guidance on class design, resource management, and concurrency to eliminate common pitfalls like memory leaks and data races.

主要功能

01Strict type-safety and compile-time check prioritisation
02Implementation of the Rule of Zero and Rule of Five for robust class design
03Enforcement of RAII and modern smart pointer ownership models
04Best practices for thread-safe concurrency and lock management
05Comprehensive guidance on C++20 Concepts and template meta-programming
06323 GitHub stars

使用场景

01Refactoring legacy C++ codebases to modern C++17/20/23 standards
02Architecting new high-performance systems with consistent, idiomatic patterns
03Automated code reviews to identify memory safety and resource management issues