run-checks

Validate a Git feature branch's Definition of Done with automated checks.

2|Updated Jul 5, 2018
One-click install
npx skills add https://github.com/tnez/dotfiles --skill run-checks-tnez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-checks
Source: https://github.com/tnez/dotfiles/tree/main/claude/dot-claude/skills/run-checks
Command: npx skills add https://github.com/tnez/dotfiles --skill run-checks-tnez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates validation that the current branch adheres to the project's Definition of Done, reducing manual review overhead and surfacing quality gaps early.

Core Features & Use Cases

  • Reuses AGENTS.md to form the DoD checklist when available, else falls back to tooling discovery.
  • Analyzes git changes with git diff main...HEAD --name-only to scope checks to relevant changes.
  • Executes automated checks (typecheck, lint, tests, build) and aggregates results, with guidance to fix issues.

Quick Start

Run the run-checks skill on your feature branch to execute the full DoD validation and report results.

Frequently Asked Questions about run-checks

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

FAQPage Schema
How do I automate Definition of Done checks on a feature branch?

Automate Definition of Done checks by running this skill on your feature branch to execute typecheck, lint, tests, and build validations, ensuring adherence to project standards before review.

Can I use this to run lint and typecheck only on changed files?

Yes, this skill scopes lint, typecheck, tests, and build checks to changed files by running git diff main...HEAD --name-only, ensuring only modified code is validated against the DoD.

How does this skill find the correct build and test commands?

It reads AGENTS.md as the source of truth for the DoD checklist, then falls back to standard tooling configurations like Taskfile.yml, package.json, Makefile, pyproject.toml, and Cargo.toml to execute checks.

Does this work with Python and Rust projects?

Yes, it supports Python and Rust projects by falling back to pyproject.toml and Cargo.toml configurations to determine and run the relevant typecheck, lint, test, and build commands.

What is the best way to validate code quality before creating a pull request?

Run this skill on your feature branch to aggregate automated quality checks and surface issues early, reducing manual review overhead by validating DoD alignment before opening a pull request.