Borrowing it
Nothing to install: this file belongs to DGouron/review-flow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/DGouron/review-flow/master/.claude/commands/test.mdgit clone --depth 1 https://github.com/DGouron/review-flowWrote 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.
[](https://agentmods.dev/commands/dgouron/review-flow/test)<a href="https://agentmods.dev/commands/dgouron/review-flow/test"><img src="https://agentmods.dev/badge/commands/dgouron/review-flow/test/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.
<a href="https://agentmods.dev/commands/dgouron/review-flow/test"><img src="https://agentmods.dev/badge/commands/dgouron/review-flow/test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00364 |
| Opus 5.5 | $0.00000 | $0.00146 |
| Sonnet 5.5 | $0.00000 | $0.00073 |
| Haiku 4.5 | $0.00000 | $0.00036 |
Grade A, and why
test 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 2mo 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.
What it actually says
/test — Complete Test Verification
Read-only. No fixes.
1. Run All Tests
yarn test:ci --reporter=verbose
2. Failed Tests
Grep for FAIL / Error in output. List each with file and test name.
3. Files Without Tests
Find *.ts files under src/ that have no matching *.test.ts in src/tests/units/.
Exclude: type definitions, index files, config files.
4. Test Quality
Tests without assertions
Search for test blocks missing expect / assert / toBe / toEqual.
Tests with excessive mocks
Search for tests with > 3 mocks (vi.fn / vi.mock / vi.spyOn).
5. History
- Last 10 test-related commits (
git log --oneline --all --grep="test") - Tests added this week (
git diff --stat HEAD~7 -- "src/tests/")
6. Synthesis
| Metric | Value |
|---|---|
| Total tests | X |
| Passed | X |
| Failed | X |
| Statements coverage | X% |
| Branches coverage | X% |
Untested files (prioritized):
| Priority | File | Reason |
|---|---|---|
| BLOCKING | Business logic files | Core domain untested |
| Important | Adapter files | Interface layer untested |
| Acceptable | Types / config | Low risk |
Actions list or "All good"
Rules
- Read-only — don't fix anything
- Prioritize untested business logic files
- Report facts, not interpretation
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.
- 2mo ago First seen · 61 lines · 0 tokens per session scan A 086b4a72bb7f
test is a command published in the GitHub repository DGouron/review-flow (44 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 364 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-08-30.
Other commands, from other repositories
pre-merge-check
Obsolète (retirée en 9.0) : utilisez /gate:check merge.
converge
Run an unattended review→fix→re-review loop on the current branch until the reviewer has no findings at or above Medium, then push once. Findings stay in a local scratch file and are never posted to GitHub. Stops early on oscillation, a red test suite, or a 4-review cap.
review
Review the current git diff — auditor selected by --mode (general, security, a11y, deps, perf, tests, contributor-trust, ux) or auto-inferred from the diff when omitted. Pass a PR number to review a specific PR; use --check-followup to re-check a PR after the owner has addressed feedback.
local-code-review-tests
Review uncommitted changes, build projects, and run unit tests.
pr-enhance
Command "pr-enhance" from ruvnet/ruflo, covering pr-enhance, usage, options, examples and enhance pr.
audio-pass
Functional audio review for implementation, mix coverage, clarity, and player feedback.