dev-code-review
Skill0 starsChanged 5 days agoApache-2.0View on GitHub
提交前自审或评审同伴代码:正确性、边界、错误处理、测试、安全与可读性,输出可执行的修改项。只要用户提到代码评审、自审、PR 检查、合并前把关,就使用本技能。不用于需求验收、架构决策或格式检查。
3 other projects use a version of this.
Adopted by
Most recently taken up by
- irtazahashmi/ironpettheir own version, first seen Nov 29, 2026
- meshcode-ai/skillstheir own version, first seen Oct 8, 2026
- amjadjibon/skillstheir own version, first seen Jul 12, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- irtazahashmi/ironpet★ 9same name
- amjadjibon/skills★ 2same name
- meshcode-ai/skills★ 2same 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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dev-dispatch-contractSkill
- dev-environmentSkill
- dev-implementation-planSkill
- dev-observabilitySkill
- dev-quality-gateSkill
- dev-releaseSkill
- dev-retroSkill
- dev-role-developerSkill
- dev-role-testerSkill
- dev-systematic-debuggingSkill
- dev-test-strategySkill
- dev-ui-reviewSkill
- dev-ui-verifySkill
- dev-worktree-gitSkill
The file
Files
代码评审
评审的目标是让变更可维护、可回滚、可验证,不是证明谁更聪明。
Iron Law
没看 diff、没跑测试,不写评审结论。
什么时候用 / 不用
- 用:提交前自审、PR 评审、核心逻辑变更、跨模块改动。
- 不用:需求验收、架构选型、格式与 lint。
流程
- 读目的:关联 issue / AC,确认改动范围。
- 看 diff:只改该改的;有无调试代码、临时文件、无关格式。
- 查逻辑:主路径、边界、错误处理、并发、幂等。
- 查测试:新增行为有测试;失败路径覆盖;测试没被削弱。
- 查安全:输入校验、权限、密钥、日志脱敏。
- 给结论:approve / comment / request changes;问题分 blocker / major / minor。
- 写意见:文件 + 行 + 问题 + 建议,一条一个点。
门禁
| # | 门禁 | 通过线 | 不过怎么办 |
| 1 | 范围清楚 | 关联 AC,无越界 | request changes |
| 2 | 逻辑完整 | 主路径 + 边界 + 错误 | 补 |
| 3 | 测试可信 | 新行为与失败路径覆盖 | 补测 |
| 4 | 无调试残留 | 无 print / TODO / 临时文件 | 清理 |
| 5 | 安全 | 四类检查通过 | 阻断 |
| 6 | 意见可定位 | 文件 + 行 + 证据 | 重写 |
输出契约
结论:approve / comment / request changes
范围:<文件数 / 模块>
问题:
- [blocker] <文件:行> <问题> → <建议>
- [major] ...
- [minor] ...
已检查:逻辑 / 边界 / 错误 / 测试 / 安全 / 性能
残余风险:<...>反合理化
| 借口 | 现实 |
| 能跑就行 | 能跑不等于可维护 |
| 测试过了 | 测试覆盖不等于边界正确 |
| 这是小事 | 小事累积成维护成本 |
| 作者自己会看 | 评审就是最后一道门 |
| 先合再改 | 合并后的修复成本更高 |
红旗
- 只写 LGTM。
- 评审意见没有文件与行。
- 把架构问题当风格问题。
- 要求改与本次无关的代码。
- 没跑测试就 approve。
交接
- 方案问题:Leader / CTO。
- 安全风险:CTO。
- 修复:Developer。
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.

