claude-flow 2.0.0-alpha.60 → 2.0.0-alpha.61

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 (70) hide show
  1. package/.claude/commands/sparc/analyzer.md +24 -77
  2. package/.claude/commands/sparc/architect.md +25 -76
  3. package/.claude/commands/sparc/batch-executor.md +28 -78
  4. package/.claude/commands/sparc/coder.md +28 -79
  5. package/.claude/commands/sparc/debugger.md +26 -76
  6. package/.claude/commands/sparc/designer.md +25 -75
  7. package/.claude/commands/sparc/documenter.md +26 -75
  8. package/.claude/commands/sparc/innovator.md +26 -76
  9. package/.claude/commands/sparc/memory-manager.md +28 -77
  10. package/.claude/commands/sparc/optimizer.md +26 -76
  11. package/.claude/commands/sparc/orchestrator.md +23 -74
  12. package/.claude/commands/sparc/researcher.md +26 -77
  13. package/.claude/commands/sparc/reviewer.md +26 -76
  14. package/.claude/commands/sparc/sparc-modes.md +38 -358
  15. package/.claude/commands/sparc/swarm-coordinator.md +28 -77
  16. package/.claude/commands/sparc/tdd.md +28 -78
  17. package/.claude/commands/sparc/tester.md +26 -76
  18. package/.claude/commands/sparc/workflow-manager.md +28 -77
  19. package/.claude/commands/swarm/analysis.md +14 -17
  20. package/.claude/commands/swarm/development.md +14 -16
  21. package/.claude/commands/swarm/examples.md +20 -53
  22. package/.claude/commands/swarm/maintenance.md +14 -17
  23. package/.claude/commands/swarm/optimization.md +15 -17
  24. package/.claude/commands/swarm/research.md +14 -17
  25. package/.claude/commands/swarm/testing.md +15 -17
  26. package/.claude/config.json +32 -11
  27. package/CHANGELOG.md +55 -0
  28. package/bin/claude-flow +1 -1
  29. package/dist/cli/command-registry.d.ts.map +1 -1
  30. package/dist/cli/command-registry.js +48 -14
  31. package/dist/cli/command-registry.js.map +1 -1
  32. package/dist/cli/commands/help-new.d.ts +7 -0
  33. package/dist/cli/commands/help-new.d.ts.map +1 -0
  34. package/dist/cli/commands/help-new.js +236 -0
  35. package/dist/cli/commands/help-new.js.map +1 -0
  36. package/dist/cli/commands/help.d.ts +2 -1
  37. package/dist/cli/commands/help.d.ts.map +1 -1
  38. package/dist/cli/commands/help.js +202 -49
  39. package/dist/cli/commands/help.js.map +1 -1
  40. package/dist/cli/help-formatter.d.ts +49 -0
  41. package/dist/cli/help-formatter.d.ts.map +1 -0
  42. package/dist/cli/help-formatter.js +114 -0
  43. package/dist/cli/help-formatter.js.map +1 -0
  44. package/dist/cli/simple-commands/hive-mind.d.ts.map +1 -1
  45. package/dist/cli/simple-commands/hive-mind.js +13 -10
  46. package/dist/cli/simple-commands/hive-mind.js.map +1 -1
  47. package/dist/cli/simple-commands/swarm.d.ts +1 -1
  48. package/dist/cli/simple-commands/swarm.d.ts.map +1 -1
  49. package/dist/cli/simple-commands/swarm.js +3 -9
  50. package/dist/cli/simple-commands/swarm.js.map +1 -1
  51. package/dist/cli/validation-helper.d.ts +27 -0
  52. package/dist/cli/validation-helper.d.ts.map +1 -0
  53. package/dist/cli/validation-helper.js +72 -0
  54. package/dist/cli/validation-helper.js.map +1 -0
  55. package/dist/integration/system-integration.d.ts.map +1 -1
  56. package/dist/integration/system-integration.js +18 -3
  57. package/dist/integration/system-integration.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/cli/command-registry.js +57 -14
  60. package/src/cli/commands/help-new.ts +244 -0
  61. package/src/cli/commands/help.ts +210 -70
  62. package/src/cli/help-formatter.js +155 -0
  63. package/src/cli/help-formatter.ts +183 -0
  64. package/src/cli/help-text.js +262 -4
  65. package/src/cli/simple-cli.js +20 -10
  66. package/src/cli/simple-commands/hive-mind.js +5 -4
  67. package/src/cli/validation-helper.js +118 -0
  68. package/src/cli/validation-helper.ts +141 -0
  69. package/src/integration/system-integration.ts +26 -3
  70. package/src/mcp/mcp-server.js +134 -60
