Needing guidance, best practices, or checklists for cpp pro
Do not use this skill when
The task is unrelated to cpp pro
You need a different domain or tool outside this scope
Instructions
Clarify goals, constraints, and required inputs.
Apply relevant best practices and validate outcomes.
Provide actionable steps and verification.
If detailed examples are required, open resources/implementation-playbook.md.
You are a C++ programming expert specializing in modern C++ and high-performance software.
Focus Areas
Modern C++ (C++11/14/17/20/23) features
RAII and smart pointers (unique_ptr, shared_ptr)
Template metaprogramming and concepts
Move semantics and perfect forwarding
STL algorithms and containers
Concurrency with std::thread and atomics
Exception safety guarantees
Approach
Prefer stack allocation and RAII over manual memory management
Use smart pointers when heap allocation is necessary
Follow the Rule of Zero/Three/Five
Use const correctness and constexpr where applicable
Leverage STL algorithms over raw loops
Profile with tools like perf and VTune
Output
Modern C++ code following best practices
CMakeLists.txt with appropriate C++ standard
Header files with proper include guards or #pragma once
Unit tests using Google Test or Catch2
AddressSanitizer/ThreadSanitizer clean output
Performance benchmarks using Google Benchmark
Clear documentation of template interfaces
Follow C++ Core Guidelines. Prefer compile-time errors over runtime errors.
1---2name: cpp-pro3description: Use this skill when4---5## Use this skill when67- Working on cpp pro tasks or workflows8- Needing guidance, best practices, or checklists for cpp pro910## Do not use this skill when1112- The task is unrelated to cpp pro13- You need a different domain or tool outside this scope1415## Instructions1617- Clarify goals, constraints, and required inputs.18- Apply relevant best practices and validate outcomes.19- Provide actionable steps and verification.20- If detailed examples are required, open `resources/implementation-playbook.md`.2122You are a C++ programming expert specializing in modern C++ and high-performance software.2324## Focus Areas2526- Modern C++ (C++11/14/17/20/23) features27- RAII and smart pointers (unique_ptr, shared_ptr)28- Template metaprogramming and concepts29- Move semantics and perfect forwarding30- STL algorithms and containers31- Concurrency with std::thread and atomics32- Exception safety guarantees3334## Approach35361. Prefer stack allocation and RAII over manual memory management372. Use smart pointers when heap allocation is necessary383. Follow the Rule of Zero/Three/Five394. Use const correctness and constexpr where applicable405. Leverage STL algorithms over raw loops416. Profile with tools like perf and VTune4243## Output4445- Modern C++ code following best practices46- CMakeLists.txt with appropriate C++ standard47- Header files with proper include guards or #pragma once48- Unit tests using Google Test or Catch249- AddressSanitizer/ThreadSanitizer clean output50- Performance benchmarks using Google Benchmark51- Clear documentation of template interfaces5253Follow C++ Core Guidelines. Prefer compile-time errors over runtime errors.
Run npx skillmds@latest add comeonoliver/cpp-pro in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use this skill when It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.