Files
012-kaopeilian/docs/规划/后端开发拆分策略/子agent/README.md
111 998211c483 feat: 初始化考培练系统项目
- 从服务器拉取完整代码
- 按框架规范整理项目结构
- 配置 Drone CI 测试环境部署
- 包含后端(FastAPI)、前端(Vue3)、管理端

技术栈: Vue3 + TypeScript + FastAPI + MySQL
2026-01-24 19:33:28 +08:00

44 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 子Agent工作包
本目录包含所有子Agent的独立工作包每个Agent都有自己的提示词、上下文和工作指南。
## 目录结构
```
子agent/
├── 00-通用基础/ # 所有Agent共享的基础信息
├── 01-Agent-Auth/ # 认证授权模块
├── 02-Agent-User/ # 用户管理模块
├── 03-Agent-Course/ # 课程管理模块
├── 04-Agent-Exam/ # 考试模块
├── 05-Agent-Training/ # AI陪练模块
├── 06-Agent-Analytics/ # 数据分析模块
├── 07-Agent-Admin/ # 系统管理模块
├── 08-Agent-Coze/ # Coze集成服务
└── 09-Agent-Dify/ # Dify集成服务
```
## 每个Agent包含的文件
1. **prompt.md** - Agent的完整提示词
2. **context.md** - 必要的上下文信息
3. **api_contract.yaml** - API接口契约
4. **dependencies.md** - 依赖关系说明
5. **examples/** - 示例代码目录
6. **checklist.md** - 开发检查清单
7. **test_scenarios.md** - 测试场景
## 使用方法
1. 将整个Agent文件夹复制到Cursor的background云端
2. 在Cursor中创建新的Agent使用prompt.md作为系统提示词
3. 根据context.md了解项目背景
4. 按照checklist.md进行开发
5. 参考examples目录的示例代码
## 注意事项
- 所有文件路径都使用相对路径
- 确保引用的文件都包含在Agent文件夹中
- 定期更新各Agent的文档以保持同步