@@ -1,79 +1,26 @@
1
1
  # SPARC Analyzer Mode
2
2
 
3
- ## Description
4
- Code and data analysis specialist
5
-
6
- ## Command Prompt
7
- SPARC: analyzer\nYou are an analysis specialist using batch operations for efficient data processing and Memory for insight coordination.
8
-
9
- ## Available Tools
10
- - **Read**: File reading operations
11
- - **Grep**: Content searching
12
- - **Bash**: Command line execution
13
- - **Write**: File writing operations
14
- - **Memory**: Persistent data storage and retrieval
15
- - **TodoWrite**: Task creation and coordination
16
- - **Task**: Agent spawning and management
17
-
18
- ## Configuration
19
- - **Batch Optimized**: Yes
20
- - **Coordination Mode**: Standard
21
- - **Max Parallel Tasks**: Unlimited
22
-
23
- ## Usage Examples
24
-
25
- ### Basic Usage
26
- ```bash
27
- ./claude-flow sparc analyzer "Your task description here"
28
- ```
29
-
30
- ### Advanced Usage with Coordination
31
- ```javascript
32
- // Use TodoWrite for task coordination
33
- TodoWrite([
34
- {
35
- id: "analyzer_task",
36
- content: "Execute analyzer task with batch optimization",
37
- status: "pending",
38
- priority: "high",
39
- mode: "analyzer",
40
- batchOptimized: true,
41
-
42
-
43
- tools: ["Read","Grep","Bash","Write","Memory","TodoWrite","Task"]
44
- }
45
- ]);
46
-
47
- // Launch specialized agent
48
- Task("Analyzer Agent", "Execute specialized analyzer task", {
49
- mode: "analyzer",
50
- batchOptimized: true,
51
-
52
- memoryIntegration: true
53
- });
54
- ```
55
-
56
- ## Best Practices
57
- - Use batch operations when working with multiple files
58
- - Store intermediate results in Memory for coordination
59
- - Enable parallel execution for independent tasks
60
- - Monitor resource usage during intensive operations
61
-
62
-
63
- ## Integration
64
- This mode integrates with:
65
- - Memory system for state persistence
66
- - TodoWrite/TodoRead for task coordination
67
- - Task tool for agent spawning
68
- - Batch file operations for efficiency
69
- - Real-time monitoring and metrics
70
-
71
- ## Troubleshooting
72
- - Ensure proper tool permissions are set
73
- - Check Memory keys for coordination data
74
- - Monitor resource usage during batch operations
75
- - Validate input parameters and constraints
76
- - Use verbose logging for debugging
77
-
78
- ---
79
- Generated by Claude-Flow SPARC Integration System
3
+ ## Purpose
4
+ Deep code and data analysis with batch processing capabilities.
5
+
6
+ ## Activation
7
+ `./claude-flow sparc run analyzer "analyze codebase performance"`
8
+
9
+ ## Core Capabilities
10
+ - Code analysis with parallel file processing
11
+ - Data pattern recognition
12
+ - Performance profiling
13
+ - Memory usage analysis
14
+ - Dependency mapping
15
+
16
+ ## Batch Operations
17
+ - Parallel file analysis using concurrent Read operations
18
+ - Batch pattern matching with Grep tool
19
+ - Simultaneous metric collection
20
+ - Aggregated reporting
21
+
22
+ ## Output Format
23
+ - Detailed analysis reports
24
+ - Performance metrics
25
+ - Improvement recommendations
26
+ - Visualizations when applicable
@@ -1,78 +1,27 @@
1
1
  # SPARC Architect Mode
2
2
 
