mcp-probe-kit 3.0.3 → 3.0.6

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.
Files changed (60) hide show
  1. package/README.md +457 -423
  2. package/build/index.js +434 -140
  3. package/build/lib/template-loader.js +317 -317
  4. package/build/lib/tool-execution-context.d.ts +8 -0
  5. package/build/lib/tool-execution-context.js +20 -0
  6. package/build/schemas/git-tools.js +16 -16
  7. package/build/tools/__tests__/start_bugfix.unit.test.js +14 -14
  8. package/build/tools/__tests__/start_ui.unit.test.js +11 -11
  9. package/build/tools/add_feature.js +79 -79
  10. package/build/tools/ask_user.js +5 -5
  11. package/build/tools/interview.js +9 -9
  12. package/build/tools/start_bugfix.d.ts +2 -1
  13. package/build/tools/start_bugfix.js +131 -122
  14. package/build/tools/start_feature.d.ts +2 -1
  15. package/build/tools/start_feature.js +113 -104
  16. package/build/tools/start_onboard.d.ts +2 -1
  17. package/build/tools/start_onboard.js +57 -51
  18. package/build/tools/start_product.d.ts +2 -1
  19. package/build/tools/start_product.js +9 -1
  20. package/build/tools/start_ralph.d.ts +2 -1
  21. package/build/tools/start_ralph.js +9 -3
  22. package/build/tools/start_ui.d.ts +2 -1
  23. package/build/tools/start_ui.js +102 -88
  24. package/build/tools/ui-ux-tools.d.ts +2 -1
  25. package/build/tools/ui-ux-tools.js +19 -3
  26. package/build/utils/ui-sync.d.ts +6 -2
  27. package/build/utils/ui-sync.js +125 -29
  28. package/docs/assets/font/MaterialSymbolsOutlined.codepoints +4102 -0
  29. package/docs/assets/font/MaterialSymbolsOutlined.ttf +0 -0
  30. package/docs/assets/font/noto-sans-sc-400.ttf +0 -0
  31. package/docs/assets/font/noto-sans-sc-700.ttf +0 -0
  32. package/docs/assets/font/noto-sans-sc-900.ttf +0 -0
  33. package/docs/assets/js/i18n.js +375 -0
  34. package/docs/assets/js/tailwind.js +83 -83
  35. package/docs/assets/logo-zh.png +0 -0
  36. package/docs/assets/logo.png +0 -0
  37. package/docs/data/tools.js +21 -21
  38. package/docs/debug-i18n.html +163 -0
  39. package/docs/i18n/all-tools/en.json +157 -0
  40. package/docs/i18n/all-tools/ja.json +157 -0
  41. package/docs/i18n/all-tools/ko.json +157 -0
  42. package/docs/i18n/all-tools/zh-CN.json +157 -0
  43. package/docs/i18n/en.json +518 -0
  44. package/docs/i18n/ja.json +518 -0
  45. package/docs/i18n/ko.json +518 -0
  46. package/docs/i18n/zh-CN.json +518 -0
  47. package/docs/index.html +43 -32
  48. package/docs/pages/all-tools.html +514 -330
  49. package/docs/pages/examples.html +689 -673
  50. package/docs/pages/getting-started.html +589 -577
  51. package/docs/pages/migration.html +298 -283
  52. package/package.json +6 -6
  53. package/docs/project-context/architecture.md +0 -0
  54. package/docs/project-context/how-to-develop.md +0 -313
  55. package/docs/project-context/how-to-test.md +0 -457
  56. package/docs/project-context/tech-stack.md +0 -96
  57. package/docs/project-context.md +0 -53
  58. package/docs/specs/git-work-report/design.md +0 -568
  59. package/docs/specs/git-work-report/requirements.md +0 -131
  60. package/docs/specs/git-work-report/tasks.md +0 -197
Binary file
Binary file
@@ -17,7 +17,7 @@ const toolsData = {
17
17
  ],
18
18
  usage: '用于启动完整的功能开发流程,自动生成需求文档、设计方案和工作量估算',
19
19
  example: `// 使用示例
20
- AI: 请使用 start_feature 工具开发用户认证功能
20
+ 你: 请使用 start_feature 工具开发用户认证功能
21
21
 
22
22
  description: "添加用户认证功能,支持邮箱登录"
23
23
  feature_name: "user-auth"`
