AGENT SKILL

code-review

暂无简介

License 许可
MIT
所属仓库
poppyTM/aipo-lang
最近更新
2026-11-02
Stars
★ 0
Forks
0

02 资源文件 5

03 SKILL.md 正文

Code Review

Purpose

Perform independent, evidence-based code reviews across multi-model implementations.

Use when

  • Active Goal or Task explicitly requires code review operations.
  • Operating in mode(s): review.

Do not use when

  • Task is out of scope or unrelated to code review.
  • Bounded token budget or capability policy denies required operations.

Required context

  • Task requirements
  • System architecture
  • Relevant source files

Procedure

  1. Initialize minimal context for code review.
  2. Execute scoped operations adhering to protocol standards.
  3. Verify correctness with automated test gates.
  4. Record task intelligence and evidence.
  5. Garbage-collect transient state.

Decision rules

  • Always prefer smallest sufficient changeset over broad refactoring.
  • Preserve existing public contracts and architecture invariants.
  • Never weaken locked Goal acceptance criteria.

Evidence required

  • test

Output contract

  • Implementation / verification output
  • Evidence record

Stop conditions

  • Task acceptance criteria satisfied with evidence
  • Token budget exhausted
  • Blocked on external dependency

Escalation rules

  • Escalate to lead architect or human if locked Goal criteria cannot be met.
  • Escalate immediately upon discovering unexpected security vulnerabilities or data loss risks.

04 同仓库更多 Skills