# Test Runner

> Run quick/full checks consistently, include smoke, and summarize failures into actionable buckets. Use when this capability is needed.

- Skill: `tomevault-io/test-runner-5` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/test-runner-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/test-runner-5/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/test-runner-5

---


1) Read `codex.toml` (if present) for canonical commands.
2) Resolve commands (prefer `codex.toml`, otherwise defaults):
   - format: `uv run ruff format . --check`
   - lint: `uv run ruff check .`
   - typecheck: `uv run mypy src`
   - quick tests: `test_quick`, else `test`, else `uv run pytest -q`
   - full tests: `test_full`, else `test`, else `uv run pytest -q`
   - smoke: `smoke`, else `uv run python scripts/smoke.py` if present
3) Support two modes:
   - Quick mode:
     - format/lint
     - feature-scoped or quick tests (`test_quick` fallback chain)
     - smoke-test
   - Full mode:
     - format/lint
     - typecheck
     - full test suite (`test_full` fallback chain)
     - smoke-test
4) Always run smoke as its own stage after tests/checks and report it as a separate result bucket.
5) Summarize results:
   - Mode used and commands run
   - What passed
   - What failed (top 3 failure signatures)
   - Smoke result (pass/fail + artifact path when available)
   - Likely category: env/setup vs flaky vs deterministic bug vs expectation mismatch
6) Recommendation logic:
   - If unit/tests pass but smoke fails, prioritize packaging/runtime and invoke `debug-loop`.
   - If there are many failures, invoke `failure-triage`.
   - If failures appear intermittent, invoke `flaky-test-hunter`.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/rafaie) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

