code-review
Skill2 starsChanged 2 months agoMITView on GitHub
Use when requesting review for code changes, evaluating review feedback, pushing back against incorrect suggestions, or verifying review fixes. Don't use for automated test execution or lint fixing.
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 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 · 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 repository24 other files it gives its agents.
- brainstormingSkill
- codebase-designSkill
- conventional-commitSkill
- copy-web-designSkill
- executing-plansSkill
- frontend-designSkill
- i18nSkill
- laravelSkill
- prototypeSkill
- reactSkill
- s13nSkill
- security-auditSkill
- summarizeSkill
- systematic-debuggingSkill
- technical-writingSkill
- testing-patternsSkill
- ui-motionSkill
- ui-ux-reviewSkill
- unslopSkill
- upsert-codebase-docsSkill
- verification-before-completionSkill
- workspace-onboardingSkill
- writing-for-agentsSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 22 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
22
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 14
Follow these core principles:
- Distinctive: line 16
Verify before implementing.
- Distinctive: line 28
After completing each task in subagent-driven development.
- Distinctive: line 29
After finishing a major feature branch.
- Distinctive: line 30
Before merging any working branch into the main trunk.
- Distinctive: line 36
Follow this procedure to extract commit boundaries and dispatch the reviewer:
- Very specific: line 44
When reviewing across a feature branch, resolve BASE_SHA from the merge base with trunk:
- Distinctive: line 86
Follow this six-step loop for every review item:
- Distinctive: line 87
Read. Process the entire review item without defensive or emotional reactions.
- Distinctive: line 89
Verify. Inspect the codebase, git history, and tests to confirm whether the premise matches reality.
- Distinctive: line 98
Never generate performative agreement, excessive gratitude, or subservient conversational fillers.
- Distinctive: line 114
Never guess intent or apply partial assumptions when review comments lack clarity.
- Distinctive: line 117
Stop immediately when any item in a review list is ambiguous.
- Distinctive: line 118
Do not implement clear items prematurely if ambiguous items may alter shared architecture.
- Distinctive: line 125
Never accept anti-patterns to avoid interpersonal friction.
- Distinctive: line 126
Check blast radius across modules.
- Distinctive: line 134
Verify necessity using this process:
- Distinctive: line 135
Search the codebase for actual call sites using grep or file search tools.
- Distinctive: line 136
If the feature has zero active callers, reject the abstraction and propose removing dead code instead.
- Distinctive: line 137
If active callers exist, implement the minimum clean logic required to satisfy those callers without speculative generalizations.
- Distinctive: line 146
Test each fix individually.
- Distinctive: line 154
When pushing back, reference test results, benchmark metrics, or architectural constraints rather than personal preference.
- Distinctive: line 155
If you pushed back and later discover the reviewer was correct, acknowledge the facts directly without lengthy apologies.
“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
Unify requesting and receiving code review into a single disciplined workflow. Catch regressions early, protect architectural boundaries, and evaluate all review feedback against codebase reality before applying fixes.
Overview and core principles
Code review demands technical rigor rather than emotional performance or unverified agreement.
Follow these core principles:
- Review early, review often. Request review after each discrete task or major feature to prevent compounding defects.
- Verify before implementing. Never accept reviewer suggestions blindly. Check codebase truth and test suites first.
- Technical correctness over social comfort. Maintain skepticism. Push back with concrete facts when suggestions degrade architecture.
- Structural audit depth. Consult
references/architectural-lenses.mdfor classic engineering lenses and logic defect categories. - Comment hygiene. Consult
references/comment-hygiene.mdto prune AI conversational narration while preserving critical business context.
Phase 1. Requesting code review
Dispatch an isolated code reviewer subagent to catch defects before they cascade into downstream tasks. Provide precise context and git ranges without polluting the reviewer with conversational session history.
When to request review
Request code review under the following mandatory conditions:
- After completing each task in subagent-driven development.
- After finishing a major feature branch.
- Before merging any working branch into the main trunk.
Request review optionally when encountering complex bug fixes, before significant refactoring, or when stuck and requiring an objective fresh perspective.
Step 1. Commit boundary extraction and reviewer dispatch
Follow this procedure to extract commit boundaries and dispatch the reviewer:
- Extract git commit SHAs:
BASE_SHA=$(git rev-parse HEAD~1)
HEAD_SHA=$(git rev-parse HEAD)When reviewing across a feature branch, resolve BASE_SHA from the merge base with trunk:
BASE_SHA=$(git merge-base origin/main HEAD)
HEAD_SHA=$(git rev-parse HEAD)- Inspect the git diff statistics before dispatching:
git diff --stat ${BASE_SHA}..${HEAD_SHA}- Dispatch the code reviewer subagent using the template at
references/code-reviewer-prompt.md. Populate all template variables:
WHAT_WAS_IMPLEMENTED. The exact feature, fix, or module completed.PLAN_OR_REQUIREMENTS. The task specification or requirements reference.BASE_SHA. Starting commit SHA for the diff range.HEAD_SHA. Ending commit SHA for the diff range.DESCRIPTION. Brief summary of architectural decisions and changed files.
Completion criterion. The code reviewer subagent is dispatched with verified commit SHA boundaries, diff stats, and requirements context.
Step 2. Finding triage and priority ranking
Categorize all review findings into three priority tiers:
- Critical. Bugs, security vulnerabilities, data loss risks, broken invariants, or failing tests. Fix these immediately before any further work.
- Important. Architectural debt, missing error handling, test coverage gaps, or performance regressions. Address these before merging.
- Minor. Style inconsistencies, naming improvements, or documentation polish. Track or address these after functional concerns pass.
Completion criterion. Every review item is cataloged into Critical, Important, or Minor tier with confirmed file locations.
Workflow integration
Align review cadence with development workflows:
- Subagent-driven development. Review after each task to catch issues before they compound.
- Executing plans. Review after each batch of tasks, apply verified fixes, and proceed.
- Ad-hoc development. Review before branch merges or whenever architectural doubts arise.
Phase 2. Evaluating and receiving feedback
Review comments represent hypotheses to evaluate, not unilateral commands to execute. Process every piece of feedback through deliberate verification.
Step 3. Feedback verification and pushback loop
Follow this six-step loop for every review item:
- Read. Process the entire review item without defensive or emotional reactions.
- Understand. Restate the core technical requirement in your own words.
- Verify. Inspect the codebase, git history, and tests to confirm whether the premise matches reality.
- Evaluate. Assess whether the proposed change is technically sound for this specific stack.
- Respond. Provide a factual technical response or reasoned pushback.
- Implement. Apply approved modifications one item at a time, running tests after each edit.
Completion criterion. All review comments verified against codebase truth, with ambiguous items clarified and grounded counter-arguments formulated where architecture is degraded.
Banned performative agreement
Never generate performative agreement, excessive gratitude, or subservient conversational fillers.
Strictly avoid phrases like these:
- "You're absolutely right!"
- "Great point!" or "Excellent catch!"
- "Thanks for pointing that out!"
- "Let me implement that right away!"
Respond instead with direct technical substance:
- State the factual requirement or issue directly.
- Point to the specific file and line under review.
- Confirm the fix factually, such as "Fixed date validation in search.ts by rejecting non-ISO strings."
- Jump directly to running tests and showing diffs. Actions carry authority over words.
Handling unclear items
Never guess intent or apply partial assumptions when review comments lack clarity.
Apply this clarification protocol:
- Stop immediately when any item in a review list is ambiguous.
- Do not implement clear items prematurely if ambiguous items may alter shared architecture.
- State exactly which items are understood and ask targeted questions regarding the unclear items.
- Resume implementation only after requirements are fully unambiguous.
Architectural integrity and counter-argument protocol
Protect system boundaries when suggestions violate Single Responsibility Principle, introduce tight coupling, or cause lifecycle mismatches:
- Never accept anti-patterns to avoid interpersonal friction.
- Check blast radius across modules. Verify whether the suggestion forces unrelated domains into a shared file or puts request-time logic into static initialization.
- Ground counter-arguments in external consensus. Run targeted searches using official framework documentation or industry standards before responding.
- Formulate a structured technical counter-argument. State the concrete tradeoff, cite the authoritative source, and propose a clean, decoupled alternative that satisfies the caller's true requirement.
YAGNI verification
Reviewers frequently recommend building speculative abstraction layers, extra configuration flags, or unused data exports.
Verify necessity using this process:
- Search the codebase for actual call sites using grep or file search tools.
- If the feature has zero active callers, reject the abstraction and propose removing dead code instead.
- If active callers exist, implement the minimum clean logic required to satisfy those callers without speculative generalizations.
Step 4. Surgical remediation and regression pass
Execute accepted review changes methodically to avoid compound regressions:
- Clarify ambiguous items first before touching code.
- Fix blocking and critical bugs first, including broken tests and security concerns.
- Apply simple localized fixes second, such as typos, imports, or boundary checks.
- Address complex refactorings and structural modifications last.
- Test each fix individually. Run targeted test suites immediately after modifying each file.
- Execute full test suites and linters after all items are resolved to confirm zero regressions.
Completion criterion. Accepted fixes implemented one by one, each verified by targeted test runs, followed by a clean full test suite pass.
Handling pushback and corrections
Navigate disagreements with technical facts:
- When pushing back, reference test results, benchmark metrics, or architectural constraints rather than personal preference.
- If you pushed back and later discover the reviewer was correct, acknowledge the facts directly without lengthy apologies.
- State the verified finding plainly, such as "Verified the 10.15 backward compatibility requirement. Implementing the fallback branch now."
Review anti-patterns
Review these common pitfalls and their corrections:
| Anti-pattern | Correct practice |
| Performative agreement | State technical facts directly or apply the fix |
| Blind implementation | Verify suggestions against codebase truth first |
| Batching fixes without testing | Implement one item at a time and test each |
| Assuming reviewer is always right | Verify if proposed changes break existing features |
| Avoiding pushback | Prioritize technical correctness over comfort |
| Partial implementation | Clarify ambiguous items before writing code |
| Speculative generalizations | Check YAGNI by grepping for actual callers |
Thread replies
Reply directly in the comment thread for inline GitHub pull request comments rather than submitting top-level PR comments. Keep all discussion tied to the relevant line diff.
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.

