Individual skill
cpp-static-analysis
Use in C/C++ projects when reviewing changes or hunting bugs. Runs clang-tidy/cppcheck/IWYU. Needs compile_commands.json. Changed lines only.
skills/cpp-static-analysis/SKILL.md
Source commit 2664c77b1388efbc59aca14602ba7de1a2b96935
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 11, 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 · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytesSKILL.mdcore · 8,758 bytestool-comparison.mddoc · 2,127 bytes
Read excerpt
# C/C++ Static Analysis
Static analysis catches an enormous class of bugs at zero runtime cost: null derefs, leaks, dangling refs, integer overflow, missing initializers, unused includes, banned APIs.
Three core tools cover most needs:
| Tool | What it catches | Cost |
|---|---|---|
| **clang-tidy** | Style + correctness + modernize + bugprone | Heavy (uses full AST) |
| **cppcheck** | Quick correctness, leaks, off-by-one | Light (own parser) |
| **IWYU** | Missing/superfluous `#include` | Heavy (compile-driven) |
## Prerequisites (hard)