git-run-checks

Auto-detect repository toolchains and run lint, typecheck, test, and build checks.

3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/0xharryriddle/codex-field-kit --skill git-run-checks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-run-checks
Source: https://github.com/0xharryriddle/codex-field-kit/tree/main/archive/upstream/chasebuild-agent-skills/git/skills/git-run-checks
Command: npx skills add https://github.com/0xharryriddle/codex-field-kit --skill git-run-checks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Ensures checks are executed before commits or pull requests, preventing broken changes from entering the codebase.

Core Features & Use Cases

  • Auto-detects the repository toolchain (Makefile, package.json, Cargo.toml, go.mod, etc.) and runs the highest-signal check command available.
  • If a single check command isn't present, executes a deterministic sequence: lint, typecheck, test, and build, stopping at the first failure and reporting the root cause.
  • Supports a range of ecosystems (Make-based, Node.js, Rust, Go, Python) with a predictable workflow for PR validation.

Quick Start

Run the project checks from the repository root to validate your changes before committing.

Frequently Asked Questions about git-run-checks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run automated repository checks before a commit or PR across different toolchains?

Automated repository checks detect the project toolchain—such as Makefile, package.json, Cargo.toml, or go.mod—and execute the best available lint, typecheck, test, and build commands to validate changes before committing.

What happens if my project doesn't have a single unified check command like a Makefile?

Without a single check command, repository checks execute a deterministic sequence of lint, typecheck, test, and build, stopping at the first failure and reporting the root cause to prevent broken changes.

Does this precommit check tool support Python and Rust projects?

Yes, precommit checks support Python and Rust by auto-detecting pytest setup and Cargo.toml respectively, running the corresponding check commands to validate the codebase before a pull request.

What's the best way to ensure lint and typecheck failures are caught before pushing code?

Running automated repository checks before pushing catches lint and typecheck failures by executing a deterministic validation sequence, stopping at the first error and reporting the root cause for immediate fixes.

Can I use this to run build and test validation for a Node.js project?

Yes, for Node.js projects, build and test validation auto-detects the package.json toolchain and runs the appropriate check commands to ensure code quality before integrating changes.

Why should I run repo checks before committing instead of relying on CI pipelines?

Running repo checks before committing prevents broken changes from entering the codebase locally, providing faster feedback than CI pipelines by catching lint, typecheck, and build failures before push.