新增第26章: NAS照片发送到Telegram

This commit is contained in:
2026-04-17 11:50:37 +08:00
parent ea7a3785b9
commit 4fefe2541b
50 changed files with 1692 additions and 448 deletions

31
wiki/concepts/Reviewer.md Normal file
View File

@@ -0,0 +1,31 @@
---
id: reviewer
title: "Reviewer"
type: concept
tags: [Agent, Skill, 设计模式]
sources: [Google-5-Agent-Skill-design-patterns-2026-03-19]
last_updated: 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 膨胀:规则外置,按需加载
## Related Concepts
- [[Agent-Skill-设计模式]]
- [[Pipeline]]:可在最后包含 Reviewer 步骤来 double-check