一键导入
automatic-code-review
How to conduct and receive effective code reviews. Use when reviewing a PR, requesting review, or improving review quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to conduct and receive effective code reviews. Use when reviewing a PR, requesting review, or improving review quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Systematic process for diagnosing and resolving defects. Use when debugging failures, investigating errors, or reproducing issues.
Principles for writing READMEs, API docs, ADRs, code comments, and changelogs. Use when creating or improving any technical documentation.
How to use Automatic's feature tracking system — creating, progressing, and updating per-project work items via the Automatic MCP service. Activate when working on a project managed by Automatic that has feature tracking enabled.
Data-driven approach to identifying and resolving performance bottlenecks. Use when investigating slow queries, high latency, or memory growth.
Techniques for improving code structure without changing behaviour. Use when cleaning up code, reducing complexity, or addressing technical debt.
Security review checklist and threat mindset for any codebase. Use when reviewing code for vulnerabilities, implementing auth, or handling user input.
| name | automatic-code-review |
| description | How to conduct and receive effective code reviews. Use when reviewing a PR, requesting review, or improving review quality. |
| authors | ["Automatic"] |
Code review is a quality gate and a knowledge-sharing mechanism. Its purpose is to catch defects, surface design problems, and spread understanding — not to enforce style preferences or demonstrate superiority.
Review the code, not the person. Every comment should serve the goal of shipping better software. Assume good intent; ask questions before making accusations.
security-review skill for a full checklistBe specific. Vague comments waste everyone's time.
// Bad: "This could be better"
// Good: "This will execute a database query for every item in the list.
// Consider fetching all items in a single query before the loop."
Label the severity. Not all comments are blockers.
[blocking] — must be resolved before merge; correctness or security issue[suggestion] — improvement worth discussing; not required[nit] — minor style or preference; take it or leave it[question] — asking for understanding, not requesting a changeSuggest, do not just criticise. If you identify a problem, offer a direction for fixing it.
Review what was changed. Do not block a PR because of pre-existing issues in surrounding code — create a separate ticket for those. Do not add scope to a PR during review.
Before requesting review:
When receiving feedback:
[nit] comments are optional — you do not need to justify ignoring them