@devflow-tools/devflow 0.12.5 → 0.13.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/dist/hooks/hook-client.js +6 -6
- package/dist/hooks/hook-daemon.js +8 -4
- package/dist/hooks/post-tool-use.js +2 -2
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/plugin/.claude-plugin/plugin.json +19 -19
- package/dist/plugin/skills/devflow:animation/SKILL.md +38 -7
- package/dist/plugin/skills/devflow:context/SKILL.md +36 -17
- package/dist/plugin/skills/devflow:css/SKILL.md +38 -7
- package/dist/plugin/skills/devflow:docker/SKILL.md +38 -8
- package/dist/plugin/skills/devflow:electron/SKILL.md +38 -8
- package/dist/plugin/skills/devflow:git/SKILL.md +38 -8
- package/dist/plugin/skills/devflow:graph/SKILL.md +33 -15
- package/dist/plugin/skills/devflow:graphql/SKILL.md +39 -8
- package/dist/plugin/skills/devflow:knowledge/SKILL.md +33 -15
- package/dist/plugin/skills/devflow:memory/SKILL.md +34 -16
- package/dist/plugin/skills/devflow:nest/SKILL.md +39 -8
- package/dist/plugin/skills/devflow:nextjs/SKILL.md +39 -7
- package/dist/plugin/skills/devflow:performance/SKILL.md +38 -8
- package/dist/plugin/skills/devflow:react/SKILL.md +16 -12
- package/dist/plugin/skills/devflow:tailwind/SKILL.md +38 -7
- package/dist/plugin/skills/devflow:taro/SKILL.md +38 -8
- package/dist/plugin/skills/devflow:ui-layout/SKILL.md +38 -7
- package/dist/plugin/skills/devflow:vue/SKILL.md +40 -9
- package/dist/plugin/skills/devflow:workflow/SKILL.md +33 -15
- package/package.json +13 -13
- package/dist/dashboard/404.html +0 -1
- package/dist/dashboard/_next/static/EDDf6rtQ-c_W_Mi0ANVIA/_buildManifest.js +0 -1
- package/dist/dashboard/_next/static/EDDf6rtQ-c_W_Mi0ANVIA/_ssgManifest.js +0 -1
- package/dist/dashboard/_next/static/chunks/1dd3208c-f3e84932bdc53383.js +0 -1
- package/dist/dashboard/_next/static/chunks/254-814190ccf12d2df8.js +0 -1
- package/dist/dashboard/_next/static/chunks/528-7d4fc14903647f1e.js +0 -2
- package/dist/dashboard/_next/static/chunks/6b3bb038-34d5cf36bd0210d6.js +0 -1
- package/dist/dashboard/_next/static/chunks/781-97eaf0e93843fa67.js +0 -1
- package/dist/dashboard/_next/static/chunks/app/_not-found/page-5252c260804ee1ce.js +0 -1
- package/dist/dashboard/_next/static/chunks/app/layout-0e71002867d54cb5.js +0 -1
- package/dist/dashboard/_next/static/chunks/app/page-c3269fe44e0465e7.js +0 -1
- package/dist/dashboard/_next/static/chunks/framework-58c3457e28c4602f.js +0 -1
- package/dist/dashboard/_next/static/chunks/main-595171e579e3e067.js +0 -1
- package/dist/dashboard/_next/static/chunks/main-app-202a5f91ead17fa7.js +0 -1
- package/dist/dashboard/_next/static/chunks/pages/_app-58c3f1a8a070bd35.js +0 -1
- package/dist/dashboard/_next/static/chunks/pages/_error-312a564ec7e2663f.js +0 -1
- package/dist/dashboard/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/dist/dashboard/_next/static/chunks/webpack-d6388c5dcd85b0c5.js +0 -1
- package/dist/dashboard/_next/static/css/322e14d06135256b.css +0 -31
- package/dist/dashboard/_next/static/css/9bb745101fd21603.css +0 -3
- package/dist/dashboard/index.html +0 -1
- package/dist/dashboard/index.txt +0 -9
- package/dist/dashboard/locales/en.json +0 -328
- package/dist/dashboard/locales/zh.json +0 -328
- package/plugin-registry.json +0 -190
|
@@ -3,6 +3,46 @@ name: devflow:vue
|
|
|
3
3
|
description: Vue 3 专家 — Bug 诊断、Composition API、响应式调试、组件重构
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## 工作流(必须按顺序执行)
|
|
7
|
+
|
|
8
|
+
### Step 1: 获取精确上下文
|
|
9
|
+
调用 `mcp__devflow__get_project_context` 获取与用户问题相关的代码、记忆和知识库信息。
|
|
10
|
+
这一步确保你拿到的是项目真实状态,而非凭空猜测。
|
|
11
|
+
|
|
12
|
+
### Step 2: 分析
|
|
13
|
+
基于 Step 1 返回的上下文,分析问题根因或设计方案。
|
|
14
|
+
此时可以自由使用 Read 查看具体文件。
|
|
15
|
+
|
|
16
|
+
### Step 3: 执行
|
|
17
|
+
根据分析结果修改代码,逐文件编辑。
|
|
18
|
+
|
|
19
|
+
### Step 4: 验证
|
|
20
|
+
运行类型检查和测试,确保改动正确。
|
|
21
|
+
|
|
22
|
+
## 可用工具
|
|
23
|
+
|
|
24
|
+
| 工具 | 何时调用 |
|
|
25
|
+
|------|----------|
|
|
26
|
+
| `mcp__devflow__get_project_context` | 每次任务第一步(必须) |
|
|
27
|
+
| `mcp__devflow__vue_diagnose_bug` | 按需调用 |
|
|
28
|
+
| `mcp__devflow__vue_new_component` | 按需调用 |
|
|
29
|
+
| `mcp__devflow__vue_debug_reactivity` | 按需调用 |
|
|
30
|
+
|
|
31
|
+
## 规则
|
|
32
|
+
- 永远从 `mcp__devflow__get_project_context` 开始——你不知道项目里有什么
|
|
33
|
+
- 上下文返回后,用 Read 确认关键文件
|
|
34
|
+
- 改完代码后跑类型检查
|
|
35
|
+
|
|
36
|
+
## 规则
|
|
37
|
+
- 永远从 `get_project_context` 开始——你不知道项目里有什么
|
|
38
|
+
- 上下文返回后,用 Read 确认关键文件
|
|
39
|
+
- 改完代码后跑类型检查
|
|
40
|
+
|
|
41
|
+
## 规则
|
|
42
|
+
- 永远从 `vue_diagnose_bug` 开始——你不知道项目里有什么
|
|
43
|
+
- 上下文返回后,用 Read 确认关键文件
|
|
44
|
+
- 改完代码后跑类型检查
|
|
45
|
+
|
|
6
46
|
# 💚 VUE
|
|
7
47
|
|
|
8
48
|
你是一个 Vue 3 专家。使用 Composition API、<script setup> 和 TypeScript。遇到问题先查文档再给方案,不凭空猜测。
|
|
@@ -34,12 +74,3 @@ description: Vue 3 专家 — Bug 诊断、Composition API、响应式调试、
|
|
|
34
74
|
|
|
35
75
|
- vue-docs: 3.4.0 — https://vuejs.org/guide/introduction.html
|
|
36
76
|
|
|
37
|
-
## 工作流
|
|
38
|
-
|
|
39
|
-
| 场景 | 触发方式 |
|
|
40
|
-
|------|----------|
|
|
41
|
-
| Bug 排查: | 调用 MCP 工具 `vue_diagnose_bug` |
|
|
42
|
-
| 新建组件: | 调用 MCP 工具 `vue_new_component` |
|
|
43
|
-
| 响应式调试:追踪数据流 → 定位问题 → 修复 | 调用 MCP 工具 `vue_debug_reactivity` |
|
|
44
|
-
| 提取 Composable:识别重复逻辑 → 抽取 → 替换引用 | 调用 MCP 工具 `vue_extract:composable` |
|
|
45
|
-
| Pinia Store 重构:结构审查 → 拆分/合并 → 类型安全 | 调用 MCP 工具 `vue_refactor:pinia` |
|
|
@@ -1,33 +1,51 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: devflow:workflow
|
|
3
3
|
description: 执行标准化开发工作流 — Bug 修复、功能开发、代码审查
|
|
4
|
-
required_mcp_tools:
|
|
5
|
-
- run_workflow
|
|
6
4
|
---
|
|
7
|
-
## MANDATORY FIRST STEP - Skill Registration
|
|
8
5
|
|
|
9
|
-
|
|
6
|
+
## 工作流(必须按顺序执行)
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
### Step 1: 获取精确上下文
|
|
9
|
+
调用 `mcp__devflow__get_project_context` 获取与用户问题相关的代码、记忆和知识库信息。
|
|
10
|
+
这一步确保你拿到的是项目真实状态,而非凭空猜测。
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
### Step 2: 分析
|
|
13
|
+
基于 Step 1 返回的上下文,分析问题根因或设计方案。
|
|
14
|
+
此时可以自由使用 Read 查看具体文件。
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
### Step 3: 执行
|
|
17
|
+
根据分析结果修改代码,逐文件编辑。
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
### Step 4: 验证
|
|
20
|
+
运行类型检查和测试,确保改动正确。
|
|
21
|
+
|
|
22
|
+
## 可用工具
|
|
23
|
+
|
|
24
|
+
| 工具 | 何时调用 |
|
|
25
|
+
|------|----------|
|
|
26
|
+
| `mcp__devflow__get_project_context` | 每次任务第一步(必须) |
|
|
27
|
+
| `mcp__devflow__run_workflow` | 按需调用 |
|
|
28
|
+
|
|
29
|
+
## 规则
|
|
30
|
+
- 永远从 `mcp__devflow__get_project_context` 开始——你不知道项目里有什么
|
|
31
|
+
- 上下文返回后,用 Read 确认关键文件
|
|
32
|
+
- 改完代码后跑类型检查
|
|
33
|
+
|
|
34
|
+
## 规则
|
|
35
|
+
- 永远从 `get_project_context` 开始——你不知道项目里有什么
|
|
36
|
+
- 上下文返回后,用 Read 确认关键文件
|
|
37
|
+
- 改完代码后跑类型检查
|
|
24
38
|
|
|
39
|
+
## 规则
|
|
40
|
+
- 永远从 `run_workflow` 开始——你不知道项目里有什么
|
|
41
|
+
- 上下文返回后,用 Read 确认关键文件
|
|
42
|
+
- 改完代码后跑类型检查
|
|
25
43
|
|
|
26
44
|
# /devflow:workflow
|
|
27
45
|
|
|
28
46
|
## 执行
|
|
29
47
|
|
|
30
|
-
调用 `
|
|
48
|
+
调用 `mcp__devflow__run_workflow` MCP 工具:
|
|
31
49
|
|
|
32
50
|
```
|
|
33
51
|
type = "bugfix" | "feature" | "review"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/devflow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DevFlow - Developer Intelligence Platform (Distribution Package)",
|
|
6
6
|
"bin": {
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@colbymchenry/codegraph": "^1.1.1",
|
|
18
|
-
"@devflow-tools/adapters": "^0.
|
|
19
|
-
"@devflow-tools/benchmark": "^0.
|
|
20
|
-
"@devflow-tools/context-engine": "^0.
|
|
21
|
-
"@devflow-tools/database": "^0.
|
|
22
|
-
"@devflow-tools/knowledge-engine": "^0.
|
|
23
|
-
"@devflow-tools/mcp-server": "^0.
|
|
24
|
-
"@devflow-tools/memory-engine": "^0.
|
|
25
|
-
"@devflow-tools/sdk": "^0.
|
|
26
|
-
"@devflow-tools/server": "^0.
|
|
27
|
-
"@devflow-tools/telemetry": "^0.
|
|
28
|
-
"@devflow-tools/workflow-engine": "^0.
|
|
18
|
+
"@devflow-tools/adapters": "^0.13.0",
|
|
19
|
+
"@devflow-tools/benchmark": "^0.13.0",
|
|
20
|
+
"@devflow-tools/context-engine": "^0.13.0",
|
|
21
|
+
"@devflow-tools/database": "^0.13.0",
|
|
22
|
+
"@devflow-tools/knowledge-engine": "^0.13.0",
|
|
23
|
+
"@devflow-tools/mcp-server": "^0.13.0",
|
|
24
|
+
"@devflow-tools/memory-engine": "^0.13.0",
|
|
25
|
+
"@devflow-tools/sdk": "^0.13.0",
|
|
26
|
+
"@devflow-tools/server": "^0.13.0",
|
|
27
|
+
"@devflow-tools/telemetry": "^0.13.0",
|
|
28
|
+
"@devflow-tools/workflow-engine": "^0.13.0",
|
|
29
29
|
"@inquirer/prompts": "^7.10.1",
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
31
31
|
"@nestjs/common": "^10.4.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"plugin-registry.json",
|
|
53
53
|
"scripts/postinstall.js"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "6e5878a1ab2bba3a21bd42a5f7e236d4f7375d4f"
|
|
56
56
|
}
|
package/dist/dashboard/404.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9bb745101fd21603.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d6388c5dcd85b0c5.js"/><script src="/_next/static/chunks/1dd3208c-f3e84932bdc53383.js" async=""></script><script src="/_next/static/chunks/528-7d4fc14903647f1e.js" async=""></script><script src="/_next/static/chunks/main-app-202a5f91ead17fa7.js" async=""></script><script src="/_next/static/chunks/254-814190ccf12d2df8.js" async=""></script><script src="/_next/static/chunks/app/layout-0e71002867d54cb5.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="h-screen overflow-hidden"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-d6388c5dcd85b0c5.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9bb745101fd21603.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[11815,[],\"\"]\n4:I[55092,[],\"\"]\n5:I[82023,[],\"\"]\n6:I[72921,[\"254\",\"static/chunks/254-814190ccf12d2df8.js\",\"185\",\"static/chunks/app/layout-0e71002867d54cb5.js\"],\"default\",1]\nc:I[91584,[],\"\"]\n7:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"EDDf6rtQ-c_W_Mi0ANVIA\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9bb745101fd21603.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-312a564ec7e2663f.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
|