code-review
Skill13 starsChanged 59 days agoMITView on GitHub
Code review changed, staged, last-commit, and merge or PR work against requirements and the repository style guide. Use when reviewing current work, staged changes, the last commit, a branch, a merge, or a pull request. For a whole-codebase style audit use ng-review-style-guide instead.
188 other projects use a version of this.
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/skillstheir own version, 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 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.
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
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- 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
178 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .junie/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- angular-developerSkill
- brainstormingSkill
- create-a-skillSkill
- create-e2e-testsSkill
- diagnosing-bugsSkill
- frontend-designSkill
- git-stack-rewriteSkill
- grill-meSkill
- grill-with-styleSkill
- handoverSkill
- implement-planSkill
- ng-accessibilitySkill
- ng-data-accessSkill
- ng-formsSkill
- ng-migrateSkill
- ng-performanceSkill
- ng-prototypeSkill
- ng-refactorSkill
- ng-review-architectureSkill
- ng-review-style-guideSkill
- ng-securitySkill
- ng-signal-storeSkill
- ng-stylingSkill
- ng-testingSkill
- ng-verify-featureSkill
- spartanSkill
- test-driven-developmentSkill
- unslopSkill
- update-skills-directorySkill
- update-skillsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
9
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 23
After each task in subagent-driven development
- Distinctive: line 24
After completing a major feature
- Distinctive: line 25
Before a merge or pull request
- Distinctive: line 29
When stuck (fresh perspective)
- Distinctive: line 30
Before refactoring (baseline check)
- Distinctive: line 31
After fixing complex bug
- Very specific: line 59
Use HEAD~1..HEAD only for the Last commit scope.
- Distinctive: line 67
Write a compact handoff for the reviewer:
- Very specific: line 83
Read style-guide/style-guide.md, then read only the specific style guides for touched file types:
- Distinctive: line 107
If subagents are unavailable, run the same template yourself as a read-only review and say that no independent subagent was available.
- Distinctive: line 118
Verify authorized fixes and report remaining issues.
“Common” is measured: kept by at least 6 in 10 of the 175 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
Review work before it cascades. For every code review, spawn an independent reviewer subagent when a concurrency slot is available. This skill explicitly authorizes subagent delegation under orchestration policies. Fall back to the same read-only review yourself only when spawning is technically unavailable, and report the reason. Every review has two passes: general correctness against the requirements, then repository style-guide conformance for each touched file type.
Core principle: Review early, review often.
When to Review
Mandatory:
- After each task in subagent-driven development
- After completing a major feature
- Before a merge or pull request
Optional but valuable:
- When stuck (fresh perspective)
- Before refactoring (baseline check)
- After fixing complex bug
Review Scopes
Choose exactly one scope before gathering context:
| Scope | Use when | Inspect with |
| Current work | Reviewing unstaged changes and untracked files | git status --short, git diff, and explicit reads of untracked files |
| Staged work | Reviewing only what is ready to commit | git status --short, git diff --cached, and git diff --cached --stat |
| Last commit | Reviewing exactly the previous commit | git show --stat HEAD and git show HEAD |
| Merge or PR range | Reviewing branch work against another branch or base | git merge-base HEAD <target> then git diff <base>..HEAD |
For merge or PR reviews, include staged or unstaged work only when the user explicitly asks for it or when it is clearly part of the work being reviewed.
Done when the review scope, diff commands, and any included working-tree state are explicit.
Process
1. Establish Scope
Inspect the repository state and compute the review target deliberately:
git status --shortUse HEAD~1..HEAD only for the Last commit scope. For merge or PR reviews, ask for the target
branch if it is not stated and cannot be inferred from the task. Do not move HEAD or mutate the
index while establishing scope.
Done when scope, base, head, and working-tree inclusion are recorded in concrete Git terms.
2. Gather Review Context
Write a compact handoff for the reviewer:
{DESCRIPTION}– Brief summary of what you built{PLAN_OR_REQUIREMENTS}– What it should do{VERIFICATION}– Commands run, results, and known failures or skipped checks{REVIEW_SCOPE}– Current work, Staged work, Last commit, or Merge or PR range{DIFF_COMMANDS}– Exact commands the reviewer should use
Pass this handoff without the session's conversation history so the reviewer evaluates the work independently of the coordinator's reasoning.
Done when the reviewer can understand the intended behavior, changed range, and verification state without reading this session's history.
3. Load Style Guides
Read style-guide/style-guide.md, then read only the specific style guides for touched file types:
- TypeScript or Angular code:
style-guide/style-guide.ts.md - Angular templates:
style-guide/style-guide.html.md - SCSS:
style-guide/style-guide.scss.md - Accessibility-sensitive template or UI changes:
style-guide/style-guide.a11y.md - Tests:
style-guide/style-guide.spec.md - NPM dependency or package changes:
style-guide/style-guide.npm.md - Markdown documentation:
style-guide/style-guide.md.md - Git workflow, commits, or branch changes:
style-guide/style-guide.git.md
Done when every touched file type has a corresponding style-guide check or an explicit not-applicable note.
4. Dispatch or Run the Review
Dispatch an independent reviewer subagent (the harness's default general-purpose agent type) with the template at references/code-reviewer.md.
A harness configuration file may override the reviewer setup – for example .claude/CLAUDE.md
asks Claude Code for three reviewers on different models (Fable, Opus, Astra via Codex). When such a
file is present, follow it: give every reviewer the same diff and template, then merge and
deduplicate their findings before acting on them.
If subagents are unavailable, run the same template yourself as a read-only review and say that no independent subagent was available.
Done when the review is returned, or the fallback review limitation is reported.
5. Verify and Act on Feedback
- Validate every reviewer finding against the codebase and report it with file/line evidence.
- A review-only request ends with findings and suggested fixes; it does not authorize edits.
- Apply fixes only within the user's authorized scope. Existing authorization to implement or fix the reviewed work is sufficient; do not ask again.
- Verify authorized fixes and report remaining issues.
- Reject incorrect findings with file/line evidence or test output.
Done when every finding is reported, rejected with evidence, or fixed and verified within the user's authorized scope.
Example
[Review staged work before committing]
You: Let me run the code-review skill before committing.
REVIEW_SCOPE: Staged work
DIFF_COMMANDS:
git status --short
git diff --cached --stat
git diff --cached
[Dispatch code reviewer subagent or run the same review directly]
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
VERIFICATION: pnpm test --watch=false -- verify-index passed; pnpm lint passed
REVIEW_SCOPE: Staged work
DIFF_COMMANDS: git diff --cached --stat; git diff --cached
[Subagent returns]:
Strengths: Clean architecture, real tests
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Ready to proceed
You: [Report findings; fix progress indicators if implementation or fixes are authorized]
[Continue to Task 3 when the authorized fixes pass verification]Integration with Workflows
Subagent-driven development:
- Review after each task
- Catch issues before they compound
- Apply authorized fixes before moving to the next implementation task
Executing Plans:
- Review after each task or at natural checkpoints
- Get feedback, apply authorized fixes, continue
Ad-Hoc Development:
- Review before merge
- Review when stuck
Red Flags
Never:
- Skip review because "it's simple"
- Ignore Critical issues
- Declare the work ready while Important issues remain unresolved
- Argue with valid technical feedback
If the reviewer is wrong:
- Push back with technical reasoning
- Show code/tests that prove it works
- Request clarification
See template at: references/code-reviewer.md
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.

