review-changes
Skill0 starsChanged 3 months agoMITView on GitHub
Review uncommitted git changes with a security-first, performance-aware, evidence-based workflow that relies on local diff inspection and targeted scans instead of mandatory external LLM analysis. Use before committing code, during code review, or when validating changes before pushing.
34 other projects use a version of this.
Adopted by
Most recently taken up by
- Doist/todoist-aitheir own version, first seen Nov 9, 2026
- lklimek/claudiustheir own version, first seen Nov 8, 2026
- Doist/todoist-clitheir own version, first seen Nov 8, 2026
- salasebas/skillstheir own version, first seen Nov 8, 2026
- pumpkit-io/sdlctheir own version, first seen Nov 1, 2026
- alexandrecsp/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use explore-codebase, debug-issue and 7 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
- +3 more from google
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- tirth8205/code-review-graph★ 33ksame name
- docker/docs★ 4.7ksame name
- Doist/todoist-ai★ 563same name
- Doist/todoist-cli★ 331same name
- blockscout/frontend★ 310same name
- timothywarner-org/claude-code★ 223same name
- appclawhq/AppClaw★ 111same name
- munvard/dockterm★ 48same name
- uniffy-io/uniffy★ 26same name
- jjxmonster/skills★ 8same name
24 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.
In this repository66 other files it gives its agents.
- adb-android-app-opsSkill
- agents-sdkSkill
- api-documentationSkill
- atlasSkill
- backend-api-auth-guardrailsSkill
- browser-useSkill
- bundleSkill
- changelogSkill
- chatgpt-appsSkill
- chrome-devtools-testSkill
- chronicleSkill
- cloudflare-deploySkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- computer-useSkill
- create-planSkill
- database-analysisSkill
- database-data-guardrailsSkill
- debug-memory-leakSkill
- deep-initSkill
- deploySkill
- develop-web-gameSkill
- dev-workflowSkill
- docSkill
- durable-objectsSkill
- explainSkill
- figmaSkill
- firmware-feature-writerSkill
- fix-bugSkill
- fix-lintSkill
- frontend-mobile-uiux-designerSkill
- frontend-ui-guardrailsSkill
- gemini-cliSkill
- grok-x-searchSkill
- hermes-chromeSkill
- image-file-readerSkill
- imagegenSkill
- infra-ops-mobile-guardrailsSkill
- layout-reviewSkill
- localizeSkill
- multimodal-lookerSkill
- openai-docsSkill
- optimizeSkill
- parallel-devSkill
- plan-modeSkill
- playwrightSkill
- project-planningSkill
- qa-testerSkill
- refactorSkill
- review-fix-shipSkill
- rust-programmerSkill
- sandbox-sdkSkill
- screenshotSkill
- security-auditSkill
- security-scanSkill
- security-threat-modelSkill
- source-command-collab-startSkill
- turnstile-spinSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
If needed, identify the changed file list first:
- Distinctive: line 44
Use the actual git diff, targeted searches, and direct file inspection as the primary evidence.
- Distinctive: line 45
Do not block the review on Gemini or any other external LLM command.
- Very specific: line 70
If large or binary artifacts are changed (for example *.pen), review them separately instead of treating them as normal text diffs.
- Distinctive: line 76
If they are generated artifacts, verify the source-of-truth file was also reviewed.
- Distinctive: line 121
If there are no findings, state that explicitly.
- Distinctive: line 124
Only include items that materially affect confidence in the review.
- Distinctive: line 135
Do not invent issues that are not supported by the diff.
- Distinctive: line 137
Prefer a small number of high-signal findings over a long generic checklist.
- Distinctive: line 138
If evidence is insufficient, state the uncertainty plainly.
- Distinctive: line 139
Do not treat external LLM output as a required gate for completing the review.
- Distinctive: line 147
If you optionally consult another tool, keep the final review grounded in the diff and your own verification.
“Common” is measured: kept by at least 6 in 10 of the 33 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
Git Change Review
You are an expert code reviewer. Review the uncommitted git changes systematically and ground every finding in the actual diff.
Execution Checklist (MUST follow in order)
- Step 1:
git status --short - Step 1:
git diffandgit diff --cached - Step 2: Identify changed files and review high-risk areas first
- Step 2: Review large/binary artifacts separately
- Step 2: Run targeted string scans for secrets and risky patterns on changed files when relevant
- Step 2: Keep the review local and evidence-based; do not require Gemini or other external LLM tools
- Step 3: Produce findings ordered by severity with file/line references
- Step 3: Add open questions or assumptions only after the findings
Step 1: Gather Changes
Start with:
Git status: !`git status --short`Then inspect both staged and unstaged changes:
git diff --cachedgit diff
If needed, identify the changed file list first:
git diff --name-only --cached
git diff --name-onlyStep 2: Review Systematically
Use the actual git diff, targeted searches, and direct file inspection as the primary evidence. Do not block the review on Gemini or any other external LLM command.
Prioritize:
- Auth, permissions, payments, data mutation, and migrations
- Request parsing, validation, serialization, and error handling
- Query paths, caching, loops, and async/concurrency logic
- UI state handling and user-visible regressions
- Tests that prove or fail to prove the change
Targeted scans that are often useful:
# Secret and sensitive marker scan on changed files
rg -n "password|secret|token|api[_-]?key|private key|BEGIN [A-Z ]+PRIVATE KEY" [changed_files]
# Query and command execution hotspots
rg -n "SELECT|INSERT|UPDATE|DELETE|query\\(|execute\\(|exec\\(|spawn\\(" [changed_files]
# Error-handling and logging hotspots
rg -n "catch \\{|except:|except Exception|console\\.error|logger\\.(info|debug|error)" [changed_files]Large/Binary Artifacts
If large or binary artifacts are changed (for example *.pen), review them separately instead of treating them as normal text diffs.
Minimum checks:
- Confirm they do not contain real credentials, tokens, or PII.
- Confirm placeholder values remain placeholders.
- If they are generated artifacts, verify the source-of-truth file was also reviewed.
What to Look For
Correctness
- Logic bugs and behavior regressions
- Missing edge-case handling
- Incorrect assumptions about data shape, ordering, or nullability
Security
- SQL injection and unsafe query construction
- Missing auth or permission checks
- Input validation gaps
- Secret or PII exposure
- Unsafe redirects, XSS, CSRF, SSRF, or command execution issues
Performance
- N+1 queries
- O(n^2) or repeated expensive work in loops
- Sequential async work that can block latency
- Large allocations or avoidable re-renders
Reliability and Maintainability
- Silent error swallowing
- Missing or misleading logs
- Unclear branching and duplicated logic
- Missing tests for critical behavior
Review Output Format
Provide the review in Traditional Chinese with the following structure:
Findings
List only actionable findings first, ordered by severity. For each finding include:
- Severity
- File and line
- The concrete problem
- Why it matters
- The recommended fix
If there are no findings, state that explicitly.
Open Questions / Assumptions
Only include items that materially affect confidence in the review.
Brief Summary
Short summary of the change scope and residual risk.
Commit Suggestion
Suggest a conventional commit message when useful.
Review Principles
- Prioritize correctness, then security, then maintainability, then performance.
- Do not invent issues that are not supported by the diff.
- Be specific and reference exact files and lines.
- Prefer a small number of high-signal findings over a long generic checklist.
- If evidence is insufficient, state the uncertainty plainly.
- Do not treat external LLM output as a required gate for completing the review.
Important Notes
- Focus on the uncommitted changes, not the whole codebase.
- Review tests as part of the change, not as an afterthought.
- For frontend work, verify loading, empty, error, disabled, and success states when applicable.
- For server-side work, verify traceability, input validation, and safe error responses when applicable.
- If you optionally consult another tool, keep the final review grounded in the diff and your own verification.
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.