@@ -38,7 +38,7 @@ feature_name: "user-auth"`
38
38
  ],
39
39
  usage: '用于系统化修复Bug,提供完整的分析、定位、修复和测试方案',
40
40
  example: `// 使用示例
41
- AI: 请使用 start_bugfix 工具修复登录失败的问题
41
+ 你: 请使用 start_bugfix 工具修复登录失败的问题
42
42
 
43
43
  error_message: "TypeError: Cannot read property 'token' of undefined"
44
44
  stack_trace: "at login.js:45:12"`
@@ -53,7 +53,7 @@ stack_trace: "at login.js:45:12"`
53
53
  ],
54
54
  usage: '帮助新成员快速了解项目结构、技术栈和开发规范',
55
55
  example: `// 使用示例
56
- AI: 请使用 start_onboard 工具帮我了解这个项目`
56
+ 你: 请使用 start_onboard 工具帮我了解这个项目`
57
57
  },
58
58
  {
59
59
  name: 'start_ralph',
@@ -67,7 +67,7 @@ AI: 请使用 start_onboard 工具帮我了解这个项目`
67
67
  ],
68
68
  usage: '启动自动化循环开发,AI会持续迭代直到完成目标或达到安全限制',
69
69
  example: `// 使用示例
70
- AI: 请使用 start_ralph 工具实现用户认证功能
70
+ 你: 请使用 start_ralph 工具实现用户认证功能
71
71
 
72
72
  goal: "实现用户认证功能"
73
73
  mode: "safe"`
@@ -86,7 +86,7 @@ mode: "safe"`
86
86
  ],
87
87
  usage: '一键完成从需求到 HTML 原型的全流程,生成可直接演示的产品原型',
88
88
  example: `// 使用示例
89
- AI: 请使用 start_product 工具完成产品设计
89
+ 你: 请使用 start_product 工具完成产品设计
90
90
 
91
91
  description: "在线教育平台,支持直播课程、录播课程"
92
92
  product_name: "EduPro"
@@ -109,7 +109,7 @@ product_type: "SaaS"`
109
109
  ],
110
110
  usage: '一键完成UI开发全流程,从设计系统到最终代码',
111
111
  example: `// 使用示例
112
- AI: 请使用 start_ui 工具创建一个登录页面
112
+ 你: 请使用 start_ui 工具创建一个登录页面
113
113
 
114
114
  description: "登录页面"
115
115
  framework: "react"`
@@ -126,7 +126,7 @@ framework: "react"`
126
126
  ],
127
127
  usage: '全面审查代码质量,输出结构化问题清单(severity/category/suggestion)',
128
128
  example: `// 使用示例
129
- AI: 请使用 code_review 工具审查这段代码
129
+ 你: 请使用 code_review 工具审查这段代码
130
130
 
131
131
  code: "function login(user, pass) {
132
132
  const query = 'SELECT * FROM users WHERE name=' + user;
@@ -145,7 +145,7 @@ focus: "security"`
145
145
  ],
146
146
  usage: '提供完整的 Bug 修复指导,包含根因分析、修复方案、测试计划和预防措施',
147
147
  example: `// 使用示例
148
- AI: 请使用 fix_bug 工具修复这个问题
148
+ 你: 请使用 fix_bug 工具修复这个问题
149
149
 
150
150
  error_message: "数据库连接超时"
151
151
  code_context: "await db.connect({ timeout: 1000 })"`
@@ -160,7 +160,7 @@ code_context: "await db.connect({ timeout: 1000 })"`
160
160
  ],
161
161
  usage: '分析代码结构,提供重构建议、重构步骤和风险评估',
162
162
  example: `// 使用示例
163
- AI: 请使用 refactor 工具重构这个函数
163
+ 你: 请使用 refactor 工具重构这个函数
164
164
 
165
165
  code: "function process(data) {
