Skill
CRAP Check
Covers several stacks (27 languages via lizard); Swift and iOS via llvm-cov or an Xcode .xcresult. Agent skill that ranks functions by the CRAP metric (cyclomatic complexity weighed against test coverage) and drives the score down by writing missing tests or simplifying code. Complexity comes from lizard (SwiftLint optional); coverage from lcov, Cobertura, llvm-cov JSON or an Xcode .xcresult read through xccov. The scoring script exits 1 above the threshold, so it also runs in CI.
n0an · Claude Code, Codex +2
Added