From Changes Consistency
Validates that staged git changes match what the user described as their expected changes. Use this skill whenever the user wants to verify, audit, or confirm that their staged changes (git staged diff) are consistent with their stated intent — e.g. "check if my changes match what I said I'd do", "validate my staged changes", "are my changes consistent with the description", "review my staged diff against expectations", "does my diff match my task?". Always trigger when the user describes expected changes and wants to compare them against staged git changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/changes-consistency:changes-consistencyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate that staged git changes align with what the user described as their expected changes. Report mismatches clearly and precisely.
Validate that staged git changes align with what the user described as their expected changes. Report mismatches clearly and precisely.
Ask the user to describe what changes they expected to make. Be explicit:
"Please describe the changes you expected to stage. Be as specific as possible — which files should be affected, what logic should change, what should be added or removed."
Wait for the user's response before proceeding.
Run:
git diff --staged
If nothing is staged, inform the user:
"No staged changes found. Stage your changes with
git addand try again."
Stop here if there's nothing to compare.
Compare the staged diff carefully against the user's description. For each discrepancy, classify it as:
Consider these dimensions:
╔══════════════════════════════════════════════════════╗
║ CHANGE CONSISTENCY: ALL EXPECTED ║
╚══════════════════════════════════════════════════════╝
All staged changes are consistent with the described expectations.
No missing or extra changes detected.
Output a report with this exact structure:
╔══════════════════════════════════════════════════════╗
║ CHANGE CONSISTENCY: DISCREPANCIES FOUND ║
╚══════════════════════════════════════════════════════╝
Then produce a table for Missing Changes (if any):
| # | File | Description of Missing Change |
|---|---|---|
| 1 | path/to/file.ext | Brief, specific description of what was expected but not found |
| 2 | path/to/other.ext | ... |
And a table for Extra Changes (if any):
| # | File | Description of Extra Change |
|---|---|---|
| 1 | path/to/file.ext | Brief, specific description of what was changed but not described |
If only one category has issues, omit the other table and say "None detected." below its header.
End with a summary line:
Summary: X missing change(s), Y extra change(s) across Z file(s).
console.log, that matches — don't flag it as extra just because the exact wording differs.Behavioral guidelines to avoid overcomplication, make surgical code changes, surface assumptions, and define verifiable success criteria. For writing, reviewing, or refactoring code.
Searches, retrieves, and installs Agent Skills from the prompts.chat registry using MCP tools. Helps users find, browse, and extend Claude Code with reusable skills.
Guides users through creating, editing, and optimizing skills: drafting, running evaluations, reviewing results, and iterating. Includes description improvement for better triggering.
npx claudepluginhub luizffl/changes-consistency