crap
Installation
SKILL.md
/crap
Score code-risk hotspots with a CRAP-style formula across Rust, Python, TypeScript, and Swift.
This skill is for analysis and planning, not auto-fixing. It finds risky
functions, ranks them, and turns the output into candidate /describe
remediation units.
Modes
- Analysis mode: baseline score, hotspot ranking, next-action suggestions.
- One-shot remediation mode: bootstrap coverage, split work, implement test- first slices, rerun CRAP, commit progress, and iterate until the scoped score is below threshold or a blocker stops the loop.
Enter one-shot remediation mode only when the user explicitly asks for execution, for example: