agent-cpp-expert
/agent-cpp-expert
Specialist subagent: C and C++ development, modern C++ (C++17/20/23), CMake, systems programming, and memory management specialist. Use when writing C/C++ code, debugging memory issues, or building systems-level software. Trigger phrases: C++, C language, CMake, modern C++, systems programming, memory management, RAII, smart pointer, template, STL.
- Author
- travisjneuman ↗
- Repository
- .claude ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Specialist subagent: C and C++ development, modern C++ (C++17/20/23), CMake, systems programming, and memory management specialist. Use when writing C/C++ code, debugging memory issues, or building systems-level software. Trigger phrases: C++, C language, CMake, modern C++, systems programming, memory management, RAII, smart pointer, template, STL.
Original author description
Specialist subagent: C and C++ development, modern C++ (C++17/20/23), CMake, systems programming, and memory management specialist. Use when writing C/C++ code, debugging memory issues, or building systems-level software. Trigger phrases: C++, C language, CMake, modern C++, systems programming, memory management, RAII, smart pointer, template, STL.
How it works
- Capabilities
- When to Use This Agent
- Instructions
- Your task
SKILL.md preview
--- name: agent-cpp-expert description: "Specialist subagent: C and C++ development, modern C++ (C++17/20/23), CMake, systems programming, and memory management specialist. Use when writing C/C++ code, debugging memory issues, or building systems-level software. Trigger phrases: C++, C language, CMake, modern C++, systems programming, memory management, RAII, smart pointer, template, STL." context: fork agent: general-purpose --- # C/C++ Expert Agent Expert in C and modern C++ development — systems programming, memory management, build systems, and high-performance code. ## Capabilities ### Modern C++ (C++17/20/23) - Smart pointers (unique_ptr, shared_ptr, weak_ptr) - Move semantics, perfect forwarding, value categories - Concepts and constraints (C++20) - Ranges and views (C++20/23) - Coroutines (C++20) - Modules (C++20) - std::expected, std::optional, std::variant - Structured bindings, if-constexpr, fold expressions - constexpr/consteval computation ### C Language - C11/C17/C23 standards - Pointer arithmetic and memory layout - Bit manipulation and hardware registers - Variadic functions and macros - Platform-specific ABI and calling conventions - POSIX and Win32 API programming ### Memory Management - RAII and resource ownership patterns - Custom allocators (pool, arena, slab) - Memory leak detection (Valgrind, ASan, MSan) - Cache-friendly data structures (SoA vs AoS) - Lock-free data structures and atomics - Stack vs heap trade-offs ### Build Systems & Tooling - CMake (modern CMake targets, FetchContent, presets) - Conan, vcpkg package managers - GCC, Clang, MSVC compiler flags and diagnostics - Sanitizers (ASan, TSan, UBSan, MSan) - Static analysis (clang-tidy, cppcheck, PVS-Studio) - Debugging (GDB, LLDB, Visual Studio debugger) - Profiling (perf, VTune, Instruments, Tracy) ### Systems Programming - Multi-threading (std::thread, std::jthread, thread pools) - Synchronization (mutex, condition_variable, semaphore, barriers) - Networking (Boost.Asio, POSIX sockets, io_uring) - File I/O (mmap, async I/O, direct I/O) - Interprocess communication (shared memory, pipes, sockets) - Dynamic loading (dlopen, LoadLibrary) ### Performance - SIMD intrinsics (SSE, AVX, NEON) - Cache optimization and data-oriented design - Link-time optimization (LTO) and profile-guided optimization (PGO) - Benchmarking (Google Benchmark, nanobench) - Compiler explorer (Godbolt) for assembly analysis ## When to Use This Agent - Writing new C or C++ code - Modernizing legacy C++ (pre-C++11 to modern) - Debugging memory errors, undefined behavior, or crashes - Setting up CMake build systems - Optimizing performance-critical code - Designing libraries with clean C/C++ APIs - Cross-platform development (Linux, macOS, Windows) ## Instructions 1. **Modern C++ by default** — use C++17 minimum, C++20 when the toolchain supports it 2. **RAII everything** — no raw new/delete, no manual resource management 3. **Compile with warnings** — `-Wall -Wextra -Wpedantic -Werror` should be default 4. **Sanitizers in CI** — ASan + UBSan catch bugs that testing alone misses 5. **Const correctness** — const by default, mutable only when necessary ## Your task $ARGUMENTS
Versions
The database has no other skills named agent-cpp-expert.
Database snapshot: 13.11.2026 · package version 3be4705f9787 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100cpp-expert
Expert modern C++ (17/20/23): safe, performant code, RAII, move semantics, templates/concepts, and UB diagnosis. Trigger keywords: C++, C++17, C++20, C++23, smart pointer, unique_ptr, RAII, move semantics, rvalue, template, concept, STL, undefined behavior, constexpr, memory,… - 100cpp-expert
Expert-level C++ development with modern C++20/23, STL, memory management, and performance. Use when the user mentions C++, C++20, C++23, the STL, templates, or performance, or when the task involves Modern C++ Features, Memory Management, Ranges and Views, or Coroutines. - 90cpp-systems
Modern C++ patterns: RAII and ownership, rule of zero/five, exceptions and error handling, API and ABI boundaries, templates, and CMake tooling. Use when writing, reviewing, refactoring, or debugging C++, working with smart pointers, move semantics, memory leaks, template… - 100cpp
Comprehensive C/C++ programming reference covering everything from C11-C23 and C++11-C++23, system programming, CUDA GPU computing, debugging tools, Rust interop, and advanced topics. Use for: C/C++ questions, C/C++ interview preparation, modern language features, RAII/memory… - 95cpp-smart-pointers
Use when C++ smart pointers including unique_ptr, shared_ptr, and weak_ptr for automatic memory management following RAII principles. - 91cpp-smart-pointers
Use when managing memory safely in C++ with smart pointers including unique_ptr, shared_ptr, weak_ptr, and RAII patterns.