Files
nexus/wiki/concepts/Reviewer.md

1.0 KiB
Raw Blame History

id, title, type, tags, sources, last_updated
id title type tags sources last_updated
reviewer Reviewer concept
Agent
Skill
设计模式
Google-5-Agent-Skill-design-patterns-2026-03-19
2026-04-17

Summary

把检查清单和检查逻辑分开的 Agent Skill 设计模式,实现不同专项审计。

Definition

Reviewer 模式把"检查什么"和"怎么检查"完全分开,审查标准存放在 references 目录,指令保持静态但动态加载特定审查标准。

Components

  • SKILL.md:保持静态的指令
  • references/review-checklist.md可替换的审查标准Python 风格检查、OWASP 安全检查等)

Workflow

  1. 加载静态指令
  2. 动态加载审查标准
  3. 按严重程度分组输出结构化结果

Advantages

  • 审查标准可替换:同一 skill 基础设施,换个清单就是完全不同的专项审计
  • 避免 system prompt 膨胀:规则外置,按需加载