166
166
  if (data) {
@@ -185,7 +185,7 @@ goal: "reduce_complexity"`
185
185
  ],
186
186
  usage: '根据代码变更生成符合 Conventional Commits 规范的提交消息',
187
187
  example: `// 使用示例
188
- AI: 请使用 gencommit 工具生成提交消息
188
+ 你: 请使用 gencommit 工具生成提交消息
189
189
 
190
190
  changes: "添加了用户登录功能,包含表单验证和错误处理"`
191
191
  },
@@ -201,12 +201,12 @@ changes: "添加了用户登录功能,包含表单验证和错误处理"`
201
201
  ],
202
202
  usage: '自动读取指定日期的 Git 提交,分析 diff 内容,生成简洁专业的中文工作报告。如果直接命令失败,会提供创建临时脚本的方案(执行后自动删除)',
203
203
  example: `// 使用示例 - 生成日报
204
- AI: 请使用 git_work_report 工具生成 2026-02-03 的日报
204
+ 你: 请使用 git_work_report 工具生成 2026-02-03 的日报
205
205
 
206
206
  date: "2026-02-03"
207
207
 
208
208
  // 或生成周期报告
209
- AI: 请使用 git_work_report 工具生成 2026-02-01 至 2026-02-07 的周报
209
+ 你: 请使用 git_work_report 工具生成 2026-02-01 至 2026-02-07 的周报
210
210
 
211
211
  start_date: "2026-02-01"
212
212
  end_date: "2026-02-07"`
@@ -223,7 +223,7 @@ end_date: "2026-02-07"`
223
223
  ],
224
224
  usage: '生成单元测试代码,包含边界用例和 mock',
225
225
  example: `// 使用示例
226
- AI: 请使用 gentest 工具生成测试
226
+ 你: 请使用 gentest 工具生成测试
227
227
 
228
228
  code: "function add(a, b) { return a + b; }"
229
229
  framework: "jest"`
@@ -240,7 +240,7 @@ framework: "jest"`
240
240
  ],
241
241
  usage: '按 Spec-Driven Development 方式生成需求/设计/任务文档',
242
242
  example: `// 使用示例
243
- AI: 请使用 init_project 工具初始化项目
243
+ 你: 请使用 init_project 工具初始化项目
244
244
 
245
245
  input: "创建一个任务管理系统,支持任务创建、分配、跟踪"
246
246
  project_name: "TaskManager"`
@@ -254,7 +254,7 @@ project_name: "TaskManager"`
254
254
  ],
255
255
  usage: '生成项目上下文文档,帮助团队快速上手',
256
256
  example: `// 使用示例
257
- AI: 请使用 init_project_context 工具生成项目上下文`
257
+ 你: 请使用 init_project_context 工具生成项目上下文`
258
258
  },
259
259
  {
260
260
  name: 'add_feature',
@@ -268,7 +268,7 @@ AI: 请使用 init_project_context 工具生成项目上下文`
268
268
  ],
269
269
  usage: '生成新功能规格文档(需求/设计/任务清单),基于项目上下文',
270
270
  example: `// 使用示例
271
- AI: 请使用 add_feature 工具添加新功能
271
+ 你: 请使用 add_feature 工具添加新功能
272
272
 
273
273
  description: "添加用户认证功能,支持邮箱登录和第三方登录"
274
274
  feature_name: "user-auth"`
@@ -285,7 +285,7 @@ feature_name: "user-auth"`
285
285
  ],
286
286
  usage: '估算开发工作量,输出故事点、时间范围(乐观/正常/悲观)、风险点',
287
287
  example: `// 使用示例
288
- AI: 请使用 estimate 工具估算工作量
288
+ 你: 请使用 estimate 工具估算工作量
289
289
 
290
290
  task_description: "实现用户认证功能"
291
291
  experience_level: "mid"
@@ -302,7 +302,7 @@ team_size: 2`
302
302
  ],
303
303
  usage: '需求访谈工具,在开发前通过结构化提问澄清需求',
304
304
  example: `// 使用示例
305
- AI: 请使用 interview 工具进行需求访谈
305
+ 你: 请使用 interview 工具进行需求访谈
306
306
 
307
307
  description: "实现用户登录功能"`
308
308
  },
@@ -338,7 +338,7 @@ context: "正在设计支付模块"`
338
338
  ],
339
339
  usage: '基于产品类型和需求,使用 AI 推理引擎生成完整的设计系统推荐',
340
340
  example: `// 使用示例
