review-it
Skill283 starsChanged 4 months agoMITView on GitHub
Code review closeout for Claude Code, Codex, OpenCode, DeepSeek TUI, and Antigravity CLI: local dirty changes, branch vs main, parallel tests.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- ravidsrk/orca-fleettheir own version, first seen Oct 23, 2026
- typeweaver/skillstheir own version, first seen Oct 20, 2026
- DevOtts/review-ittheir own version, first seen Oct 18, 2026
- 9Ashwin/let-it-gotheir own version, first seen Oct 10, 2026
- hcaiano/skillstheir own version, first seen Oct 6, 2026
- jidechao/claude-codex-goal-workflowword for word, first seen Jun 4, 2026
Other versions6 projects use a version of this.
Word for word · 1
- jidechao/claude-codex-goal-workflow★ 4100% same
Edited · 0
None found.
Wrote their own version · 5
- hcaiano/skills★ 3same name
- ravidsrk/orca-fleet★ 2same name
- typeweaver/skills★ 2same name
- 9Ashwin/let-it-go★ 0same name
- DevOtts/review-it★ 0same name
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 repository19 other files it gives its agents.
- article-iconsSkill
- code-to-specSkill
- design-itSkill
- graphSkill
- humanize-itSkill
- insight-diagramSkill
- listenhub-ttsSkill
- loop-itSkill
- modern-goSkill
- note-itSkill
- prdSkill
- prd-to-specSkill
- refactorSkill
- ship-itSkill
- smellSkill
- to-designSkill
- to-issuesSkill
- understandSkill
- walkthroughSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
10
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 8
Run automated code review as a closeout check before committing or shipping.
- Very specific: line 12
after non-trivial code edits, before final/commit/ship
- Distinctive: line 27
Treat review output as advisory.
- Distinctive: line 28
Verify every finding by reading the real code path and adjacent files.
- Very specific: line 29
Read dependency docs/source/types when the finding depends on external behavior.
- Distinctive: line 31
Prefer small fixes at the right ownership boundary.
- Distinctive: line 32
Keep going until review returns no accepted/actionable findings.
- Distinctive: line 33
If a review-triggered fix changes code, rerun focused tests and rerun review.
- Distinctive: line 34
Stop as soon as the review comes back clean with no actionable findings.
- Distinctive: line 35
If rejecting a finding as intentional/not worth fixing, add a brief inline code comment only when it explains a real invariant or ownership …
- Very specific: line 36
Do not push just to review.
- Distinctive: line 75
If an open PR exists, use its actual base:
- Very specific: line 135
Committed, not pushed: use git diff origin/main...HEAD + review
- Distinctive: line 163
Do not run another review solely to improve the final report wording.
“Common” is measured: kept by at least 6 in 10 of the 4 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
CC Review
Run automated code review as a closeout check before committing or shipping. Works across multiple AI coding agents.
Use when:
- user asks for code review / review-it / autoreview
- after non-trivial code edits, before final/commit/ship
- reviewing a local branch or PR branch after fixes
Supported Agents
| Agent | Review Command | Notes |
| Claude Code | /review | Built-in, works on uncommitted changes or diff |
| Codex | codex review | Pass diff file or let it auto-detect |
| OpenCode | /review | Same as Claude Code |
| DeepSeek TUI | /review or manual diff review | Pass diff content for analysis |
| Antigravity CLI | /code-review | Built-in slash command, auto-detects diff |
Contract
- Treat review output as advisory. Never blindly apply it.
- Verify every finding by reading the real code path and adjacent files.
- Read dependency docs/source/types when the finding depends on external behavior.
- Reject unrealistic edge cases, speculative risks, broad rewrites, and fixes that over-complicate the codebase.
- Prefer small fixes at the right ownership boundary; no refactor unless it clearly improves the bug class.
- Keep going until review returns no accepted/actionable findings.
- If a review-triggered fix changes code, rerun focused tests and rerun review.
- Stop as soon as the review comes back clean with no actionable findings.
- If rejecting a finding as intentional/not worth fixing, add a brief inline code comment only when it explains a real invariant or ownership decision that future reviewers should know.
- Do not push just to review. Push only when the user requested push/ship/PR update.
Review Focus
请 review 当前 diff。不要只看语法和明显 bug,请重点检查以下维度,最后按严重程度排序:
- 隐藏副作用 (Hidden Side Effects) — 变更是否在非显而易见的地方产生级联影响?是否修改了共享状态、全局变量、或外部依赖的行为?
- 破坏兼容性 (Breaking Compatibility) — 是否改变了 API 签名、数据结构、配置文件格式、或命令行接口?现有调用方是否会受影响?
- 边界情况 (Edge Cases) — null/空值/空集合、极大/极小值、并发/竞态条件、异常路径是否被正确处理?
- 性能风险 (Performance Risks) — 是否引入了不必要的循环嵌套、N+1 查询、大对象分配、阻塞 I/O、或锁竞争?
- 安全风险 (Security Risks) — 是否存在注入、越权、敏感信息泄露、不安全的反序列化、或依赖版本漏洞?
- 命名误导 (Naming Misleading) — 变量/函数/类型名称是否与实际行为不一致?是否存在名不副实或语义模糊的命名?
- 测试不足 (Insufficient Testing) — 关键路径、边界条件、错误处理是否缺少测试覆盖?现有测试是否真正验证了期望行为?
- 未来维护成本 (Future Maintenance Cost) — 是否引入了不必要的抽象、重复代码、隐式耦合、或难以追踪的控制流?后来者是否容易理解和修改?
Pick Target
Claude Code / OpenCode / DeepSeek TUI
Dirty local work (default — /review works on uncommitted changes):
/reviewBranch/PR work — review all changes against base:
First generate a diff, then review it:
git diff origin/main...HEAD > /tmp/review-it.diffThen review the diff file with a focused prompt:
/review the changes in /tmp/review-it.diff against origin/mainIf an open PR exists, use its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
git diff "origin/$base"...HEAD > /tmp/review-it.diffAntigravity CLI (agy)
Dirty local work:
/code-reviewBranch/PR work — review all changes against base:
git diff origin/main...HEAD > /tmp/review-it.diffThen pass the diff to the review command:
/code-review the changes in /tmp/review-it.diff against origin/mainIf an open PR exists, use its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
git diff "origin/$base"...HEAD > /tmp/review-it.diffCodex
# Review uncommitted changes
codex review
# Review branch diff
git diff origin/main...HEAD > /tmp/review-it.diff
codex review /tmp/review-it.diffParallel Closeout
Format first if formatting can change line locations. Then it's OK to run tests and review in parallel:
scripts/review-it --parallel-tests "<focused test command>"Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain.
Uncommitted vs Branch Review
Choose the right mode:
- Uncommitted changes (staged/unstaged): use
/reviewdirectly (Antigravity:/code-review, Codex:codex review) - Committed, not pushed: use
git diff origin/main...HEAD+ review - Pushed/PR: same as committed, against the PR base
- Clean working tree: skip review if there's truly nothing to review
Helper
Bundled helper script for parallel test + review orchestration:
~/.claude/skills/review-it/scripts/review-it --helpThe helper:
- Detects which agent is running (Claude Code, Antigravity CLI, Codex) via
--agent auto - Detects whether to use uncommitted review or branch diff review
- For branch mode: generates diff against
origin/main(or PR base), then triggers review - Supports
--parallel-testsfor concurrent test + review execution - Supports
--dry-runfor checking what command would be used - Prints
review-it clean: no accepted/actionable findings reportedwhen review is clean
Final Report
Include:
- review target (uncommitted / branch / PR base)
- tests/proof run
- findings accepted/rejected, briefly why
- the clean review result, or why a remaining finding was consciously rejected
Do not run another review solely to improve the final report wording. If review exited clean with no actionable findings, report that as clean.
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.