3
- ## Description
4
- System design and architecture planning
5
-
6
- ## Command Prompt
7
- SPARC: architect\nYou are a software architect focused on designing scalable, maintainable system architectures using Memory for design coordination.
8
-
9
- ## Available Tools
10
- - **Read**: File reading operations
11
- - **Write**: File writing operations
12
- - **Glob**: File pattern matching
13
- - **Memory**: Persistent data storage and retrieval
14
- - **TodoWrite**: Task creation and coordination
15
- - **Task**: Agent spawning and management
16
-
17
- ## Configuration
18
- - **Batch Optimized**: Yes
19
- - **Coordination Mode**: Standard
20
- - **Max Parallel Tasks**: Unlimited
21
-
22
- ## Usage Examples
23
-
24
- ### Basic Usage
25
- ```bash
26
- ./claude-flow sparc architect "Your task description here"
27
- ```
28
-
29
- ### Advanced Usage with Coordination
30
- ```javascript
31
- // Use TodoWrite for task coordination
32
- TodoWrite([
33
- {
34
- id: "architect_task",
35
- content: "Execute architect task with batch optimization",
36
- status: "pending",
37
- priority: "high",
38
- mode: "architect",
39
- batchOptimized: true,
40
-
41
-
42
- tools: ["Read","Write","Glob","Memory","TodoWrite","Task"]
43
- }
44
- ]);
45
-
46
- // Launch specialized agent
47
- Task("Architect Agent", "Execute specialized architect task", {
48
- mode: "architect",
49
- batchOptimized: true,
50
-
51
- memoryIntegration: true
52
- });
53
- ```
54
-
55
- ## Best Practices
56
- - Use batch operations when working with multiple files
57
- - Store intermediate results in Memory for coordination
58
- - Enable parallel execution for independent tasks
59
- - Monitor resource usage during intensive operations
60
-
61
-
62
- ## Integration
63
- This mode integrates with:
64
- - Memory system for state persistence
65
- - TodoWrite/TodoRead for task coordination
66
- - Task tool for agent spawning
67
- - Batch file operations for efficiency
68
- - Real-time monitoring and metrics
69
-
70
- ## Troubleshooting
71
- - Ensure proper tool permissions are set
72
- - Check Memory keys for coordination data
73
- - Monitor resource usage during batch operations
74
- - Validate input parameters and constraints
75
- - Use verbose logging for debugging
76
-
77
- ---
78
- Generated by Claude-Flow SPARC Integration System
3
+ ## Purpose
4
+ System design with Memory-based coordination for scalable architectures.
5
+
6
+ ## Activation
7
+ `./claude-flow sparc run architect "design microservices architecture"`
8
+
9
+ ## Core Capabilities
10
+ - System architecture design
11
+ - Component interface definition
12
+ - Database schema design
13
+ - API contract specification
14
+ - Infrastructure planning
15
+
16
+ ## Memory Integration
17
+ - Store architecture decisions in Memory
18
+ - Share component specifications across agents
19
+ - Maintain design consistency
20
+ - Track architectural evolution
21
+
22
+ ## Design Patterns
23
+ - Microservices
24
+ - Event-driven architecture
25
+ - Domain-driven design
26
+ - Hexagonal architecture
27
+ - CQRS and Event Sourcing
@@ -1,78 +1,28 @@
1
- # SPARC Batch executor Mode
2
-
3
- ## Description
4
- Parallel task execution specialist
5
-
6
- ## Command Prompt
7
- SPARC: batch-executor\nYou excel at executing multiple tasks in parallel using batch tool operations and Task coordination for maximum efficiency.
8
-
9
- ## Available Tools
10
- - **Task**: Agent spawning and management
11
- - **Bash**: Command line execution
12
- - **Read**: File reading operations
13
- - **Write**: File writing operations
14
- - **TodoWrite**: Task creation and coordination
15
- - **Memory**: Persistent data storage and retrieval
16
-
17
- ## Configuration
18
- - **Batch Optimized**: Yes
19
- - **Coordination Mode**: Standard
20
- - **Max Parallel Tasks**: Unlimited
21
-
22
- ## Usage Examples
23
-
24
- ### Basic Usage
25
- ```bash
26
- ./claude-flow sparc batch-executor "Your task description here"
27
- ```
28
-
29
- ### Advanced Usage with Coordination
30
- ```javascript
31
- // Use TodoWrite for task coordination
32
- TodoWrite([
33
- {
34
- id: "batch-executor_task",
35
- content: "Execute batch-executor task with batch optimization",
36
- status: "pending",
37
- priority: "high",
38
- mode: "batch-executor",
39
- batchOptimized: true,
40
-
41
-
42
- tools: ["Task","Bash","Read","Write","TodoWrite","Memory"]
43
- }
44
- ]);
45
-
46
- // Launch specialized agent
47
- Task("Batch executor Agent", "Execute specialized batch-executor task", {
48
- mode: "batch-executor",
49
- batchOptimized: true,
50
-
51
- memoryIntegration: true
52
- });
53
- ```
54
-
55
- ## Best Practices
56
- - Use batch operations when working with multiple files
57
- - Store intermediate results in Memory for coordination
58
- - Enable parallel execution for independent tasks
59
- - Monitor resource usage during intensive operations
60
-
61
-
62
- ## Integration
63
- This mode integrates with:
64
- - Memory system for state persistence
65
- - TodoWrite/TodoRead for task coordination
66
- - Task tool for agent spawning
67
- - Batch file operations for efficiency
68
- - Real-time monitoring and metrics
69
-
70
- ## Troubleshooting
71
- - Ensure proper tool permissions are set
72
- - Check Memory keys for coordination data
73
- - Monitor resource usage during batch operations
74
- - Validate input parameters and constraints
75
- - Use verbose logging for debugging
76
-
77
- ---
78
- Generated by Claude-Flow SPARC Integration System
1
+ # SPARC Batch Executor Mode
2
+
3
+ ## Purpose
4
+ Parallel task execution specialist using batch operations.
5
+
6
+ ## Activation
7
+ `./claude-flow sparc run batch-executor "process multiple files"`
8
+
9
+ ## Core Capabilities
10
+ - Parallel file operations
11
+ - Concurrent task execution
12
+ - Resource optimization
13
+ - Load balancing
14
+ - Progress tracking
15
+
16
+ ## Execution Patterns
17
+ - Parallel Read/Write operations
18
+ - Concurrent Edit operations
19
+ - Batch file transformations
20
+ - Distributed processing
21
+ - Pipeline orchestration
22
+
23
+ ## Performance Features
24
+ - Dynamic resource allocation
25
+ - Automatic load balancing
26
+ - Progress monitoring
27
+ - Error recovery
28
+ - Result aggregation
@@ -1,79 +1,28 @@
1
- # 🔥 SPARC Coder Mode
2
-
3
- ## Description
4
- Autonomous code generation and implementation
5
-
6
- ## Command Prompt
7
- SPARC: coder\nYou are an expert programmer focused on writing clean, efficient, and well-documented code using batch file operations.
8
-
9
- ## Available Tools
10
- - **Read**: File reading operations
11
- - **Write**: File writing operations
12
- - **Edit**: File editing and modification
13
- - **Bash**: Command line execution
14
- - **Glob**: File pattern matching
15
- - **Grep**: Content searching
16
- - **TodoWrite**: Task creation and coordination
17
-
18
- ## Configuration
19
- - **Batch Optimized**: Yes
20
- - **Coordination Mode**: Standard
21
- - **Max Parallel Tasks**: Unlimited
22
-
23
- ## Usage Examples
24
-
25
- ### Basic Usage
26
- ```bash
27
- ./claude-flow sparc coder "Your task description here"
28
- ```
29
-
30
- ### Advanced Usage with Coordination
31
- ```javascript
32
- // Use TodoWrite for task coordination
33
- TodoWrite([
34
- {
35
- id: "coder_task",
36
- content: "Execute coder task with batch optimization",
37
- status: "pending",
38
- priority: "high",
39
- mode: "coder",
40
- batchOptimized: true,
41
-
42
-
43
- tools: ["Read","Write","Edit","Bash","Glob","Grep","TodoWrite"]
44
- }
45
- ]);
46
-
47
- // Launch specialized agent
48
- Task("Coder Agent", "Execute specialized coder task", {
49
- mode: "coder",
50
- batchOptimized: true,
51
-
52
- memoryIntegration: true
53
- });
54
- ```
55
-
56
- ## Best Practices
57
- - Use batch operations when working with multiple files
58
- - Store intermediate results in Memory for coordination
59
- - Enable parallel execution for independent tasks
60
- - Monitor resource usage during intensive operations
61
-
62
-
63
- ## Integration
64
- This mode integrates with:
65
- - Memory system for state persistence
66
- - TodoWrite/TodoRead for task coordination
67
- - Task tool for agent spawning
68
- - Batch file operations for efficiency
69
- - Real-time monitoring and metrics
70
-
71
- ## Troubleshooting
72
- - Ensure proper tool permissions are set
73
- - Check Memory keys for coordination data
74
- - Monitor resource usage during batch operations
75
- - Validate input parameters and constraints
76
- - Use verbose logging for debugging
77
-
78
- ---
79
- Generated by Claude-Flow SPARC Integration System
1
+ # SPARC Coder Mode
2
+
3
+ ## Purpose
4
+ Autonomous code generation with batch file operations.
5
+
6
+ ## Activation
7
+ `./claude-flow sparc run coder "implement user authentication"`
8
+
9
+ ## Core Capabilities
10
+ - Feature implementation
11
+ - Code refactoring
12
+ - Bug fixes
13
+ - API development
14
+ - Algorithm implementation
15
+
16
+ ## Batch Operations
17
+ - Parallel file creation
18
+ - Concurrent code modifications
19
+ - Batch import updates
20
+ - Test file generation
21
+ - Documentation updates
22
+
23
+ ## Code Quality
24
+ - ES2022 standards
25
+ - Type safety with TypeScript
26
+ - Comprehensive error handling
27
+ - Performance optimization
28
+ - Security best practices
@@ -1,78 +1,28 @@
1
1
  # SPARC Debugger Mode
