Skip to main content
skill

cpp-pro · davila7 — Claude Code skill: what it does, how to install

Guides Claude Code to write modern C++ using RAII, smart pointers, and STL algorithms. Useful when building high-performance applications.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/cpp-pro
Open on GitHub

What cpp-pro does

This skill guides the agent toward modern C++ conventions spanning standards from C++11 up to C++23. It prioritizes stack allocation, smart pointers such as unique_ptr, and move semantics over manual memory management. Raw loops get replaced with standard library algorithms, while error detection focuses on compile-time checks and constexpr.

The assistant supplies structured CMakeLists.txt files, headers with #pragma once, and unit test configurations using Google Test or Catch2. Generated solutions aim for clean execution under AddressSanitizer and ThreadSanitizer, alongside Google Benchmark suites. For extended patterns, the skill references resources/implementation-playbook.md. The guidelines will fail on legacy toolchains lacking at least C++11 support.

What it helps with

  • replace raw memory allocations with RAII and smart pointers
  • convert imperative loops into standard STL algorithms
  • configure CMakeLists.txt with modern C++ standards and flags
  • generate unit tests with Catch2 or Google Test alongside memory sanitizers

Example prompts for the agent

  • Refactor this resource wrapper using move semantics and the Rule of Five.
  • Create a thread-safe queue in C++20 using atomics and concepts.
  • Generate a CMakeLists.txt file with Google Benchmark targets for this parser.

How to install cpp-pro

1claude-code-templates

npx claude-code-templates@latest --skill development/cpp-pro

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill cpp-pro -a claude-code

3Manually: put the files in place

~/.claude/skills/cpp-pro/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cpp-pro/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cpp-pro

How do I install cpp-pro in Claude Code?

Run npx claude-code-templates@latest --skill development/cpp-pro in your terminal.

Which C++ language standards are covered?

The skill covers modern language specifications from C++11 through C++23.

Which testing frameworks does cpp-pro support?

It prepares test suites for Google Test or Catch2, runs performance benchmarks with Google Benchmark, and verifies code using AddressSanitizer and ThreadSanitizer.

Similar skills

All skills for Programming languages →

cpp-pro by other authors comes first.

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor