Loading...
Loading...
Compare original and translation side by side
yuque-mcpyuque_searchyuque_list_reposyuque_create_docyuque-mcpyuque_searchyuque_list_reposyuque_create_doc| Field | Required | Description |
|---|---|---|
| 项目/功能名称 | Yes | What is being designed |
| 背景与问题 | Yes | Why this is needed, what problem it solves |
| 目标 | Yes | What success looks like |
| 约束条件 | No | Technical constraints, timeline, budget |
| 已有方案 | No | Any existing approaches or prior art |
| 团队标识 (Group login) | Yes | The team's Yuque group login |
| 字段 | 必填 | 说明 |
|---|---|---|
| 项目/功能名称 | 是 | 设计的对象是什么 |
| 背景与问题 | 是 | 为什么需要做这个设计,它解决什么问题 |
| 目标 | 是 | 成功的标准是什么 |
| 约束条件 | 否 | 技术约束、时间线、预算等 |
| 已有方案 | 否 | 任何现有方案或先前的同类设计 |
| 团队标识 (Group login) | 是 | 团队的Yuque团队标识 |
Tool: yuque_search
Parameters:
query: "<related keywords>"
type: "doc"Tool: yuque_search
Parameters:
query: "<相关关键词>"
type: "doc"references/template.mdreferences/template.mdTool: yuque_list_repos
Parameters:
login: "<group_login>"
type: "group"Tool: yuque_create_doc
Parameters:
repo_id: "<namespace>" # e.g., "my-team/tech-docs"
title: "[技术方案] <项目名称>"
body: "<formatted design document>"
format: "markdown"Tool: yuque_list_repos
Parameters:
login: "<group_login>"
type: "group"Tool: yuque_create_doc
Parameters:
repo_id: "<namespace>" # 例如:"my-team/tech-docs"
title: "[技术方案] <项目名称>"
body: "<格式化后的设计文档>"
format: "markdown"✅ 技术方案已创建(草稿状态)!
📄 **[[技术方案] 项目名称](文档链接)**
📚 已保存到:「团队知识库名称」✅ 技术方案已创建(草稿状态)!
📄 **[[技术方案] 项目名称](文档链接)**
📚 已保存到:「团队知识库名称」undefinedundefinedtech-designyuque-personalyuque-personaltech-design| Situation | Action |
|---|---|
| User provides very vague requirements | Ask 2-3 targeted questions before generating |
| Mention them and ask user how to reconcile |
| Show error, offer to output the markdown for manual copy |
| User wants to update an existing design doc | Use |
| Group login not provided | Ask user for the team's group login |
| Team Token not configured | Inform user that group repos require a team-level Token |
| 场景 | 处理方式 |
|---|---|
| 用户提供的需求非常模糊 | 生成前提出2-3个针对性问题询问 |
| 告知用户并询问如何协调 |
| 展示错误信息,提供markdown格式内容供用户手动复制 |
| 用户想要更新现有设计文档 | 使用 |
| 未提供团队标识 | 询问用户的团队group login |
| 未配置团队Token | 告知用户团队仓库需要团队级Token |