@devflow-tools/plugin-react 0.17.4 → 0.17.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 (2) hide show
  1. package/README.md +61 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,13 +1,23 @@
1
1
  # @devflow-tools/plugin-react
2
2
 
3
- React 18 专家插件 — Bug 诊断、组件重构、性能审计、Hooks 审查、新功能开发。
3
+ > React 18 专家插件 — Bug 诊断、组件重构、性能审计、Hooks 审查、新功能开发。(v0.17.6)
4
4
 
5
- ## Installation
5
+ ## 安装
6
6
 
7
7
  ```bash
8
8
  npm install @devflow-tools/plugin-react
9
9
  ```
10
10
 
11
+ ## 使用
12
+
13
+ 插件通过 DevFlow/Claude Code 使用:
14
+
15
+ ```text
16
+ /devflow:react <你的任务>
17
+ ```
18
+
19
+ ## 能力与知识源
20
+
11
21
  ## MCP Tools
12
22
 
13
23
  | Tool | 说明 | 关键参数 |
@@ -34,14 +44,57 @@ npm install @devflow-tools/plugin-react
34
44
  - Props 使用解构 + 默认值模式
35
45
  - 复杂条件渲染使用 useMemo/useCallback
36
46
 
37
- ## Usage
38
47
 
39
- ```bash
40
- # 在 Claude Code 中使用
41
- /devflow:react 分析项目中违反最佳实践的地方
42
- ```
48
+ ## 兼容性
49
+
50
+ 需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
51
+
52
+ ## 相关链接
53
+
54
+ - [仓库](https://github.com/shilongfeicool/dev-flow)
55
+ - [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
56
+
57
+ ## License
58
+
59
+ MIT
60
+
61
+
62
+ ## 兼容性
63
+
64
+ 需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
65
+
66
+ ## 相关链接
67
+
68
+ - [仓库](https://github.com/shilongfeicool/dev-flow)
69
+ - [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
70
+
71
+ ## License
72
+
73
+ MIT
74
+
75
+
76
+ ## 兼容性
77
+
78
+ 需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
79
+
80
+ ## 相关链接
81
+
82
+ - [仓库](https://github.com/shilongfeicool/dev-flow)
83
+ - [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
84
+
85
+ ## License
86
+
87
+ MIT
88
+
89
+
90
+ ## 兼容性
91
+
92
+ 需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
93
+
94
+ ## 相关链接
43
95
 
44
- Claude Code 会自动加载插件并通过 MCP 调用对应 tool。
96
+ - [仓库](https://github.com/shilongfeicool/dev-flow)
97
+ - [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
45
98
 
46
99
  ## License
47
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/plugin-react",
3
- "version": "0.17.4",
3
+ "version": "0.17.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "clean": "rm -rf dist"
18
18
  },
19
19
  "dependencies": {
20
- "@devflow-tools/sdk": "0.17.4"
20
+ "@devflow-tools/sdk": "0.17.6"
21
21
  },
22
22
  "devDependencies": {
23
23
  "typescript": "^5.5.0",
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "b880054f9cef4ed62b4d02544257c9f5cbd811bc"
29
+ "gitHead": "669fea3aa72aa3fde14ed50d24c1fec4dfac088f"
30
30
  }