review-design
Skill1 starsChanged 5 days agoMITView on GitHub
Use when review findings or fixes keep coming in the same area, when review-pr finds 3 or more findings with one cause, or when the user asks if the premise of a design is right.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- euginevd/sdlc-templatetheir own version, first seen Nov 29, 2026
- gtrabanco/agentic-workflowtheir own version, first seen Nov 26, 2026
- mgiovani/ai-arsenaltheir own version, first seen Nov 22, 2026
- pauljasperdev/skillstheir own version, first seen Nov 16, 2026
- CsHeng/agent-skillstheir own version, first seen Nov 9, 2026
- dorian-akhs/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use review-perf, review-security and 4 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.
nielsmadanSkillreview-perf
Performance analysis for algorithmic complexity, memory leaks, N+1 queries, and render issues. Use when code feels slow, after adding loops/queries, or before scaling up.
Also in 3 projects that use this
PydanticSkillreview-security
Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Use when reviewing changes for security risk, or before merging anything touching the heap/ module, path_security.rs, the wire protocol or the pool.
Also in 5 projects that use this
SvampenSkillreview-implementation
Reviews implementation against session/work stream goals before committing. Identifies shortcuts, hacks, incomplete work, and validates accomplishments match actual changes. Use before /session-end to ensure implementation quality.
Also in 3 projects that use this
NVIDIASkillreview-code
Review a code repository for concrete issues in correctness, robustness, security, maintainability, tests, and integration. Use for repository-wide or focused code review where practical engineering judgment and strict scope control matter.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
VercelSkillagent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- fpindej/netrock★ 234same name
- timholy/claude_config★ 77same name
- gtrabanco/agentic-workflow★ 25same name
- mgiovani/ai-arsenal★ 8same name
- mgiovani/cc-arsenal★ 8same name
- alo-exp/silver-bullet★ 7same name
- CsHeng/agent-skills★ 3same name
- WhorideChicken/first-playable★ 3same name
- dirkkok101/skills★ 2same name
- herohua/skills★ 1same name
4 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- commitSkill
- pull-requestSkill
- review-architectureSkill
- review-prSkill
- trace-decisionSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Before you start, read the Vocabulary and the Principles in .agents/skills/review-architecture/SKILL.md.
- Very specific: line 33
Write each symptom as one line with its file:line.
- Very specific: line 60
Put the symptoms with the same premise in one group.
- Distinctive: line 64
If a fix adds more code than it removes, treat the fix as a symptom of the cause.
- Very specific: line 68
Read Rules in docs/design/overview.md and the docs for the area.
- Distinctive: line 70
If a rule or a rejected option already answers the alternative, stop.
- Very specific: line 71
If a doc and the code on main do not agree, stop and tell the user.
- Distinctive: line 72
If the change under review makes the code disagree with a doc, do not stop.
- Distinctive: line 80
If the alternative adds more than about 100 lines of new logic, or adds more than it removes, it is probably wrong at that point.
- Distinctive: line 82
If the alternative changes a public interface that other projects or users depend on, say so.
- Distinctive: line 83
If it is cheap, prove the alternative with a throwaway script.
- Distinctive: line 99
If the user rejects the alternative for a reason that stays true, ask if you must add it to the rejected options of the design doc for that …
“Common” is measured: kept by at least 6 in 10 of the 13 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
Design review
Judge the premise of a design. Do not judge each finding alone. The input is a set of symptoms. The output is one cause and one alternative design. Do not edit code. The user decides.
Other skills start from a different place:
review-prchecks one change against a rubric. It does not judge the intent.review-architecturestarts from the module structure.- This skill starts from symptoms that share a cause.
Before you start, read the Vocabulary and the Principles in .agents/skills/review-architecture/SKILL.md. Use the words module, interface, depth and seam as it defines them. Use the words in docs/design/GLOSSARY.md for the domain.
1. Collect the symptoms
Use these sources:
- Findings from
review-pr(Act on and Consider), review threads and issues. - Fix history of the paths. Fix commits that add many lines mark a place where the design was wrong.
<path>starts at the repo root. It can also be a deleted path. A path that no commit changed is a wrong path, so the command then fails:git -C "$(git rev-parse --show-toplevel)" log -30 --format='%h %s' --numstat -- <path> | grep . || { echo "No commit changed this path. Check the path." >&2; false; } - For a branch or a PR, also read its own commits. A later commit that rewrites an earlier commit in the same branch is fix history too:
git log --format='%h %s' --numstat <base>..<head> - Limits that the author wrote in a comment, a doc or the PR body.
Write each symptom as one line with its file:line.
2. State the goals and the premise
First write the goals once for the whole input. Number them G1, G2 and so on. A goal is an effect that the code must give. A goal must have an authority: a person or a doc that can decide what the product must do. Accept only these:
- The request: the issue, the user's words, or the intent of the PR in one sentence.
- A doc in Precedence in
docs/doc-rules.md. - A constraint that the user confirmed in the conversation.
README.md and other how-to docs are not an authority. They tell how the product works now, so they can contain means. If a behavior is only in a how-to doc, report that the design doc for it is missing.
Everything else is a means. This is also true when a user can see it. If the author states a limit without an authority, it is not a goal. Write it as a question to the author.
Also find goals that the code does not give yet. Read the design docs for the area. If you decide by your own judgment that a doc applies to this case, mark the goal [INFERENCE]. The user must confirm it.
A rule in docs/design/overview.md is always a goal. If you think that a rule is only a means, tell the user. Do not change the rule.
Then, for each symptom, write in one sentence the design decision that it assumes. This decision is a means. Ask:
- Is the information known when the thing is built, and later rebuilt by search, parsing or guessing?
- Does the code need a heuristic to decide? Was the heuristic added to fix an earlier symptom?
- Does one fact exist in two places, for example in two surfaces that each count it?
- Was a wrapper, a format or a file added only to make something easy to find?
3. Group by cause
Put the symptoms with the same premise in one group. Write the cause of each group in one sentence with its file:line.
- A group with one symptom is a bug. List it in the report as a bug for
review-pr. Do not use it for the alternative. - A group with 2 or more symptoms is a design problem.
- If a fix adds more code than it removes, treat the fix as a symptom of the cause. Do not treat it as the answer.
4. Check the project rules
Read Rules in docs/design/overview.md and the docs for the area. The table "What to read first" in AGENTS.md names them.
- If a rule or a rejected option already answers the alternative, stop. Report the rule and do not propose the alternative.
- If a doc and the code on
maindo not agree, stop and tell the user. Do not choose a side (see Precedence indocs/doc-rules.md). - If the change under review makes the code disagree with a doc, do not stop. Write it as a symptom. The change must follow the doc, or change the doc in the same change and give the reason.
5. Propose the alternative
Find the smallest design that removes the cause.
- It must remove a concept that a reader must hold: a branch, a mode, a type or a layer. A change that only moves code relocates the cause. Do not propose it.
- For each thing that the alternative removes, check where its complexity goes. If the complexity goes away, the alternative removes a concept. If it appears again in the callers, the alternative only relocates it. Do not use this check to call a module deep or shallow. A deep module can go away because the alternative removes the problem that it solves.
- If the alternative adds more than about 100 lines of new logic, or adds more than it removes, it is probably wrong at that point.
- The alternative must give every goal from step 2. List each goal and show how the alternative gives it. If the alternative loses a goal, it is not an alternative.
- If the alternative changes a public interface that other projects or users depend on, say so.
- If it is cheap, prove the alternative with a throwaway script. Compare the output of the old and the new code on the same inputs. Delete the script after.
Give the evidence level of each claim: read in the code, traced by hand, or run.
6. Report
Give the report in the conversation. Do not write a report file. Use the language that the user uses.
- Symptoms: the list from step 1, grouped as in step 3. List the bugs from step 3 apart from the groups.
- Goals: the goals from step 2, each with its authority.
- Cause: the premise of each group, with its
file:line. - Alternative: what the design looks like, and what it deletes. Give the cost.
- Evidence: the level for each claim.
- Questions: the questions to the author from step 2, and the [INFERENCE] goals that the user must confirm.
- Verdict: one line. Either a patch is enough, or the design must change.
If the user rejects the alternative for a reason that stays true, ask if you must add it to the rejected options of the design doc for that area.
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.

