setup-crap-check
Installation
SKILL.md
Setup CRAP Check
One-time guided setup. Adds CRAP score enforcement at both CI and pre-commit hook level. Defaults to setting up both -- confirms with user before proceeding.
Workflow
Step 1 -- Detect project setup
- Identify primary language(s) from file extensions and config files
- Identify test framework (pytest, jest, vitest, go test, maven, gradle, etc.)
- Identify existing coverage config (
.coveragerc,jest.config,nycin package.json,jacocoin pom.xml, etc.) - Identify source directories (e.g.
src/,lib/,app/,.for Go) - Check if
.github/workflows/already exists
Present findings to user for confirmation before proceeding.