@devflow-tools/plugin-vue 0.1.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/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +157 -0
- package/dist/index.js.map +1 -0
- package/package.json +30 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,SAAS,EAAE,aAgKvB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
export const vuePlugin = {
|
|
2
|
+
meta: {
|
|
3
|
+
name: "vue",
|
|
4
|
+
version: "0.1.0",
|
|
5
|
+
description: "Vue 3 专家 — Bug 诊断、Composition API、响应式调试、组件重构",
|
|
6
|
+
icon: "💚",
|
|
7
|
+
tags: ["frontend", "vue", "composition-api", "pinia", "reactive"],
|
|
8
|
+
},
|
|
9
|
+
knowledge: {
|
|
10
|
+
sources: [
|
|
11
|
+
{
|
|
12
|
+
name: "vue-docs",
|
|
13
|
+
urls: [
|
|
14
|
+
"https://vuejs.org/guide/introduction.html",
|
|
15
|
+
"https://vuejs.org/api/",
|
|
16
|
+
"https://pinia.vuejs.org/",
|
|
17
|
+
],
|
|
18
|
+
pluginName: "vue",
|
|
19
|
+
version: "3.4.0",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
memory: {
|
|
24
|
+
project: {
|
|
25
|
+
stack: ["Vue 3", "Composition API", "Pinia", "Vue Router"],
|
|
26
|
+
conventions: [
|
|
27
|
+
{ key: "components", value: "使用 <script setup> 语法糖", source: "manual", confidence: 0.9 },
|
|
28
|
+
{ key: "state", value: "使用 Pinia 进行状态管理", source: "manual", confidence: 0.9 },
|
|
29
|
+
{ key: "naming", value: "组件名使用 PascalCase,文件名使用 kebab-case", source: "manual", confidence: 0.8 },
|
|
30
|
+
{ key: "composables", value: "可复用逻辑抽取为 composables,以 use 开头", source: "manual", confidence: 0.85 },
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
global: [
|
|
34
|
+
{
|
|
35
|
+
id: "vue:composition-api",
|
|
36
|
+
source: "vue",
|
|
37
|
+
title: "Composition API 最佳实践",
|
|
38
|
+
content: "使用 ref 管理基本类型,reactive 管理对象。computed 用于派生状态,watch 用于副作用。setup 语法糖中自动导入 ref、reactive 等。",
|
|
39
|
+
embedding: [],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: "vue:reactivity",
|
|
43
|
+
source: "vue",
|
|
44
|
+
title: "响应式系统原理",
|
|
45
|
+
content: "Vue 3 使用 Proxy 实现响应式。ref 和 reactive 创建深层响应式对象。shallowRef 和 shallowReactive 只做浅层响应式。toRaw 获取原始对象。",
|
|
46
|
+
embedding: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "vue:performance",
|
|
50
|
+
source: "vue",
|
|
51
|
+
title: "Vue 3 性能优化",
|
|
52
|
+
content: "使用 v-memo 跳过子树更新,v-once 只渲染一次。异步组件减少首屏加载。KeepAlive 缓存组件状态。shallowRef 避免深层响应式开销。",
|
|
53
|
+
embedding: [],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "vue:reactivity-debug",
|
|
57
|
+
source: "vue",
|
|
58
|
+
title: "响应式调试技巧",
|
|
59
|
+
content: "使用 watchEffect 追踪依赖。onRenderTracked/onRenderTriggered 调试渲染。使用 Vue DevTools 查看组件状态和事件。computed 值变化可通过 watch 追踪来源。",
|
|
60
|
+
embedding: [],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
workflow: {
|
|
65
|
+
steps: [],
|
|
66
|
+
templates: [
|
|
67
|
+
{
|
|
68
|
+
name: "bug-diagnosis",
|
|
69
|
+
description: "Vue Bug 诊断:报错定位 → 响应式排查 → 修复验证",
|
|
70
|
+
version: "1.0.0",
|
|
71
|
+
steps: [
|
|
72
|
+
{ id: "capture-error", description: "收集错误信息(堆栈、Vue DevTools 状态、Console)", type: "simple", timeout: 10000 },
|
|
73
|
+
{ id: "locate-component", description: "定位出错组件(通过堆栈和 Vue DevTools 组件树)", type: "simple", depends: ["capture-error"], timeout: 10000 },
|
|
74
|
+
{ id: "check-reactivity", description: "检查响应式数据流(ref/reactive 值是否正确更新)", type: "simple", depends: ["locate-component"], timeout: 15000 },
|
|
75
|
+
{ id: "check-composables", description: "排查相关 composable 函数逻辑", type: "llm", depends: ["locate-component"], timeout: 15000 },
|
|
76
|
+
{ id: "search-docs", description: "搜索 Vue 官方文档中相关 API 用法", type: "simple", depends: ["capture-error"], timeout: 10000 },
|
|
77
|
+
{ id: "generate-fix", description: "生成修复方案", type: "llm", depends: ["check-reactivity", "check-composables", "search-docs"], timeout: 20000 },
|
|
78
|
+
{ id: "type-check", description: "运行 vue-tsc 类型检查", type: "simple", depends: ["generate-fix"], timeout: 30000 },
|
|
79
|
+
{ id: "verify", description: "人工审查确认修复", type: "manual", depends: ["type-check"], timeout: 120000 },
|
|
80
|
+
],
|
|
81
|
+
triggers: [{ type: "cli", command: "bug" }, { type: "mcp", tool: "diagnose_bug" }],
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: "new-component",
|
|
85
|
+
description: "新建 Vue 3 组件(setup 语法 + 类型 + 测试)",
|
|
86
|
+
version: "1.0.0",
|
|
87
|
+
steps: [
|
|
88
|
+
{ id: "define-props-emits", description: "定义 Props 和 Emits 类型接口", type: "llm", timeout: 10000 },
|
|
89
|
+
{ id: "create-sfc", description: "创建 .vue SFC 文件(template + script setup + style scoped)", type: "llm", depends: ["define-props-emits"], timeout: 15000 },
|
|
90
|
+
{ id: "create-composable", description: "抽取可复用逻辑到 composable", type: "llm", depends: ["create-sfc"], timeout: 10000 },
|
|
91
|
+
{ id: "type-check", description: "vue-tsc 类型检查", type: "simple", depends: ["create-sfc"], timeout: 15000 },
|
|
92
|
+
{ id: "create-tests", description: "生成 Vitest + @vue/test-utils 测试", type: "llm", depends: ["create-sfc"], timeout: 15000 },
|
|
93
|
+
{ id: "run-tests", description: "运行测试", type: "simple", depends: ["create-tests", "type-check"], timeout: 30000 },
|
|
94
|
+
],
|
|
95
|
+
triggers: [{ type: "cli", command: "new:component" }, { type: "mcp", tool: "new_component" }],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "reactivity-debug",
|
|
99
|
+
description: "响应式调试:追踪数据流 → 定位问题 → 修复",
|
|
100
|
+
version: "1.0.0",
|
|
101
|
+
steps: [
|
|
102
|
+
{ id: "trace-data-flow", description: "通过 watchEffect / DevTools 追踪数据变更链路", type: "simple", timeout: 15000 },
|
|
103
|
+
{ id: "check-ref-unwrap", description: "检查 ref 解包是否正确(模板中自动解包,JS 中需要 .value)", type: "simple", timeout: 10000 },
|
|
104
|
+
{ id: "check-computed-cache", description: "检查 computed 缓存是否按预期工作", type: "simple", timeout: 10000 },
|
|
105
|
+
{ id: "check-watch-deps", description: "检查 watch/watchEffect 依赖追踪是否正确", type: "simple", timeout: 10000 },
|
|
106
|
+
{ id: "diagnose", description: "综合诊断响应式问题", type: "llm", depends: ["trace-data-flow", "check-ref-unwrap", "check-computed-cache", "check-watch-deps"], timeout: 15000 },
|
|
107
|
+
{ id: "fix-reactivity", description: "修复响应式问题", type: "llm", depends: ["diagnose"], timeout: 20000 },
|
|
108
|
+
{ id: "verify-fix", description: "验证响应式行为恢复正常", type: "simple", depends: ["fix-reactivity"], timeout: 15000 },
|
|
109
|
+
],
|
|
110
|
+
triggers: [{ type: "cli", command: "debug:reactivity" }, { type: "mcp", tool: "debug_reactivity" }],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "composable-extract",
|
|
114
|
+
description: "提取 Composable:识别重复逻辑 → 抽取 → 替换引用",
|
|
115
|
+
version: "1.0.0",
|
|
116
|
+
steps: [
|
|
117
|
+
{ id: "scan-duplication", description: "扫描组件内可复用逻辑(重复的 ref/watch/computed 模式)", type: "simple", timeout: 10000 },
|
|
118
|
+
{ id: "identify-candidates", description: "识别可抽取为 composable 的逻辑块", type: "llm", depends: ["scan-duplication"], timeout: 15000 },
|
|
119
|
+
{ id: "extract-composable", description: "生成 composable 函数(类型安全、清理函数完整)", type: "llm", depends: ["identify-candidates"], timeout: 15000 },
|
|
120
|
+
{ id: "update-consumers", description: "替换原有组件中的内联逻辑为 composable 调用", type: "llm", depends: ["extract-composable"], timeout: 15000 },
|
|
121
|
+
{ id: "type-check", description: "vue-tsc 类型检查", type: "simple", depends: ["update-consumers"], timeout: 15000 },
|
|
122
|
+
{ id: "regression-test", description: "运行回归测试", type: "simple", depends: ["type-check"], timeout: 30000 },
|
|
123
|
+
],
|
|
124
|
+
triggers: [{ type: "cli", command: "extract:composable" }],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: "pinia-refactor",
|
|
128
|
+
description: "Pinia Store 重构:结构审查 → 拆分/合并 → 类型安全",
|
|
129
|
+
version: "1.0.0",
|
|
130
|
+
steps: [
|
|
131
|
+
{ id: "analyze-store", description: "分析 Store 大小、action 复杂度、getter 数量", type: "simple", timeout: 10000 },
|
|
132
|
+
{ id: "check-types", description: "检查 Store 类型定义是否完整", type: "simple", timeout: 10000 },
|
|
133
|
+
{ id: "propose-refactor", description: "建议 Store 拆分或合并方案(按业务领域)", type: "llm", depends: ["analyze-store", "check-types"], timeout: 15000 },
|
|
134
|
+
{ id: "refactor-store", description: "执行 Store 重构", type: "llm", depends: ["propose-refactor"], timeout: 20000 },
|
|
135
|
+
{ id: "update-references", description: "更新所有组件中的 Store 引用", type: "simple", depends: ["refactor-store"], timeout: 15000 },
|
|
136
|
+
{ id: "verify-state", description: "验证重构后状态逻辑一致", type: "simple", depends: ["update-references"], timeout: 30000 },
|
|
137
|
+
],
|
|
138
|
+
triggers: [{ type: "cli", command: "refactor:pinia" }],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
prompt: {
|
|
143
|
+
system: "你是一个 Vue 3 专家。使用 Composition API、<script setup> 和 TypeScript。遇到问题先查文档再给方案,不凭空猜测。",
|
|
144
|
+
rules: [
|
|
145
|
+
"使用 <script setup lang=\"ts\"> 语法糖",
|
|
146
|
+
"使用 Composition API(ref、reactive、computed、watch)",
|
|
147
|
+
"状态管理使用 Pinia",
|
|
148
|
+
"可复用逻辑抽取为 composables",
|
|
149
|
+
"遇到不确定的 API 时先查 Vue 官方文档再回答",
|
|
150
|
+
"修复 Bug 前先排查响应式数据流",
|
|
151
|
+
"生成代码后必须通过 vue-tsc 类型检查",
|
|
152
|
+
"不能凭记忆猜测 API 行为,必须基于当前项目版本",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
tools: [],
|
|
156
|
+
};
|
|
157
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAkB;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,CAAC;KAClE;IAED,SAAS,EAAE;QACT,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE;oBACJ,2CAA2C;oBAC3C,wBAAwB;oBACxB,0BAA0B;iBAC3B;gBACD,UAAU,EAAE,KAAK;gBACjB,OAAO,EAAE,OAAO;aACjB;SACF;KACF;IAED,MAAM,EAAE;QACN,OAAO,EAAE;YACP,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,E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tools/plugin-vue",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc -b",
|
|
15
|
+
"test": "vitest run",
|
|
16
|
+
"typecheck": "tsc --noEmit",
|
|
17
|
+
"clean": "rm -rf dist"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@devflow-tools/sdk": "*"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"typescript": "^5.5.0",
|
|
24
|
+
"vitest": "^2.0.0"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"gitHead": "4cede97fc7fc673f929427fac169acab100ca8ed"
|
|
30
|
+
}
|