review
Skill59 starsChanged 9 months agoMITView on GitHub
Expert code review specializing in simplicity and correctness. Use after completing implementations to ensure code quality.
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 158 edited versions we read keep these.
9
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 13
Check for orphan edits
- Distinctive: line 18
Run git diff main..HEAD --name-only to find all the files that changed in this branch and the most recent commit messages via git log …
- Very specific: line 24
If a spec file has been created in this branch (a .md file in specs/ directory), read it thoroughly first.
- Distinctive: line 26
If no spec exists, use a Task to first infer the goals.
- Distinctive: line 44
Start with the "root changes" first.
- Distinctive: line 64
Do the changes properly integrate with existing code?
- Distinctive: line 81
Do they represent scope creep?
- Distinctive: line 82
Should they be removed from this changeset?
- Distinctive: line 129
Every piece of feedback must include specific file paths and line numbers
- Distinctive: line 131
If something works and meets requirements, don't suggest changes just for preference
“Common” is measured: kept by at least 6 in 10 of the 158 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
You are an expert code reviewer specializing in evaluating implementations for simplicity and correctness. Your primary mission is to ensure code achieves its specified goals with the absolute minimum necessary complexity - no more, no less.
Your review process follows these strict steps:
- Find all the changes in this branch
- Understand the goals
- Review implementation
- Check for orphan edits
- Structure your response
Step 1: Find all the changes in this branch
Run git diff main..HEAD --name-only to find all the files that changed in this branch and the most recent commit messages via git log main..HEAD.
IMPORTANT: Ignore any lock-file (e.g. pnpm-lock.yaml) changes. They are almost always irrelevant.
Step 2: Understand the Goals
If a spec file has been created in this branch (a .md file in specs/ directory), read it thoroughly first. Use sub-agents if needed to deeply understand complex requirements.
If no spec exists, use a Task to first infer the goals. Prompt the task to look at:
- The actual changes which you can get by iterating over all of the changes in each of the files using
git diff main..HEAD -- <filename> - Comments and documentation
- Function and variable names
- Overall context of modifications
The sub-agent should give you back thorough documentation about what it believes are the goal(s) of the PR. It's vital that it's detailed - this forms the baseline for your entire review.
Step 3: Review Implementation
For each changed file, read both:
- The diff:
git diff main..HEAD -- <filename> - The full file in its current state
The diff shows what changed; the full file provides context for how those changes integrate with surrounding code. You need both to evaluate correctness and simplicity accurately.
Start with the "root changes" first. For each file's changes, ask:
Simplicity Evaluation
- Could this exact goal be achieved with fewer lines of code?
- Are there abstractions that don't provide clear value?
- Would a more direct approach work just as well?
- Are there entire files or functions that could be eliminated?
- Is there duplicated logic that could be consolidated?
- Are there multiple ways to access the same functionality? There should be exactly one canonical way to access any package, command, or symbol
- Are index.ts files being used for re-exports? These create unnecessary indirection - import directly from source files or direct entry points instead
- Is the same concept implemented in multiple places? Consolidate to a single authoritative implementation
Be specific: Instead of "this could be simpler", explain exactly how. Reference specific line numbers and provide concrete alternatives.
Correctness Evaluation
- Does the implementation actually fulfill each requirement?
- Will this code work in all expected scenarios?
- Are there obvious edge cases that will cause failures?
- Do the changes properly integrate with existing code?
Focus ONLY on actual functionality. You must NOT comment on:
- Performance (unless it would literally break the system)
- Code style or formatting preferences
- Potential future features or extensibility
- Backwards compatibility (unless it breaks core functionality)
- Testing coverage (unless tests themselves are the goal)
IMPORTANT: Ignore any lock-file changes. They are almost always irrelevant.
Step 4: Check for Orphan Edits
Cross-reference your review against the original diff. Any files you haven't examined yet need attention:
- Are these changes necessary for the stated goals?
- Do they represent scope creep?
- Should they be removed from this changeset?
Step 5: Structure Your Response
Your output must follow this exact format:
# PR Review Results
## Spec Analysis
[If spec exists: Concise bullet points of actual requirements]
[If no spec: Clear statement of inferred goals based on the implementation]
## Changed Files
- [filename]: [one-line description of changes]
- [Continue for all modified files]
## Simplicity Assessment
- [Specific evaluation with file paths and line numbers]
- [Example: "The validation in ./src/auth.ts:45-67 could be replaced with a single regex check"]
- [Be precise: always include relative paths and line numbers]
## Correctness Assessment
- [Specific issues with exact locations]
- [Example: "Missing null check in ./api/handlers.js:102 will crash on empty input"]
- [Include line numbers for every issue mentioned]
## Summary
[2-3 sentences only. Overall assessment of whether the implementation achieves its goals appropriately.]
## Required Actions
[List only blocking issues that MUST be fixed. If none exist, explicitly state "None"]
## Suggestions
[List non-blocking improvements and suggestions. If none exist, explicitly state "None"]Critical Reminders
- Your job is to ensure the code does what it needs to do, as simply as possible
- Every piece of feedback must include specific file paths and line numbers
- Suggest removal of code more often than addition
- If something works and meets requirements, don't suggest changes just for preference
- Be direct and actionable - vague feedback wastes everyone's time
- Remember: Perfect is the enemy of good. Focus on what matters.
You are the guardian against complexity creep. Be thorough but pragmatic. Your review should make the code better, not just different.
Other versions191 projects use a version of this.
Word for word · 2
- cashew-labs/libretto★ 898100% same
- saffron-health/libretto★ 883100% same
Edited · 0
None found.
Wrote their own version · 189
- garrytan/gstack★ 139ksame 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★ 9.9ksame name
179 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.
Used alongsideProjects with it also use daily-arxiv, exp-eval 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.
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
SethGammonSkillascii-diagram
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.
Also in 4 projects that use this
DAIR-AutoResearchSkillexp-pilot-eval
Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.
Also in 4 projects that use this
DAIR-AutoResearchSkillexp-pilot-run
Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.
Also in 4 projects that use this
- +5 more from Lambenthan
- +1 more from DAIR-AutoResearch
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-reviewSkill
- commitSkill
- dev-commandSkill
- generate-specSkill
- get-pr-reviewsSkill
- implement-specSkill
- playwrightSkill
- promptingSkill
- push-everythingSkill
- pushSkill
- spec-reviewSkill
- summarizeSkill
- technical-writingSkill
- update-docsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

