Generate technical design documents using a standard template and save them to your personal Yuque knowledge base. For personal/individual use — stores designs in your own repos.
Help the user write a structured technical design document following a standard template, then save it to their personal Yuque knowledge base.
All tools are from the yuque-mcp server:
yuque_search — (Optional) Search for related existing docs for contextyuque_list_repos — Find the target personal knowledge baseyuque_create_doc — Create the design documentThe full template is in references/template.md. Load it when generating the document.
Gather from the user:
| 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 |
If the user provides a brief description, ask clarifying questions:
If relevant, search Yuque for related existing documents:
Tool: yuque_search
Parameters:
query: "<related keywords>"
type: "doc"
This helps:
Load the template from references/template.md and fill in each section based on the user's input and your technical analysis.
Key sections to fill:
Present the draft to the user before saving. Ask:
Tool: yuque_list_repos
Parameters:
type: "user"
Find or ask for the target personal repo (often "技术方案" or "设计文档" or "笔记").
Tool: yuque_create_doc
Parameters:
repo_id: "<namespace>" # e.g., "username/tech-docs"
title: "[技术方案] <项目名称>"
body: "<formatted design document>"
format: "markdown"
✅ 技术方案已创建(草稿状态)!
📄 **[[技术方案] 项目名称](文档链接)**
📚 已保存到:「个人知识库名称」
### 文档结构
- 背景与目标
- 方案设计(含 X 个核心模块)
- 技术选型对比
- 排期(预计 X 周)
- 风险评估(X 个风险点)
💡 文档为草稿状态,可随时编辑完善。
team-tech-design| Situation | Action |
|-----------|--------|
| User provides very vague requirements | Ask 2-3 targeted questions before generating |
| yuque_search finds conflicting existing designs | Mention them and ask user how to reconcile |
| yuque_create_doc fails | Show error, offer to output the markdown for manual copy |
| User wants to update an existing design doc | Use yuque_search to find it, then suggest creating a v2 or appendix |
| User wants to save to team repo | Suggest using team-tech-design skill instead |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer