code-review
Skill3 starsChanged 8 months agoMITView on GitHub
Use when the user asks for a review, code review, codereview, commit review, PR review, diff review, or wants a bug-focused assessment of changes. Default to a code review mindset that prioritizes findings about correctness, regressions, risks, and missing tests over summaries.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- canonical/mirtheir own version, first seen Nov 30, 2026
- dotnet/machinelearningtheir own version, first seen Nov 30, 2026
- canonical/multipasstheir own version, first seen Nov 29, 2026
- Forget-C/Jellyfishtheir own version, first seen Nov 29, 2026
- ceph/cephtheir own version, first seen Nov 29, 2026
- dotnet/aspnetcoretheir own version, first seen Nov 29, 2026
Used with
Projects with it also use close-spec, design-with-images 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.
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 5 projects that use this
dzhngSkilldesign-with-images
Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.
Also in 5 projects that use this
PydanticSkilladd-new-model
Add support for a newly-released language or image generation model in pydantic-ai (e.g. openai:gpt-5.6, anthropic:claude-sonnet-5, openai:gpt-image-2). Use when a provider ships a new model id and you need to wire literals, profile flags, adapters, and tests to recognize it. Handles SDK-lag, gateway list conventions, capability probing, and direct image-model geometry. Also use when Anthropic, OpenAI or Google deprecates or retires a model, to update the deprecation tables.
Also in 10 projects that use this
Microsoft AzureSkillazsdk-common-apiview-feedback-resolution
Analyze and resolve APIView review feedback on Azure SDK PRs. **UTILITY SKILL**. USE FOR: APIView comments, API review feedback, SDK API surface changes. DO NOT USE FOR: general code review, non-APIView feedback. INVOKES: azure-sdk-mcp:azsdk_apiview_get_comments, azure-sdk-mcp:azsdk_customized_code_update, azure-sdk-mcp:azsdk_typespec_delegate_apiview_feedback, azure-sdk-mcp:azsdk_run_typespec_validation, azure-sdk-mcp:azsdk_package_generate_code.
Also in 6 projects that use this
Microsoft AzureSkillazsdk-common-generate-sdk-locally
Generate and finalize Azure SDKs locally from TypeSpec, including build, checks, tests, changelog, metadata, and version updates by default. WHEN: "generate SDK locally", "build SDK", "run SDK tests", "run CI checks", "validate package", "run checks", "update changelog", "fix SDK build errors", "resolve SDK generation errors", "customize TypeSpec", "rename SDK client", "rename SDK model", "hide operation from SDK", "fix analyzer errors", "resolve customization drift", "create subclient", "update metadata", "update version". INVOKES: azsdk_verify_setup, azsdk_package_generate_code, azsdk_package_build_code, azsdk_package_run_check, azsdk_package_run_tests, azsdk_customized_code_update, azsdk_package_update_changelog_content, azsdk_package_update_metadata, azsdk_package_update_version.
Also in 6 projects that use this
- +4 more from dzhng
- +3 more from Azure
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- mattpocock/skills★ 335ksame name
- TheAlgorithms/Python★ 226ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- ggml-org/llama.cpp★ 137ksame name
- supabase/supabase★ 116ksame name
- storybookjs/storybook★ 92ksame name
- shareAI-lab/analysis_claude_code★ 80ksame name
- shareAI-lab/learn-claude-code★ 80ksame name
- vectorize-io/hindsight★ 64ksame name
184 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 repository8 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 23 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 186 edited versions we read keep these.
23
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the task is to evaluate code rather than to implement changes immediately.
- Distinctive: line 15
Treat findings as the primary output.
- Distinctive: line 16
Keep summaries brief and secondary.
- Distinctive: line 18
If no findings are discovered, say that explicitly and mention residual risk or testing gaps.
- Distinctive: line 31
Do not spend most of the review on style nits unless the user explicitly asks for style review.
- Distinctive: line 33
Do not drift into implementation unless the user also asks for changes.
- Distinctive: line 41
If the scope is ambiguous but one reasonable default exists, use it and state the assumption.
- Distinctive: line 42
Read the relevant diff before reading large amounts of surrounding code.
- Distinctive: line 44
Look for behavior changes, not just syntax issues.
- Distinctive: line 45
Check whether tests cover the changed paths and important failure modes.
- Distinctive: line 46
Stop once the highest-signal findings are supported by evidence.
- Distinctive: line 50
When the user does not specify scope, prefer these defaults:
- Distinctive: line 60
Only raise a finding when all of the following are true:
- Distinctive: line 66
Prefer fewer high-confidence findings over many speculative comments.
- Distinctive: line 67
Do not pad the review with weak observations just to make the review feel substantial.
- Distinctive: line 86
If there are no findings, explicitly say no findings were identified.
- Distinctive: line 92
Do not rewrite code or propose large redesigns unless needed to explain a finding.
- Distinctive: line 93
Do not fix the code unless the user also asks for implementation.
- Distinctive: line 94
Prefer evidence from the diff, surrounding code, and tests over intuition.
- Distinctive: line 95
Keep overviews short. The review should center on actionable findings, not retelling the patch.
- Distinctive: line 99
Read enough surrounding code to confirm whether a suspicious diff is actually wrong.
- Distinctive: line 100
Check call sites, data flow, and tests before claiming a regression.
- Distinctive: line 102
When uncertain, lower confidence and phrase it as an assumption or question instead of a hard finding.
“Common” is measured: kept by at least 6 in 10 of the 186 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
Code Review
Use this skill when the task is to evaluate code rather than to implement changes immediately.
Goal
Produce a review that mirrors Codex's built-in review behavior:
- Prioritize bugs, behavioral regressions, risky assumptions, and missing tests.
- Treat findings as the primary output.
- Keep summaries brief and secondary.
- Focus on the changed code and its likely runtime impact.
- If no findings are discovered, say that explicitly and mention residual risk or testing gaps.
What To Inspect
Review with the following order of attention:
- Correctness and broken behavior
- Regressions versus prior behavior
- Edge cases and unsafe assumptions
- Compatibility or integration risks
- Missing, weak, or misleading tests
- Maintainability issues only when they create real risk
Do not spend most of the review on style nits unless the user explicitly asks for style review.
Do not drift into implementation unless the user also asks for changes.
When reviewing defensive checks, trace the control flow and data loop that reaches them. If earlier invariants, loop conditions, or caller contracts already make a guard unreachable or redundant, prefer pointing out the unnecessary defensive branch and its maintenance cost instead of preserving it by default.
Review Workflow
- Identify the review scope.
- Current working tree, staged changes, a commit, a diff, a branch, or a specific file set.
- If the scope is ambiguous but one reasonable default exists, use it and state the assumption.
- Read the relevant diff before reading large amounts of surrounding code.
- Open only the files needed to validate suspicious changes, call sites, and tests.
- Look for behavior changes, not just syntax issues.
- Check whether tests cover the changed paths and important failure modes.
- Stop once the highest-signal findings are supported by evidence.
Default Scope Assumptions
When the user does not specify scope, prefer these defaults:
- Review the latest local changes when the conversation is already about a recent edit.
- Review the latest commit when the user says
latest commitor similar. - Review the current diff or working tree when the user says
review thiswith no other detail.
State the assumption briefly instead of blocking on a question unless the ambiguity is materially risky.
Findings Bar
Only raise a finding when all of the following are true:
- There is a concrete problem or meaningful risk.
- You can point to the file and line that caused the concern.
- You can explain the user-visible or system-visible impact.
Prefer fewer high-confidence findings over many speculative comments. Do not pad the review with weak observations just to make the review feel substantial.
Response Format
Present findings first, ordered by severity.
For each finding, include:
- A short severity label if useful, such as
P1,P2, orP3 - The affected file and line reference
- The problem
- Why it matters in behavior or risk terms
After findings, include:
- Open questions or assumptions
- A brief change summary only if it helps
- Residual risk or testing gaps when there are no findings
If there are no findings, explicitly say no findings were identified.
Default Review Stance
- Assume the author may be correct; verify before criticizing.
- Be direct and specific, not dramatic.
- Do not rewrite code or propose large redesigns unless needed to explain a finding.
- Do not fix the code unless the user also asks for implementation.
- Prefer evidence from the diff, surrounding code, and tests over intuition.
- Keep overviews short. The review should center on actionable findings, not retelling the patch.
Evidence Standards
- Read enough surrounding code to confirm whether a suspicious diff is actually wrong.
- Check call sites, data flow, and tests before claiming a regression.
- Distinguish confirmed findings from open questions.
- When uncertain, lower confidence and phrase it as an assumption or question instead of a hard finding.
Example Triggers
This skill should trigger for requests such as:
review thishelp me to review the last commitcode reviewreview this diffcheck this PR for bugslook for regressions
Non-Goals
- Full style or lint review unless explicitly requested
- Large-scale redesign proposals unless needed to explain a concrete issue
- Silent implementation of fixes during a review-only request
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.

