crap-gate

Installation
SKILL.md

CRAP gate

CRAP = CC² × (1 − coverage)³ + CC per function, where CC is cyclomatic complexity. Complex code without tests scores high. The gate stops new debt and makes touched hotspots shrink. The scorer is Crapper (make crap), and the rules live in scripts/crap/policy.ts with thresholds in scripts/crap/thresholds.ts.

Where reports come from

Installs
1
Repository
coder/xum
GitHub Stars
2.1K
First Seen
Oct 30, 2026