AgentSkillsCN

code-review

审查变更是否存在风险、测试覆盖率缺口,以及是否违反了相关规则。当您被要求审查代码、审计差异、评估 PR,或批准变更时,可使用此技能。

SKILL.md
--- frontmatter
name: code-review
description: Review changes for risks, test coverage gaps, and rule violations. Use when asked to review code, audit diffs, evaluate PRs, or approve changes.

Code Review

Required steps

  • If rules.md exists in the repo, read it and apply project-specific constraints.
  • Read references/review.md and follow the review procedure and output format.
  • Call out rule violations explicitly and propose fixes.

他スキルとの連携

  • implementation-rules: 実装ルールに基づいたレビュー
  • git-ops: レビュー完了後、PR作成・マージ
  • security-audit: セキュリティ観点のレビューが必要な場合