What problem does it solve?
This Skill addresses the challenges of writing modern, safe, and performant C++ code by providing guidance on RAII, ownership, smart pointers, error handling, and performance measurement.
Core Features & Use Cases
- RAII Best Practices: Offers a comprehensive guide on resource management using RAII for heap resources.
- Ownership Clarity: Suggests patterns for sole and shared ownership, and non-owning references.
- Performance Tuning: Provides advice on measuring performance and avoiding unnecessary copies.
- Error Handling: Discusses the use of exceptions and error codes with examples.
- Tooling Recommendations: Recommends tools for linting, static analysis, and formatting.
Quick Start
Run the following command to validate modern C++ practices for your codebase: ./.venv/bin/python tools/codev/scripts/validate-route-smoke.py