npx claudepluginhub peteski22/agent-pragma --plugin pragmaThis skill is limited to using the following tools:
Run all applicable validators against recent code changes.
Runs full validator workflow: executes agent-validate checks via Bash, extracts and reports failures from logs using Task, applies fixes before commit/push/PR. For 'run validator' requests.
Suggests manual /compact at logical task boundaries in long Claude Code sessions and multi-phase tasks to avoid arbitrary auto-compaction losses.
Share bugs, ideas, or general feedback.
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 -u
Based 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: