Skip to main content

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++

  1. 01code-testing-extensions

    4 installs

    Provides file paths to language-specific extension files for the code-testing pipeline. Read this reference-only catalog for extension guidance files (e.g., dotnet.md for .NET, cpp.md for C++). Agents and skills read its bundled files directly; do not invoke this catalog through the model's skill tool.

    Buildfrom .NET
  2. 02cpp-pro

    3 installs

    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.

    Buildfrom Jeffallan Skills
  3. 03ccpa

    1 installs

    California 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 Skills
  4. 04modern-cpp

    1 installs

    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 Bits
  5. 05cpp

    1 installs

    Guidelines for modern C++ development with C++17/20 standards, memory safety, and performance optimization

    Buildfrom Mindrally Skills
  6. 06FW-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 Skills
  7. 07llama-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
  8. 08yield-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.

    Analysisfrom Skills Hub

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.

Other languages and frameworks