review
Skill2 starsChanged 53 days agoMITView on GitHub
Fast parallel review of local changes or a GitLab MR (security, performance, architecture reviewers). Run only when the user explicitly asks for it.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/veronatheir own version, first seen Nov 8, 2026
- microsoft/FluidFrameworktheir own version, first seen Nov 8, 2026
- charliee1w/consolidation-memorytheir own version, first seen Nov 8, 2026
- jisuzzzz/haechitheir own version, first seen Nov 8, 2026
- apokamo/kajitheir own version, first seen Nov 8, 2026
- dirien/yet-another-agent-harnesstheir 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
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
- +3 more from dzhng
- +5 more from Lambenthan
Other versions193 projects use a version of this.
Word for word · 1
- AhmedMerza/agent-skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 192
- garrytan/gstack★ 141ksame name
- ansible/ansible★ 71ksame name
- docling-project/docling★ 70ksame name
- traefik/traefik★ 65ksame name
- ClickHouse/ClickHouse★ 51ksame name
- temporalio/temporal★ 24ksame name
- tisfeng/Easydict★ 15ksame name
- juicedata/juicefs★ 15ksame name
- elie222/inbox-zero★ 13ksame name
- gitkraken/vscode-gitlens★ 10ksame name
182 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 repository58 other files it gives its agents.
- animateSkill
- api-docs-completeSkill
- app-teardownSkill
- best-optionSkill
- break-uiSkill
- browseSkill
- changelog-generateSkill
- checkpointSkill
- claimSkill
- commitSkill
- courtSkill
- design-driftSkill
- designSkill
- expandSkill
- explainSkill
- explore-siteSkill
- fix-reviewSkill
- grill-meSkill
- handover-listSkill
- handover-resumeSkill
- handover-saveSkill
- i18n-syncSkill
- issueSkill
- leadSkill
- mr-approveSkill
- mr-assignSkill
- mr-createSkill
- mr-guideSkill
- mr-listSkill
- mr-mergeSkill
- mr-review-requestSkill
- mr-reviewSkill
- mr-statusSkill
- persona-walkthroughSkill
- ponytailSkill
- prove-the-testSkill
- qa-crawlSkill
- qa-sweepSkill
- reflectSkill
- reimagineSkill
- root-causeSkill
- scoutSkill
- scroll-craftSkill
- second-opinionSkill
- ship-checkSkill
- skill-auditSkill
- skill-compareSkill
- spinoffSkill
- story-siteSkill
- tool-compareSkill
- ui-auditSkill
- ui-polishSkill
- usage-weekSkill
- ux-auditSkill
- validate-planSkill
- video-teardownSkill
- wait-whatSkill
- where-were-weSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 157 edited versions we read keep these.
4
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 69
Ask the user (use AskUserQuestion, or ask in plain text if your agent lacks it) — keep it lightweight since this is a fast review:
- Distinctive: line 73
If the user says "just review" or skips, proceed with full review.
- Distinctive: line 79
CRITICAL: All 6 Task calls MUST be in a single message so they execute in parallel.
- Distinctive: line 118
Add automated tool findings
- Very specific: line 204
Use /review during development for quick feedback.
- Very specific: line 205
Use /mr-review before merging.
- Very specific: line 211
Use /review before /commit to catch issues early
- Very specific: line 212
Use /mr-review for MR reviews
“Common” is measured: kept by at least 6 in 10 of the 157 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
/review - Code Review (Parallel, Fast)
Project resolution (project-agnostic)
This command works in any GitLab repo — nothing here is tied to a specific project. Resolve the target at runtime:
- Instance, project path, and IDs — auto-detected by
glabfrom the current repo's git remotes; never hardcode them.glabreadsorigin/upstreamdirectly. When a numeric id is needed:glab api projects/$(git remote get-url origin | sed -E 's#^[a-z]+://[^/]+/##; s#^.*@[^:]+:##; s#\.git$##' | sed 's#/#%2F#g') | jq -r '.id' - Fork vs single-repo — if both
originandupstreamremotes exist, treatoriginas your fork (push target) andupstreamas the MR/issue target; otherwise operate onorigin. - Optional extras — if
.claude/gitlab-config.jsonexists in the current repo, loaddevelopers(assignee/reviewer shortcuts) andlabels(auto-label rules) from it. If it is absent, those features degrade gracefully: ask the user for the assignee/reviewer/labels instead of resolving a shortcut.
All URLs, namespaces, and IDs in the examples below (
<GITLAB_URL>,<PROJECT_PATH>,projects/<FORK_ID>, etc.) are illustrative placeholders — resolve real values per the steps above.
Purpose: Quick but thorough code review using parallel specialized agents
Depth: FAST (uses sonnet-level agents for speed)
Compare with: /mr-review — reviews an MR/PR from a fetched ref (not local changes), with a scope gate, verification and posting via /fix-review. /mr-review --deep puts security + architecture on opus for auth/tenancy/money MRs.
Quick Usage
/review # Review uncommitted changes (parallel agents)
/review file app/Services/Order.php # Review specific fileFor MR/PR reviews, use /mr-review (add --deep for auth/tenancy/money changes).
How It Works (Parallel Fan-Out)
/review (local changes)
└── Main context (YOU are the orchestrator)
├── [PARALLEL] general-reviewer → broad sweep, logic, cross-cutting
├── [PARALLEL] security-reviewer → deep security analysis
├── [PARALLEL] performance-reviewer → N+1, caching, queries
├── [PARALLEL] architecture-reviewer→ patterns, controllers, services
├── [PARALLEL] testing-reviewer → test coverage, assertion quality
├── [PARALLEL] Pint/PHPStan → automated tools
└── COLLECT → deduplicate → unified reportCRITICAL: YOU (main context) are the orchestrator. Do NOT spawn mr-code-reviewer.
Steps
Step 1: Get Changed Files & Assess Scope
git diff --name-only --diff-filter=ACMR HEAD
git diff HEADCount the changed files. If 20+ files, tell the user: "You have X changed files. I'll focus on the most critical ones first (controllers, services, models). Want a full review or focused?"
Step 2: Gather Context (Quick)
Ask the user (use AskUserQuestion, or ask in plain text if your agent lacks it) — keep it lightweight since this is a fast review:
- Focus areas: Anything specific to watch for? (security, performance, patterns — or "just review it")
If the user says "just review" or skips, proceed with full review. Pass user focus areas to agents in their prompts so they prioritize accordingly.
Step 3: Spawn ALL 6 Tasks in ONE Message (PARALLEL)
(Task = Claude subagent tool; on agents without subagents, run each review pass yourself in sequence.)
CRITICAL: All 6 Task calls MUST be in a single message so they execute in parallel.
DEPTH: For /review, set model: "sonnet" on all agents for speed.
Task 1 - General Review:
Task(subagent_type="general-reviewer", model="sonnet", description="General review", prompt="Review these local changes for cross-cutting concerns, logic errors, frontend-backend mismatches, code quality. Read these changed files: <file_list>. Diff context: <diff>")Task 2 - Security Review:
Task(subagent_type="security-reviewer", model="sonnet", description="Security review", prompt="Security review of local changes. FIRST: Read .claude/review-rules/security-rules.md in the main checkout if it exists. Then check EVERY changed file. Read these files: <file_list>")Task 3 - Performance Review:
Task(subagent_type="performance-reviewer", model="sonnet", description="Performance review", prompt="Performance review of local changes. FIRST: Read .claude/review-rules/performance-rules.md in the main checkout if it exists. Then check for N+1, SELECT *, pagination. Read these files: <file_list>")Task 4 - Architecture Review:
Task(subagent_type="architecture-reviewer", model="sonnet", description="Architecture review", prompt="Architecture review of local changes. FIRST: Read .claude/review-rules/architecture-rules.md in the main checkout if it exists. Then check for fat controllers, missing services, DTOs. Read these files: <file_list>")Task 5 - Testing Review:
Task(subagent_type="testing-reviewer", model="sonnet", description="Testing review", prompt="Testing review of local changes. Check for missing test coverage, weak assertions, edge case gaps, multi-tenant test safety, factory correctness. Read these changed files: <file_list>. Diff context: <diff>")Task 6 - Automated Tools:
CHANGED=$(git diff --name-only --diff-filter=ACMR HEAD '*.php' | tr '\n' ' ')
./vendor/bin/pint --test $CHANGED 2>&1; echo '---'; ./vendor/bin/phpstan analyze $CHANGED --no-progress 2>&1Step 3: Collect and Merge
- Collect findings from all 5 review agents
- Deduplicate (same issue from multiple agents → keep most detailed)
- Cross-reference (2+ agents found same issue → upgrade severity)
- Add automated tool findings
- Sort: CRITICAL > IMPORTANT > MINOR
Step 4: Present Unified Report
## Code Review - Local Changes
### Summary
- **Files Reviewed**: X
- **Parallel Reviewers**: 5 (General, Security, Performance, Architecture, Testing)
- **Automated Tools**: Pint, PHPStan
- **Total Issues**: Y (deduplicated)
### Severity Breakdown
| Severity | Count |
|----------|-------|
| CRITICAL | N |
| IMPORTANT | N |
| MINOR | N |
## Security Findings
[From security-reviewer]
## Performance Findings
[From performance-reviewer]
## Architecture Findings
[From architecture-reviewer]
## Testing Findings
[From testing-reviewer]
## General / Cross-Cutting
[From general-reviewer]
## Automated Tools
### Pint | ### PHPStan
## Verdict
**[CLEAN | HAS ISSUES | NEEDS WORK]**
- Any CRITICAL → NEEDS WORK (fix before commit)
- Only IMPORTANT/MINOR → HAS ISSUES (consider fixing)
- Clean → CLEAN (ready to commit)Targeted Reviews
Review Specific File
Review <file_path> for issuesSpawns only the relevant agents based on file type:
.php→ security-reviewer + performance-reviewer + architecture-reviewer.vue/.ts→ general-reviewer (frontend focus)
Security-Only Review
Security review of my changesSpawns only security-reviewer agent.
Performance-Only Review
Performance review of my changesSpawns only performance-reviewer agent.
Architecture-Only Review
Architecture review of my changesSpawns only architecture-reviewer agent.
Depth Levels
| Command | Model | Speed | Depth | GitLab Posting |
/review | sonnet (pinned, all five) | Fast (~30s) | Good | No (local only) |
/mr-review | sonnet, five reviewers, scope-gated | Minutes | Deep + verified | Via --comment or /fix-review |
/mr-review --deep | opus for security + architecture, sonnet for the rest | Slower | Deepest, testing kept | Same |
Use /review during development for quick feedback.
Use /mr-review before merging.
Tips
- Use
/reviewbefore/committo catch issues early - Use
/mr-reviewfor MR reviews - For quick checks on a single file, just ask directly without the command
- Parallel agents = faster + deeper than sequential review
Last Updated: 2026-02-14
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.

