AI skills for C++
AI Coding Skills for C++
Browse the best AI coding skills for C++ in 2026, C++20/23 modern features, CMake / Bazel builds, Catch2 / GoogleTest, sanitizers, AddressSanitizer / UBSan, and embedded patterns. Works with every major AI coding tool.
Short answer
The best AI coding skills for C++ are skills-hub's `code-review`, `unit-test` (Catch2 + GoogleTest), `api-scaffold` (Drogon / Crow / Pistache), CMake / Bazel build configs, and `secure` (clang-tidy + AddressSanitizer + UBSan). Portable across Claude Code, Cursor, Codex CLI, Copilot, and Cline.
C++ in 2026 means C++20 (concepts, ranges, modules) and increasingly C++23 (std::expected, std::flat_map, deducing this). The skills below detect your toolchain (CMake / Bazel / Meson, GCC / Clang / MSVC) and emit idiomatic modern C++ with RAII, std::span, std::expected error handling, and ranges, not the C-with-classes patterns the model learned from old textbooks.
Top skills for C++
01cpp
1 installsGuidelines for modern C++ development with C++17/20 standards, memory safety, and performance optimization
Buildfrom Mindrally Skills02code-testing-extensions
1 installsProvides file paths to language-specific extension files for the code-testing pipeline. Call this skill to discover available extension guidance files (e.g., dotnet.md for .NET, cpp.md for C++). Do not use directly — invoked by code-testing agents and skills that need language-specific references.
Buildfrom .NET03cpp-pro
1 installsWrites, 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.
Buildfrom Jeffallan Skills04ccpa
1 installsCalifornia Consumer Privacy Act (CCPA) and California Privacy Rights Act (CPRA) compliance advisor — business threshold analysis, consumer rights fulfillment (access, delete, correct, opt-out of sale/sharing, limit SPI, ADMT opt-out), privacy notice drafting, service provider vs. contractor vs. third-party classification, sensitive personal information (SPI) handling, data minimization, opt-out mechanisms (including GPC), cybersecurity audits and risk assessments (live since Jan 1, 2026), ADMT obligations (effective 2026, deadline Jan 1, 2027), CPPA enforcement (Disney $2.75M, PlayOn $1.1M, Ford $375K), penalty exposure, GDPR comparison, and gap assessments for businesses operating in or targeting California residents.
Buildfrom Lawvable Legal Skills05yield-prediction
Audit pharmaceutical yield prediction systems and process analytical technology -- evaluate critical process parameter (CPP) to critical quality attribute (CQA) relationships, design space characterization per ICH Q8(R2) Quality by Design, PAT sensor readiness (NIR, Raman, FBRM) for real-time release testing, scale-up modeling from lab to pilot to commercial with dimensional analysis, and raw material variability impact on batch yield. Covers multivariate analysis with PCA and PLS regression, golden batch trajectory profiling, Hotelling T-squared deviation detection, supplier lot-to-lot CMA variability, formulation robustness assessment, MES and historian data quality, and technology transfer risk assessment for multi-site manufacturing.
Analysisfrom Skills Hub06FW-EMBEDDED-CPP
Define a constrained C++ subset suitable for medical device firmware, aligned to MISRA C++ guidance: safe types, RAII, limited dynamic features, and predictable behavior.
Buildfrom Medical Device Skills07modern-cpp
Guides C++ code toward modern idioms (C++20/23/26). Use when writing new C++ code, modernizing legacy patterns, or working on security-critical C++. Replaces raw pointers with smart pointers, SFINAE with concepts, printf with std::print, error codes with std::expected.
Buildfrom Trail of Bits08llama-cpp
Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.
Researchfrom AI Research Skills
Frequently asked questions
Do AI skills know C++20/23 features?
Yes, modern skills check the compiler + standard flag and use concepts, ranges, std::expected, std::span, modules (where opted in), and structured bindings. They flag deprecated patterns like raw new/delete.
Can AI handle CMake well?
Yes, the api-scaffold + dockerize skills emit modern CMake (target_link_libraries with PRIVATE/PUBLIC/INTERFACE, FetchContent, find_package proper). They warn on globbing and absolute paths.
What's the best AI tool for C++?
Cursor with clangd is the best VS Code-shaped experience; CLion has the deepest IDE integration and Claude Code's CLion / JetBrains plugin gives close parity.
Do AI skills run sanitizers?
Yes, the secure skill enables AddressSanitizer + UBSan in test builds, runs the suite, and reports findings. Required for any C++ project with memory-safety concerns.