2
2
 
3
- ## Description
4
- Debug and fix issues systematically
5
-
6
- ## Command Prompt
7
- SPARC: debugger\nYou are a debugging specialist using TodoWrite for systematic debugging and Memory for tracking issue patterns.
8
-
9
- ## Available Tools
10
- - **Read**: File reading operations
11
- - **Edit**: File editing and modification
12
- - **Bash**: Command line execution
13
- - **Grep**: Content searching
14
- - **TodoWrite**: Task creation and coordination
15
- - **Memory**: Persistent data storage and retrieval
16
-
17
- ## Configuration
18
- - **Batch Optimized**: Yes
19
- - **Coordination Mode**: Standard
20
- - **Max Parallel Tasks**: Unlimited
21
-
22
- ## Usage Examples
23
-
24
- ### Basic Usage
25
- ```bash
26
- ./claude-flow sparc debugger "Your task description here"
27
- ```
28
-
29
- ### Advanced Usage with Coordination
30
- ```javascript
31
- // Use TodoWrite for task coordination
32
- TodoWrite([
33
- {
34
- id: "debugger_task",
35
- content: "Execute debugger task with batch optimization",
36
- status: "pending",
37
- priority: "high",
38
- mode: "debugger",
39
- batchOptimized: true,
40
-
41
-
42
- tools: ["Read","Edit","Bash","Grep","TodoWrite","Memory"]
43
- }
44
- ]);
45
-
46
- // Launch specialized agent
47
- Task("Debugger Agent", "Execute specialized debugger task", {
48
- mode: "debugger",
49
- batchOptimized: true,
50
-
51
- memoryIntegration: true
52
- });
53
- ```
54
-
55
- ## Best Practices
56
- - Use batch operations when working with multiple files
57
- - Store intermediate results in Memory for coordination
58
- - Enable parallel execution for independent tasks
59
- - Monitor resource usage during intensive operations
60
-
61
-
62
- ## Integration
63
- This mode integrates with:
64
- - Memory system for state persistence
65
- - TodoWrite/TodoRead for task coordination
66
- - Task tool for agent spawning
67
- - Batch file operations for efficiency
68
- - Real-time monitoring and metrics
69
-
70
- ## Troubleshooting
71
- - Ensure proper tool permissions are set
72
- - Check Memory keys for coordination data
73
- - Monitor resource usage during batch operations
74
- - Validate input parameters and constraints
75
- - Use verbose logging for debugging
76
-
77
- ---
78
- Generated by Claude-Flow SPARC Integration System
3
+ ## Purpose
4
+ Systematic debugging with TodoWrite and Memory integration.
5
+
6
+ ## Activation
7
+ `./claude-flow sparc run debugger "fix authentication issues"`
8
+
9
+ ## Core Capabilities
10
+ - Issue reproduction
11
+ - Root cause analysis
12
+ - Stack trace analysis
13
+ - Memory leak detection
14
+ - Performance bottleneck identification
15
+
16
+ ## Debugging Workflow
17
+ 1. Create debugging plan with TodoWrite
18
+ 2. Systematic issue investigation
19
+ 3. Store findings in Memory
20
+ 4. Track fix progress
21
+ 5. Verify resolution
22
+
23
+ ## Tools Integration
24
+ - Error log analysis
25
+ - Breakpoint simulation
26
+ - Variable inspection
27
+ - Call stack tracing
28
+ - Memory profiling
@@ -1,77 +1,27 @@
1
1
  # SPARC Designer Mode
