Loading...
Loading...
Generate technical design documents using a standard template and save them to a group Yuque knowledge base. For group use — stores designs in group repos with review workflow. Requires group Token.
npx skill4agent add yuque/yuque-plugin yuque-group-tech-designyuque-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 |
Tool: yuque_search
Parameters:
query: "<related keywords>"
type: "doc"references/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"✅ 技术方案已创建(草稿状态)!
📄 **[[技术方案] 项目名称](文档链接)**
📚 已保存到:「团队知识库名称」
### 文档结构
- 背景与目标
- 方案设计(含 X 个核心模块)
- 技术选型对比
- 排期(预计 X 周)
- 风险评估(X 个风险点)
💡 文档为草稿状态,请团队评审后发布。tech-designyuque-personal| 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 |