@devflow-tools/plugin-react 0.3.2 → 0.5.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/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @devflow-tools/plugin-react
2
+
3
+ React 18 expert plugin for DevFlow — bug diagnosis, component refactoring, performance auditing, and hooks review.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @devflow-tools/plugin-react
9
+ ```
10
+
11
+ ## Workflows
12
+
13
+ | Workflow | Description |
14
+ |----------|-------------|
15
+ | `react:diagnose-bug` | Diagnose React bugs from error to fix |
16
+ | `react:new-feature` | Build new React features with tests |
17
+ | `react:audit-performance` | Audit rendering performance + optimize |
18
+ | `react:review-hooks` | Review hooks for rule violations + auto-fix |
19
+ | `react:refactor-component` | Refactor complex components safely |
20
+ | `react:new-component` | Create typed React components with tests |
21
+
22
+ ## Usage with DevFlow CLI
23
+
24
+ ```bash
25
+ devflow init
26
+ # Then in Claude Code:
27
+ # /devflow:react 分析项目中违反 react 最佳实践的地方
28
+ ```
29
+
30
+ ## License
31
+
32
+ MIT
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,eAAO,MAAM,WAAW,EAAE,aAivBzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,eAAO,MAAM,WAAW,EAAE,aAqqDzB,CAAC"}