refactor: separate outline.yaml and fields.yaml

- Output to {topic}/ directory structure
- fields.yaml now independent file for field definitions
- outline.yaml contains items + execution config
- Deep research agents read fields.yaml independently (hard constraint)
- Update README with new directory structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jilinchen
2025-12-30 10:42:58 +08:00
co-authored by Claude Opus 4.5
parent 906821b296
commit 302f2733d3
5 changed files with 47 additions and 23 deletions
+16 -6
View File
@@ -16,24 +16,34 @@ description: 对目标话题进行初步调研,生成调研outline。用于学
- 建议的调研字段框架
### Step 2: Web Search补充
启动1个web-search-agent(后台),根据topic自行设计搜索策略补充最新items和字段建议。
启动1个web-search-agent(后台),传入topic和当前日期备注,agent自行设计搜索策略补充最新items和字段建议。等待完成后获取搜集知识。
### Step 3: 询问用户已有字段
使用AskUserQuestion询问用户是否有已定义的字段文件,如有则读取并合并。
### Step 4: 生成Outline
合并所有信息,生成outline文件(YAML格式),包含
### Step 4: 生成Outline(分离文件)
合并所有信息,生成两个文件
**outline.yaml**items + 配置):
- topic和基础配置
- items列表(调研对象)
- fields定义(调研字段)
- execution配置(批量大小等)
**fields.yaml**(字段定义):
- 字段分类和定义
- 每个字段的name、description、detail_level
### Step 5: 输出并确认
- 保存到当前工作目录: `./{topic_slug}_outline.yaml`
- 创建目录: `./{topic_slug}/`
- 保存: `outline.yaml``fields.yaml`
- 展示给用户确认
## 输出路径
`{当前工作目录}/{topic_slug}_outline.yaml`
```
{当前工作目录}/{topic_slug}/
├── outline.yaml # items列表 + execution配置
└── fields.yaml # 字段定义
```
## 后续命令
- `/research-add-items` - 补充items