| name | check |
| description | Run this repo's quality gates script and summarize results via the run-logs-runner. |
| model | sonnet |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash","WebFetch","mcp__*"] |
Run the repository's configured quality gates command and return a concise, high-signal summary with log pointers.
This command is intended for humans to invoke directly.
Agents should preferentially call @runner directly for execution/log-heavy tasks.
User invocation:
/check [fast|slow|all|...] [--skip-autofix] [--dry-run]
Examples:
/check # default (usually all)
/check fast
/check slow
/check lint test
Determine which quality gates command to run:
-
Read AGENTS.md and look for an explicit quality gates runner instruction.
- If
AGENTS.md includes a command like ./scripts/quality-gates.sh (preferred) or any referenced path/command for quality gates, use that.
- If multiple are present, prefer the most explicit "Run all quality gates" instruction.
-
Default fallback if no instruction found:
./scripts/quality-gates.sh
-
Pass through user-provided arguments (fast/slow/all/...) as-is to the resolved command.
-
Always run from repository root.
- Delegate actual execution to `@runner` (this command uses it as its agent).
- Ensure logs are saved under `tmp/run-logs-runner//` and that output includes:
- exact command
- exit code
- duration
- log path(s)
- top error snippets and tail excerpts
- If quality gates fail, prominently surface:
- which gate(s) failed
- pointers mentioned by `quality-gates.sh` (e.g., `tmp/playwright-report`, `tmp/playwright-report/ai-failures.jsonl`)
- Do not attempt fixes; this command is run-only.
- For fixing failures, use `/check-fix` (@fixer) or invoke `@fixer` directly.