AGENT SKILL

code-review

Reviews code for quality, correctness, and adherence to project conventions. Use when asked to review, check, or audit code changes.

适用职业开发工程师
使用场景代码审查
License 许可
MIT
最近更新
2026-08-21
Stars
★ 2
Forks
0

01 前言 Front Matter

name
code-review
description
Reviews code for quality, correctness, and adherence to project conventions. Use when asked to review, check, or audit code changes.
allowed-tools
[ "Read", "Glob", "Grep" ]

02 资源文件 1

03 SKILL.md 正文

Review the specified code or diff for:

  1. Correctness — logic errors, off-by-one errors, null/undefined handling
  2. Style — adherence to project conventions (see AGENTS.md)
  3. Test coverage — are critical paths tested?
  4. Security — injection risks, exposed secrets, unsafe operations

Output a structured report:

  • Summary: one-sentence verdict
  • Issues: bulleted list (severity: 🔴 critical / 🟡 warning / 🔵 suggestion)
  • Positives: what was done well

04 同仓库更多 Skills