Run all validators against recent code changes
50
63%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Risky
Do not use without reviewing
Run all applicable validators against recent code changes.
Check what files have changed. Combine committed, staged, and unstaged changes to capture all recent work:
{ git diff HEAD~1 --name-only --diff-filter=ACMRT 2>/dev/null; git diff --cached --name-only --diff-filter=ACMRT 2>/dev/null; git diff --name-only --diff-filter=ACMRT 2>/dev/null; } | sort -uBased on file extensions, select validators:
.go files → run go-effective, go-proverbs.py files → run python-style.ts or .tsx files → run typescript-stylesecuritystate-machineerror-handlingUse the Task tool to spawn validators in parallel. For each applicable validator, create a Task with:
Example Task prompt for each validator:
Invoke the `go-effective` skill using the Skill tool (skill: "go-effective"). Return its JSON output verbatim — do not summarize, reformat, or re-implement the validation logic.Go files changed:
go-effective skill and return JSON output verbatim.go-proverbs skill and return JSON output verbatim.security skill and return JSON output verbatim.state-machine skill and return JSON output verbatim.error-handling skill and return JSON output verbatim.Python files changed:
python-style skill and return JSON output verbatim.security skill and return JSON output verbatim.state-machine skill and return JSON output verbatim.error-handling skill and return JSON output verbatim.TypeScript files changed:
typescript-style skill and return JSON output verbatim.security skill and return JSON output verbatim.state-machine skill and return JSON output verbatim.error-handling skill and return JSON output verbatim.Mixed languages: Combine all applicable validators. Security, state-machine, and error-handling always run exactly once regardless of how many languages are detected.
Run all applicable Tasks in parallel (multiple Task calls in one response).
Collect all validator outputs and present a human-readable summary. Do NOT display raw validator JSON to the user — interpret and summarise the results.
# Validation Results
| Validator | Result | HARD | SHOULD | WARN |
|-----------|--------|------|--------|------|
| {validator} | {✓ pass / ✗ fail} | {count} | {count} | {count} |
## HARD violations (must fix)
- **{validator}** `{file}:{line}` — {rule description}
## SHOULD violations (fix or justify)
- **{validator}** `{file}:{line}` — {rule description}
- *Accepted:* {reason — e.g., pre-existing code outside diff scope, justified trade-off}
## Warnings
- {count} advisory warnings from {validator} ({brief context})
## Verdict
**PASS / PASS with warnings / FAIL** — {1-2 sentence summary with reasoning}Important formatting rules:
If any HARD violations or unjustified SHOULD violations:
If only warnings:
If clean: