Skip to content
Back to skills

Git Run Checks

ASecurity

Run repository checks before every commit and before opening a PR. Use when asked to "run checks", "validate changes", "verify before commit", or "pre-commit" in any codebase.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
developmentjavascripttypescriptpythonrustgojavagit

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add 0xharryriddle/codex-field-kit --skill git-run-checks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Run Checks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Run Checks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0xharryriddle-git-run-checks/badge)](https://www.skillsdirectory.com/skills/0xharryriddle-git-run-checks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-run-checks
description: Run repository checks before every commit and before opening a PR. Use when asked to "run checks", "validate changes", "verify before commit", or "pre-commit" in any codebase.
---

# Git Run Checks

Always run checks before creating a commit. If checks fail, do not commit.

## Workflow

1. Identify the project toolchain from files in the repo root.
2. Execute the highest-signal check command available.
3. If no single check command exists, run lint, typecheck, test, and build scripts in that order.
4. Stop at first failure, report root cause, fix, and rerun.
5. Only proceed to commit after all required checks pass.

## Preferred Check Order

- `make check` when available.
- JavaScript/TypeScript: `check` or `verify`, otherwise `lint`, `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`.

See `./references/check-order.md` for exact command mapping.

## Optional Helper Script

Use `./scripts/run-project-checks.sh` from the project root to auto-detect and run checks.

## Boris-Inspired Operating Rules

- Read and understand current state before running commands.
- Keep command output concise and action-oriented.
- Run verification in tight loops after each meaningful change.
- Reuse project-native commands instead of inventing new ones.
- State assumptions when check coverage is incomplete.

## Claude Mapping (Optional)

- If hooks are configured, wire this skill into pre-commit or pre-push hooks.
- If slash commands are available, expose a `/check` command that calls the helper script.

Files in this skill

  • SKILL.md1.7 KB
  • agents/openai.yaml190 B
  • references/check-order.md583 B
  • scripts/run-project-checks.sh1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…