341
- AI: 请使用 ui_design_system 工具生成设计系统
341
+ 你: 请使用 ui_design_system 工具生成设计系统
342
342
 
343
343
  product_type: "Government"
344
344
  description: "政府类网站,需要权威、可信、易用的设计风格"`
@@ -357,7 +357,7 @@ description: "政府类网站,需要权威、可信、易用的设计风格"`
357
357
  ],
358
358
  usage: '搜索 UI/UX 数据库,使用 BM25 算法进行智能搜索',
359
359
  example: `// 使用示例
360
- AI: 请使用 ui_search 工具搜索按钮组件
360
+ 你: 请使用 ui_search 工具搜索按钮组件
361
361
 
362
362
  query: "primary button"
363
363
  mode: "search"
@@ -373,7 +373,7 @@ stack: "react"`
373
373
  ],
374
374
  usage: '同步 UI/UX 数据到本地缓存,从 npm 包 uipro-cli 下载最新数据',
375
375
  example: `// 使用示例
376
- AI: 请使用 sync_ui_data 工具同步数据
376
+ 你: 请使用 sync_ui_data 工具同步数据
377
377
 
378
378
  force: false
379
379
  verbose: true`
@@ -0,0 +1,163 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>i18n 调试页面</title>
7
+ <style>
8
+ body { font-family: Arial, sans-serif; padding: 20px; max-width: 1200px; margin: 0 auto; }
9
+ .section { margin: 20px 0; padding: 15px; border: 1px solid #ddd; border-radius: 5px; }
10
+ .section h2 { margin-top: 0; color: #333; }
11
+ button { padding: 10px 20px; margin: 5px; cursor: pointer; }
12
+ pre { background: #f5f5f5; padding: 10px; border-radius: 3px; overflow-x: auto; }
13
+ .success { color: green; }
14
+ .error { color: red; }
15
+ .warning { color: orange; }
16
+ </style>
17
+ </head>
18
+ <body>
19
+ <h1>🔍 all-tools.html i18n 调试工具</h1>
20
+
21
+ <div class="section">
22
+ <h2>1. 语言切换测试</h2>
23
+ <button onclick="testLanguage('zh-CN')">测试中文</button>
24
+ <button onclick="testLanguage('en')">测试英文</button>
25
+ <button onclick="testLanguage('ja')">测试日文</button>
26
+ <button onclick="testLanguage('ko')">测试韩文</button>
27
+ <div id="lang-result"></div>
28
+ </div>
29
+
30
+ <div class="section">
31
+ <h2>2. 翻译文件检查</h2>
32
+ <button onclick="checkTranslationFiles()">检查所有翻译文件</button>
33
+ <div id="file-result"></div>
34
+ </div>
35
+
36
+ <div class="section">
37
+ <h2>3. 当前状态</h2>
38
+ <button onclick="showCurrentState()">显示当前状态</button>
39
+ <button onclick="clearStorage()">清除 localStorage</button>
40
+ <div id="state-result"></div>
41
+ </div>
42
+
43
+ <div class="section">
44
+ <h2>4. 打开测试页面</h2>
45
+ <a href="./pages/all-tools.html" target="_blank">
46
+ <button>在新标签页打开 all-tools.html</button>
47
+ </a>
48
+ </div>
49
+
50
+ <script src="./data/tools.js"></script>
51
+ <script src="./assets/js/i18n.js"></script>
52
+ <script>
53
+ async function testLanguage(lang) {
54
+ const result = document.getElementById('lang-result');
55
+ result.innerHTML = `<p>正在测试 ${lang}...</p>`;
56
+
57
+ try {
58
+ // 加载翻译文件
59
+ const response = await fetch(`./i18n/all-tools/${lang}.json`);
60
+ if (!response.ok) {
61
+ result.innerHTML = `<p class="error">❌ 翻译文件不存在: ./i18n/all-tools/${lang}.json</p>`;
62
+ return;
63
+ }
64
+
65
+ const translations = await response.json();
66
+
67
+ // 显示翻译内容
68
+ let html = `<p class="success">✅ 翻译文件加载成功</p>`;
69
+ html += `<h3>翻译内容预览:</h3>`;
70
+ html += `<pre>${JSON.stringify(translations, null, 2).substring(0, 1000)}...</pre>`;
71
+
72
+ // 检查关键字段
73
+ html += `<h3>关键字段检查:</h3>`;
74
+ html += `<ul>`;
75
+ html += `<li>meta.title: ${translations.meta?.title ? '✅' : '❌'}</li>`;
76
+ html += `<li>page.subtitle: ${translations.page?.subtitle ? '✅' : '❌'}</li>`;
77
+ html += `<li>search.placeholder: ${translations.search?.placeholder ? '✅' : '❌'}</li>`;
78
+ html += `<li>categories: ${translations.categories ? '✅' : '❌'}</li>`;
79
+ html += `<li>toolsData: ${translations.toolsData ? '✅' : '❌'}</li>`;
80
+ html += `</ul>`;
81
+
82
+ result.innerHTML = html;
83
+ } catch (error) {
84
+ result.innerHTML = `<p class="error">❌ 错误: ${error.message}</p>`;
85
+ }
86
+ }
87
+
88
+ async function checkTranslationFiles() {
89
+ const result = document.getElementById('file-result');
90
+ result.innerHTML = `<p>正在检查翻译文件...</p>`;
91
+
92
+ const languages = ['zh-CN', 'en', 'ja', 'ko'];
93
+ let html = '<ul>';
94
+
95
+ for (const lang of languages) {
96
+ try {
97
+ const response = await fetch(`./i18n/all-tools/${lang}.json`);
98
+ if (response.ok) {
99
+ const data = await response.json();
100
+ const toolCount = Object.keys(data.toolsData || {}).length;
101
+ html += `<li class="success">✅ ${lang}.json - ${toolCount} 个工具翻译</li>`;
102
+ } else {
103
+ html += `<li class="error">❌ ${lang}.json - 文件不存在</li>`;
104
+ }
105
+ } catch (error) {
106
+ html += `<li class="error">❌ ${lang}.json - 加载失败: ${error.message}</li>`;
107
+ }
108
+ }
109
+
110
+ html += '</ul>';
111
+ result.innerHTML = html;
112
+ }
113
+
114
+ function showCurrentState() {
115
+ const result = document.getElementById('state-result');
116
+
117
+ let html = '<h3>全局变量状态:</h3>';
118
+ html += `<ul>`;
119
+ html += `<li>window.currentLang: ${window.currentLang || '未定义'}</li>`;
120
+ html += `<li>window.translations: ${window.translations ? '已定义' : '未定义'}</li>`;
121
+ html += `<li>window.LANGUAGES: ${window.LANGUAGES ? '已定义' : '未定义'}</li>`;
122
+ html += `<li>localStorage.lang: <strong>${localStorage.getItem('lang') || '未设置'}</strong></li>`;
123
+ html += `</ul>`;
124
+
125
+ html += '<h3>toolsData 状态:</h3>';
126
+ html += `<ul>`;
127
+ html += `<li>toolsData: ${typeof toolsData !== 'undefined' ? '已定义' : '未定义'}</li>`;
128
+ if (typeof toolsData !== 'undefined') {
129
+ html += `<li>categories: ${toolsData.categories ? '已定义' : '未定义'}</li>`;
130
+ if (toolsData.categories) {
131
+ html += `<li>分类数量: ${Object.keys(toolsData.categories).length}</li>`;
132
+ html += `<li>分类列表: ${Object.keys(toolsData.categories).join(', ')}</li>`;
133
+ }
134
+ }
135
+ html += `</ul>`;
136
+
137
+ html += '<h3>已加载的翻译:</h3>';
138
+ if (window.translations) {
139
+ html += `<ul>`;
140
+ for (const lang in window.translations) {
141
+ html += `<li>${lang}: ${Object.keys(window.translations[lang]).join(', ')}</li>`;
142
+ }
143
+ html += `</ul>`;
144
+ } else {
145
+ html += `<p class="warning">⚠️ 没有已加载的翻译</p>`;
146
+ }
147
+
148
+ result.innerHTML = html;
149
+ }
150
+
151
+ function clearStorage() {
152
+ localStorage.removeItem('lang');
153
+ alert('✅ localStorage 已清除!\n\n请刷新页面测试默认语言检测。');
154
+ showCurrentState();
155
+ }
156
+
157
+ // 页面加载时显示当前状态
158
+ window.addEventListener('load', () => {
159
+ setTimeout(showCurrentState, 1000);
160
+ });
161
+ </script>
162
+ </body>
163
+ </html>
@@ -0,0 +1,157 @@
1
+ {
2
+ "meta": {
3
+ "title": "All Tools - Complete List of 21 AI Development Tools | MCP Probe Kit",
4
+ "description": "MCP Probe Kit complete tool list: 6 workflow orchestration tools, 3 code analysis tools, 1 Git tool, 1 generation tool, 7 project management tools, 3 UI/UX tools.",
5
+ "keywords": "AI development tools, code generation tools, code review tools, Git automation, UI generation, code refactoring, performance optimization, security scanning"
6
+ },
7
+ "page": {
8
+ "subtitle": "MCP Probe Kit provides 21 practical tools with structured output support for core and orchestration tools"
9
+ },
10
+ "search": {
11
+ "placeholder": "🔍 Search tool name or description...",
12
+ "found": "Found {count} matching tools",
13
+ "noResults": "No matching tools found"
14
+ },
15
+ "footer": {
16
+ "lastUpdate": "Last Update",
17
+ "protocol": "Protocol",
18
+ "sdk": "SDK",
19
+ "editPage": "Edit this page",
20
+ "reportIssue": "Report Issue"
21
+ },
22
+ "toolShortDesc": {
23
+ "start_feature": "New Feature",
24
+ "start_bugfix": "Fix Bug",
25
+ "start_onboard": "Quick Start",
26
+ "start_ralph": "Loop Dev",
27
+ "start_product": "Product Design",
28
+ "start_ui": "UI Dev",
29
+ "code_review": "Code Review",
30
+ "fix_bug": "Fix Bug",
31
+ "refactor": "Refactor",
32
+ "gencommit": "Gen Commit",
33
+ "gentest": "Gen Test",
34
+ "git_work_report": "Work Report",
35
+ "init_project": "Init Project",
36
+ "init_project_context": "Project Context",
37
+ "add_feature": "Add Feature",
38
+ "estimate": "Estimate",
39
+ "interview": "Interview",
40
+ "ask_user": "Ask User",
41
+ "ui_design_system": "Design System",
42
+ "ui_search": "Search UI",
43
+ "sync_ui_data": "Sync Data"
44
+ },
45
+ "categories": {
46
+ "workflow": {
47
+ "title": "Workflow Orchestration",
48
+ "count": "6 tools"
49
+ },
50
+ "analysis": {
51
+ "title": "Code Analysis",
52
+ "count": "3 tools"
53
+ },
54
+ "git": {
55
+ "title": "Git Tools",
56
+ "count": "2 tools"
57
+ },
58
+ "generation": {
59
+ "title": "Code Generation",
60
+ "count": "1 tool"
61
+ },
62
+ "project": {
63
+ "title": "Project Management",
64
+ "count": "6 tools"
65
+ },
66
+ "uiux": {
67
+ "title": "UI/UX Design",
68
+ "count": "3 tools"
69
+ }
70
+ },
71
+ "toolsData": {
72
+ "start_feature": {
73
+ "description": "Complete feature development workflow orchestration: check context → generate specs → estimate workload",
74
+ "usage": "Used to initiate complete feature development process, automatically generating requirement documents, design plans, and workload estimates"
75
+ },
76
+ "start_bugfix": {
77
+ "description": "Bug fix workflow orchestration: check context → analyze and locate → fix solution → generate tests",
78
+ "usage": "Used for systematic bug fixing, providing complete analysis, location, fix, and test solutions"
79
+ },
80
+ "start_onboard": {
81
+ "description": "Project onboarding workflow: generate context documentation to help new members quickly understand the project",
82
+ "usage": "Help new members quickly understand project structure, tech stack, and development standards"
83
+ },
84
+ "start_ralph": {
85
+ "description": "Ralph Wiggum Loop automated development, start loop development process with multiple safety protections enabled by default",
86
+ "usage": "Start automated loop development, AI will continuously iterate until goal is achieved or safety limits are reached"
87
+ },
88
+ "start_product": {
89
+ "description": "Complete product design workflow orchestration: PRD → prototype docs → design system → HTML prototype → project context update",
90
+ "usage": "One-click completion from requirements to HTML prototype, generating directly demonstrable product prototypes"
91
+ },
92
+ "start_ui": {
93
+ "description": "Unified UI development entry: check design system → generate component catalog → search/generate templates → render code",
94
+ "usage": "One-click completion of entire UI development process, from design system to final code"
95
+ },
96
+ "code_review": {
97
+ "description": "Intelligent code review, analyzing code from multiple dimensions including security, performance, quality, style, and best practices",
98
+ "usage": "Comprehensive code quality review, outputting structured issue list (severity/category/suggestion)"
99
+ },
100
+ "fix_bug": {
101
+ "description": "Bug fix guidance, providing root cause analysis, fix plan, test plan, and prevention measures",
102
+ "usage": "Provide complete bug fix guidance, including root cause analysis, fix solution, test plan, and prevention measures"
103
+ },
104
+ "refactor": {
105
+ "description": "Refactoring suggestion tool, analyzing code structure, providing refactoring steps, risk assessment, and rollback plan",
106
+ "usage": "Analyze code structure, provide refactoring suggestions, refactoring steps, and risk assessment"
107
+ },
108
+ "gencommit": {
109
+ "description": "Automatically generate Git commit messages compliant with Conventional Commits specification based on code changes",
110
+ "usage": "Generate commit messages compliant with Conventional Commits specification based on code changes"
111
+ },
112
+ "git_work_report": {
113
+ "description": "Generate work reports (daily/periodic) based on Git diff analysis, intelligently extracting actual work content",
114
+ "usage": "Automatically read Git commits for specified dates, analyze diff content, generate concise professional work reports. If direct command fails, provides temporary script solution (auto-deleted after execution)"
115
+ },
116
+ "gentest": {
117
+ "description": "Generate unit tests, supporting Jest/Vitest/Mocha frameworks, including edge cases and mock data",
118
+ "usage": "Generate unit test code, including edge cases and mocks"
119
+ },
120
+ "init_project": {
121
+ "description": "Generate requirement/design/task documents following Spec-Driven Development approach",
122
+ "usage": "Generate requirement/design/task documents following Spec-Driven Development approach"
123
+ },
124
+ "init_project_context": {
125
+ "description": "Generate project context documentation (tech stack/architecture/coding standards)",
126
+ "usage": "Generate project context documentation to help team quickly get started"
127
+ },
128
+ "add_feature": {
129
+ "description": "Generate new feature specification documents (requirements/design/task list) based on project context",
130
+ "usage": "Generate new feature specification documents (requirements/design/task list) based on project context"
131
+ },
132
+ "estimate": {
133
+ "description": "Estimate development workload, output story points, time range (optimistic/normal/pessimistic), risk points",
134
+ "usage": "Estimate development workload, output story points, time range (optimistic/normal/pessimistic), risk points"
135
+ },
136
+ "interview": {
137
+ "description": "Requirements interview tool, clarifying requirements through structured questioning to avoid misunderstandings and rework",
138
+ "usage": "Requirements interview tool, clarifying requirements through structured questioning before development"
139
+ },
140
+ "ask_user": {
141
+ "description": "AI proactive questioning tool, supporting single or multiple questions, providing options, marking importance",
142
+ "usage": "AI proactively asks users questions, supporting single or multiple questions, providing options, marking importance"
143
+ },
144
+ "ui_design_system": {
145
+ "description": "Intelligent design system generator, generating complete design specifications based on product type reasoning",
146
+ "usage": "Based on product type and requirements, use AI reasoning engine to generate complete design system recommendations"
147
+ },
148
+ "ui_search": {
149
+ "description": "Search UI/UX database, including colors, icons, charts, components, design patterns, etc.",
150
+ "usage": "Search UI/UX database using BM25 algorithm for intelligent search"
151
+ },
152
+ "sync_ui_data": {
153
+ "description": "Sync UI/UX data to local cache, supporting automatic update checking and forced sync",
154
+ "usage": "Sync UI/UX data to local cache, downloading latest data from npm package uipro-cli"
155
+ }
156
+ }
157
+ }