code-review
Skill18 starsChanged 3 months agoApache-2.0View on GitHub
Review a diff, branch, PR, commit, or work-in-progress change along two separate axes: Standards (repo conventions, maintainability, safety) and Spec (does the change implement the originating issue/PRD/request?). Runs focused sub-agents in parallel and reports prioritized, actionable findings side by side. Use when the user wants to review a branch, PR, WIP changes, or asks to \"review since X\".
188 other projects use a version of this, 13 of them edited.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillsedited, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing and 9 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.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +1 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 13
- mattpocock/skills★ 335k24% same
- chrisdoc/hevy-mcp★ 49825% same
- aws/graph-explorer★ 48425% same
- bighadj22/codflow★ 33825% same
- loulanyue/skills★ 23126% same
- Joouis/agent-maestro★ 20626% same
- tt-a1i/matt-skills-with-to-goal★ 18225% same
- iamyoki/qwen-image-2.1-skill★ 14625% same
- willdady/platypus★ 11425% same
- Dimon94/skills★ 10720% same
3 more not listed
Wrote their own version · 175
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
- google/filament★ 21ksame name
165 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 repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/on-demand/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/on-demand/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adr-writingSkill
- codebase-designSkill
- crwlSkill
- dev-browserSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- frontend-designSkill
- git-commitSkill
- githubSkill
- grillingSkill
- i-have-adhdSkill
- librarianSkill
- liteparseSkill
- ponytailSkill
- prototypeSkill
- researchSkill
- simple-englishSkill
- tddSkill
- tmuxSkill
- agents-mdSkill
- brandkitSkill
- broSkill
- cavemanSkill
- code-simplifierSkill
- deep-researchSkill
- design-taste-frontendSkill
- fable-orchestratorSkill
- fable-safe-promptSkill
- grill-meSkill
- handoffSkill
- high-end-visual-designSkill
- humanizerSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- image-to-codeSkill
- implementSkill
- marpSkill
- minimalist-uiSkill
- oss-repo-reviewSkill
- redesign-existing-projectsSkill
- sentrySkill
- setup-matt-pocock-skillsSkill
- summarizeSkill
- teachSkill
- to-specSkill
- to-ticketsSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- wayfinderSkill
- web-design-guidelinesSkill
- writing-great-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 11 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
4
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
- Distinctive: line 20
Actionable and provable: Only report issues the author would likely fix after seeing the evidence.
- Distinctive: line 23
Short comments: Keep each finding concise: title, location, why it matters, and the minimal fix direction.
- Distinctive: line 26
Use these priorities inside each axis:
- Distinctive: line 35
Run these checks even when the repo has no review guidelines:
- Distinctive: line 39
Treat data from users, HTTP, files, env vars, databases, webhooks, subprocesses, LLM/tool output, CLI args, and third-party APIs as …
- Very specific: line 68
Prefer a fixed point the user supplies: commit SHA, branch name, tag, main, HEAD~5, etc.
- Distinctive: line 77
If the user explicitly asks for another target, use the matching command instead:
- Distinctive: line 82
Folder snapshot: only use when the user explicitly asks for a folder review.
- Distinctive: line 84
If the user did not identify a target and intent is ambiguous, ask one clarifying question.
- Distinctive: line 88
Look for the originating request, in this order:
- Very specific: line 93
If nothing is found, ask the user where the spec is.
- Distinctive: line 101
test, lint, typing, migration, API, security, or release guidance.
- Distinctive: line 143
If the spec is missing, skip the Spec sub-agent and note this in the final report.
- Very specific: line 147
Before reporting, spot-check each sub-agent finding against the diff/spec/standards.
- Very specific: line 172
Do not merge or rerank across axes.
“Common” is measured: kept by at least 6 in 10 of the 174 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
Local/custom review skill. Do not treat this as a vendored upstream skill.
Review changes through two independent axes:
- Standards — does the changed code follow this repo's documented standards and avoid introduced maintainability, reliability, security, or operational risks?
- Spec — does the changed code faithfully implement the originating issue / PRD / request, without omissions or scope creep?
The axes run as parallel sub-agents so conventions and product intent do not pollute each other. Aggregate them separately; do not merge them into one ranked list.
Review discipline
Apply these rules to every finding on both axes:
- Only changed behavior. Flag issues introduced or exposed by this change, not pre-existing problems.
- Actionable and provable. Only report issues the author would likely fix after seeing the evidence. Avoid speculative, preference-only, or purely stylistic comments unless a documented standard requires them.
- Diff-overlapping location. Each finding must point to a changed line/hunk, or the smallest changed function/block when exact line numbers are unavailable.
- Evidence first. Cite the changed code, the violated standard, and/or the spec line. If the evidence is weak, omit the finding.
- Short comments. Keep each finding concise: title, location, why it matters, and the minimal fix direction.
- No tool-enforced noise. Skip formatting/lint/type issues that project tooling already enforces unless the current diff clearly bypasses that tooling.
Use these priorities inside each axis:
- [P0] Release blocker: data loss, active exploit, total outage, irreversible destructive operation, or failed core requirement.
- [P1] High impact: security/privacy issue, broken major workflow, incorrect persistence/API contract, migration risk, or missing required behavior.
- [P2] Normal bug or maintainability problem: likely user-facing breakage, confusing design, fragile error handling, or significant code smell.
- [P3] Minor: low-risk edge case, small cleanup, or optional improvement worth tracking.
Mandatory risk checks
Run these checks even when the repo has no review guidelines:
Untrusted input and boundary checks
Treat data from users, HTTP, files, env vars, databases, webhooks, subprocesses, LLM/tool output, CLI args, and third-party APIs as untrusted. Flag changed code that feeds untrusted data into:
- authz/authn decisions, permission checks, tenant/account boundaries;
- SQL/NoSQL queries, shell commands, filesystem paths, templates/HTML/Markdown, redirects, or deserializers;
- money, billing, quotas, rate limits, feature flags, migrations, or destructive operations;
- logging/telemetry where secrets or personal data could leak.
Fail-fast error handling
Scrutinize changed code that silently falls back, catches broadly, drops errors, retries indefinitely, or proceeds after partial failure. Prefer surfacing the failure for:
- writes, migrations, billing, notifications, queue/cron jobs, and cache invalidation;
- security, permissions, configuration, and dependency initialization;
- API boundary changes where callers need deterministic failure semantics.
Human callouts, not automatic blockers
List these separately as Human callouts unless you found a concrete bug:
- migrations/schema/data backfills;
- dependency upgrades, lockfile churn, build tooling, or runtime version changes;
- auth/permission, public API, SDK, CLI, or wire-format changes;
- destructive operations, filesystem/network access, background jobs, cron, billing, or external integrations;
- performance-sensitive paths, caching semantics, observability, or rollback concerns.
Process
1. Pin the review target
Prefer a fixed point the user supplies: commit SHA, branch name, tag, main, HEAD~5, etc. Use a three-dot range for branch-style reviews:
git diff <fixed-point>...HEAD
git log <fixed-point>..HEAD --onelineConfirm the ref resolves (git rev-parse <fixed-point>) and the diff is non-empty before spawning sub-agents.
If the user explicitly asks for another target, use the matching command instead:
- Uncommitted/WIP:
git diff --cachedandgit diff. - Single commit:
git show --format=fuller --stat --patch <commit>. - PR: fetch/view the PR with the repo's GitHub/GitLab workflow, then review its merge-base diff.
- Folder snapshot: only use when the user explicitly asks for a folder review; state that findings are not limited to a git diff.
If the user did not identify a target and intent is ambiguous, ask one clarifying question.
2. Identify the spec source
Look for the originating request, in this order:
- Issue/PR references in branch names and commit messages (
#123,Closes #45, GitLab!67, Linear IDs, etc.). Use the repo's documented issue-tracker workflow; for GitHub, prefergh. - A path, issue, PR, ticket, or prompt the user passed as an argument.
- A PRD/spec file under
docs/,specs/,.scratch/, or project-specific planning directories matching the branch or feature. - If nothing is found, ask the user where the spec is. If they say there is no spec, skip the Spec sub-agent and report
No spec available.
3. Identify standards sources
Collect repo guidance that documents how code should be written or reviewed, for example:
AGENTS.md,CLAUDE.md,CONTRIBUTING.md,CODING_STANDARDS.md,REVIEW_GUIDELINES.md;- framework/package-specific docs in the touched directories;
- test, lint, typing, migration, API, security, or release guidance.
On top of repo documentation, the Standards axis always carries the smell baseline below. The repo overrides the baseline: if a documented local convention endorses something the baseline would flag, suppress the smell. Baseline smells are always judgement calls, not hard violations.
Smell baseline
- Mysterious Name — a function, variable, or type whose name does not reveal what it does or holds. → rename it; if no honest name comes, the design is murky.
- Duplicated Code — the same logic shape appears in more than one hunk or file in the change. → extract the shared shape, call it from both.
- Feature Envy — a method reaches into another object's data more than its own. → move the method onto the data it envies.
- Data Clumps — the same fields or params keep travelling together. → bundle them into one type and pass that.
- Primitive Obsession — a primitive/string stands in for a domain concept. → give the concept its own small type.
- Repeated Switches — the same
switch/ifcascade on the same type recurs. → replace with polymorphism or one shared map. - Shotgun Surgery — one logical change forces scattered edits across many files. → gather what changes together into one module.
- Divergent Change — one module is edited for unrelated reasons. → split so each module changes for one reason.
- Speculative Generality — abstractions, parameters, hooks, or options added for needs the spec does not have. → delete or inline until a real need appears.
- Message Chains — long
a.b().c().d()navigation the caller should not depend on. → hide the walk behind one method on the first object. - Middle Man — a class/function mostly delegates onward. → cut it and call the real target directly.
- Refused Bequest — a subclass/implementer ignores or overrides most inherited behavior. → drop inheritance and use composition.
- Reinvented Stdlib — hand-rolled logic the standard library already ships. → name the exact stdlib function and replace.
- Needless Dependency — a new dependency or custom code doing what the platform/runtime already provides. → name the native feature; prefer zero deps.
4. Spawn both sub-agents in parallel
Send one message with two Agent tool calls. Use general-purpose unless a repo-specific reviewer agent is clearly better.
Paste the review target commands, commit list, touched files, relevant instructions, and the full Review discipline, Mandatory risk checks, and priority definitions into both prompts. Sub-agents do not inherit this skill file.
Standards sub-agent prompt — include:
- The diff/review commands and commit list.
- The standards-source files and relevant excerpts.
- The full smell baseline.
- Brief:
Review only the changed lines/behavior. Report prioritized findings where the diff violates documented standards, introduces concrete safety/reliability/security/operational risk, or contains a meaningful baseline smell. Cite the standard or changed hunk for each finding. Distinguish hard standard/risk violations from smell judgement calls. Include separate Human callouts for migrations, dependencies, auth/API changes, destructive operations, external integrations, or rollout concerns. Under 500 words.
Spec sub-agent prompt — include:
- The diff/review commands and commit list.
- The path or fetched contents of the spec.
- Brief:
Compare the changed behavior to the spec only. Report prioritized findings for required behavior that is missing/partial, behavior that contradicts the spec, scope creep that creates risk, or implementation that looks wrong despite matching the words. Quote the spec line or requirement for each finding. Include Human callouts for ambiguous or high-risk requirements that need reviewer/product confirmation. Under 500 words.
If the spec is missing, skip the Spec sub-agent and note this in the final report.
5. Verify and aggregate
Before reporting, spot-check each sub-agent finding against the diff/spec/standards. Drop or qualify anything that is hallucinated, not introduced by the change, not actionable, or missing evidence.
Present the reports under these headings:
## Standards
- [P1] `path:line` — concise title
Evidence: changed code / standard / risk.
Fix: minimal direction.
Human callouts:
- ...
## Spec
- [P1] `path:line` — concise title
Evidence: spec line + changed behavior.
Fix: minimal direction.
Human callouts:
- ...
## Summary
Standards: N findings, worst [PX]. Spec: N findings, worst [PX].Do not merge or rerank across axes. If one axis has no findings, say No findings.
Why two axes
A change can pass one axis and fail the other:
- Code that follows every standard but implements the wrong thing → Standards pass, Spec fail.
- Code that does exactly what the issue asked but breaks project conventions or adds operational risk → Spec pass, Standards fail.
Keeping the axes separate prevents one kind of correctness from masking the other.
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.

