claude-flow-novice 2.10.9 → 2.12.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/.claude/commands/README.md +157 -0
- package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
- package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
- package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/.claude/skills/cfn-changelog-management/SKILL.md +349 -0
- package/.claude/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
- package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
- package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/claude-assets/skills/cfn-changelog-management/SKILL.md +349 -0
- package/claude-assets/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +4 -2
- package/scripts/init-project.js +38 -3
- package/claude-assets/commands/agents/README.md +0 -10
- package/claude-assets/commands/agents/agent-capabilities.md +0 -21
- package/claude-assets/commands/agents/agent-coordination.md +0 -28
- package/claude-assets/commands/agents/agent-spawning.md +0 -28
- package/claude-assets/commands/agents/agent-types.md +0 -26
- package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/claude-assets/commands/analysis/README.md +0 -9
- package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
- package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
- package/claude-assets/commands/analysis/performance-report.md +0 -25
- package/claude-assets/commands/analysis/token-efficiency.md +0 -45
- package/claude-assets/commands/analysis/token-usage.md +0 -25
- package/claude-assets/commands/automation/README.md +0 -9
- package/claude-assets/commands/automation/auto-agent.md +0 -122
- package/claude-assets/commands/automation/self-healing.md +0 -106
- package/claude-assets/commands/automation/session-memory.md +0 -90
- package/claude-assets/commands/automation/smart-agents.md +0 -73
- package/claude-assets/commands/automation/smart-spawn.md +0 -25
- package/claude-assets/commands/automation/workflow-select.md +0 -25
- package/claude-assets/commands/claude-md.js +0 -237
- package/claude-assets/commands/claude-soul.js +0 -28
- package/claude-assets/commands/cli-integration.js +0 -216
- package/claude-assets/commands/coordination/README.md +0 -9
- package/claude-assets/commands/coordination/agent-spawn.md +0 -25
- package/claude-assets/commands/coordination/coordination-system.md +0 -88
- package/claude-assets/commands/coordination/init.md +0 -44
- package/claude-assets/commands/coordination/orchestrate.md +0 -43
- package/claude-assets/commands/coordination/spawn.md +0 -45
- package/claude-assets/commands/coordination/swarm-init.md +0 -85
- package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
- package/claude-assets/commands/github/README.md +0 -11
- package/claude-assets/commands/github/code-review-swarm.md +0 -514
- package/claude-assets/commands/github/code-review.md +0 -25
- package/claude-assets/commands/github/github-modes.md +0 -147
- package/claude-assets/commands/github/github-swarm.md +0 -121
- package/claude-assets/commands/github/issue-tracker.md +0 -292
- package/claude-assets/commands/github/issue-triage.md +0 -25
- package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
- package/claude-assets/commands/github/pr-enhance.md +0 -26
- package/claude-assets/commands/github/pr-manager.md +0 -170
- package/claude-assets/commands/github/project-board-sync.md +0 -471
- package/claude-assets/commands/github/release-manager.md +0 -338
- package/claude-assets/commands/github/release-swarm.md +0 -544
- package/claude-assets/commands/github/repo-analyze.md +0 -25
- package/claude-assets/commands/github/repo-architect.md +0 -367
- package/claude-assets/commands/github/swarm-issue.md +0 -482
- package/claude-assets/commands/github/swarm-pr.md +0 -285
- package/claude-assets/commands/github/sync-coordinator.md +0 -301
- package/claude-assets/commands/github/workflow-automation.md +0 -442
- package/claude-assets/commands/github.js +0 -638
- package/claude-assets/commands/hive-mind/README.md +0 -17
- package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
- package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
- package/claude-assets/commands/hooks/README.md +0 -11
- package/claude-assets/commands/hooks/overview.md +0 -58
- package/claude-assets/commands/hooks/post-edit.md +0 -117
- package/claude-assets/commands/hooks/post-task.md +0 -112
- package/claude-assets/commands/hooks/pre-edit.md +0 -113
- package/claude-assets/commands/hooks/pre-task.md +0 -111
- package/claude-assets/commands/hooks/session-end.md +0 -118
- package/claude-assets/commands/hooks/session-start.md +0 -9
- package/claude-assets/commands/hooks/setup.md +0 -103
- package/claude-assets/commands/hooks.js +0 -651
- package/claude-assets/commands/index.js +0 -119
- package/claude-assets/commands/memory/README.md +0 -9
- package/claude-assets/commands/memory/memory-bank.md +0 -58
- package/claude-assets/commands/memory/memory-persist.md +0 -25
- package/claude-assets/commands/memory/memory-search.md +0 -25
- package/claude-assets/commands/memory/memory-usage.md +0 -25
- package/claude-assets/commands/memory/neural.md +0 -47
- package/claude-assets/commands/memory/usage.md +0 -46
- package/claude-assets/commands/monitoring/README.md +0 -9
- package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
- package/claude-assets/commands/monitoring/agents.md +0 -44
- package/claude-assets/commands/monitoring/real-time-view.md +0 -25
- package/claude-assets/commands/monitoring/status.md +0 -46
- package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
- package/claude-assets/commands/neural.js +0 -572
- package/claude-assets/commands/optimization/README.md +0 -9
- package/claude-assets/commands/optimization/auto-topology.md +0 -62
- package/claude-assets/commands/optimization/cache-manage.md +0 -25
- package/claude-assets/commands/optimization/parallel-execute.md +0 -25
- package/claude-assets/commands/optimization/parallel-execution.md +0 -50
- package/claude-assets/commands/optimization/topology-optimize.md +0 -25
- package/claude-assets/commands/pair/README.md +0 -261
- package/claude-assets/commands/pair/commands.md +0 -546
- package/claude-assets/commands/pair/config.md +0 -510
- package/claude-assets/commands/pair/examples.md +0 -512
- package/claude-assets/commands/pair/modes.md +0 -348
- package/claude-assets/commands/pair/session.md +0 -407
- package/claude-assets/commands/pair/start.md +0 -209
- package/claude-assets/commands/parse-epic.js +0 -180
- package/claude-assets/commands/performance.js +0 -582
- package/claude-assets/commands/register-all-commands.js +0 -320
- package/claude-assets/commands/register-claude-md.js +0 -82
- package/claude-assets/commands/register-claude-soul.js +0 -80
- package/claude-assets/commands/sparc/analyzer.md +0 -52
- package/claude-assets/commands/sparc/architect.md +0 -53
- package/claude-assets/commands/sparc/batch-executor.md +0 -54
- package/claude-assets/commands/sparc/coder.md +0 -54
- package/claude-assets/commands/sparc/debugger.md +0 -54
- package/claude-assets/commands/sparc/designer.md +0 -53
- package/claude-assets/commands/sparc/documenter.md +0 -54
- package/claude-assets/commands/sparc/innovator.md +0 -54
- package/claude-assets/commands/sparc/memory-manager.md +0 -54
- package/claude-assets/commands/sparc/optimizer.md +0 -54
- package/claude-assets/commands/sparc/orchestrator.md +0 -132
- package/claude-assets/commands/sparc/researcher.md +0 -54
- package/claude-assets/commands/sparc/reviewer.md +0 -54
- package/claude-assets/commands/sparc/sparc-modes.md +0 -174
- package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
- package/claude-assets/commands/sparc/tdd.md +0 -54
- package/claude-assets/commands/sparc/tester.md +0 -54
- package/claude-assets/commands/sparc/workflow-manager.md +0 -54
- package/claude-assets/commands/sparc.js +0 -110
- package/claude-assets/commands/stream-chain/pipeline.md +0 -121
- package/claude-assets/commands/stream-chain/run.md +0 -70
- package/claude-assets/commands/swarm/README.md +0 -15
- package/claude-assets/commands/swarm/analysis.md +0 -95
- package/claude-assets/commands/swarm/development.md +0 -96
- package/claude-assets/commands/swarm/examples.md +0 -168
- package/claude-assets/commands/swarm/maintenance.md +0 -102
- package/claude-assets/commands/swarm/optimization.md +0 -117
- package/claude-assets/commands/swarm/research.md +0 -136
- package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
- package/claude-assets/commands/swarm/swarm-background.md +0 -8
- package/claude-assets/commands/swarm/swarm-init.md +0 -19
- package/claude-assets/commands/swarm/swarm-modes.md +0 -8
- package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
- package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
- package/claude-assets/commands/swarm/swarm-status.md +0 -8
- package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
- package/claude-assets/commands/swarm/swarm.md +0 -27
- package/claude-assets/commands/swarm/testing.md +0 -131
- package/claude-assets/commands/swarm.js +0 -423
- package/claude-assets/commands/testing/playwright-e2e.md +0 -288
- package/claude-assets/commands/training/README.md +0 -9
- package/claude-assets/commands/training/model-update.md +0 -25
- package/claude-assets/commands/training/neural-patterns.md +0 -74
- package/claude-assets/commands/training/neural-train.md +0 -25
- package/claude-assets/commands/training/pattern-learn.md +0 -25
- package/claude-assets/commands/training/specialization.md +0 -63
- package/claude-assets/commands/truth/start.md +0 -143
- package/claude-assets/commands/validate-commands.js +0 -223
- package/claude-assets/commands/verify/check.md +0 -50
- package/claude-assets/commands/verify/start.md +0 -128
- package/claude-assets/commands/workflow.js +0 -606
- package/claude-assets/commands/workflows/README.md +0 -9
- package/claude-assets/commands/workflows/development.md +0 -78
- package/claude-assets/commands/workflows/research.md +0 -63
- package/claude-assets/commands/workflows/workflow-create.md +0 -25
- package/claude-assets/commands/workflows/workflow-execute.md +0 -25
- package/claude-assets/commands/workflows/workflow-export.md +0 -25
- package/claude-assets/hooks/post-edit.config.json +0 -23
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
# Analysis Swarm Strategy
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Comprehensive analysis through distributed agent coordination.
|
|
5
|
-
|
|
6
|
-
## Activation
|
|
7
|
-
|
|
8
|
-
### Using MCP Tools
|
|
9
|
-
```javascript
|
|
10
|
-
// Initialize analysis swarm
|
|
11
|
-
mcp__claude-flow__swarm_init({
|
|
12
|
-
"topology": "mesh",
|
|
13
|
-
"maxAgents": 6,
|
|
14
|
-
"strategy": "adaptive"
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Orchestrate analysis task
|
|
18
|
-
mcp__claude-flow__task_orchestrate({
|
|
19
|
-
"task": "analyze system performance",
|
|
20
|
-
"strategy": "parallel",
|
|
21
|
-
"priority": "medium"
|
|
22
|
-
})
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### Using CLI (Fallback)
|
|
26
|
-
`npx claude-flow-novice swarm "analyze system performance" --strategy analysis`
|
|
27
|
-
|
|
28
|
-
## Agent Roles
|
|
29
|
-
|
|
30
|
-
### Agent Spawning with MCP
|
|
31
|
-
```javascript
|
|
32
|
-
// Spawn analysis agents
|
|
33
|
-
mcp__claude-flow__agent_spawn({
|
|
34
|
-
"type": "analyst",
|
|
35
|
-
"name": "Data Collector",
|
|
36
|
-
"capabilities": ["metrics", "logging", "monitoring"]
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
mcp__claude-flow__agent_spawn({
|
|
40
|
-
"type": "analyst",
|
|
41
|
-
"name": "Pattern Analyzer",
|
|
42
|
-
"capabilities": ["pattern-recognition", "anomaly-detection"]
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
mcp__claude-flow__agent_spawn({
|
|
46
|
-
"type": "documenter",
|
|
47
|
-
"name": "Report Generator",
|
|
48
|
-
"capabilities": ["reporting", "visualization"]
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
mcp__claude-flow__agent_spawn({
|
|
52
|
-
"type": "coordinator",
|
|
53
|
-
"name": "Insight Synthesizer",
|
|
54
|
-
"capabilities": ["synthesis", "correlation"]
|
|
55
|
-
})
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Coordination Modes
|
|
59
|
-
- Mesh: For exploratory analysis
|
|
60
|
-
- Pipeline: For sequential processing
|
|
61
|
-
- Hierarchical: For complex systems
|
|
62
|
-
|
|
63
|
-
## Analysis Operations
|
|
64
|
-
```javascript
|
|
65
|
-
// Run performance analysis
|
|
66
|
-
mcp__claude-flow__performance_report({
|
|
67
|
-
"format": "detailed",
|
|
68
|
-
"timeframe": "24h"
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Identify bottlenecks
|
|
72
|
-
mcp__claude-flow__bottleneck_analyze({
|
|
73
|
-
"component": "api",
|
|
74
|
-
"metrics": ["response-time", "throughput"]
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
// Pattern recognition
|
|
78
|
-
mcp__claude-flow__pattern_recognize({
|
|
79
|
-
"data": performanceData,
|
|
80
|
-
"patterns": ["anomaly", "trend", "cycle"]
|
|
81
|
-
})
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## Status Monitoring
|
|
85
|
-
```javascript
|
|
86
|
-
// Monitor analysis progress
|
|
87
|
-
mcp__claude-flow__task_status({
|
|
88
|
-
"taskId": "analysis-task-001"
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
// Get analysis results
|
|
92
|
-
mcp__claude-flow__task_results({
|
|
93
|
-
"taskId": "analysis-task-001"
|
|
94
|
-
})
|
|
95
|
-
```
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
# Development Swarm Strategy
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Coordinated development through specialized agent teams.
|
|
5
|
-
|
|
6
|
-
## Activation
|
|
7
|
-
|
|
8
|
-
### Using MCP Tools
|
|
9
|
-
```javascript
|
|
10
|
-
// Initialize development swarm
|
|
11
|
-
mcp__claude-flow__swarm_init({
|
|
12
|
-
"topology": "hierarchical",
|
|
13
|
-
"maxAgents": 8,
|
|
14
|
-
"strategy": "balanced"
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Orchestrate development task
|
|
18
|
-
mcp__claude-flow__task_orchestrate({
|
|
19
|
-
"task": "build feature X",
|
|
20
|
-
"strategy": "parallel",
|
|
21
|
-
"priority": "high"
|
|
22
|
-
})
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### Using CLI (Fallback)
|
|
26
|
-
`npx claude-flow-novice swarm "build feature X" --strategy development`
|
|
27
|
-
|
|
28
|
-
## Agent Roles
|
|
29
|
-
|
|
30
|
-
### Agent Spawning with MCP
|
|
31
|
-
```javascript
|
|
32
|
-
// Spawn development agents
|
|
33
|
-
mcp__claude-flow__agent_spawn({
|
|
34
|
-
"type": "architect",
|
|
35
|
-
"name": "System Designer",
|
|
36
|
-
"capabilities": ["system-design", "api-design"]
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
mcp__claude-flow__agent_spawn({
|
|
40
|
-
"type": "coder",
|
|
41
|
-
"name": "Frontend Developer",
|
|
42
|
-
"capabilities": ["react", "typescript", "ui"]
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
mcp__claude-flow__agent_spawn({
|
|
46
|
-
"type": "coder",
|
|
47
|
-
"name": "Backend Developer",
|
|
48
|
-
"capabilities": ["nodejs", "api", "database"]
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
mcp__claude-flow__agent_spawn({
|
|
52
|
-
"type": "specialist",
|
|
53
|
-
"name": "Database Expert",
|
|
54
|
-
"capabilities": ["sql", "nosql", "optimization"]
|
|
55
|
-
})
|
|
56
|
-
|
|
57
|
-
mcp__claude-flow__agent_spawn({
|
|
58
|
-
"type": "tester",
|
|
59
|
-
"name": "Integration Tester",
|
|
60
|
-
"capabilities": ["integration", "e2e", "api-testing"]
|
|
61
|
-
})
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Best Practices
|
|
65
|
-
- Use hierarchical mode for large projects
|
|
66
|
-
- Enable parallel execution
|
|
67
|
-
- Implement continuous testing
|
|
68
|
-
- Monitor swarm health regularly
|
|
69
|
-
|
|
70
|
-
## Status Monitoring
|
|
71
|
-
```javascript
|
|
72
|
-
// Check swarm status
|
|
73
|
-
mcp__claude-flow__swarm_status({
|
|
74
|
-
"swarmId": "development-swarm"
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
// Monitor agent performance
|
|
78
|
-
mcp__claude-flow__agent_metrics({
|
|
79
|
-
"agentId": "architect-001"
|
|
80
|
-
})
|
|
81
|
-
|
|
82
|
-
// Real-time monitoring
|
|
83
|
-
mcp__claude-flow__swarm_monitor({
|
|
84
|
-
"swarmId": "development-swarm",
|
|
85
|
-
"interval": 5000
|
|
86
|
-
})
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Error Handling
|
|
90
|
-
```javascript
|
|
91
|
-
// Enable fault tolerance
|
|
92
|
-
mcp__claude-flow__daa_fault_tolerance({
|
|
93
|
-
"agentId": "all",
|
|
94
|
-
"strategy": "auto-recovery"
|
|
95
|
-
})
|
|
96
|
-
```
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
# Examples Swarm Strategy
|
|
2
|
-
|
|
3
|
-
## Common Swarm Patterns
|
|
4
|
-
|
|
5
|
-
### Research Swarm
|
|
6
|
-
|
|
7
|
-
#### Using MCP Tools
|
|
8
|
-
```javascript
|
|
9
|
-
// Initialize research swarm
|
|
10
|
-
mcp__claude-flow__swarm_init({
|
|
11
|
-
"topology": "mesh",
|
|
12
|
-
"maxAgents": 6,
|
|
13
|
-
"strategy": "adaptive"
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
// Spawn research agents
|
|
17
|
-
mcp__claude-flow__agent_spawn({
|
|
18
|
-
"type": "researcher",
|
|
19
|
-
"name": "AI Trends Researcher",
|
|
20
|
-
"capabilities": ["web-search", "analysis", "synthesis"]
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
// Orchestrate research
|
|
24
|
-
mcp__claude-flow__task_orchestrate({
|
|
25
|
-
"task": "research AI trends",
|
|
26
|
-
"strategy": "parallel",
|
|
27
|
-
"priority": "medium"
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
// Monitor progress
|
|
31
|
-
mcp__claude-flow__swarm_status({
|
|
32
|
-
"swarmId": "research-swarm"
|
|
33
|
-
})
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
#### Using CLI (Fallback)
|
|
37
|
-
```bash
|
|
38
|
-
npx claude-flow-novice swarm "research AI trends" \
|
|
39
|
-
--strategy research \
|
|
40
|
-
--mode distributed \
|
|
41
|
-
--max-agents 6 \
|
|
42
|
-
--parallel
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Development Swarm
|
|
46
|
-
|
|
47
|
-
#### Using MCP Tools
|
|
48
|
-
```javascript
|
|
49
|
-
// Initialize development swarm
|
|
50
|
-
mcp__claude-flow__swarm_init({
|
|
51
|
-
"topology": "hierarchical",
|
|
52
|
-
"maxAgents": 8,
|
|
53
|
-
"strategy": "balanced"
|
|
54
|
-
})
|
|
55
|
-
|
|
56
|
-
// Spawn development team
|
|
57
|
-
const devAgents = [
|
|
58
|
-
{ type: "architect", name: "API Designer" },
|
|
59
|
-
{ type: "coder", name: "Backend Developer" },
|
|
60
|
-
{ type: "tester", name: "API Tester" },
|
|
61
|
-
{ type: "documenter", name: "API Documenter" }
|
|
62
|
-
]
|
|
63
|
-
|
|
64
|
-
devAgents.forEach(agent => {
|
|
65
|
-
mcp__claude-flow__agent_spawn({
|
|
66
|
-
"type": agent.type,
|
|
67
|
-
"name": agent.name,
|
|
68
|
-
"swarmId": "dev-swarm"
|
|
69
|
-
})
|
|
70
|
-
})
|
|
71
|
-
|
|
72
|
-
// Orchestrate development
|
|
73
|
-
mcp__claude-flow__task_orchestrate({
|
|
74
|
-
"task": "build REST API",
|
|
75
|
-
"strategy": "sequential",
|
|
76
|
-
"dependencies": ["design", "implement", "test", "document"]
|
|
77
|
-
})
|
|
78
|
-
|
|
79
|
-
// Enable monitoring
|
|
80
|
-
mcp__claude-flow__swarm_monitor({
|
|
81
|
-
"swarmId": "dev-swarm",
|
|
82
|
-
"interval": 5000
|
|
83
|
-
})
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
#### Using CLI (Fallback)
|
|
87
|
-
```bash
|
|
88
|
-
npx claude-flow-novice swarm "build REST API" \
|
|
89
|
-
--strategy development \
|
|
90
|
-
--mode hierarchical \
|
|
91
|
-
--monitor \
|
|
92
|
-
--output sqlite
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### Analysis Swarm
|
|
96
|
-
|
|
97
|
-
#### Using MCP Tools
|
|
98
|
-
```javascript
|
|
99
|
-
// Initialize analysis swarm
|
|
100
|
-
mcp__claude-flow__swarm_init({
|
|
101
|
-
"topology": "mesh",
|
|
102
|
-
"maxAgents": 5,
|
|
103
|
-
"strategy": "adaptive"
|
|
104
|
-
})
|
|
105
|
-
|
|
106
|
-
// Spawn analysis agents
|
|
107
|
-
mcp__claude-flow__agent_spawn({
|
|
108
|
-
"type": "analyst",
|
|
109
|
-
"name": "Code Analyzer",
|
|
110
|
-
"capabilities": ["static-analysis", "complexity-analysis"]
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
mcp__claude-flow__agent_spawn({
|
|
114
|
-
"type": "analyst",
|
|
115
|
-
"name": "Security Analyzer",
|
|
116
|
-
"capabilities": ["security-scan", "vulnerability-detection"]
|
|
117
|
-
})
|
|
118
|
-
|
|
119
|
-
// Parallel analysis execution
|
|
120
|
-
mcp__claude-flow__parallel_execute({
|
|
121
|
-
"tasks": [
|
|
122
|
-
{ "id": "analyze-code", "command": "analyze codebase structure" },
|
|
123
|
-
{ "id": "analyze-security", "command": "scan for vulnerabilities" },
|
|
124
|
-
{ "id": "analyze-performance", "command": "identify bottlenecks" }
|
|
125
|
-
]
|
|
126
|
-
})
|
|
127
|
-
|
|
128
|
-
// Generate comprehensive report
|
|
129
|
-
mcp__claude-flow__performance_report({
|
|
130
|
-
"format": "detailed",
|
|
131
|
-
"timeframe": "current"
|
|
132
|
-
})
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
#### Using CLI (Fallback)
|
|
136
|
-
```bash
|
|
137
|
-
npx claude-flow-novice swarm "analyze codebase" \
|
|
138
|
-
--strategy analysis \
|
|
139
|
-
--mode mesh \
|
|
140
|
-
--parallel \
|
|
141
|
-
--timeout 300
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
## Error Handling Examples
|
|
145
|
-
|
|
146
|
-
```javascript
|
|
147
|
-
// Setup fault tolerance
|
|
148
|
-
mcp__claude-flow__daa_fault_tolerance({
|
|
149
|
-
"agentId": "all",
|
|
150
|
-
"strategy": "auto-recovery"
|
|
151
|
-
})
|
|
152
|
-
|
|
153
|
-
// Handle errors gracefully
|
|
154
|
-
try {
|
|
155
|
-
await mcp__claude-flow__task_orchestrate({
|
|
156
|
-
"task": "complex operation",
|
|
157
|
-
"strategy": "parallel"
|
|
158
|
-
})
|
|
159
|
-
} catch (error) {
|
|
160
|
-
// Check swarm health
|
|
161
|
-
const status = await mcp__claude-flow__swarm_status({})
|
|
162
|
-
|
|
163
|
-
// Log error patterns
|
|
164
|
-
await mcp__claude-flow__error_analysis({
|
|
165
|
-
"logs": [error.message]
|
|
166
|
-
})
|
|
167
|
-
}
|
|
168
|
-
```
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# Maintenance Swarm Strategy
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
System maintenance and updates through coordinated agents.
|
|
5
|
-
|
|
6
|
-
## Activation
|
|
7
|
-
|
|
8
|
-
### Using MCP Tools
|
|
9
|
-
```javascript
|
|
10
|
-
// Initialize maintenance swarm
|
|
11
|
-
mcp__claude-flow__swarm_init({
|
|
12
|
-
"topology": "star",
|
|
13
|
-
"maxAgents": 5,
|
|
14
|
-
"strategy": "sequential"
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Orchestrate maintenance task
|
|
18
|
-
mcp__claude-flow__task_orchestrate({
|
|
19
|
-
"task": "update dependencies",
|
|
20
|
-
"strategy": "sequential",
|
|
21
|
-
"priority": "medium",
|
|
22
|
-
"dependencies": ["backup", "test", "update", "verify"]
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Using CLI (Fallback)
|
|
27
|
-
`npx claude-flow-novice swarm "update dependencies" --strategy maintenance`
|
|
28
|
-
|
|
29
|
-
## Agent Roles
|
|
30
|
-
|
|
31
|
-
### Agent Spawning with MCP
|
|
32
|
-
```javascript
|
|
33
|
-
// Spawn maintenance agents
|
|
34
|
-
mcp__claude-flow__agent_spawn({
|
|
35
|
-
"type": "analyst",
|
|
36
|
-
"name": "Dependency Analyzer",
|
|
37
|
-
"capabilities": ["dependency-analysis", "version-management"]
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
mcp__claude-flow__agent_spawn({
|
|
41
|
-
"type": "monitor",
|
|
42
|
-
"name": "Security Scanner",
|
|
43
|
-
"capabilities": ["security", "vulnerability-scan"]
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
mcp__claude-flow__agent_spawn({
|
|
47
|
-
"type": "tester",
|
|
48
|
-
"name": "Test Runner",
|
|
49
|
-
"capabilities": ["testing", "validation"]
|
|
50
|
-
})
|
|
51
|
-
|
|
52
|
-
mcp__claude-flow__agent_spawn({
|
|
53
|
-
"type": "documenter",
|
|
54
|
-
"name": "Documentation Updater",
|
|
55
|
-
"capabilities": ["documentation", "changelog"]
|
|
56
|
-
})
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## Safety Features
|
|
60
|
-
|
|
61
|
-
### Backup and Recovery
|
|
62
|
-
```javascript
|
|
63
|
-
// Create system backup
|
|
64
|
-
mcp__claude-flow__backup_create({
|
|
65
|
-
"components": ["code", "config", "dependencies"],
|
|
66
|
-
"destination": "./backups/maintenance-" + Date.now()
|
|
67
|
-
})
|
|
68
|
-
|
|
69
|
-
// Create state snapshot
|
|
70
|
-
mcp__claude-flow__state_snapshot({
|
|
71
|
-
"name": "pre-maintenance-" + Date.now()
|
|
72
|
-
})
|
|
73
|
-
|
|
74
|
-
// Enable fault tolerance
|
|
75
|
-
mcp__claude-flow__daa_fault_tolerance({
|
|
76
|
-
"agentId": "all",
|
|
77
|
-
"strategy": "checkpoint-recovery"
|
|
78
|
-
})
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### Security Scanning
|
|
82
|
-
```javascript
|
|
83
|
-
// Run security scan
|
|
84
|
-
mcp__claude-flow__security_scan({
|
|
85
|
-
"target": "./",
|
|
86
|
-
"depth": "comprehensive"
|
|
87
|
-
})
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Monitoring
|
|
91
|
-
```javascript
|
|
92
|
-
// Health check before/after
|
|
93
|
-
mcp__claude-flow__health_check({
|
|
94
|
-
"components": ["dependencies", "tests", "build"]
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
// Monitor maintenance progress
|
|
98
|
-
mcp__claude-flow__swarm_monitor({
|
|
99
|
-
"swarmId": "maintenance-swarm",
|
|
100
|
-
"interval": 3000
|
|
101
|
-
})
|
|
102
|
-
```
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
# Optimization Swarm Strategy
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Performance optimization through specialized analysis.
|
|
5
|
-
|
|
6
|
-
## Activation
|
|
7
|
-
|
|
8
|
-
### Using MCP Tools
|
|
9
|
-
```javascript
|
|
10
|
-
// Initialize optimization swarm
|
|
11
|
-
mcp__claude-flow__swarm_init({
|
|
12
|
-
"topology": "mesh",
|
|
13
|
-
"maxAgents": 6,
|
|
14
|
-
"strategy": "adaptive"
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Orchestrate optimization task
|
|
18
|
-
mcp__claude-flow__task_orchestrate({
|
|
19
|
-
"task": "optimize performance",
|
|
20
|
-
"strategy": "parallel",
|
|
21
|
-
"priority": "high"
|
|
22
|
-
})
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### Using CLI (Fallback)
|
|
26
|
-
`npx claude-flow-novice swarm "optimize performance" --strategy optimization`
|
|
27
|
-
|
|
28
|
-
## Agent Roles
|
|
29
|
-
|
|
30
|
-
### Agent Spawning with MCP
|
|
31
|
-
```javascript
|
|
32
|
-
// Spawn optimization agents
|
|
33
|
-
mcp__claude-flow__agent_spawn({
|
|
34
|
-
"type": "optimizer",
|
|
35
|
-
"name": "Performance Profiler",
|
|
36
|
-
"capabilities": ["profiling", "bottleneck-detection"]
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
mcp__claude-flow__agent_spawn({
|
|
40
|
-
"type": "analyst",
|
|
41
|
-
"name": "Memory Analyzer",
|
|
42
|
-
"capabilities": ["memory-analysis", "leak-detection"]
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
mcp__claude-flow__agent_spawn({
|
|
46
|
-
"type": "optimizer",
|
|
47
|
-
"name": "Code Optimizer",
|
|
48
|
-
"capabilities": ["code-optimization", "refactoring"]
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
mcp__claude-flow__agent_spawn({
|
|
52
|
-
"type": "tester",
|
|
53
|
-
"name": "Benchmark Runner",
|
|
54
|
-
"capabilities": ["benchmarking", "performance-testing"]
|
|
55
|
-
})
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Optimization Areas
|
|
59
|
-
|
|
60
|
-
### Performance Analysis
|
|
61
|
-
```javascript
|
|
62
|
-
// Analyze bottlenecks
|
|
63
|
-
mcp__claude-flow__bottleneck_analyze({
|
|
64
|
-
"component": "all",
|
|
65
|
-
"metrics": ["cpu", "memory", "io", "network"]
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
// Run benchmarks
|
|
69
|
-
mcp__claude-flow__benchmark_run({
|
|
70
|
-
"suite": "performance"
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
// WASM optimization
|
|
74
|
-
mcp__claude-flow__wasm_optimize({
|
|
75
|
-
"operation": "simd-acceleration"
|
|
76
|
-
})
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
### Optimization Operations
|
|
80
|
-
```javascript
|
|
81
|
-
// Optimize topology
|
|
82
|
-
mcp__claude-flow__topology_optimize({
|
|
83
|
-
"swarmId": "optimization-swarm"
|
|
84
|
-
})
|
|
85
|
-
|
|
86
|
-
// DAA optimization
|
|
87
|
-
mcp__claude-flow__daa_optimization({
|
|
88
|
-
"target": "performance",
|
|
89
|
-
"metrics": ["speed", "memory", "efficiency"]
|
|
90
|
-
})
|
|
91
|
-
|
|
92
|
-
// Load balancing
|
|
93
|
-
mcp__claude-flow__load_balance({
|
|
94
|
-
"swarmId": "optimization-swarm",
|
|
95
|
-
"tasks": optimizationTasks
|
|
96
|
-
})
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Monitoring and Reporting
|
|
100
|
-
```javascript
|
|
101
|
-
// Performance report
|
|
102
|
-
mcp__claude-flow__performance_report({
|
|
103
|
-
"format": "detailed",
|
|
104
|
-
"timeframe": "7d"
|
|
105
|
-
})
|
|
106
|
-
|
|
107
|
-
// Trend analysis
|
|
108
|
-
mcp__claude-flow__trend_analysis({
|
|
109
|
-
"metric": "performance",
|
|
110
|
-
"period": "30d"
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
// Cost analysis
|
|
114
|
-
mcp__claude-flow__cost_analysis({
|
|
115
|
-
"timeframe": "30d"
|
|
116
|
-
})
|
|
117
|
-
```
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
# Research Swarm Strategy
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Deep research through parallel information gathering.
|
|
5
|
-
|
|
6
|
-
## Activation
|
|
7
|
-
|
|
8
|
-
### Using MCP Tools
|
|
9
|
-
```javascript
|
|
10
|
-
// Initialize research swarm
|
|
11
|
-
mcp__claude-flow__swarm_init({
|
|
12
|
-
"topology": "mesh",
|
|
13
|
-
"maxAgents": 6,
|
|
14
|
-
"strategy": "adaptive"
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Orchestrate research task
|
|
18
|
-
mcp__claude-flow__task_orchestrate({
|
|
19
|
-
"task": "research topic X",
|
|
20
|
-
"strategy": "parallel",
|
|
21
|
-
"priority": "medium"
|
|
22
|
-
})
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### Using CLI (Fallback)
|
|
26
|
-
`npx claude-flow-novice swarm "research topic X" --strategy research`
|
|
27
|
-
|
|
28
|
-
## Agent Roles
|
|
29
|
-
|
|
30
|
-
### Agent Spawning with MCP
|
|
31
|
-
```javascript
|
|
32
|
-
// Spawn research agents
|
|
33
|
-
mcp__claude-flow__agent_spawn({
|
|
34
|
-
"type": "researcher",
|
|
35
|
-
"name": "Web Researcher",
|
|
36
|
-
"capabilities": ["web-search", "content-extraction", "source-validation"]
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
mcp__claude-flow__agent_spawn({
|
|
40
|
-
"type": "researcher",
|
|
41
|
-
"name": "Academic Researcher",
|
|
42
|
-
"capabilities": ["paper-analysis", "citation-tracking", "literature-review"]
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
mcp__claude-flow__agent_spawn({
|
|
46
|
-
"type": "analyst",
|
|
47
|
-
"name": "Data Analyst",
|
|
48
|
-
"capabilities": ["data-processing", "statistical-analysis", "visualization"]
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
mcp__claude-flow__agent_spawn({
|
|
52
|
-
"type": "documenter",
|
|
53
|
-
"name": "Report Writer",
|
|
54
|
-
"capabilities": ["synthesis", "technical-writing", "formatting"]
|
|
55
|
-
})
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Research Methods
|
|
59
|
-
|
|
60
|
-
### Information Gathering
|
|
61
|
-
```javascript
|
|
62
|
-
// Parallel information collection
|
|
63
|
-
mcp__claude-flow__parallel_execute({
|
|
64
|
-
"tasks": [
|
|
65
|
-
{ "id": "web-search", "command": "search recent publications" },
|
|
66
|
-
{ "id": "academic-search", "command": "search academic databases" },
|
|
67
|
-
{ "id": "data-collection", "command": "gather relevant datasets" }
|
|
68
|
-
]
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Store research findings
|
|
72
|
-
mcp__claude-flow__memory_usage({
|
|
73
|
-
"action": "store",
|
|
74
|
-
"key": "research-findings-" + Date.now(),
|
|
75
|
-
"value": JSON.stringify(findings),
|
|
76
|
-
"namespace": "research",
|
|
77
|
-
"ttl": 604800 // 7 days
|
|
78
|
-
})
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### Analysis and Validation
|
|
82
|
-
```javascript
|
|
83
|
-
// Pattern recognition in findings
|
|
84
|
-
mcp__claude-flow__pattern_recognize({
|
|
85
|
-
"data": researchData,
|
|
86
|
-
"patterns": ["trend", "correlation", "outlier"]
|
|
87
|
-
})
|
|
88
|
-
|
|
89
|
-
// Cognitive analysis
|
|
90
|
-
mcp__claude-flow__cognitive_analyze({
|
|
91
|
-
"behavior": "research-synthesis"
|
|
92
|
-
})
|
|
93
|
-
|
|
94
|
-
// Cross-reference validation
|
|
95
|
-
mcp__claude-flow__quality_assess({
|
|
96
|
-
"target": "research-sources",
|
|
97
|
-
"criteria": ["credibility", "relevance", "recency"]
|
|
98
|
-
})
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Knowledge Management
|
|
102
|
-
```javascript
|
|
103
|
-
// Search existing knowledge
|
|
104
|
-
mcp__claude-flow__memory_search({
|
|
105
|
-
"pattern": "topic X",
|
|
106
|
-
"namespace": "research",
|
|
107
|
-
"limit": 20
|
|
108
|
-
})
|
|
109
|
-
|
|
110
|
-
// Create knowledge connections
|
|
111
|
-
mcp__claude-flow__neural_patterns({
|
|
112
|
-
"action": "learn",
|
|
113
|
-
"operation": "knowledge-graph",
|
|
114
|
-
"metadata": {
|
|
115
|
-
"topic": "X",
|
|
116
|
-
"connections": relatedTopics
|
|
117
|
-
}
|
|
118
|
-
})
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Reporting
|
|
122
|
-
```javascript
|
|
123
|
-
// Generate research report
|
|
124
|
-
mcp__claude-flow__workflow_execute({
|
|
125
|
-
"workflowId": "research-report-generation",
|
|
126
|
-
"params": {
|
|
127
|
-
"findings": findings,
|
|
128
|
-
"format": "comprehensive"
|
|
129
|
-
}
|
|
130
|
-
})
|
|
131
|
-
|
|
132
|
-
// Monitor progress
|
|
133
|
-
mcp__claude-flow__swarm_status({
|
|
134
|
-
"swarmId": "research-swarm"
|
|
135
|
-
})
|
|
136
|
-
```
|