review
Skill3 starsChanged 27 days agoMITView on GitHub
Review a change, a branch or PR/MR N on spec and standards. For PR/MR N, show a recap, then post the summary, inline comments and verdict. Use before done.
192 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 versions192 projects use a version of this.
Word for word · 0
None found.
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 repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- adrSkill
- api-contract-syncSkill
- architecture-advisorSkill
- ci-triageSkill
- compassSkill
- debugSkill
- delivery-digestSkill
- design-taste-skillsSkill
- grillSkill
- harness-improveSkill
- harness-loopSkill
- impact-analysisSkill
- native-mobile-skillsSkill
- plugin-authorSkill
- pr-flowSkill
- project-memorySkill
- remaining-workSkill
- slide-deckSkill
- spec-flowSkill
- task-flowSkill
- ui-conformanceSkill
- working-style-skillsSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 157 edited versions we read keep these.
5
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 18
Use the CLI of the origin remote: gh for GitHub, glab for GitLab (also a self-hosted GitLab).
- Very specific: line 32
Read each reference at the base commit: git show '<base>:<path>'.
- Distinctive: line 33
Read the existing threads.
- Very specific: line 34
Start the reviewer agent in a fresh context.
- Distinctive: line 36
Write the report. See references/report.md.
- Distinctive: line 67
Do this before you open a PR or MR, and before you report a change done.
- Distinctive: line 75
Run the full build and the whole test suite, not only the new tests.
- Very specific: line 81
Write $TMPDIR/review-<n>.json, outside the repository: { "summary": "<report>", "verdict": "<v>", "comments": [{ "path", "line", "body" }] …
- Very specific: line 86
After the yes, run the same command without --dry.
- Distinctive: line 93
Add no AI attribution line to a summary or a comment.
“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
Report correctness defects and requirement gaps only. Skip style preferences.
- Spec axis: does the change do what the spec, issue or ticket asks?
- Standards axis: does the change follow the repository rules (
AGENTS.md, module docs, lint config)?
Forge
Use the CLI of the origin remote: gh for GitHub, glab for GitLab (also a self-hosted GitLab). Never a forge MCP for these calls.
| Step | GitHub | GitLab |
| Metadata | gh pr view <n> --json title,body,author,baseRefName,headRefName,headRefOid,labels | glab mr view <iid> -F json |
| Head and base | gh api repos/{owner}/{repo}/pulls/<n> (.base.sha, .head.sha) | glab api "projects/:id/merge_requests/<iid>" (.diff_refs) |
| Diff | gh pr diff <n> | git diff <base_sha> <head_sha> |
| Threads | gh api repos/{owner}/{repo}/pulls/<n>/comments | glab api "projects/:id/merge_requests/<iid>/discussions" |
| Other open requests | gh pr list | glab mr list |
Steps
- Fix the scope. For PR/MR N, review the head SHA that the forge reports, not a local branch. For a branch, ask for the base when it is missing.
- Freeze the acceptance criteria before you read the diff: the ticket (see
task-flow), the specs in{{OPENSPEC_DIR}}, the PR or MR text. If there is no source, ask. Do not invent criteria. - Read each reference at the base commit:
git show '<base>:<path>'. A change that edits its own spec cannot judge itself. - Read the existing threads. Check for commits pushed after the request opened: late commits are often unannounced scope.
- Start the
revieweragent in a fresh context. Give it the base, the head, the criteria, the standards sources and the style contract. Do not give it your reasoning. - Open the cited
path:lineof each finding before you accept it. A finding is a claim. - Write the report. See references/report.md.
For your own change, fix the real findings, run the checks again and ask reviewer again. Do at most 2 fix rounds.
What to check
Spec axis: mark each criterion OK, KO or not verified. Look both ways: a criterion that the code does not meet, and code that no criterion asks for.
Standards axis:
- Module boundaries, logger, input validation, error handling, repository conventions.
- A test for each new branch, guard and error path. Docs that follow the behavior.
- Conventional commits with the ticket key.
Always check:
- Scope: the diff matches the ticket title. Call out a feature that also changes an auth path, or weakens a lint or CI gate.
- The target branch follows the branch strategy. A feature request onto the release branch is
P1. - Overlap with the other open requests: the same route, shared type or migration, also with no path overlap.
- A renamed route, selector or label that breaks an existing test. A passing test that asserts a removed behavior.
- A test that guards prose: it proves that the text exists, not that it is true.
- A UI change: run
ui-conformance. A red pipeline: runci-triagebefore you call the code broken.
Evidence
- "verified" only for what you ran: a command, a test, a rendered page.
- "code matches" for what you read. "stated" for the request text, the ticket and a green CI badge.
- An axis that you could not run is
not verified, with the reason. Tier is not severity:P0 [code matches]is valid.
Review your own change
Do this before you open a PR or MR, and before you report a change done. Post nothing: this review is local. Typecheck and mocked tests cannot see these failures:
- The app does not boot: a new provider with a dependency that its module cannot resolve.
- The validation pipe does not run, so a DTO is decoration. Unknown keys must be stripped and server-owned fields must not be settable.
- The response leaks an internal column.
- A by-id path takes its scope from the body, not from the token.
Run the full build and the whole test suite, not only the new tests. Fix the findings. State what you chose not to fix, and why.
Post a review of PR/MR N
"Review PR N" or "review MR N" asks for a posted review. "Review locally", a branch or your own change posts nothing.
- Write
$TMPDIR/review-<n>.json, outside the repository:{ "summary": "<report>", "verdict": "<v>", "comments": [{ "path", "line", "body" }] }. One comment for each finding on a changed line, 2 to 4 sentences: what is wrong, why it matters here, the fix. - Verdict:
request_changeswith aP0orP1;approvewhen noP0orP1remains and the checks have evidence;commentotherwise. - Show the recap, and wait for an explicit yes:
node .agents/skills/review/scripts/post-review.mjs --pr <n> --review "$TMPDIR/review-<n>.json" --dry - After the yes, run the same command without
--dry. The script posts the summary, then the inline comments, then the verdict. It moves a comment outside the diff into the summary, skips a duplicate of an existing thread, and turns the verdict into a comment on your own request. - Report the URL and each line that the script did not anchor. On GitLab without "request changes", the summary carries the verdict.
Forge actions
- Merge only when the user says so in chat. Authorship, a green pipeline and an earlier review give no right to merge.
- Add no AI attribution line to a summary or a comment.
- To open or update a PR or MR, use
pr-flow. - To act on posted review comments: read every thread, check each request against the current code, fix the valid ones, explain each skip, and reply on the thread.
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.

