Individual skill
cpp-build-systems
Use in C/C++ projects for build configure/errors, compile_commands.json generation, or selecting CMake/Meson/Make/Bazel commands.
skills/cpp-build-systems/SKILL.md
Source commit 2664c77b1388efbc59aca14602ba7de1a2b96935
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 13
- Repository last updated
- Jul 31, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- superpowers Repository topic
- skills Repository topic
- subagent-driven-development Repository topic
- claude-plugin Repository topic
- claude-code Repository topic
- llm Repository topic
- context-engineering Repository topic
- cpp Repository topic
- harness-engineering Repository topic
- agent-skills Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytesSKILL.mdcore · 5,154 bytescmake-reference.mddoc · 2,231 bytescompile-commands-guide.mddoc · 2,591 bytesmeson-reference.mddoc · 1,285 bytes
Read excerpt
# C/C++ Build Systems
The build system is the single most important piece of C/C++ tooling — it determines how every other tool (clang-tidy, IWYU, language servers, debuggers) understands your code.
## The compile_commands.json invariant
> **Every C/C++ project must export `compile_commands.json`.**
It's a JSON database of compiler invocations per file. Without it, clang-tidy/IWYU/clangd can't parse your code correctly (they need to know macros, includes, standard, flags). The `cpp-static-analysis` skill enforces this prerequisite.
## Per-build-system commands
### CMake