test-verify

test-verify is a command for Claude Code from eddiebelaval/squire. It costs 0 tokens per session (1,634 once invoked), scanned A, original, MIT.

A workflow that finds the project's available checks and runs them to see whether the application works.

In plain words
What is it for?
Use it after a change to check supported project scripts and test tools across common JavaScript, Python, Rust, Go, and Make projects.
Why use it?
It avoids relying on assumptions or checking only one kind of test. It brings test, type-check, lint, and build results together where those checks exist.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it after a change to check supported project scripts and test tools across common JavaScript, Python, Rust, Go, and Make projects.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eddiebelaval/squire/test-verify
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-verify

README.md
[![agentmods](https://agentmods.dev/badge/commands/eddiebelaval/squire/test-verify/github.svg)](https://agentmods.dev/commands/eddiebelaval/squire/test-verify)
Your own site
<a href="https://agentmods.dev/commands/eddiebelaval/squire/test-verify"><img src="https://agentmods.dev/badge/commands/eddiebelaval/squire/test-verify/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-verify

Your own site · 80×15
<a href="https://agentmods.dev/commands/eddiebelaval/squire/test-verify"><img src="https://agentmods.dev/badge/commands/eddiebelaval/squire/test-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01634
Opus 5 $0.00000 $0.00817
Sonnet 5 $0.00000 $0.00327
Haiku 4.5 $0.00000 $0.00163

Measured 5d ago against content hash b9f1cb3f20d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

test-verify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/test-verify.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test and Verify

You are executing the test-verify workflow - runs tests and verifies the application works.

Pre-computed Context

# Detect project type
HAS_PACKAGE_JSON=$(test -f package.json && echo "yes" || echo "no")
HAS_PYPROJECT=$(test -f pyproject.toml && echo "yes" || echo "no")
HAS_SETUP_PY=$(test -f setup.py && echo "yes" || echo "no")
HAS_CARGO_TOML=$(test -f Cargo.toml && echo "yes" || echo "no")
HAS_GO_MOD=$(test -f go.mod && echo "yes" || echo "no")
HAS_MAKEFILE=$(test -f Makefile && echo "yes" || echo "no")

# Node.js detection
TEST_SCRIPT=$(cat package.json 2>/dev/null | jq -r '.scripts.test // "none"')
TYPECHECK_SCRIPT=$(cat package.json 2>/dev/null | jq -r '.scripts["type-check"] // .scripts.typecheck // "none"')
LINT_SCRIPT=$(cat package.json 2>/dev/null | jq -r '.scripts.lint // "none"')
BUILD_SCRIPT=$(cat package.json 2>/dev/null | jq -r '.scripts.build // "none"')
HAS_PLAYWRIGHT=$(test -f playwright.config.ts && echo "yes" || echo "no")
HAS_VITEST=$(grep -q "vitest" package.json 2>/dev/null && echo "yes" || echo "no")
HAS_JEST=$(grep -q "jest" package.json 2>/dev/null && echo "yes" || echo "no")

# Python detection
HAS_PYTEST=$(pip list 2>/dev/null | grep -q pytest && echo "yes" || echo "no")
HAS_MYPY=$(pip list 2>/dev/null | grep -q mypy && echo "yes" || echo "no")
HAS_RUFF=$(pip list 2>/dev/null | grep -q ruff && echo "yes" || echo "no")

# Shell detection
SHELL_SCRIPTS=$(find . -maxdepth 2 -name "*.sh" -type f 2>/dev/null | head -5)
HAS_SHELLCHECK=$(command -v shellcheck >/dev/null 2>&1 && echo "yes" || echo "no")

Project Type Detection:

  • Node.js: $HAS_PACKAGE_JSON | Python: $HAS_PYPROJECT / $HAS_SETUP_PY | Rust: $HAS_CARGO_TOML | Go: $HAS_GO_MOD

Node.js: Test=$TEST_SCRIPT | TypeCheck=$TYPECHECK_SCRIPT | Lint=$LINT_SCRIPT | Build=$BUILD_SCRIPT | Playwright=$HAS_PLAYWRIGHT | Vitest=$HAS_VITEST | Jest=$HAS_JEST Python: Pytest=$HAS_PYTEST | Mypy=$HAS_MYPY | Ruff=$HAS_RUFF Shell: Scripts=$SHELL_SCRIPTS | Shellcheck=$HAS_SHELLCHECK

Read the full file on GitHub · 247 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 247 lines · 0 tokens per session scan A b9f1cb3f20d1

Subscribe to this mod's changes

test-verify is a command published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 24d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,634 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other commands, from other repositories

atdd

Start the ATDD workflow for a new feature. Optionally provide a feature description as an argument.

swingerman/engineer · 23 tokens

especificar

Crear especificaciones Gherkin desde un requerimiento/requisito. Usa cuando el usuario dice "escribir specs", "especificar feature", "crear Gherkin", "escribir requerimientos", "write specs", "requirements to Gherkin", "escribir scenarios", "documentar feature en Gherkin". Genera DBML schema auto-máticamente para…

doncheli/don-cheli-sdd · 90 tokens

implementar

Ejecutar tareas TDD fase por fase dentro de Docker hasta que todos los tests pasen.

doncheli/don-cheli-sdd · 19 tokens

spec-score

Puntuación cuantitativa de calidad de especificaciones (0-100) con 8 métricas. Usa cuando el usuario dice "spec score", "quality score", "spec quality", "completitud de specs", "IEEE 830", "ISO 29148", "spec assessment", "medir calidad specs". Score de 0-100 con 8 métricas: completitud, consistencia, verificabilidad…

doncheli/don-cheli-sdd · 102 tokens

tea

Testing Autónomo End-to-End (TEA): genera, ejecuta y reporta tests automáticamente. Usa cuando el usuario dice "E2E test", "test end-to-end", "correr tests", "generar tests", "testing suite", "run tests", "automated testing", "pruebas E2E", "test coverage", "regression testing". Detecta el framework de testing del…

doncheli/don-cheli-sdd · 97 tokens

visual-test

Testing visual de componentes UI y páginas con detección de regresiones visuales. Usa cuando el usuario dice "visual test", "snapshot test", "regression test UI", "visual regression", "UI test", "component test", "screenshot test", "Chromatic", "percy", "regred visual". Detecta cambios visuales en componentes y…

doncheli/don-cheli-sdd · 81 tokens