feat(wiki): deep ingest batch 2 (11 source pages)
This commit is contained in:
@@ -1,33 +1,49 @@
|
||||
---
|
||||
title: "继Anthropic后,Google放出5个常用的Agent Skill设计模式"
|
||||
title: "Google 5个 Agent Skill 设计模式"
|
||||
type: source
|
||||
tags: ['Cursor', 'Claude', 'AI']
|
||||
tags: ['Agent', 'Skill', 'Google', 'ADK', '设计模式', 'AI工程化']
|
||||
date: 2026-03-19
|
||||
source: https://mp.weixin.qq.com/s/yu120tW0l4DJAJfWmbJYxg
|
||||
author: winkrun / AI工程化
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[Agent/Google-5个Agent-Skill设计模式-2026-03-19.md]]
|
||||
- [[raw/Agent/Google-5个Agent-Skill设计模式-2026-03-19.md]]
|
||||
|
||||
## Summary
|
||||
- 核心主题:title: 继Anthropic后,Google放出5个常用的Agent Skill设计模式 author: shenwei description:
|
||||
- 问题域:见原文。
|
||||
- 方法/机制:见原文。
|
||||
- 结论/价值:见原文。
|
||||
- 核心主题:Google ADK 团队发布的 5 种经过验证的 Agent Skill 设计模式,以及 Skill 设计的最佳实践经验
|
||||
- 问题域:Skill 格式标准化后(30+工具支持同格式),内容设计成为效果差异的核心——同样格式,效果天差地别
|
||||
- 方法/机制:5 种独立设计模式(Tool Wrapper/Generator/Reviewer/Inversion/Pipeline),每种有完整 ADK 代码示例,可独立使用也可组合
|
||||
- 结论/价值:Skill 的本质是"工具箱"而非"好提示词",Anthropic 经验:只写 Agent 不知道的东西、给工具不给指令
|
||||
|
||||
## Key Claims
|
||||
- (见原文)
|
||||
|
||||
## Key Quotes
|
||||
> (见原文)
|
||||
- **Tool Wrapper**:将某个库/框架规范文档打包为 Skill,动态加载(监听特定关键词),适合分发团队内部编码规范
|
||||
- **Generator**:通过模板强制一致的输出格式,assets/存模板、references/存样式指南,SKILL.md 扮演项目经理填充变量
|
||||
- **Reviewer**:将"检查什么"和"怎么检查"完全分离,references/review-checklist.md 存审查标准,agent 动态加载并强制输出结构化结果
|
||||
- **Inversion**:agent 先变面试官提问,收集所有必要信息后再行动(明确门控指令确保阶段完整性)
|
||||
- **Pipeline**:复杂任务的严格顺序工作流,关键节点设置硬性检查点,用户确认才进入下一步
|
||||
- Anthropic 经验:写好 Skill 的三条铁律——只写 Agent 不知道的东西;重点写踩坑清单;给工具不给指令
|
||||
- 5 种模式可组合使用(Pipeline + Reviewer、Generator + Inversion),利用 ADK 的 SkillToolset 和渐进式披露机制
|
||||
|
||||
## Key Concepts
|
||||
- (见原文)
|
||||
- [[ToolWrapper模式]]:将领域规范文档打包为 Skill,通过关键词监听动态加载,agent 按规范执行
|
||||
- [[Generator模式]]:模板+变量填充,强制输出格式一致性(API文档/commit消息/项目脚手架)
|
||||
- [[Reviewer模式]]:检查清单与检查逻辑分离,标准可替换(Python风格/OWASP安全/代码审查)
|
||||
- [[Inversion模式]]:agent 先收集信息再行动,反转"直接猜测生成"的默认行为,确保信息完整
|
||||
- [[Pipeline模式]]:带硬性检查点的严格工作流,强制执行顺序,无法跳过步骤
|
||||
- [[渐进式披露]](Progressive Disclosure):agent 只在运行时需要时消耗上下文 token 加载特定模式
|
||||
|
||||
## Key Entities
|
||||
- (见原文)
|
||||
- [[Google ADK]]:Google Agent Development Kit,发布此设计模式指南
|
||||
- [[Anthropic]]:Claude 开发商,Skill 实践经验提供方(ToolWrapper/Generator 等模式与 Anthropic 实践一致)
|
||||
- [[ADK]](Agent Development Kit):Google 的 Agent 开发工具包
|
||||
|
||||
## Connections
|
||||
- (见原文)
|
||||
- [[ToolWrapper模式]] ← is_pattern_of ← [[AgentSkill设计]]
|
||||
- [[Generator模式]] ← is_pattern_of ← [[AgentSkill设计]]
|
||||
- [[Reviewer模式]] ← is_pattern_of ← [[AgentSkill设计]]
|
||||
- [[Inversion模式]] ← is_pattern_of ← [[AgentSkill设计]]
|
||||
- [[Pipeline模式]] ← is_pattern_of ← [[AgentSkill设计]]
|
||||
|
||||
## Contradictions
|
||||
- (见原文)
|
||||
- (无已知冲突)
|
||||
|
||||
Reference in New Issue
Block a user