agentleFS
jajupmochijajupmochi/agent-harness/skills/general/verify-template/SKILL.md

verify-template

Skill1 starsChanged 5 months agoMITView on GitHub

Run the project's CI gates locally before claiming work is done. Customize the body to match the project's actual lint/test commands. Use before opening a PR or marking a phase complete.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the full verification gate for this project.

    line 8
  2. Distinctive:

    Stop on the first failure.

    line 47
  3. Distinctive:

    Don't run if there are no edits in flight (skip if working tree is clean and HEAD == upstream).

    line 49
  4. Distinctive:

    When using this template in a new project:

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/verify

Run the full verification gate for this project. Stop on first failure and report it plainly.

Customize this skill per project — the body below is a template. Replace with the project's actual commands. Common templates:

Default Python (uv + ruff + pytest)

uv run ruff check <SRC_DIRS>
uv run ruff format --check <SRC_DIRS>
uv run mypy <SRC_DIRS>            # if mypy is configured
uv run pytest -m "not slow and not download" -v

Replace <SRC_DIRS> with the project's source dirs (e.g., src/ tests/ or <package-name>/ tests/ plugins/).

Default Node.js (TypeScript)

npx tsc --noEmit
npx prettier --check .
npx eslint .                       # if eslint is configured
npx vitest run                     # or npx jest

Static site (HTML / CSS / JSON i18n)

# Validate JSON
for f in locales/*.json data/*.json; do jq empty "$f" || { echo "Invalid: $f"; exit 1; }; done

# i18n parity (if applicable)
python3 scripts/check_i18n_parity.py

# Optional: HTML validation
npx html-validate index*.html

Notes for the agent

  • Stop on the first failure. Report which step failed and the relevant tool output.
  • These should mirror the actual CI workflow — if ruff format --check fails, run ruff format to fix, then re-run /verify.
  • Don't run if there are no edits in flight (skip if working tree is clean and HEAD == upstream).
  • For research packages, tests should run on CPU and complete in <30 s if possible.

Customization checklist

When using this template in a new project:

  • Replace <SRC_DIRS> with the project's source directories
  • Adjust pytest flags (markers, parallelism)
  • Add or remove mypy step based on whether the project uses it
  • If pre-commit is configured, prefer pre-commit run --all-files over invoking ruff directly
  • Drop the templates that don't apply (e.g., remove the Node.js block in a Python project)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.