code-review
Skill1 starsChanged 15 days agoApache-2.0View on GitHub
Review a diff, pull request, branch, subsystem, or bounded repository surface for concrete correctness and regression defects, reporting any defect found — security ones included. Use when the deliverable is the code review itself; use security-review when a dedicated vulnerability assessment is the primary task.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- doggy8088/spec-kittheir own version, first seen Nov 9, 2026
- strelov1/freehiretheir own version, first seen Nov 9, 2026
- storybookjs/storybooktheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- supabase/supabasetheir own version, first seen Nov 8, 2026
- The-Vibe-Company/quivrtheir own version, first seen Nov 8, 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 in 9 projects that use this
transitive-bullshitSkillcompare-screenshots
Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.
Also in 5 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
- +2 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★ 309ksame name
- TheAlgorithms/Python★ 226ksame name
- microsoft/vscode★ 195ksame name
- github/spec-kit★ 149ksame name
- ggml-org/llama.cpp★ 134ksame name
- supabase/supabase★ 115ksame name
- storybookjs/storybook★ 91ksame name
- shareAI-lab/analysis_claude_code★ 80ksame name
- shareAI-lab/learn-claude-code★ 80ksame name
- vectorize-io/hindsight★ 60ksame 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 repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-pr-reviewSkill
- ai-slop-detectorSkill
- architecture-reviewSkill
- codebase-orientationSkill
- dependency-upgradeSkill
- documentation-reviewSkill
- frontend-quality-reviewSkill
- git-github-workflowSkill
- harness-adaptationSkill
- implementation-planningSkill
- parallel-multi-agentSkill
- quality-hardeningSkill
- reduce-code-sizeSkill
- repository-guidance-authoringSkill
- requirements-and-designSkill
- review-feedback-resolutionSkill
- rules-and-skills-auditSkill
- security-reviewSkill
- skill-authoringSkill
- skill-discoverySkill
- skill-optimizerSkill
- skill-reviewerSkill
- systematic-debuggingSkill
- threat-modelingSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 184 edited versions we read keep these.
10
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
- could be automatic: a setting could enforce it
- Very specific: line 20
Use this skill for a focused diff or subsystem and its concrete behavior.
- Distinctive: line 52
Read the contract: Read applicable local guidance, source-of-truth code/configuration, relevant tests, and documentation before evaluating …
- Distinctive: line 55
Inspect concrete risks: Check boundary ownership, input validation, state transitions, error propagation, cancellation and lifecycle, …
- Distinctive: line 77
Check adjacent claims: Verify changed docs, configuration, generated artifacts, and integration instructions against current source.
- Distinctive: line 103
Style nitpicking: Do not report formatting, identifier casing, or subjective syntax preferences if automated linters pass and the code …
- Distinctive: line 104
Speculative vulnerabilities: Do not report security flaws without demonstrating a concrete untrusted data flow, unverified input, or …
- Distinctive: line 105
Scope creep & unsolicited redesign: Do not demand an architectural rewrite when reviewing a localized bug fix or narrow feature addition.
- Distinctive: line 106
Phantom verification: Never claim tests passed or code is verified without running the exact test command and inspecting output.
- Distinctive: line 108
Do not call a check passed when it was not run.
- Distinctive: line 111
Before the final verdict, check review coverage against the frozen scope and state what was not inspected.
- Distinctive: line 125
Stop and report a blocked review when a required check cannot be run — missing credentials, unavailable CI, or an unlicensed tool — and …
“Common” is measured: kept by at least 6 in 10 of the 184 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
Authority and boundary
This skill produces a recommendation-first review, not an automatic refactor, merge, publication, or approval. Do not edit reviewed files unless the user explicitly requests application of selected findings. Keep review findings separate from implementation decisions.
Use this skill for a focused diff or subsystem and its concrete behavior. Use
architecture-review for redesign or refactor-versus-rewrite choices,
ai-slop-detector for broad artifact-quality and test-independence audits,
documentation-review for factual docs sync, quality-hardening for a bounded
set of correctness fixes, and reduce-code-size when the goal is size
reduction.
Freeze the review point before judging findings: record the base, diff, source version, generated-file policy, and checks that were actually run. Review the specification or public contract separately from engineering standards so a style preference cannot masquerade as a correctness defect.
Inputs and evidence
Take the named diff, branch, subsystem, or repository; the review question; local rules; and relevant source-of-truth contracts, configuration, tests, build files, documentation, and runtime evidence. Establish the complete changed surface before judging an individual line. If a merge base or comparison target is named, include it in the review context.
Ground each finding in a path and line or other precise anchor, a failing check or reproduction, a verified contract, a plausible wrong behavior, or a distinct test gap. Separate observed facts from inferences and unknowns. Do not treat style, size, familiarity, or suspected authorship as a defect by itself.
Review workflow
- Establish review truth. Inspect
git status, the complete scoped diff, merge base, and target base; identify generated files, contract boundaries, public interfaces, security surfaces, persistence, concurrency, and user-visible changes. - Read the contract. Read applicable local guidance, source-of-truth code/configuration, relevant tests, and documentation before evaluating behavior. Source and executable checks outrank stale prose.
Inspect concrete risks. Check boundary ownership, input validation, state transitions, error propagation, cancellation and lifecycle, retries, timeouts, duplicate or out-of-order work, security and secret handling, compatibility, and data-loss behavior as applicable. Trace changed symbols through callers, removed behavior, sibling implementations, and the canonical source of truth; do not assume a local diff is the whole contract.
High-risk defect categories:
- Concurrency & atomicity: unlocked mutexes/locks on early return or exception paths; check-then-act (TOCTOU) races; goroutine/thread/task leaks without lifecycle termination; unhandled promise/async task rejections.
- State transitions & persistence: partial multi-step persistence writes lacking transaction rollback; missing database connection/file handle release in
finally/deferblocks; idempotency failures during retries. - Input & boundary validation: missing bounds, size, or type checks on untrusted payloads; unescaped inputs reaching regex/SQL/shell parsers; sensitive data leaked into log lines.
- Error propagation: swallowed exceptions returning synthetic default values that masquerade as success; missing error wrapping that loses operational root cause.
- Effective fix / behavior change: When the change is framed as fixing a bug or closing a vulnerability, trace the reported root cause to the changed lines and confirm the diff actually alters the behavior that produces it. A diff that only adds logging, comments, formatting, docs, or unrelated code is not a fix; report it as an incomplete or ineffective change rather than accepting it.
- Inspect tests and evidence. Each changed test should protect a distinct defect class and derive expected values from a contract or independent oracle. Ask whether a plausible wrong implementation would fail. Run the smallest relevant local checks and record anything not run. Treat an unverified blocker as unresolved rather than a confirmed finding.
- Check adjacent claims. Verify changed docs, configuration, generated artifacts, and integration instructions against current source. Do not expand into a full documentation or architecture audit without that scope.
- Report and stop. Rank concrete findings, state the smallest safe correction, include strengths and verification gaps, then stop unless the user explicitly authorizes applying selected findings. Maintain one disposition for every finding and every uncovered review area: confirmed, disproved, duplicate, needs-information, waived, or carried forward.
Findings and severity
Return a report with scope, verdict, strengths or non-issues, findings, impact, smallest safe correction, verification gaps, and deferred questions. Each finding should include a severity and precise evidence anchor.
- P0: acceptance, security, integrity, destructive-action, or data-loss blocker.
- P1: material correctness, contract, compatibility, lifecycle, or boundary defect.
- P2: localized maintainability, documentation, or meaningful test-quality issue.
- P3: low-risk improvement without demonstrated correctness or safety impact.
Reviewer anti-patterns to avoid
- Style nitpicking: Do not report formatting, identifier casing, or subjective syntax preferences if automated linters pass and the code matches local codebase conventions.
- Speculative vulnerabilities: Do not report security flaws without demonstrating a concrete untrusted data flow, unverified input, or reachable abuse path.
- Scope creep & unsolicited redesign: Do not demand an architectural rewrite when reviewing a localized bug fix or narrow feature addition.
- Phantom verification: Never claim tests passed or code is verified without running the exact test command and inspecting output.
Do not call a check passed when it was not run. Do not claim merge readiness, approval, or external completion from this review alone.
Before the final verdict, check review coverage against the frozen scope and state what was not inspected. A clean report means no evidence-backed finding was confirmed in the examined scope; it does not mean the change is universally safe.
Side effects and stop conditions
Review mode is read-only. Applying findings is a separate explicitly authorized mode and may change only the selected scope, with focused verification after each correction. Stop when evidence is insufficient, when a proposed fix changes architecture or behavior beyond the review request, or when the issue belongs to a neighboring skill; report the hand-off or verification gap instead of guessing.
Stop and report a blocked review when a required check cannot be run — missing credentials, unavailable CI, or an unlicensed tool — and state the exact verification gap rather than treating the finding as confirmed. When recommending a fix, require fresh evidence that the smallest correction was run and passed; never claim a fix is verified without running the exact command and inspecting its output.
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.

