code-review
Review code changes for bugs, regressions, missing tests, and unclear behavior.
- License 许可
- Apache-2.0
- 所属仓库
- coldmint9/Synax
- 最近更新
- 2026-11-02
- Stars
- ★ 14
- Forks
- 0
01 前言 Front Matter
- name
- code-review
- synax
- { "applies-to": [ "reviewer", "executor" ], "permission-hints": [ "none" ] }
- version
- 1.1.0
- description
- Review code changes for bugs, regressions, missing tests, and unclear behavior.
03 SKILL.md 正文
Code Review
Review the change against its intent and the code it touches. Findings are the product; editing the code is out of scope unless the user asks for it.
Scope first
- Establish what changed and why: diff, status, related tests and the acceptance criteria.
- Read the callers and the closest existing implementation of the same behavior before judging the change.
- Note generated files, formatting noise and unrelated edits so they do not hide the real change.
What to look for
- Correctness — wrong assumptions, empty and error paths, off-by-one, async ordering, retries, idempotency.
- Regressions — existing behavior the change silently alters, contract or schema changes, migrations.
- Security and permissions — trust boundaries, injection, path traversal, secret exposure, authorization checks.
- Data — consistency, transactions, concurrency, serialization and versioning.
- Tests — behavior that changed without a test that would fail on regression.
- Maintainability — only when it obscures correctness or makes the next change risky.
Reporting
- Order by severity: P0 blocking, P1 should fix, P2 suggestion.
- Each finding: file and line, trigger condition, impact, smallest fix direction.
- Separate confirmed issues from assumptions, and state what evidence would confirm an assumption.
- Say which checks were run and which were not.
- Do not restate the diff; the reader can read it.
Output
Summary, Findings, Test gaps, Residual risks, Suggested next steps.
04 同仓库更多 Skills
visualize
Show an interactive prototype, chart, simulation or visual explanation directly in a conversation. Not for ordinary code examples or building a project page.
three-way-conflict-resolution
Analyze three-way text conflicts and create reviewable proposals.
synax-explore
Explore a codebase through repository documentation and read-only code evidence with cited paths.
synax-design
为 Synax 设计工作区、页面、流程和交互方案。用户提出设计稿、UI/UX、交互设计、页面改版或功能设计时使用。必须先确认关键交互细节,再输出图文并茂的设计稿;涉及 HTML 时只创建可直接打开的静态文件,不启动热开发服务器。
mr-verification-and-report
Report actual MR checks and publication evidence.
mr-recovery
Explain recoverable MR states without rewriting history.