validate-changes
Installation
SKILL.md
Validate Changes Before Commit
Evaluate staged git changes using the output-evaluator agent to catch issues before committing.
Process
Step 1: Check for Staged Changes
Run git diff --cached --stat to see what's staged. If nothing is staged, inform the user and exit.
Step 2: Get the Full Diff
Run git diff --cached to get the complete diff of all staged changes.
Step 3: Invoke the Evaluator
Use the Task tool to launch the output-evaluator agent with the diff: