validator-commit

Installation
SKILL.md

/validator-commit $ARGUMENTS

Commit with optional validator validation. Runs agent-validate detect first, validates based on intent (full run, checks only, or skip), handles failures, then commits.

Step 1 - Detect Changes

Run agent-validate detect using Bash:

agent-validate detect 2>&1; echo "DETECT_EXIT:$?"

Check the exit code from the DETECT_EXIT: line:

  • Exit 0 → gates would run, continue to Step 2
  • Exit 2 → no gates would run (no changes or no applicable gates), skip to Step 4 (commit directly)
  • Exit 1 → error, report the error to the user and stop
  • Any other exit code → treat as error, report output to the user, and stop
Related skills
Installs
16
GitHub Stars
25
First Seen
2 days ago