Auto-sync
This commit is contained in:
27
wiki/concepts/Generator.md
Normal file
27
wiki/concepts/Generator.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: "Generator"
|
||||
type: concept
|
||||
tags: [agent, skill, design-pattern]
|
||||
last_updated: 2026-04-15
|
||||
---
|
||||
|
||||
# Generator
|
||||
|
||||
## 定义
|
||||
Google 5 种 Agent Skill 设计模式之一,通过"填空"流程强制一致输出格式的 Skill 模式。
|
||||
|
||||
## 核心机制
|
||||
利用两个可选目录:
|
||||
- assets/:存放输出模板
|
||||
- references/:存放样式指南
|
||||
|
||||
SKILL.md 扮演项目经理角色,指示 agent 加载模板→读取样式指南→向用户询问缺失变量→填充文档。
|
||||
|
||||
## 适用场景
|
||||
- 统一格式的 API 文档生成
|
||||
- 标准化 commit 信息
|
||||
- 脚手架项目结构生成
|
||||
|
||||
## Connections
|
||||
- [[Agent Skill 设计模式]]:所属分类
|
||||
- [[Inversion]]:可组合,收集缺失变量
|
||||
Reference in New Issue
Block a user