@devflow-tools/cli 0.8.11 → 0.10.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/plugin-files/dist/skills/devflow:context/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:docker/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:electron/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:graph/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:graphql/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:knowledge/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:memory/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:nest/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:nextjs/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:performance/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:react/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:tailwind/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:taro/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:vue/SKILL.md +0 -2
- package/dist/plugin-files/dist/skills/devflow:workflow/SKILL.md +0 -2
- package/dist/plugin-files/hooks/post-tool-use +2 -1
- package/dist/plugin-files/hooks/pre-tool-use +2 -1
- package/dist/plugin-files/hooks/stop +2 -1
- package/dist/plugin-files/package.json +2 -2
- package/package.json +27 -27
|
@@ -11,7 +11,6 @@ required_mcp_tools:
|
|
|
11
11
|
get_project_context / search_symbol
|
|
12
12
|
</HARD-GATE>
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
## MANDATORY FIRST STEP - Skill Registration
|
|
16
15
|
|
|
17
16
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -31,7 +30,6 @@ When the skill execution is complete, clean up:
|
|
|
31
30
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
32
31
|
```
|
|
33
32
|
|
|
34
|
-
|
|
35
33
|
# /devflow:context
|
|
36
34
|
|
|
37
35
|
## 执行
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
docker_dockerize_project
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# 🐳 DOCKER
|
|
34
32
|
|
|
35
33
|
你是一个 Docker 专家。使用多阶段构建优化镜像,遵循安全和性能最佳实践。遇到问题先查官方文档。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
electron_diagnose_bug
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# ⚛️ ELECTRON
|
|
34
32
|
|
|
35
33
|
你是一个 Electron 专家。使用 contextBridge + IPC 安全通信模式。严格遵循 Electron 安全最佳实践。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
get_dependency_graph
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# /devflow:graph
|
|
34
32
|
|
|
35
33
|
## 执行
|
|
@@ -11,7 +11,6 @@ required_mcp_tools:
|
|
|
11
11
|
graphql_new_graphql_type / graphql_diagnose_bug
|
|
12
12
|
</HARD-GATE>
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
## MANDATORY FIRST STEP - Skill Registration
|
|
16
15
|
|
|
17
16
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -31,7 +30,6 @@ When the skill execution is complete, clean up:
|
|
|
31
30
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
32
31
|
```
|
|
33
32
|
|
|
34
|
-
|
|
35
33
|
# ◈ GRAPHQL
|
|
36
34
|
|
|
37
35
|
你是一个 GraphQL 专家。使用 Schema-First 设计,Apollo Server 实现。遇到问题先查文档,不凭空猜测。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
get_knowledge
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# /devflow:knowledge
|
|
34
32
|
|
|
35
33
|
## 执行
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
get_memory
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# /devflow:memory
|
|
34
32
|
|
|
35
33
|
## 执行
|
|
@@ -11,7 +11,6 @@ required_mcp_tools:
|
|
|
11
11
|
nest_new_module / nest_diagnose_bug
|
|
12
12
|
</HARD-GATE>
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
## MANDATORY FIRST STEP - Skill Registration
|
|
16
15
|
|
|
17
16
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -31,7 +30,6 @@ When the skill execution is complete, clean up:
|
|
|
31
30
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
32
31
|
```
|
|
33
32
|
|
|
34
|
-
|
|
35
33
|
# 🐱 NEST
|
|
36
34
|
|
|
37
35
|
你是一个 NestJS 专家。使用装饰器模式、依赖注入和模块化架构。遵循 SOLID 原则。
|
|
@@ -11,7 +11,6 @@ required_mcp_tools:
|
|
|
11
11
|
nextjs_new_page / nextjs_diagnose_bug
|
|
12
12
|
</HARD-GATE>
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
## MANDATORY FIRST STEP - Skill Registration
|
|
16
15
|
|
|
17
16
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -31,7 +30,6 @@ When the skill execution is complete, clean up:
|
|
|
31
30
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
32
31
|
```
|
|
33
32
|
|
|
34
|
-
|
|
35
33
|
# ▲ NEXTJS
|
|
36
34
|
|
|
37
35
|
你是一个 Next.js 14 专家。使用 App Router、React Server Components。默认服务端渲染,按需客户端交互。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
performance_audit_performance
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# ⚡ PERFORMANCE
|
|
34
32
|
|
|
35
33
|
你是一个 Web 性能专家。精通 Core Web Vitals、Bundle 优化和运行时性能。所有优化建议必须有数据依据。
|
|
@@ -15,7 +15,6 @@ required_mcp_tools:
|
|
|
15
15
|
react_diagnose_bug / react_new_feature / react_audit_performance / react_review_hooks / react_refactor_component / react_new_component
|
|
16
16
|
</HARD-GATE>
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
## MANDATORY FIRST STEP - Skill Registration
|
|
20
19
|
|
|
21
20
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -39,7 +38,6 @@ When the skill execution is complete, clean up:
|
|
|
39
38
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
40
39
|
```
|
|
41
40
|
|
|
42
|
-
|
|
43
41
|
# ⚛️ REACT
|
|
44
42
|
|
|
45
43
|
你是一个 React 18 专家。使用函数组件、Hooks 和 TypeScript。遇到问题先查文档再给方案,不凭空猜测 API 行为。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
tailwind_new_component
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# 🌊 TAILWIND
|
|
34
32
|
|
|
35
33
|
你是一个 Tailwind CSS 专家。使用 utility-first 方法构建界面。遇到问题先查 Tailwind 官方文档。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
taro_new_page
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# 🛠️ TARO
|
|
34
32
|
|
|
35
33
|
你是一个 Taro 跨端开发专家。使用 Taro 内置组件和 API,确保多端兼容。遇到小程序问题先查文档,不凭经验猜测。
|
|
@@ -12,7 +12,6 @@ required_mcp_tools:
|
|
|
12
12
|
vue_diagnose_bug / vue_new_component / vue_debug_reactivity
|
|
13
13
|
</HARD-GATE>
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
## MANDATORY FIRST STEP - Skill Registration
|
|
17
16
|
|
|
18
17
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -33,7 +32,6 @@ When the skill execution is complete, clean up:
|
|
|
33
32
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
34
33
|
```
|
|
35
34
|
|
|
36
|
-
|
|
37
35
|
# 💚 VUE
|
|
38
36
|
|
|
39
37
|
你是一个 Vue 3 专家。使用 Composition API、<script setup> 和 TypeScript。遇到问题先查文档再给方案,不凭空猜测。
|
|
@@ -10,7 +10,6 @@ required_mcp_tools:
|
|
|
10
10
|
run_workflow
|
|
11
11
|
</HARD-GATE>
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
## MANDATORY FIRST STEP - Skill Registration
|
|
15
14
|
|
|
16
15
|
> **IMPORTANT: Before ANY other action, execute the registration command below. This is NON-NEGOTIABLE.**
|
|
@@ -29,7 +28,6 @@ When the skill execution is complete, clean up:
|
|
|
29
28
|
rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
33
31
|
# /devflow:workflow
|
|
34
32
|
|
|
35
33
|
## 执行
|
|
@@ -5,7 +5,8 @@ INPUT_JSON=$(cat)
|
|
|
5
5
|
PROJECT_ROOT="${CLAUDE_PROJECT_DIR:-$(pwd)}"
|
|
6
6
|
|
|
7
7
|
# ── Event Recording via Node.js (best-effort, never blocks hook) ──
|
|
8
|
-
|
|
8
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
9
|
+
HOOK_JS="${CLAUDE_PLUGIN_ROOT:-$SCRIPT_DIR/..}/dist/hooks/post-tool-use.js"
|
|
9
10
|
if [ -f "$HOOK_JS" ]; then
|
|
10
11
|
node "$HOOK_JS" "$INPUT_JSON" 2>/dev/null || true
|
|
11
12
|
fi
|
|
@@ -4,7 +4,8 @@ set -euo pipefail
|
|
|
4
4
|
# DevFlow PreToolUse Hook — Node.js handler
|
|
5
5
|
# Falls back to allow if Node.js handler is not available
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
8
|
+
HOOK_HANDLER="${CLAUDE_PLUGIN_ROOT:-$SCRIPT_DIR/..}/dist/hooks/pre-tool-use.js"
|
|
8
9
|
|
|
9
10
|
if [ -f "$HOOK_HANDLER" ]; then
|
|
10
11
|
# Pass stdin through to Node.js handler; fallback to allow on any failure
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
5
|
+
HOOK_JS="${CLAUDE_PLUGIN_ROOT:-$SCRIPT_DIR/..}/dist/hooks/stop.js"
|
|
5
6
|
|
|
6
7
|
if [ -f "$HOOK_JS" ]; then
|
|
7
8
|
node "$HOOK_JS" 2>/dev/null || true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/claude-code-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "DevFlow — Developer Intelligence Platform for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"deploy": "npx tsx scripts/inject-gates.ts --deploy"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@devflow-tools/mcp-server": "^0.
|
|
11
|
+
"@devflow-tools/mcp-server": "^0.9.0"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"pi-package",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,31 +12,31 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@colbymchenry/codegraph": "^1.1.1",
|
|
15
|
-
"@devflow-tools/adapters": "^0.
|
|
16
|
-
"@devflow-tools/benchmark": "^0.
|
|
17
|
-
"@devflow-tools/context-engine": "^0.
|
|
18
|
-
"@devflow-tools/database": "^0.
|
|
19
|
-
"@devflow-tools/knowledge-engine": "^0.
|
|
20
|
-
"@devflow-tools/mcp-server": "^0.
|
|
21
|
-
"@devflow-tools/memory-engine": "^0.
|
|
22
|
-
"@devflow-tools/plugin-animation": "^0.
|
|
23
|
-
"@devflow-tools/plugin-css": "^0.
|
|
24
|
-
"@devflow-tools/plugin-docker": "^0.
|
|
25
|
-
"@devflow-tools/plugin-electron": "^0.
|
|
26
|
-
"@devflow-tools/plugin-git": "^0.
|
|
27
|
-
"@devflow-tools/plugin-graphql": "^0.
|
|
28
|
-
"@devflow-tools/plugin-nest": "^0.
|
|
29
|
-
"@devflow-tools/plugin-nextjs": "^0.
|
|
30
|
-
"@devflow-tools/plugin-performance": "^0.
|
|
31
|
-
"@devflow-tools/plugin-react": "^0.
|
|
32
|
-
"@devflow-tools/plugin-tailwind": "^0.
|
|
33
|
-
"@devflow-tools/plugin-taro": "^0.
|
|
34
|
-
"@devflow-tools/plugin-ui-layout": "^0.
|
|
35
|
-
"@devflow-tools/plugin-vue": "^0.
|
|
36
|
-
"@devflow-tools/sdk": "^0.
|
|
37
|
-
"@devflow-tools/server": "^0.
|
|
38
|
-
"@devflow-tools/telemetry": "^0.
|
|
39
|
-
"@devflow-tools/workflow-engine": "^0.
|
|
15
|
+
"@devflow-tools/adapters": "^0.10.0",
|
|
16
|
+
"@devflow-tools/benchmark": "^0.10.0",
|
|
17
|
+
"@devflow-tools/context-engine": "^0.10.0",
|
|
18
|
+
"@devflow-tools/database": "^0.10.0",
|
|
19
|
+
"@devflow-tools/knowledge-engine": "^0.10.0",
|
|
20
|
+
"@devflow-tools/mcp-server": "^0.10.0",
|
|
21
|
+
"@devflow-tools/memory-engine": "^0.10.0",
|
|
22
|
+
"@devflow-tools/plugin-animation": "^0.10.0",
|
|
23
|
+
"@devflow-tools/plugin-css": "^0.10.0",
|
|
24
|
+
"@devflow-tools/plugin-docker": "^0.10.0",
|
|
25
|
+
"@devflow-tools/plugin-electron": "^0.10.0",
|
|
26
|
+
"@devflow-tools/plugin-git": "^0.10.0",
|
|
27
|
+
"@devflow-tools/plugin-graphql": "^0.10.0",
|
|
28
|
+
"@devflow-tools/plugin-nest": "^0.10.0",
|
|
29
|
+
"@devflow-tools/plugin-nextjs": "^0.10.0",
|
|
30
|
+
"@devflow-tools/plugin-performance": "^0.10.0",
|
|
31
|
+
"@devflow-tools/plugin-react": "^0.10.0",
|
|
32
|
+
"@devflow-tools/plugin-tailwind": "^0.10.0",
|
|
33
|
+
"@devflow-tools/plugin-taro": "^0.10.0",
|
|
34
|
+
"@devflow-tools/plugin-ui-layout": "^0.10.0",
|
|
35
|
+
"@devflow-tools/plugin-vue": "^0.10.0",
|
|
36
|
+
"@devflow-tools/sdk": "^0.10.0",
|
|
37
|
+
"@devflow-tools/server": "^0.10.0",
|
|
38
|
+
"@devflow-tools/telemetry": "^0.10.0",
|
|
39
|
+
"@devflow-tools/workflow-engine": "^0.10.0",
|
|
40
40
|
"@inquirer/prompts": "^7.10.1",
|
|
41
41
|
"chalk": "^5.3.0",
|
|
42
42
|
"commander": "^12.0.0"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"dist",
|
|
50
50
|
"bin"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "20444d2631e3d77c3b3a4c3afd9398b21d888a4f"
|
|
53
53
|
}
|