mcp-probe-kit 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  > 🚀 AI 驱动的完整研发工具集 - 覆盖开发全流程
9
9
 
10
- 一个强大的 MCP (Model Context Protocol) 服务器,提供 **39 个实用工具**,覆盖代码质量、开发效率、项目管理、UI/UX 设计全流程,所有工具都支持**结构化输出**。
10
+ 一个强大的 MCP (Model Context Protocol) 服务器,提供 **42 个实用工具**,覆盖代码质量、开发效率、项目管理、UI/UX 设计、产品设计全流程,所有工具都支持**结构化输出**。
11
11
 
12
- **🎉 v2.0 特性**:结构化输出、工作流编排、UI/UX Pro Max、需求访谈
12
+ **🎉 v2.3 特性**:产品设计工作流(PRD → 原型 → HTML)、结构化输出、工作流编排、UI/UX Pro Max、需求访谈
13
13
 
14
14
  **支持所有 MCP 客户端**:Cursor、Claude Desktop、Cline、Continue 等
15
15
 
@@ -20,7 +20,7 @@
20
20
  **👉 [https://mcp-probe-kit.bytezonex.com](https://mcp-probe-kit.bytezonex.com/)**
21
21
 
22
22
  - [快速开始](https://mcp-probe-kit.bytezonex.com/pages/getting-started.html) - 5分钟完成安装配置
23
- - [所有工具](https://mcp-probe-kit.bytezonex.com/pages/all-tools.html) - 39个工具完整列表
23
+ - [所有工具](https://mcp-probe-kit.bytezonex.com/pages/all-tools.html) - 42个工具完整列表
24
24
  - [最佳实践](https://mcp-probe-kit.bytezonex.com/pages/examples.html) - 完整研发流程实战指南
25
25
  - [迁移指南](https://mcp-probe-kit.bytezonex.com/pages/migration.html) - 版本升级指南
26
26
 
@@ -28,7 +28,7 @@
28
28
 
29
29
  ## ✨ 核心特性
30
30
 
31
- ### 📦 39 个实用工具
31
+ ### 📦 42 个实用工具
32
32
 
33
33
  - **🔄 工作流编排** (10个) - 一键完成复杂开发流程
34
34
  - **🔍 代码分析** (7个) - 代码审查、调试、性能优化
@@ -36,6 +36,7 @@
36
36
  - **✨ 生成工具** (7个) - 文档、测试、Mock 数据生成
37
37
  - **📋 项目管理** (7个) - 需求分析、工作量估算、项目分析
38
38
  - **🎨 UI/UX 工具** (6个) - 设计系统、组件生成、设计稿转代码
39
+ - **🚀 产品设计** (3个) - PRD、原型设计、完整产品工作流
39
40
  - **🔧 其他工具** (7个) - 代码修复、格式转换、依赖检查
40
41
 
41
42
  ### 🎯 结构化输出
@@ -51,6 +52,20 @@
51
52
  - `start_ui` - UI 开发(设计系统 → 组件 → 代码)
52
53
  - 更多...
53
54
 
55
+ ### 🚀 产品设计工作流
56
+
57
+ 3 个产品设计工具,从需求到可交互原型:
58
+ - `gen_prd` - 生成产品需求文档(PRD)
59
+ - `gen_prototype` - 生成原型设计文档
60
+ - `start_product` - 完整产品设计流程(PRD → 原型 → 设计系统 → HTML 原型)
61
+
62
+ **工作流程:**
63
+ 1. **需求分析** - 生成标准 PRD 文档(产品概述、功能需求、页面清单)
64
+ 2. **原型设计** - 为每个页面生成详细的原型文档
65
+ 3. **设计系统** - 基于产品类型生成设计规范
66
+ 4. **HTML 原型** - 生成可直接在浏览器中查看的交互原型
67
+ 5. **项目上下文** - 自动更新项目文档
68
+
54
69
  ### 🎨 UI/UX Pro Max
55
70
 
56
71
  6 个 UI/UX 工具,从设计系统到代码生成:
@@ -180,6 +195,12 @@ start_bugfix
180
195
  # 自动完成:问题定位 → 修复方案 → 测试代码
181
196
  ```
182
197
 
198
+ ### 产品设计
199
+ ```bash
200
+ start_product "在线教育平台" --product_type=SaaS
201
+ # 自动完成:PRD → 原型设计 → 设计系统 → HTML 原型
202
+ ```
203
+
183
204
  ### UI 开发
184
205
  ```bash
185
206
  start_ui "登录页面" --mode=auto
package/build/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
  import { CallToolRequestSchema, ListToolsRequestSchema, ListResourcesRequestSchema, ReadResourceRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
5
- import { initProject, gencommit, debug, genapi, codeReview, gentest, genpr, checkDeps, gendoc, genchangelog, refactor, perf, gensql, resolveConflict, genreadme, analyzeProject, initProjectContext, addFeature, securityScan, fixBug, estimate, genMock, startFeature, startBugfix, startReview, startRelease, startRefactor, startOnboard, startApi, startDoc, startRalph, interview, askUser, uiDesignSystem, initComponentCatalog, uiSearch, syncUiData, renderUi, startUi } from "./tools/index.js";
5
+ import { initProject, gencommit, debug, genapi, codeReview, gentest, genpr, checkDeps, gendoc, genchangelog, refactor, perf, gensql, resolveConflict, genreadme, analyzeProject, initProjectContext, addFeature, securityScan, fixBug, estimate, genMock, startFeature, startBugfix, startReview, startRelease, startRefactor, startOnboard, startApi, startDoc, startRalph, interview, askUser, uiDesignSystem, initComponentCatalog, uiSearch, syncUiData, renderUi, startUi, genPrd, genPrototype, startProduct } from "./tools/index.js";
6
6
  import { VERSION, NAME } from "./version.js";
7
7
  import { allToolSchemas } from "./schemas/index.js";
8
8
  import { filterTools, getToolsetFromEnv } from "./lib/toolset-manager.js";
@@ -111,6 +111,13 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
111
111
  return await renderUi(args);
112
112
  case "start_ui":
113
113
  return await startUi(args);
114
+ // 产品设计工作流
115
+ case "gen_prd":
116
+ return await genPrd(args || {});
117
+ case "gen_prototype":
118
+ return await genPrototype(args || {});
119
+ case "start_product":
120
+ return await startProduct(args || {});
114
121
  default:
115
122
  throw new Error(`未知工具: ${name}`);
116
123
  }
@@ -810,4 +810,25 @@ export declare const allToolSchemas: ({
810
810
  };
811
811
  required: string[];
812
812
  };
813
+ } | {
814
+ name: string;
815
+ description: string;
816
+ inputSchema: {
817
+ type: "object";
818
+ properties: {
819
+ description: {
820
+ type: string;
821
+ description: string;
822
+ };
823
+ product_name: {
824
+ type: string;
825
+ description: string;
826
+ };
827
+ docs_dir: {
828
+ type: string;
829
+ description: string;
830
+ };
831
+ };
832
+ required: string[];
833
+ };
813
834
  })[];
@@ -10,6 +10,7 @@ import { projectToolSchemas } from "./project-tools.js";
10
10
  import { orchestrationToolSchemas } from "./orchestration-tools.js";
11
11
  import { interviewToolSchemas } from "./interview-tools.js";
12
12
  import { uiUxSchemas } from "./ui-ux-schemas.js";
13
+ import { productDesignSchemas } from "./product-design-schemas.js";
13
14
  // 合并所有工具 schemas
14
15
  export const allToolSchemas = [
15
16
  ...basicToolSchemas,
@@ -21,4 +22,5 @@ export const allToolSchemas = [
21
22
  ...orchestrationToolSchemas,
22
23
  ...interviewToolSchemas,
23
24
  ...uiUxSchemas,
25
+ ...productDesignSchemas,
24
26
  ];
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Schema definitions for product design workflow tools
3
+ */
4
+ export declare const genPrdSchema: {
5
+ type: "object";
6
+ properties: {
7
+ description: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ product_name: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ docs_dir: {
16
+ type: string;
17
+ description: string;
18
+ };
19
+ };
20
+ required: string[];
21
+ };
22
+ export declare const genPrototypeSchema: {
23
+ type: "object";
24
+ properties: {
25
+ prd_path: {
26
+ type: string;
27
+ description: string;
28
+ };
29
+ description: {
30
+ type: string;
31
+ description: string;
32
+ };
33
+ docs_dir: {
34
+ type: string;
35
+ description: string;
36
+ };
37
+ };
38
+ required: never[];
39
+ };
40
+ export declare const startProductSchema: {
41
+ type: "object";
42
+ properties: {
43
+ description: {
44
+ type: string;
45
+ description: string;
46
+ };
47
+ requirements_file: {
48
+ type: string;
49
+ description: string;
50
+ };
51
+ product_name: {
52
+ type: string;
53
+ description: string;
54
+ };
55
+ product_type: {
56
+ type: string;
57
+ description: string;
58
+ };
59
+ skip_design_system: {
60
+ type: string;
61
+ description: string;
62
+ };
63
+ docs_dir: {
64
+ type: string;
65
+ description: string;
66
+ };
67
+ };
68
+ required: never[];
69
+ };
70
+ export declare const productDesignSchemas: ({
71
+ name: string;
72
+ description: string;
73
+ inputSchema: {
74
+ type: "object";
75
+ properties: {
76
+ description: {
77
+ type: string;
78
+ description: string;
79
+ };
80
+ product_name: {
81
+ type: string;
82
+ description: string;
83
+ };
84
+ docs_dir: {
85
+ type: string;
86
+ description: string;
87
+ };
88
+ };
89
+ required: string[];
90
+ };
91
+ } | {
92
+ name: string;
93
+ description: string;
94
+ inputSchema: {
95
+ type: "object";
96
+ properties: {
97
+ prd_path: {
98
+ type: string;
99
+ description: string;
100
+ };
101
+ description: {
102
+ type: string;
103
+ description: string;
104
+ };
105
+ docs_dir: {
106
+ type: string;
107
+ description: string;
108
+ };
109
+ };
110
+ required: never[];
111
+ };
112
+ })[];
@@ -0,0 +1,86 @@
1
+ /**
2
+ * Schema definitions for product design workflow tools
3
+ */
4
+ export const genPrdSchema = {
5
+ type: "object",
6
+ properties: {
7
+ description: {
8
+ type: "string",
9
+ description: "产品描述或访谈记录。详细描述产品的目标、功能、用户需求等信息。",
10
+ },
11
+ product_name: {
12
+ type: "string",
13
+ description: "产品名称(可选)。如果不提供,将使用默认名称'新产品'。",
14
+ },
15
+ docs_dir: {
16
+ type: "string",
17
+ description: "文档输出目录(可选)。默认为 'docs'。PRD 将保存到 {docs_dir}/prd/ 目录下。",
18
+ },
19
+ },
20
+ required: ["description"],
21
+ };
22
+ export const genPrototypeSchema = {
23
+ type: "object",
24
+ properties: {
25
+ prd_path: {
26
+ type: "string",
27
+ description: "PRD 文档路径(可选)。如果提供,将从 PRD 中提取页面清单生成原型。",
28
+ },
29
+ description: {
30
+ type: "string",
31
+ description: "功能描述(可选)。如果没有 PRD,可以直接提供功能描述生成原型。prd_path 和 description 至少提供一个。",
32
+ },
33
+ docs_dir: {
34
+ type: "string",
35
+ description: "文档输出目录(可选)。默认为 'docs'。原型文档将保存到 {docs_dir}/prototype/ 目录下。",
36
+ },
37
+ },
38
+ required: [],
39
+ };
40
+ export const startProductSchema = {
41
+ type: "object",
42
+ properties: {
43
+ description: {
44
+ type: "string",
45
+ description: "产品描述。详细描述产品的目标、功能、用户需求等信息。这是整个工作流的基础输入。如果提供了 requirements_file,此参数可选。",
46
+ },
47
+ requirements_file: {
48
+ type: "string",
49
+ description: "需求文档文件路径(可选)。如果提供,将读取该文件的完整内容作为产品需求。支持 Markdown、文本等格式。例如:'docs/requirements.md'、'project.md'。",
50
+ },
51
+ product_name: {
52
+ type: "string",
53
+ description: "产品名称(可选)。如果不提供,将使用默认名称'新产品'。",
54
+ },
55
+ product_type: {
56
+ type: "string",
57
+ description: "产品类型(可选)。用于生成设计系统,如 'SaaS'、'E-commerce'、'Healthcare' 等。默认为 'SaaS'。",
58
+ },
59
+ skip_design_system: {
60
+ type: "boolean",
61
+ description: "跳过设计系统生成(可选)。默认为 false。如果设置为 true,将不生成设计系统。",
62
+ },
63
+ docs_dir: {
64
+ type: "string",
65
+ description: "文档输出目录(可选)。默认为 'docs'。所有文档将保存到此目录下的子目录中。",
66
+ },
67
+ },
68
+ required: [],
69
+ };
70
+ export const productDesignSchemas = [
71
+ {
72
+ name: "gen_prd",
73
+ description: "生成产品需求文档(PRD)。基于产品描述或访谈记录生成标准的 PRD 文档,包含产品概述、功能需求、优先级、非功能性需求和页面清单。",
74
+ inputSchema: genPrdSchema,
75
+ },
76
+ {
77
+ name: "gen_prototype",
78
+ description: "生成原型设计文档。基于 PRD 文档或功能描述生成原型设计文档,包含页面结构、交互说明和元素清单。为每个页面生成独立的 Markdown 文档。",
79
+ inputSchema: genPrototypeSchema,
80
+ },
81
+ {
82
+ name: "start_product",
83
+ description: "产品设计完整工作流编排。一键完成从需求到 HTML 原型的全流程:生成 PRD → 生成原型文档 → 生成设计系统 → 生成 HTML 可交互原型 → 更新项目上下文。生成的 HTML 原型可以直接在浏览器中查看和演示。",
84
+ inputSchema: startProductSchema,
85
+ },
86
+ ];
@@ -0,0 +1,12 @@
1
+ /**
2
+ * gen_prd - 生成产品需求文档(PRD)指导
3
+ *
4
+ * 返回 PRD 文档模板和创建指导,由 AI 根据产品描述填充内容并创建文件
5
+ */
6
+ export declare function genPrd(args: any): Promise<{
7
+ content: {
8
+ type: string;
9
+ text: string;
10
+ }[];
11
+ isError: boolean;
12
+ }>;
@@ -0,0 +1,283 @@
1
+ import { parseArgs, getString } from "../utils/parseArgs.js";
2
+ /**
3
+ * gen_prd - 生成产品需求文档(PRD)指导
4
+ *
5
+ * 返回 PRD 文档模板和创建指导,由 AI 根据产品描述填充内容并创建文件
6
+ */
7
+ export async function genPrd(args) {
8
+ try {
9
+ // 使用智能参数解析
10
+ const parsedArgs = parseArgs(args, {
11
+ defaultValues: {
12
+ description: "",
13
+ product_name: "新产品",
14
+ docs_dir: "docs",
15
+ },
16
+ primaryField: "description",
17
+ fieldAliases: {
18
+ description: ["desc", "需求", "描述"],
19
+ product_name: ["name", "产品名称"],
20
+ docs_dir: ["dir", "目录"],
21
+ },
22
+ });
23
+ const description = getString(parsedArgs.description);
24
+ const productName = getString(parsedArgs.product_name) || "新产品";
25
+ const docsDir = getString(parsedArgs.docs_dir) || "docs";
26
+ if (!description) {
27
+ return {
28
+ content: [
29
+ {
30
+ type: "text",
31
+ text: "❌ 缺少必需参数:description(产品描述或访谈记录)",
32
+ },
33
+ ],
34
+ isError: true,
35
+ };
36
+ }
37
+ const guidanceText = `# 📝 生成产品需求文档(PRD)指导
38
+
39
+ ## 📋 输入信息
40
+
41
+ - **产品名称**: ${productName}
42
+ - **文档目录**: ${docsDir}
43
+ - **产品描述**:
44
+ ${description}
45
+
46
+ ---
47
+
48
+ ## 🎯 任务说明
49
+
50
+ 请根据上述产品描述,创建一个完整的 PRD 文档。
51
+
52
+ ---
53
+
54
+ ## 📄 PRD 文档模板
55
+
56
+ 请将以下模板保存为 \`${docsDir}/prd/product-requirements.md\`:
57
+
58
+ \`\`\`markdown
59
+ # 产品需求文档 (PRD) - ${productName}
60
+
61
+ > 生成时间:${new Date().toLocaleString('zh-CN')}
62
+ > 工具版本:mcp-probe-kit v2.3.0
63
+
64
+ ## 目录
65
+
66
+ - [1. 产品概述](#1-产品概述)
67
+ - [2. 功能需求](#2-功能需求)
68
+ - [3. 功能优先级](#3-功能优先级)
69
+ - [4. 非功能性需求](#4-非功能性需求)
70
+ - [5. 页面清单](#5-页面清单)
71
+
72
+ ---
73
+
74
+ ## 1. 产品概述
75
+
76
+ ### 1.1 产品愿景
77
+
78
+ ${description}
79
+
80
+ ### 1.2 目标用户
81
+
82
+ **根据产品描述分析目标用户群体:**
83
+ - 用户群体 1:[请根据产品描述填写]
84
+ - 用户群体 2:[请根据产品描述填写]
85
+ - 用户群体 3:[请根据产品描述填写]
86
+
87
+ ### 1.3 核心价值
88
+
89
+ **提炼产品的核心价值主张:**
90
+ - 价值点 1:[请根据产品描述填写]
91
+ - 价值点 2:[请根据产品描述填写]
92
+ - 价值点 3:[请根据产品描述填写]
93
+
94
+ ---
95
+
96
+ ## 2. 功能需求
97
+
98
+ ### 2.1 核心功能
99
+
100
+ **根据产品描述提取核心功能列表:**
101
+
102
+ 1. **功能 1**
103
+ - 描述:[功能描述]
104
+ - 用户价值:[为用户带来什么价值]
105
+
106
+ 2. **功能 2**
107
+ - 描述:[功能描述]
108
+ - 用户价值:[为用户带来什么价值]
109
+
110
+ 3. **功能 3**
111
+ - 描述:[功能描述]
112
+ - 用户价值:[为用户带来什么价值]
113
+
114
+ ### 2.2 用户故事
115
+
116
+ **生成用户故事:**
117
+
118
+ - 作为 [角色],我希望 [功能],以便 [价值]
119
+ - 作为 [角色],我希望 [功能],以便 [价值]
120
+ - 作为 [角色],我希望 [功能],以便 [价值]
121
+
122
+ ---
123
+
124
+ ## 3. 功能优先级
125
+
126
+ ### P0(必须有 - Must Have)
127
+
128
+ **识别核心功能(产品 MVP 必需):**
129
+ - [ ] 功能 1
130
+ - [ ] 功能 2
131
+
132
+ ### P1(应该有 - Should Have)
133
+
134
+ **识别重要但非核心的功能:**
135
+ - [ ] 功能 3
136
+ - [ ] 功能 4
137
+
138
+ ### P2(可以有 - Could Have)
139
+
140
+ **识别锦上添花的功能:**
141
+ - [ ] 功能 5
142
+ - [ ] 功能 6
143
+
144
+ ---
145
+
146
+ ## 4. 非功能性需求
147
+
148
+ ### 4.1 性能要求
149
+
150
+ **根据产品类型提出性能要求:**
151
+ - 页面加载时间:< 2 秒
152
+ - API 响应时间:< 500ms
153
+ - 并发用户数:[根据产品规模估算]
154
+
155
+ ### 4.2 安全要求
156
+
157
+ **提出安全要求:**
158
+ - 用户认证:[认证方式]
159
+ - 数据加密:[加密方式]
160
+ - 权限控制:[权限模型]
161
+
162
+ ### 4.3 兼容性要求
163
+
164
+ **提出兼容性要求:**
165
+ - 浏览器支持:Chrome、Firefox、Safari、Edge(最新两个版本)
166
+ - 移动端支持:iOS 13+、Android 8+
167
+ - 屏幕分辨率:支持响应式设计
168
+
169
+ ---
170
+
171
+ ## 5. 页面清单
172
+
173
+ **根据功能需求列出所有需要的页面:**
174
+
175
+ | 页面名称 | 页面路径 | 页面类型 | 说明 |
176
+ |---------|---------|---------|------|
177
+ | 首页 | / | 主页面 | 产品介绍和导航入口 |
178
+ | 登录页 | /login | 认证页面 | 用户登录 |
179
+ | 注册页 | /register | 认证页面 | 用户注册 |
180
+ | 功能页 1 | /feature-1 | 功能页面 | [功能说明] |
181
+ | 功能页 2 | /feature-2 | 功能页面 | [功能说明] |
182
+
183
+ ---
184
+
185
+ ## 附录
186
+
187
+ ### 术语表
188
+
189
+ - **术语 1**:定义
190
+ - **术语 2**:定义
191
+
192
+ ### 参考资料
193
+
194
+ - [相关文档或链接]
195
+
196
+ ---
197
+
198
+ **注意:** 本文档由 AI 辅助生成,请根据实际情况调整和完善内容。
199
+ \`\`\`
200
+
201
+ ---
202
+
203
+ ## ✅ 执行步骤
204
+
205
+ 1. **创建目录**: 确保 \`${docsDir}/prd/\` 目录存在
206
+ 2. **创建文件**: 将上述模板保存为 \`${docsDir}/prd/product-requirements.md\`
207
+ 3. **填充内容**: 根据产品描述智能填充所有标记为 [请根据产品描述填写] 的部分
208
+ 4. **完善细节**:
209
+ - 分析目标用户群体
210
+ - 提炼核心价值主张
211
+ - 提取核心功能列表
212
+ - 生成用户故事
213
+ - 划分功能优先级
214
+ - 列出所有需要的页面
215
+
216
+ ---
217
+
218
+ ## 📌 填充指南
219
+
220
+ ### 1.2 目标用户
221
+ - 分析产品描述中提到的用户群体
222
+ - 考虑产品的使用场景和目标市场
223
+ - 描述每个用户群体的特征和需求
224
+
225
+ ### 1.3 核心价值
226
+ - 提炼产品解决的核心问题
227
+ - 描述产品为用户带来的主要价值
228
+ - 突出产品的差异化优势
229
+
230
+ ### 2.1 核心功能
231
+ - 从产品描述中提取所有功能点
232
+ - 为每个功能描述其作用和用户价值
233
+ - 确保功能覆盖产品的核心需求
234
+
235
+ ### 2.2 用户故事
236
+ - 使用"作为...我希望...以便..."格式
237
+ - 每个用户故事对应一个具体功能
238
+ - 确保用户故事清晰、可测试
239
+
240
+ ### 3. 功能优先级
241
+ - P0: 产品 MVP 必需的核心功能
242
+ - P1: 重要但非核心的功能
243
+ - P2: 锦上添花的功能
244
+
245
+ ### 5. 页面清单
246
+ - 列出所有需要的页面
247
+ - 包括页面路径、类型和说明
248
+ - 确保页面覆盖所有功能
249
+
250
+ ---
251
+
252
+ ## 🎯 下一步建议
253
+
254
+ 1. 完成 PRD 文档创建后,使用 \`gen_prototype\` 工具生成原型设计文档
255
+ 2. 或使用 \`start_product\` 工具执行完整的产品设计工作流
256
+
257
+ ---
258
+
259
+ 💡 **提示**: 这是一个指导文档,AI 需要根据产品描述智能填充所有内容并创建实际的 PRD 文件。
260
+ `;
261
+ return {
262
+ content: [
263
+ {
264
+ type: "text",
265
+ text: guidanceText,
266
+ },
267
+ ],
268
+ isError: false,
269
+ };
270
+ }
271
+ catch (error) {
272
+ const errorMessage = error instanceof Error ? error.message : String(error);
273
+ return {
274
+ content: [
275
+ {
276
+ type: "text",
277
+ text: `❌ 生成 PRD 指导失败: ${errorMessage}`,
278
+ },
279
+ ],
280
+ isError: true,
281
+ };
282
+ }
283
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * gen_prototype - 生成原型设计文档指导
3
+ *
4
+ * 返回原型设计文档模板和创建指导,由 AI 根据 PRD 或功能描述填充内容并创建文件
5
+ */
6
+ export declare function genPrototype(args: any): Promise<{
7
+ content: {
8
+ type: string;
9
+ text: string;
10
+ }[];
11
+ isError: boolean;
12
+ }>;