What problem does it solve?
This Skill helps you write, refactor, optimize, and debug modern C++ applications without losing correctness, maintainability, or performance, especially when the codebase involves templates, concurrency, memory management, or build complexity.
Core Features & Use Cases
- Modern C++ Development: Use C++20 and C++23 features such as concepts, ranges, coroutines, constexpr improvements, and the spaceship operator.
- Performance and Memory Work: Diagnose bottlenecks, apply zero-overhead abstractions, improve cache usage, reduce allocations, and reason about SIMD and move semantics.
- Concurrency and Systems Programming: Build thread pools, atomic workflows, lock-free structures, and async patterns while keeping synchronization safe.
- Build and Tooling Guidance: Configure CMake, sanitizers, testing, and static analysis for production-grade C++ workflows.
- Example Use Case: A large legacy service can be modernized by replacing unsafe ownership patterns with RAII and smart pointers, tightening template constraints with concepts, and then validating the result with sanitizers and benchmarks.
Quick Start
Use the cpp-pro skill to review my C++ project and refactor it for modern C++20 safety, performance, and CMake-based build quality.