code-review
Skill13 starsChanged 7 months agoApache-2.0View on GitHub
Stack-aware code review orchestrator that detects tech stacks from changed files, dispatches parallel review lanes to subagents with prescriptive instructions, synthesizes findings, and runs a fix loop for deterministic fixes. Supports TypeScript/JavaScript, Python, and Java.
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 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
17 rules. 0 are common, 13 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
13
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
- Distinctive: line 15
Run this skill on a feature branch with uncommitted or committed changes.
- Distinctive: line 22
Run a fix loop for safe deterministic fixes
- Distinctive: line 29
Check that required companion skills are installed before dispatching lanes.
- Distinctive: line 40
Check if it exists in any of the skill directories above
- Very specific: line 41
If missing, record it with its apm install command
- Distinctive: line 62
Create the review artifact directory and file:
- Very specific: line 68
Write the initial review artifact to tmp/review/<branch>-review.md using the format defined in references/review-artifact-format.md.
- Distinctive: line 85
Check framework detection signals from the stack reference
- Distinctive: line 88
Polyglot repos: If files span multiple stacks, load all matching stack references and activate lanes for each.
- Distinctive: line 94
File scope: Only the changed files relevant to its stack (not the entire diff)
- Distinctive: line 143
After all subagents complete:
- Very specific: line 152
Update the review artifact at tmp/review/<branch>-review.md
- Distinctive: line 165
All impacted checks pass (success)
- Distinctive: line 166
No progress made in an iteration (stall -- report remaining as needs-human)
- Very specific: line 175
Check if reflect-on-changes exists in any skill directory
- Distinctive: line 176
If installed, invoke it with the review findings to update docs, conventions, or skills that may be stale
- Distinctive: line 177
If not installed, skip without error
“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
Stack-aware code review orchestrator. Detects the tech stack from changed files, validates companion skills, dispatches parallel review lanes, synthesizes findings, runs a fix loop, and optionally reflects.
How To Use This Skill
Run this skill on a feature branch with uncommitted or committed changes. The orchestrator will:
- Validate that required companion skills are installed
- Scope the review from
git diffandgit status - Detect stacks and route review lanes
- Dispatch parallel subagents with prescriptive instructions
- Synthesize findings into a review artifact
- Run a fix loop for safe deterministic fixes
- Optionally reflect on changes
The review artifact is written to tmp/review/<branch>-review.md.
Phase 0: Validate Companion Skills
Check that required companion skills are installed before dispatching lanes. Inspect these directories for installed skills:
skills/.agents/skills/.claude/skills/.opencode/skills/.cursor/skills/.github/skills/
For each detected stack, load its stack reference file (stacks/<stack>.md) and check the companion skill mappings section. For each required skill:
- Check if it exists in any of the skill directories above
- If missing, record it with its
apm installcommand
If all skills are installed: Proceed to Phase 1 without warnings.
If skills are missing: Display which skills are missing, provide apm install commands for each, and ask the user whether to:
- Install the missing skills now and retry validation
- Continue with native fallback for affected lanes
- Abort the review
Phase 1: Scope Detection
Determine the review scope from changed files:
BASE_BRANCH=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')
git diff "${BASE_BRANCH:-main}"...HEAD --name-only
git status --porcelainCombine both outputs to get the full list of changed files. Detect the base branch from origin/HEAD, falling back to main only when that cannot be resolved.
Create the review artifact directory and file:
mkdir -p tmp/reviewWrite the initial review artifact to tmp/review/<branch>-review.md using the format defined in references/review-artifact-format.md.
If no changes are detected: Report "No changes to review" and exit.
Phase 2: Detect Stacks and Route Lanes
Match changed file extensions to stack reference files:
| Extensions | Stack Reference |
*.ts, *.tsx, *.js, *.jsx | stacks/javascript-typescript.md |
*.py | stacks/python.md |
*.java, *.kt | stacks/java.md |
For each activated stack:
- Load the stack reference file
- Filter changed files to only those matching the stack
- Check framework detection signals from the stack reference
- Determine which lanes to activate based on the stack and detected frameworks
Polyglot repos: If files span multiple stacks, load all matching stack references and activate lanes for each. Each lane receives only files relevant to its stack.
Phase 3: Dispatch Parallel Subagents
For each activated lane, dispatch a subagent with prescriptive instructions. Each subagent receives:
- File scope: Only the changed files relevant to its stack (not the entire diff)
- Deterministic commands: Exact commands to run from the stack reference
- Companion skills: Which skills to use and how
- Native focus areas: What patterns to look for in manual review
Lane Types
Each stack defines content for these lane types:
- Quick Checks -- Lint, type-check, format verification. Fast deterministic commands.
- Extended Validation -- Tests, coverage, SAST, dependency audit. Slower but still deterministic.
- Security -- Security-focused review using
security-reviewcompanion skill and SAST tools. - Framework -- Framework-specific review using framework companion skills (React, Angular, FastAPI, Django, Spring Boot).
- Performance -- Performance pattern review using native focus areas and companion skills.
- Testing -- Test quality and coverage review using testing companion skills.
Lanes are independent -- each can execute without depending on results from other lanes. Dispatch them as parallel tasks/subagents where the harness supports it.
Subagent Instruction Template
For each subagent, provide instructions in this format:
## Review Lane: <lane-name> (<stack>)
### Scope
Files to review:
<file list>
### Deterministic Commands
Run these commands and report results:
<commands from stack reference>
### Companion Skills
Use these skills for guided review:
<skill names and what to use them for>
### Native Review Focus
If companion skills are not available, focus on:
<focus areas from stack reference>
### Output Format
Report findings as:
- **file:line** -- severity (error|warning|info) -- description
- Classify each as: auto-fixable | needs-humanPhase 4: Synthesize Findings
After all subagents complete:
- Collect all findings from all lanes
- Merge findings that reference the same file and line from different lanes
- Deduplicate overlapping issues (prefer the more specific finding)
- Classify each finding:
- auto-fixable: A deterministic tool fix exists (lint auto-fix, format)
- needs-human: Requires manual review or code change
- Group findings by severity: error, warning, info
- Update the review artifact at
tmp/review/<branch>-review.md
Phase 5: Fix Loop
Apply safe deterministic fixes and rerun impacted checks. Read references/fix-loop-protocol.md for the full protocol.
Summary:
- Collect auto-fixable findings
- Apply deterministic tool fixes (lint
--fix, format) - Rerun only the impacted deterministic checks
- Record the iteration in the fix loop log
- Repeat until:
- All impacted checks pass (success)
- No progress made in an iteration (stall -- report remaining as needs-human)
- Iteration limit reached (6 iterations -- report remaining as needs-human)
Never auto-apply non-deterministic fixes. AI-suggested code changes are reported but not applied automatically.
Phase 6: Reflect
Optionally invoke the reflect-on-changes skill if installed:
- Check if
reflect-on-changesexists in any skill directory - If installed, invoke it with the review findings to update docs, conventions, or skills that may be stale
- If not installed, skip without error
Reference Map
| Reference | When to Read |
references/review-artifact-format.md | When creating or updating the review artifact |
references/fix-loop-protocol.md | When running the fix loop in Phase 5 |
stacks/javascript-typescript.md | When TypeScript/JavaScript files are in the diff |
stacks/python.md | When Python files are in the diff |
stacks/java.md | When Java/Kotlin files are in the 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.

