| name | quality |
| description | Run full quality gates — all 8 checks matching CI plus local-only gates |
| disable-model-invocation | true |
| allowed-tools | Bash |
Run the complete quality gate pipeline. Stop at the first failure and report it.
Steps
- Format:
cargo fmt --all
- Lint:
cargo clippy --workspace --all-targets -- -D warnings -W clippy::perf
- Test:
cargo test --workspace
- Docs:
cargo doc --workspace --no-deps
- Banned Patterns:
.claude/hooks/banned-pattern-scanner.sh . "$(find crates -name '*.rs' -not -path '*/target/*')"
- Test Count Guard:
.claude/hooks/test-count-guard.sh .
- Security:
cargo audit (if installed, else SKIP)
- Deny:
cargo deny check (if installed, else SKIP)
Output
For each step, report PASS, FAIL, or SKIP. If any step fails, show the error output and stop.
Do NOT proceed to git commit — just report results.
If all steps pass, output:
QUALITY GATES: ALL 8 PASSED
Ready to commit.