review-changes
Skill1 starsChanged 5 months agoMITView on GitHub
Analyze uncommitted changes before committing. Quick pre-commit review of what you're about to ship.
- Reads credentials
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Before git commit — quick sanity check
- Very specific: line 12
Before /ship — preview what's going out
- Distinctive: line 13
When you've been coding for a while and lost track of changes
- Distinctive: line 14
Before creating a PR
- Very specific: line 18
When the user invokes /review-changes:
- Distinctive: line 35
If no changes found: "Working directory is clean.
- Distinctive: line 89
If everything looks good (or after fixes):
“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Changes (/review-changes)
Analyze all uncommitted changes in the working directory before committing.
When to Use
- Before
git commit— quick sanity check - Before
/ship— preview what's going out - When you've been coding for a while and lost track of changes
- Before creating a PR
Instructions
When the user invokes /review-changes:
Step 1: Gather Changes
# Staged changes
git diff --cached --stat
git diff --cached
# Unstaged changes
git diff --stat
git diff
# Untracked files
git status --short | grep "^??"If no changes found: "Working directory is clean. Nothing to review."
Step 2: Summarize
Produce a structured summary:
## Changes Overview
**Staged (ready to commit):**
- `src/auth.ts` — +42 -12 (added token refresh logic)
- `test/auth.test.ts` — +28 -0 (new tests for refresh)
**Unstaged:**
- `src/utils.ts` — +3 -1 (minor fix, probably should stage)
**Untracked:**
- `src/new-feature.ts` — New file (should this be committed?)
**Total: N files changed, +X -Y lines**Step 3: Quick Analysis
For each changed file, check:
- Accidental changes — Debug logs, console.log, commented code left in
- Missing files — New imports that reference untracked files
- Secrets check — Any
.envvalues, API keys, tokens in the diff - Convention compliance — Quick check against CLAUDE.md rules
- Test coverage — Did source files change without corresponding test changes?
- Proof of thoughtfulness — Were decisions intentional or just model defaults? Flag any architectural choice that looks like it was accepted without review (e.g., new abstractions, dependency additions, structural patterns that don't match existing conventions).
- Cut check — Flag any addition without a linked issue, user request, or explicit decision. If it can't be explained in one sentence to a beta user, it doesn't ship in V1.
Step 4: Report Issues
## Issues Found
### Must Fix
- `src/auth.ts:15` — `console.log("debug")` left in
- `src/config.ts:8` — Hardcoded API key (NEVER commit this)
### Should Fix
- `src/utils.ts` — Changed but no test updates
- `src/new-feature.ts` — Not staged, but imported by staged files
### Looks Good
- Token refresh logic is clean
- Tests cover the happy path and error casesStep 5: Suggest Commit
If everything looks good (or after fixes):
## Suggested Commit
**Message:** `add token refresh with automatic retry`
**Stage these:**
```bash
git add src/auth.ts test/auth.test.ts src/utils.tsDon't stage:
src/scratch.ts— Looks like scratch work
Proceed with commit? Or fix issues first?
## Arguments
| Arg | Effect |
|-----|--------|
| `--staged-only` | Only review staged changes |
| `--quick` | Skip analysis, just show summary |
| `--fix` | Auto-fix issues found (remove debug logs, etc.) |Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- tirth8205/code-review-graph★ 32ksame name
- docker/docs★ 4.7ksame name
- microsoft/nvx★ 803same name
- blockscout/frontend★ 310same name
- timothywarner-org/claude-code★ 223same name
- appclawhq/AppClaw★ 111same name
- uniffy-io/uniffy★ 68same name
- munvard/dockterm★ 48same name
- jjxmonster/skills★ 8same name
- Arasz/ai-badger★ 3same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use explore-codebase, debug-issue and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
srclightSkillexplore-codebase
This skill should be used when the user asks to "explore this codebase", "understand this project", "give me an overview", "how does this work", "onboard me", "walk me through the architecture", "map the codebase", or any request to understand a codebase's structure, architecture, or design.
Also in 4 projects that use this
NVIDIASkilldebug-issue
Use when the user asks to debug, investigate, or fix a GitHub issue or supplies a repository bug report.
Also in 4 projects that use this
srclightSkillrefactor-safely
This skill should be used when the user asks to "refactor", "rename", "move", "change a function signature", "extract a method", "delete unused code", "clean up", or any modification that could break callers or dependents. Provides a pre-change safety checklist using srclight's graph tools to assess blast radius before touching code.
Also in 4 projects that use this
GoogleSkillto-tickets
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.
Also in 3 projects that use this
GoogleSkillto-spec
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 3 projects that use this
MicrosoftSkillwriting-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
Also in 3 projects that use this
- +5 more from google
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/deep-recon/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-researchSkill
- algorithmic-artSkill
- api-integrationSkill
- breakdownSkill
- c4-architectSkill
- canvas-designSkill
- coding-agentsSkill
- compound-engineeringSkill
- context-budgetSkill
- counterfactualSkill
- critiqueSkill
- d3js-visualizationSkill
- data-analyst-agentSkill
- database-migrationsSkill
- deep-reconSkill
- design-tasteSkill
- doc-coauthoringSkill
- e2b-sandboxSkill
- ecosystem-auditSkill
- excalidraw-diagramSkill
- executing-plansSkill
- frontend-designSkill
- fullstack-agentSkill
- grillSkill
- kickoffSkill
- mcp-builderSkill
- model-migrationSkill
- naming-the-machineSkill
- full-output-enforcementSkill
- package-researchSkill
- pdf-generationSkill
- pp2pSkill
- pp3pSkill
- prompt-engineerSkill
- prompt-groundingSkill
- redesignSkill
- requesting-code-reviewSkill
- reverse-engineer-to-learnSkill
- scratchpadSkill
- shipSkill
- slack-gif-creatorSkill
- sprint-architectSkill
- techdebtSkill
- test-and-fixSkill
- threat-modelSkill
- verification-before-completionSkill
- visual-verdictSkill
- webapp-testingSkill
- web-asset-generatorSkill
- whatdidimissSkill
- writing-plansSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

