Skill
CRAP Check
CRAP Check is an agent skill for testing iOS apps by n0an, licensed MIT. It works with Claude Code, Codex, Cursor and Gemini CLI. Install: `npx skills add https://github.com/n0an/crap-check --skill crap-check`.
Added
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.
Compare Swift Testing skills and agent test tools →
Install
npx skills add https://github.com/n0an/crap-check --skill crap-checkCopied from the upstream source on 27 Oct 2026. Check the repository before you run it. Works with Claude Code, Codex, Cursor, Gemini.