skills/cpp/SKILL.md
C++ project patterns: CMake build system, Conan package management, gRPC services, code standards, and release/sanitizer build profiles. Load when writing CMakeLists.txt, conanfile.py, .proto files, or setting up C++ CI.
npx skillsauth add cloudvoyant/codevoyant cppInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Patterns for modern C++ projects built with CMake + Conan 2.x. Covers single-library and monorepo layouts, package authoring and publishing, gRPC services, and the code-standards / sanitizer toolchain.
| You are working on… | Load recipe |
|---|---|
| CMake project structure (single lib or app) | references/recipes/cmake-structure.md |
| Adding / consuming Conan packages | references/recipes/conan-packages.md |
| Publishing a Conan package | references/recipes/conan-publishing.md |
| Debug / Release / ASan / TSan build profiles | references/recipes/conan-profiles.md |
| CI/CD with Conan cache | references/recipes/ci-caching.md |
| gRPC service definition and implementation | references/recipes/grpc-patterns.md |
| Clang-format, clang-tidy, naming conventions | references/recipes/code-standards.md |
| Monorepo with multiple libs + apps | references/recipes/monorepo.md |
Load cmake-structure + conan-packages together for any new C++ project.
target_compile_features(<tgt> PUBLIC cxx_std_17)CMakePresets.json driving every configure/buildprofiles/<os>-<arch> files — never rely on conan profile detectCMakeToolchain + CMakeDeps — your CMakeLists.txt stays vanilla find_packageinclude/<name>/; consumers #include <name/header.hpp>acme::acme, spdlog::spdlog) — never bare -lacmeINTERFACE target, linked PRIVATE so they don't leak to consumersmise run build / mise run test so dev and CI run the same pipelineacme_core/
CMakeLists.txt
CMakePresets.json
conanfile.py
profiles/
linux-x86_64
linux-x86_64-debug
linux-x86_64-asan
macos-aarch64
cmake/
acme_core-config.cmake.in
include/acme_core/
widget.hpp
src/
widget.cpp
tests/
CMakeLists.txt
widget.tests.cpp
.clang-format
.clang-tidy
mise.toml
mise-tasks/
install
build
test
For multi-package layout (libs + apps), see references/recipes/monorepo.md.
step-sdk → find_package(step_sdk)). The recipe sets cmake_file_name / cmake_target_name — see conan-packages.md.OpenCASCADE::OpenCASCADE vs opencascade::opencascade) collide at CMakeDeps time. Pick one source and reconcile target casing.CMAKE_BUILD_TYPE in CMakeLists.txt — let presets / -D choose it.CMAKE_CXX_FLAGS — they leak into dependencies. Use an INTERFACE warnings target.conan.lock once you ship; regenerate only on intentional dep bumps..pb.{h,cc} and .grpc.pb.{h,cc} belong in ${CMAKE_BINARY_DIR} — never committed.development
React patterns: Zustand state management, shadcn/ui + Tailwind CSS, React Three Fiber + Drei for 3D, folder structure, data fetching, and TypeScript conventions. Load when working on React projects (*.tsx) without SvelteKit.
development
QA workflows: investigate and document bugs, post issues to GitHub/GitLab/Linear, and run browser-agent smoke tests. Triggers on: 'qa debug', 'qa report', 'qa smoke', 'run smoke test', 'report bug', 'investigate issue'.
tools
Python project patterns: uv package/workspace management, MLflow experiment tracking, Ray distributed computing, Nvidia Warp GPU kernels, Pydantic validation, Click CLIs, and service architecture. Load when writing Python with pyproject.toml or uv.lock.
development
Code review workflows: create a draft PR/MR, generate AI-powered inline review comments, address change requests, or complete a draft review. Triggers on: "pr open", "pr new", "pr review", "pr address", "pr complete", "open a PR", "create a draft PR", "code review", "pr mr", "pr this PR", "address pr comments", "fix review comments", "complete draft review", "publish review".