Expert assistant for modern C++ development and performance optimization.

Install

mkdir -p .claude/skills/cpp-pro && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/832" && unzip -o skill.zip -d .claude/skills/cpp-pro && rm skill.zip

Installs to .claude/skills/cpp-pro

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization.
153 charsno explicit “when” trigger
Advanced

Key capabilities

  • Implement RAII and smart pointers
  • Apply move semantics and perfect forwarding
  • Utilize STL algorithms and containers
  • Configure CMakeLists.txt for C++ standards
  • Write unit tests with Google Test or Catch2
  • Profile performance with perf or VTune

How it works

The skill applies modern C++ standards and core guidelines to refactor code, prioritizing stack allocation and smart pointers over manual memory management. It validates outcomes through automated testing and performance profiling tools.

Inputs & outputs

You give it
C++ source code or refactoring requirements
You get back
Modernized C++ code with best practices and build configuration

When to use cpp-pro

  • Refactoring legacy code to modern standards
  • Implementing RAII patterns for memory safety
  • Optimizing C++ performance with STL algorithms

About this skill

Use this skill when

  • Working on cpp pro tasks or workflows
  • 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

  1. Prefer stack allocation and RAII over manual memory management
  2. Use smart pointers when heap allocation is necessary
  3. Follow the Rule of Zero/Three/Five
  4. Use const correctness and constexpr where applicable
  5. Leverage STL algorithms over raw loops
  6. 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.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

When not to use it

  • Tasks unrelated to C++ programming
  • Situations requiring tools outside the C++ scope

Limitations

  • Does not replace environment-specific validation or expert review
  • Requires explicit input of goals and constraints to function

How it compares

Unlike manual coding, this skill enforces specific C++ Core Guidelines and provides structured build and test configurations.

Compared to similar skills

cpp-pro side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
cpp-pro (this skill)184moNo flagsAdvanced
add-uint-support189moNo flagsIntermediate
building12moReviewIntermediate
ispc-builtins16moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

mobile-design

sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.

149231

unity-developer

sickn33

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

142357

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

angular

sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern patterns.

100129

frontend-slides

sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

95195

minecraft-bukkit-pro

sickn33

Master Minecraft server plugin development with Bukkit, Spigot, and Paper APIs. Specializes in event-driven architecture, command systems, world manipulation, player management, and performance optimization. Use PROACTIVELY for plugin architecture, gameplay mechanics, server-side features, or cross-version compatibility.

9078

Search skills

Search the agent skills registry