gate-check
Installation
SKILL.md
12-Gate Check — $ARGUMENTS
Run each gate sequentially on crate $ARGUMENTS. Report PASS / FAIL / N/A with a 1-line reason.
Gate 1 — SPEC
test -f docs/crate-specs/$ARGUMENTS.md && echo PASS || echo FAIL
Gate 2 — TDD (tests written first)
grep -rc -E '#\[(test|tokio::test)\]' crates/$ARGUMENTS/src 2>/dev/null | awk -F: '{s+=$2} END{print s " tests"}'
PASS if tests > 20 per 1k LOC. Check git log --oneline crates/$ARGUMENTS/ for test-first commit order.