2
2
 
3
- ## Description
4
- UI/UX design and user experience
5
-
6
- ## Command Prompt
7
- SPARC: designer\nYou are a UI/UX designer using Memory for design coordination and TodoWrite for design process management.
8
-
9
- ## Available Tools
10
- - **Read**: File reading operations
11
- - **Write**: File writing operations
12
- - **Edit**: File editing and modification
13
- - **Memory**: Persistent data storage and retrieval
14
- - **TodoWrite**: Task creation and coordination
15
-
16
- ## Configuration
17
- - **Batch Optimized**: Yes
18
- - **Coordination Mode**: Standard
19
- - **Max Parallel Tasks**: Unlimited
20
-
21
- ## Usage Examples
22
-
23
- ### Basic Usage
24
- ```bash
25
- ./claude-flow sparc designer "Your task description here"
26
- ```
27
-
28
- ### Advanced Usage with Coordination
29
- ```javascript
30
- // Use TodoWrite for task coordination
31
- TodoWrite([
32
- {
33
- id: "designer_task",
34
- content: "Execute designer task with batch optimization",
35
- status: "pending",
36
- priority: "high",
37
- mode: "designer",
38
- batchOptimized: true,
39
-
40
-
41
- tools: ["Read","Write","Edit","Memory","TodoWrite"]
42
- }
43
- ]);
44
-
45
- // Launch specialized agent
46
- Task("Designer Agent", "Execute specialized designer task", {
47
- mode: "designer",
48
- batchOptimized: true,
49
-
50
- memoryIntegration: true
51
- });
52
- ```
53
-
54
- ## Best Practices
55
- - Use batch operations when working with multiple files
56
- - Store intermediate results in Memory for coordination
57
- - Enable parallel execution for independent tasks
58
- - Monitor resource usage during intensive operations
59
-
60
-
61
- ## Integration
62
- This mode integrates with:
63
- - Memory system for state persistence
64
- - TodoWrite/TodoRead for task coordination
65
- - Task tool for agent spawning
66
- - Batch file operations for efficiency
67
- - Real-time monitoring and metrics
68
-
69
- ## Troubleshooting
70
- - Ensure proper tool permissions are set
71
- - Check Memory keys for coordination data
72
- - Monitor resource usage during batch operations
73
- - Validate input parameters and constraints
74
- - Use verbose logging for debugging
75
-
76
- ---
77
- Generated by Claude-Flow SPARC Integration System
3
+ ## Purpose
4
+ UI/UX design with Memory coordination for consistent experiences.
5
+
6
+ ## Activation
7
+ `./claude-flow sparc run designer "create dashboard UI"`
8
+
9
+ ## Core Capabilities
10
+ - Interface design
11
+ - Component architecture
12
+ - Design system creation
13
+ - Accessibility planning
14
+ - Responsive layouts
15
+
16
+ ## Design Process
17
+ - User research insights
18
+ - Wireframe creation
19
+ - Component design
20
+ - Interaction patterns
21
+ - Design token management
22
+
23
+ ## Memory Coordination
24
+ - Store design decisions
25
+ - Share component specs
26
+ - Maintain consistency
27
+ - Track design evolution