git-run-checks
Installation
SKILL.md
Git Run Checks
Always run checks before creating a commit. If checks fail, do not commit.
Workflow
- Identify the project toolchain from files in the repo root.
- Execute the highest-signal check command available.
- If no single check command exists, run lint, typecheck, test, and build scripts in that order.
- Stop at first failure, report root cause, fix, and rerun.
- Only proceed to commit after all required checks pass.
Preferred Check Order
make checkwhen available.- JavaScript/TypeScript:
checkorverify, otherwiselint,typecheck,test,build. - Rust:
cargo fmt --all -- --check,cargo clippy --all-targets --all-features -- -D warnings,cargo test --all-features. - Go:
go test ./.... - Python:
pytest.