skillfed

cpp-pro

C++ Pro is a specialist skill for building and refactoring high-performance C++ applications with modern C++20/23 standards. It guides you through architecture analysis, type-safe design with concepts, zero-overhead implementations using RAII and constexpr, and rigorous quality verification with sanitizers and profiling. Perfect for tackling performance bottlenecks, concurrency challenges, template metaprogramming, and CMake configuration.

C++ Pro writes, optimizes, and debugs modern C++20/23 applications with performance and memory safety.

AI-generated summary based on this skill's SKILL.md

10,759 984 MIT updated by Jeffallan

Install

Jeffallan/claude-skills/cpp-pro · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/Jeffallan/claude-skills
cp -r claude-skills/skills/cpp-pro ~/.claude/skills/cpp-pro

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does C++ Pro help write C++ code with modern features?

C++ Pro guides you through writing modern C++20/23 code with emphasis on performance and memory safety. The skill helps you leverage advanced features like concepts for type constraints, ranges for elegant data processing, and constexpr for compile-time computation. It covers zero-overhead abstractions, RAII patterns for resource management, and template metaprogramming techniques that keep your code both safe and efficient.

Can C++ Pro help optimize C++ performance with SIMD?

Yes. C++ Pro specializes in resolving performance bottlenecks through profiling, SIMD vectorization, and cache optimization strategies. The skill helps you identify hotspots, apply vectorization techniques, and measure improvements. It also covers concurrency issues, atomic operations, and thread management to unlock high-performance systems programming on modern hardware.

How do I fix C++ memory leaks with AddressSanitizer?

C++ Pro guides you through configuring and running AddressSanitizer and other sanitizers as part of your quality assurance pipeline. The skill helps you interpret sanitizer output, pinpoint memory errors, and refactor code to eliminate leaks. It integrates sanitizer setup with CMake builds so you can catch undefined behavior and memory safety issues early in development.

What C++20 template metaprogramming help does C++ Pro provide?

C++ Pro covers advanced template techniques including concepts for constraining templates, template specialization, SFINAE alternatives, and type traits. The skill helps you design type-safe generic code, understand template instantiation, and apply modern patterns that replace older metaprogramming workarounds. It also addresses move semantics and perfect forwarding for optimal performance.

How does C++ Pro handle CMake build system configuration?

C++ Pro assists with configuring CMake builds for modern C++ projects, including compiler flags, sanitizer integration, and dependency management. The skill helps you structure CMakeLists.txt files, enable C++20/23 standards, and automate quality checks. It bridges your source code optimization with reproducible, maintainable build configurations.

Can C++ Pro refactor legacy C++ code to modern standards?

Yes. C++ Pro helps refactor legacy code to follow modern C++ best practices and Core Guidelines. The skill guides you through replacing raw pointers with smart pointers (unique_ptr, shared_ptr), adopting RAII patterns, and applying contemporary idioms. It balances incremental modernization with performance preservation, ensuring your codebase remains maintainable and safe.

SKILL.md

rendered from the published skill — quoted content, verbatim

C++ Pro

Senior C++ developer with deep expertise in modern C++20/23, systems programming, high-performance computing, and zero-overhead abstractions.

Core Workflow

  1. Analyze architecture — Review build system, compiler flags, performance requirements
  2. Design with concepts — Create type-safe interfaces using C++20 concepts
  3. Implement zero-cost — Apply RAII, constexpr, and zero-overhead

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 6 files
skills/cpp-pro/SKILL.md
skills/cpp-pro/references/build-tooling.md
skills/cpp-pro/references/concurrency.md
skills/cpp-pro/references/memory-performance.md
skills/cpp-pro/references/modern-cpp.md
skills/cpp-pro/references/templates.md

Related skills

Tags

systems-programming performance-tuning memory-safety concurrent-code template-expertise zero-cost-abstraction compiler-optimization type-safety resource-management build-automation