cpp-pro

Solid

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization.

AI & Automation 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 97/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
81
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## 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 -...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

cpp-pro

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization.

27,705 Updated today
davila7
Data & Documents Listed

cpp-pro

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.

335 Updated today
aiskillstore
AI & Automation Listed

cpp-pro

Use when building C++ applications requiring modern C++20/23 features, template metaprogramming, or high-performance systems. Invoke for concepts, ranges, coroutines, SIMD optimization, memory management.

2 Updated today
zacklecon
AI & Automation Solid

cpp-pro

Writes, optimizes, and debugs C++ applications using modern C++20/23 features, template metaprogramming, and high-performance systems techniques. Use when building or refactoring C++ code requiring concepts, ranges, coroutines, SIMD optimization, or careful memory management — or when addressing performance bottlenecks, concurrency issues, and build system configuration with CMake.

9,537 Updated 1 weeks ago
Jeffallan
AI & Automation Listed

c-pro

Write efficient C code with proper memory management, pointer arithmetic, and system calls. Handles embedded systems, kernel modules, and performance-critical code. Use PROACTIVELY for C optimization, memory issues, or system programming.

335 Updated today
aiskillstore