AGENT SKILL

代码审查

code-review

审查代码的正确性、安全性与性能,并按严重程度分组报告发现的问题,但不修改代码。

使用场景代码审查
License 许可
Apache-2.0
所属仓库
stigmer/stigmer
最近更新
2026-11-15
Stars
★ 9
Forks
6

01 前言 Front Matter

name
code-review
description
Review code for correctness, security and performance, and report findings grouped by severity without changing the code.

03 SKILL.md 正文

Code review

  1. Read the code under review and what calls it.
  2. Look first for correctness and security defects: injection, unchecked input, off-by-one errors, resource leaks, error handling that loses context.
  3. Report:
    • one or two sentences of overall assessment;
    • findings grouped under Must fix, Should fix and Consider, leaving out an empty group;
    • for each finding: the location, why it is a problem, and a concrete fix.
  4. Never change files during a review unless asked to.

04 同仓库更多 Skills