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.
- package/.claude/commands/sparc/analyzer.md +24 -77
- package/.claude/commands/sparc/architect.md +25 -76
- package/.claude/commands/sparc/batch-executor.md +28 -78
- package/.claude/commands/sparc/coder.md +28 -79
- package/.claude/commands/sparc/debugger.md +26 -76
- package/.claude/commands/sparc/designer.md +25 -75
- package/.claude/commands/sparc/documenter.md +26 -75
- package/.claude/commands/sparc/innovator.md +26 -76
- package/.claude/commands/sparc/memory-manager.md +28 -77
- package/.claude/commands/sparc/optimizer.md +26 -76
- package/.claude/commands/sparc/orchestrator.md +23 -74
- package/.claude/commands/sparc/researcher.md +26 -77
- package/.claude/commands/sparc/reviewer.md +26 -76
- package/.claude/commands/sparc/sparc-modes.md +38 -358
- package/.claude/commands/sparc/swarm-coordinator.md +28 -77
- package/.claude/commands/sparc/tdd.md +28 -78
- package/.claude/commands/sparc/tester.md +26 -76
- package/.claude/commands/sparc/workflow-manager.md +28 -77
- package/.claude/commands/swarm/analysis.md +14 -17
- package/.claude/commands/swarm/development.md +14 -16
- package/.claude/commands/swarm/examples.md +20 -53
- package/.claude/commands/swarm/maintenance.md +14 -17
- package/.claude/commands/swarm/optimization.md +15 -17
- package/.claude/commands/swarm/research.md +14 -17
- package/.claude/commands/swarm/testing.md +15 -17
- package/.claude/config.json +32 -11
- package/CHANGELOG.md +55 -0
- package/bin/claude-flow +1 -1
- package/dist/cli/command-registry.d.ts.map +1 -1
- package/dist/cli/command-registry.js +48 -14
- package/dist/cli/command-registry.js.map +1 -1
- package/dist/cli/commands/help-new.d.ts +7 -0
- package/dist/cli/commands/help-new.d.ts.map +1 -0
- package/dist/cli/commands/help-new.js +236 -0
- package/dist/cli/commands/help-new.js.map +1 -0
- package/dist/cli/commands/help.d.ts +2 -1
- package/dist/cli/commands/help.d.ts.map +1 -1
- package/dist/cli/commands/help.js +202 -49
- package/dist/cli/commands/help.js.map +1 -1
- package/dist/cli/help-formatter.d.ts +49 -0
- package/dist/cli/help-formatter.d.ts.map +1 -0
- package/dist/cli/help-formatter.js +114 -0
- package/dist/cli/help-formatter.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind.d.ts.map +1 -1
- package/dist/cli/simple-commands/hive-mind.js +13 -10
- package/dist/cli/simple-commands/hive-mind.js.map +1 -1
- package/dist/cli/simple-commands/swarm.d.ts +1 -1
- package/dist/cli/simple-commands/swarm.d.ts.map +1 -1
- package/dist/cli/simple-commands/swarm.js +3 -9
- package/dist/cli/simple-commands/swarm.js.map +1 -1
- package/dist/cli/validation-helper.d.ts +27 -0
- package/dist/cli/validation-helper.d.ts.map +1 -0
- package/dist/cli/validation-helper.js +72 -0
- package/dist/cli/validation-helper.js.map +1 -0
- package/dist/integration/system-integration.d.ts.map +1 -1
- package/dist/integration/system-integration.js +18 -3
- package/dist/integration/system-integration.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/command-registry.js +57 -14
- package/src/cli/commands/help-new.ts +244 -0
- package/src/cli/commands/help.ts +210 -70
- package/src/cli/help-formatter.js +155 -0
- package/src/cli/help-formatter.ts +183 -0
- package/src/cli/help-text.js +262 -4
- package/src/cli/simple-cli.js +20 -10
- package/src/cli/simple-commands/hive-mind.js +5 -4
- package/src/cli/validation-helper.js +118 -0
- package/src/cli/validation-helper.ts +141 -0
- package/src/integration/system-integration.ts +26 -3
- package/src/mcp/mcp-server.js +134 -60
|
@@ -1,79 +1,26 @@
|
|
|
1
1
|
# SPARC Analyzer Mode
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
##
|
|
4
|
-
System design
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
Parallel task execution specialist
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
#
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
Autonomous code generation
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
##
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
##
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
##
|
|
4
|
-
UI/UX design
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
##
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|