claude-flow 2.0.0-alpha.69 โ†’ 2.0.0-alpha.70

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 (72) hide show
  1. package/.claude/commands/analysis/README.md +9 -0
  2. package/.claude/commands/analysis/bottleneck-detect.md +162 -0
  3. package/.claude/commands/analysis/performance-report.md +25 -0
  4. package/.claude/commands/analysis/token-usage.md +25 -0
  5. package/.claude/commands/automation/README.md +9 -0
  6. package/.claude/commands/automation/auto-agent.md +122 -0
  7. package/.claude/commands/automation/smart-spawn.md +25 -0
  8. package/.claude/commands/automation/workflow-select.md +25 -0
  9. package/.claude/commands/coordination/README.md +9 -0
  10. package/.claude/commands/coordination/agent-spawn.md +25 -0
  11. package/.claude/commands/coordination/swarm-init.md +85 -0
  12. package/.claude/commands/coordination/task-orchestrate.md +25 -0
  13. package/.claude/commands/github/README.md +11 -0
  14. package/.claude/commands/github/code-review.md +25 -0
  15. package/.claude/commands/github/github-swarm.md +121 -0
  16. package/.claude/commands/github/issue-triage.md +25 -0
  17. package/.claude/commands/github/pr-enhance.md +26 -0
  18. package/.claude/commands/github/repo-analyze.md +25 -0
  19. package/.claude/commands/hooks/README.md +11 -0
  20. package/.claude/commands/hooks/post-edit.md +117 -0
  21. package/.claude/commands/hooks/post-task.md +112 -0
  22. package/.claude/commands/hooks/pre-edit.md +113 -0
  23. package/.claude/commands/hooks/pre-task.md +111 -0
  24. package/.claude/commands/hooks/session-end.md +118 -0
  25. package/.claude/commands/memory/README.md +9 -0
  26. package/.claude/commands/memory/memory-persist.md +25 -0
  27. package/.claude/commands/memory/memory-search.md +25 -0
  28. package/.claude/commands/memory/memory-usage.md +25 -0
  29. package/.claude/commands/monitoring/README.md +9 -0
  30. package/.claude/commands/monitoring/agent-metrics.md +25 -0
  31. package/.claude/commands/monitoring/real-time-view.md +25 -0
  32. package/.claude/commands/monitoring/swarm-monitor.md +25 -0
  33. package/.claude/commands/optimization/README.md +9 -0
  34. package/.claude/commands/optimization/cache-manage.md +25 -0
  35. package/.claude/commands/optimization/parallel-execute.md +25 -0
  36. package/.claude/commands/optimization/topology-optimize.md +25 -0
  37. package/.claude/commands/sparc/architect.md +51 -24
  38. package/.claude/commands/sparc/ask.md +97 -0
  39. package/.claude/commands/sparc/code.md +89 -0
  40. package/.claude/commands/sparc/debug.md +83 -0
  41. package/.claude/commands/sparc/devops.md +109 -0
  42. package/.claude/commands/sparc/docs-writer.md +80 -0
  43. package/.claude/commands/sparc/integration.md +83 -0
  44. package/.claude/commands/sparc/mcp.md +117 -0
  45. package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
  46. package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
  47. package/.claude/commands/sparc/security-review.md +80 -0
  48. package/.claude/commands/sparc/sparc.md +111 -0
  49. package/.claude/commands/sparc/spec-pseudocode.md +80 -0
  50. package/.claude/commands/sparc/supabase-admin.md +348 -0
  51. package/.claude/commands/sparc/tdd.md +59 -30
  52. package/.claude/commands/sparc/tutorial.md +79 -0
  53. package/.claude/commands/sparc.md +166 -0
  54. package/.claude/commands/training/README.md +9 -0
  55. package/.claude/commands/training/model-update.md +25 -0
  56. package/.claude/commands/training/neural-train.md +25 -0
  57. package/.claude/commands/training/pattern-learn.md +25 -0
  58. package/.claude/commands/workflows/README.md +9 -0
  59. package/.claude/commands/workflows/workflow-create.md +25 -0
  60. package/.claude/commands/workflows/workflow-execute.md +25 -0
  61. package/.claude/commands/workflows/workflow-export.md +25 -0
  62. package/.claude/helpers/github-setup.sh +28 -0
  63. package/.claude/helpers/quick-start.sh +19 -0
  64. package/.claude/helpers/setup-mcp.sh +18 -0
  65. package/.claude/settings.json +9 -29
  66. package/.claude/settings.local.json +7 -4
  67. package/CHANGELOG.md +14 -0
  68. package/bin/claude-flow +1 -1
  69. package/package.json +1 -1
  70. package/src/cli/help-text.js +1 -1
  71. package/src/cli/simple-cli.js +1 -1
  72. package/src/cli/simple-commands/init/templates/settings.json +4 -4
@@ -1,18 +1,33 @@
1
- # SPARC TDD Mode
1
+ ---
2
+ name: sparc-tdd
3
+ description: ๐Ÿงช Tester (TDD) - You implement Test-Driven Development (TDD, London School), writing tests first and refactoring a...
4
+ ---
2
5
 
3
- ## Purpose
4
- Test-driven development with TodoWrite planning and comprehensive testing.
6
+ # ๐Ÿงช Tester (TDD)
5
7
 
6
- ## Activation
8
+ ## Role Definition
9
+ You implement Test-Driven Development (TDD, London School), writing tests first and refactoring after minimal implementation passes.
10
+
11
+ ## Custom Instructions
12
+ Write failing tests first. Implement only enough code to pass. Refactor after green. Ensure tests do not hardcode secrets. Keep files < 500 lines. Validate modularity, test coverage, and clarity before using `attempt_completion`.
13
+
14
+ ## Available Tools
15
+ - **read**: File reading and viewing
16
+ - **edit**: File modification and creation
17
+ - **browser**: Web browsing capabilities
18
+ - **mcp**: Model Context Protocol tools
19
+ - **command**: Command execution
20
+
21
+ ## Usage
7
22
 
8
23
  ### Option 1: Using MCP Tools (Preferred in Claude Code)
9
24
  ```javascript
10
25
  mcp__claude-flow__sparc_mode {
11
26
  mode: "tdd",
12
- task_description: "shopping cart feature",
27
+ task_description: "create user authentication tests",
13
28
  options: {
14
- coverage_target: 90,
15
- test_framework: "jest"
29
+ namespace: "tdd",
30
+ non_interactive: false
16
31
  }
17
32
  }
18
33
  ```
@@ -20,35 +35,49 @@ mcp__claude-flow__sparc_mode {
20
35
  ### Option 2: Using NPX CLI (Fallback when MCP not available)
21
36
  ```bash
22
37
  # Use when running from terminal or MCP tools unavailable
23
- npx claude-flow sparc run tdd "shopping cart feature"
38
+ npx claude-flow sparc run tdd "create user authentication tests"
24
39
 
25
40
  # For alpha features
26
- npx claude-flow@alpha sparc run tdd "shopping cart feature"
41
+ npx claude-flow@alpha sparc run tdd "create user authentication tests"
42
+
43
+ # With namespace
44
+ npx claude-flow sparc run tdd "your task" --namespace tdd
45
+
46
+ # Non-interactive mode
47
+ npx claude-flow sparc run tdd "your task" --non-interactive
27
48
  ```
28
49
 
29
50
  ### Option 3: Local Installation
30
51
  ```bash
31
52
  # If claude-flow is installed locally
32
- ./claude-flow sparc run tdd "shopping cart feature"
53
+ ./claude-flow sparc run tdd "create user authentication tests"
33
54
  ```
34
55
 
35
- ## Core Capabilities
36
- - Test-first development
37
- - Red-green-refactor cycle
38
- - Test suite design
39
- - Coverage optimization
40
- - Continuous testing
41
-
42
- ## TDD Workflow
43
- 1. Write failing tests
44
- 2. Implement minimum code
45
- 3. Make tests pass
46
- 4. Refactor code
47
- 5. Repeat cycle
48
-
49
- ## Testing Strategies
50
- - Unit testing
51
- - Integration testing
52
- - End-to-end testing
53
- - Performance testing
54
- - Security testing
56
+ ## Memory Integration
57
+
58
+ ### Using MCP Tools (Preferred)
59
+ ```javascript
60
+ // Store mode-specific context
61
+ mcp__claude-flow__memory_usage {
62
+ action: "store",
63
+ key: "tdd_context",
64
+ value: "important decisions",
65
+ namespace: "tdd"
66
+ }
67
+
68
+ // Query previous work
69
+ mcp__claude-flow__memory_search {
70
+ pattern: "tdd",
71
+ namespace: "tdd",
72
+ limit: 5
73
+ }
74
+ ```
75
+
76
+ ### Using NPX CLI (Fallback)
77
+ ```bash
78
+ # Store mode-specific context
79
+ npx claude-flow memory store "tdd_context" "important decisions" --namespace tdd
80
+
81
+ # Query previous work
82
+ npx claude-flow memory query "tdd" --limit 5
83
+ ```
@@ -0,0 +1,79 @@
1
+ ---
2
+ name: sparc-tutorial
3
+ description: ๐Ÿ“˜ SPARC Tutorial - You are the SPARC onboarding and education assistant. Your job is to guide users through the full...
4
+ ---
5
+
6
+ # ๐Ÿ“˜ SPARC Tutorial
7
+
8
+ ## Role Definition
9
+ You are the SPARC onboarding and education assistant. Your job is to guide users through the full SPARC development process using structured thinking models. You help users understand how to navigate complex projects using the specialized SPARC modes and properly formulate tasks using new_task.
10
+
11
+ ## Custom Instructions
12
+ You teach developers how to apply the SPARC methodology through actionable examples and mental models.
13
+
14
+ ## Available Tools
15
+ - **read**: File reading and viewing
16
+
17
+ ## Usage
18
+
19
+ ### Option 1: Using MCP Tools (Preferred in Claude Code)
20
+ ```javascript
21
+ mcp__claude-flow__sparc_mode {
22
+ mode: "tutorial",
23
+ task_description: "guide me through SPARC methodology",
24
+ options: {
25
+ namespace: "tutorial",
26
+ non_interactive: false
27
+ }
28
+ }
29
+ ```
30
+
31
+ ### Option 2: Using NPX CLI (Fallback when MCP not available)
32
+ ```bash
33
+ # Use when running from terminal or MCP tools unavailable
34
+ npx claude-flow sparc run tutorial "guide me through SPARC methodology"
35
+
36
+ # For alpha features
37
+ npx claude-flow@alpha sparc run tutorial "guide me through SPARC methodology"
38
+
39
+ # With namespace
40
+ npx claude-flow sparc run tutorial "your task" --namespace tutorial
41
+
42
+ # Non-interactive mode
43
+ npx claude-flow sparc run tutorial "your task" --non-interactive
44
+ ```
45
+
46
+ ### Option 3: Local Installation
47
+ ```bash
48
+ # If claude-flow is installed locally
49
+ ./claude-flow sparc run tutorial "guide me through SPARC methodology"
50
+ ```
51
+
52
+ ## Memory Integration
53
+
54
+ ### Using MCP Tools (Preferred)
55
+ ```javascript
56
+ // Store mode-specific context
57
+ mcp__claude-flow__memory_usage {
58
+ action: "store",
59
+ key: "tutorial_context",
60
+ value: "important decisions",
61
+ namespace: "tutorial"
62
+ }
63
+
64
+ // Query previous work
65
+ mcp__claude-flow__memory_search {
66
+ pattern: "tutorial",
67
+ namespace: "tutorial",
68
+ limit: 5
69
+ }
70
+ ```
71
+
72
+ ### Using NPX CLI (Fallback)
73
+ ```bash
74
+ # Store mode-specific context
75
+ npx claude-flow memory store "tutorial_context" "important decisions" --namespace tutorial
76
+
77
+ # Query previous work
78
+ npx claude-flow memory query "tutorial" --limit 5
79
+ ```
@@ -0,0 +1,166 @@
1
+ ---
2
+ name: sparc
3
+ description: Execute SPARC methodology workflows with Claude-Flow
4
+ ---
5
+
6
+ # โšก๏ธ SPARC Development Methodology
7
+
8
+ You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.
9
+
10
+ ## SPARC Workflow
11
+
12
+ Follow SPARC:
13
+
14
+ 1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.
15
+ 2. Pseudocode: Request high-level logic with TDD anchors.
16
+ 3. Architecture: Ensure extensible system diagrams and service boundaries.
17
+ 4. Refinement: Use TDD, debugging, security, and optimization flows.
18
+ 5. Completion: Integrate, document, and monitor for continuous improvement.
19
+
20
+ Use `new_task` to assign:
21
+ - spec-pseudocode
22
+
23
+ ## Available SPARC Modes
24
+
25
+ - `/sparc-architect` - ๐Ÿ—๏ธ Architect
26
+ - `/sparc-code` - ๐Ÿง  Auto-Coder
27
+ - `/sparc-tdd` - ๐Ÿงช Tester (TDD)
28
+ - `/sparc-debug` - ๐Ÿชฒ Debugger
29
+ - `/sparc-security-review` - ๐Ÿ›ก๏ธ Security Reviewer
30
+ - `/sparc-docs-writer` - ๐Ÿ“š Documentation Writer
31
+ - `/sparc-integration` - ๐Ÿ”— System Integrator
32
+ - `/sparc-post-deployment-monitoring-mode` - ๐Ÿ“ˆ Deployment Monitor
33
+ - `/sparc-refinement-optimization-mode` - ๐Ÿงน Optimizer
34
+ - `/sparc-ask` - โ“Ask
35
+ - `/sparc-devops` - ๐Ÿš€ DevOps
36
+ - `/sparc-tutorial` - ๐Ÿ“˜ SPARC Tutorial
37
+ - `/sparc-supabase-admin` - ๐Ÿ” Supabase Admin
38
+ - `/sparc-spec-pseudocode` - ๐Ÿ“‹ Specification Writer
39
+ - `/sparc-mcp` - โ™พ๏ธ MCP Integration
40
+ - `/sparc-sparc` - โšก๏ธ SPARC Orchestrator
41
+
42
+ ## Quick Start
43
+
44
+ ### Option 1: Using MCP Tools (Preferred in Claude Code)
45
+ ```javascript
46
+ // Run SPARC orchestrator (default)
47
+ mcp__claude-flow__sparc_mode {
48
+ mode: "sparc",
49
+ task_description: "build complete authentication system"
50
+ }
51
+
52
+ // Run a specific mode
53
+ mcp__claude-flow__sparc_mode {
54
+ mode: "architect",
55
+ task_description: "design API structure"
56
+ }
57
+
58
+ // TDD workflow
59
+ mcp__claude-flow__sparc_mode {
60
+ mode: "tdd",
61
+ task_description: "implement user authentication",
62
+ options: {workflow: "full"}
63
+ }
64
+ ```
65
+
66
+ ### Option 2: Using NPX CLI (Fallback when MCP not available)
67
+ ```bash
68
+ # Run SPARC orchestrator (default)
69
+ npx claude-flow sparc "build complete authentication system"
70
+
71
+ # Run a specific mode
72
+ npx claude-flow sparc run architect "design API structure"
73
+ npx claude-flow sparc run tdd "implement user service"
74
+
75
+ # Execute full TDD workflow
76
+ npx claude-flow sparc tdd "implement user authentication"
77
+
78
+ # List all modes with details
79
+ npx claude-flow sparc modes --verbose
80
+
81
+ # For alpha features
82
+ npx claude-flow@alpha sparc run <mode> "your task"
83
+ ```
84
+
85
+ ### Option 3: Local Installation
86
+ ```bash
87
+ # If claude-flow is installed locally
88
+ ./claude-flow sparc "build complete authentication system"
89
+ ./claude-flow sparc run architect "design API structure"
90
+ ```
91
+
92
+ ## SPARC Methodology Phases
93
+
94
+ 1. **๐Ÿ“‹ Specification**: Define requirements, constraints, and acceptance criteria
95
+ 2. **๐Ÿง  Pseudocode**: Create detailed logic flows and algorithmic planning
96
+ 3. **๐Ÿ—๏ธ Architecture**: Design system structure, APIs, and component boundaries
97
+ 4. **๐Ÿ”„ Refinement**: Implement with TDD (Red-Green-Refactor cycle)
98
+ 5. **โœ… Completion**: Integrate, document, and validate against requirements
99
+
100
+ ## Memory Integration
101
+
102
+ ### Using MCP Tools (Preferred)
103
+ ```javascript
104
+ // Store specifications
105
+ mcp__claude-flow__memory_usage {
106
+ action: "store",
107
+ key: "spec_auth",
108
+ value: "OAuth2 + JWT requirements",
109
+ namespace: "spec"
110
+ }
111
+
112
+ // Store architectural decisions
113
+ mcp__claude-flow__memory_usage {
114
+ action: "store",
115
+ key: "arch_decisions",
116
+ value: "Microservices with API Gateway",
117
+ namespace: "architecture"
118
+ }
119
+ ```
120
+
121
+ ### Using NPX CLI (Fallback)
122
+ ```bash
123
+ # Store specifications
124
+ npx claude-flow memory store "spec_auth" "OAuth2 + JWT requirements" --namespace spec
125
+
126
+ # Store architectural decisions
127
+ ./claude-flow memory store "arch_api" "RESTful microservices design" --namespace arch
128
+
129
+ # Query previous work
130
+ ./claude-flow memory query "authentication" --limit 10
131
+
132
+ # Export project memory
133
+ ./claude-flow memory export sparc-project-backup.json
134
+ ```
135
+
136
+ ## Advanced Swarm Mode
137
+
138
+ For complex tasks requiring multiple agents with timeout-free execution:
139
+ ```bash
140
+ # Development swarm with monitoring
141
+ ./claude-flow swarm "Build e-commerce platform" --strategy development --monitor --review
142
+
143
+ # Background optimization swarm
144
+ ./claude-flow swarm "Optimize system performance" --strategy optimization --background
145
+
146
+ # Distributed research swarm
147
+ ./claude-flow swarm "Analyze market trends" --strategy research --distributed --ui
148
+ ```
149
+
150
+ ## Non-Interactive Mode
151
+
152
+ For CI/CD integration and automation:
153
+ ```bash
154
+ ./claude-flow sparc run code "implement API" --non-interactive
155
+ ./claude-flow sparc tdd "user tests" --non-interactive --enable-permissions
156
+ ```
157
+
158
+ ## Best Practices
159
+
160
+ โœ… **Modular Design**: Keep files under 500 lines
161
+ โœ… **Environment Safety**: Never hardcode secrets or env values
162
+ โœ… **Test-First**: Always write tests before implementation
163
+ โœ… **Memory Usage**: Store important decisions and context
164
+ โœ… **Task Completion**: All tasks should end with `attempt_completion`
165
+
166
+ See `/claude-flow-help` for all available commands.
@@ -0,0 +1,9 @@
1
+ # Training Commands
2
+
3
+ Commands for training operations in Claude Flow.
4
+
5
+ ## Available Commands
6
+
7
+ - [neural-train](./neural-train.md)
8
+ - [pattern-learn](./pattern-learn.md)
9
+ - [model-update](./model-update.md)
@@ -0,0 +1,25 @@
1
+ # model-update
2
+
3
+ Update neural models with new data.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow training model-update [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--model <name>` - Model to update
12
+ - `--incremental` - Incremental update
13
+ - `--validate` - Validate after update
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Update all models
18
+ npx claude-flow training model-update
19
+
20
+ # Specific model
21
+ npx claude-flow training model-update --model agent-selector
22
+
23
+ # Incremental with validation
24
+ npx claude-flow training model-update --incremental --validate
25
+ ```
@@ -0,0 +1,25 @@
1
+ # neural-train
2
+
3
+ Train neural patterns from operations.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow training neural-train [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--data <source>` - Training data source
12
+ - `--model <name>` - Target model
13
+ - `--epochs <n>` - Training epochs
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Train from recent ops
18
+ npx claude-flow training neural-train --data recent
19
+
20
+ # Specific model
21
+ npx claude-flow training neural-train --model task-predictor
22
+
23
+ # Custom epochs
24
+ npx claude-flow training neural-train --epochs 100
25
+ ```
@@ -0,0 +1,25 @@
1
+ # pattern-learn
2
+
3
+ Learn patterns from successful operations.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow training pattern-learn [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--source <type>` - Pattern source
12
+ - `--threshold <score>` - Success threshold
13
+ - `--save <name>` - Save pattern set
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Learn from all ops
18
+ npx claude-flow training pattern-learn
19
+
20
+ # High success only
21
+ npx claude-flow training pattern-learn --threshold 0.9
22
+
23
+ # Save patterns
24
+ npx claude-flow training pattern-learn --save optimal-patterns
25
+ ```
@@ -0,0 +1,9 @@
1
+ # Workflows Commands
2
+
3
+ Commands for workflows operations in Claude Flow.
4
+
5
+ ## Available Commands
6
+
7
+ - [workflow-create](./workflow-create.md)
8
+ - [workflow-execute](./workflow-execute.md)
9
+ - [workflow-export](./workflow-export.md)
@@ -0,0 +1,25 @@
1
+ # workflow-create
2
+
3
+ Create reusable workflow templates.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow workflow create [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--name <name>` - Workflow name
12
+ - `--from-history` - Create from history
13
+ - `--interactive` - Interactive creation
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Create workflow
18
+ npx claude-flow workflow create --name "deploy-api"
19
+
20
+ # From history
21
+ npx claude-flow workflow create --name "test-suite" --from-history
22
+
23
+ # Interactive mode
24
+ npx claude-flow workflow create --interactive
25
+ ```
@@ -0,0 +1,25 @@
1
+ # workflow-execute
2
+
3
+ Execute saved workflows.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow workflow execute [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--name <name>` - Workflow name
12
+ - `--params <json>` - Workflow parameters
13
+ - `--dry-run` - Preview execution
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Execute workflow
18
+ npx claude-flow workflow execute --name "deploy-api"
19
+
20
+ # With parameters
21
+ npx claude-flow workflow execute --name "test-suite" --params '{"env": "staging"}'
22
+
23
+ # Dry run
24
+ npx claude-flow workflow execute --name "deploy-api" --dry-run
25
+ ```
@@ -0,0 +1,25 @@
1
+ # workflow-export
2
+
3
+ Export workflows for sharing.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow workflow export [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--name <name>` - Workflow to export
12
+ - `--format <type>` - Export format
13
+ - `--include-history` - Include execution history
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Export workflow
18
+ npx claude-flow workflow export --name "deploy-api"
19
+
20
+ # As YAML
21
+ npx claude-flow workflow export --name "test-suite" --format yaml
22
+
23
+ # With history
24
+ npx claude-flow workflow export --name "deploy-api" --include-history
25
+ ```
@@ -0,0 +1,28 @@
1
+ #!/bin/bash
2
+ # Setup GitHub integration for Claude Flow
3
+
4
+ echo "๐Ÿ”— Setting up GitHub integration..."
5
+
6
+ # Check for gh CLI
7
+ if ! command -v gh &> /dev/null; then
8
+ echo "โš ๏ธ GitHub CLI (gh) not found"
9
+ echo "Install from: https://cli.github.com/"
10
+ echo "Continuing without GitHub features..."
11
+ else
12
+ echo "โœ… GitHub CLI found"
13
+
14
+ # Check auth status
15
+ if gh auth status &> /dev/null; then
16
+ echo "โœ… GitHub authentication active"
17
+ else
18
+ echo "โš ๏ธ Not authenticated with GitHub"
19
+ echo "Run: gh auth login"
20
+ fi
21
+ fi
22
+
23
+ echo ""
24
+ echo "๐Ÿ“ฆ GitHub swarm commands available:"
25
+ echo " - npx claude-flow github swarm"
26
+ echo " - npx claude-flow repo analyze"
27
+ echo " - npx claude-flow pr enhance"
28
+ echo " - npx claude-flow issue triage"
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+ # Quick start guide for Claude Flow
3
+
4
+ echo "๐Ÿš€ Claude Flow Quick Start"
5
+ echo "=========================="
6
+ echo ""
7
+ echo "1. Initialize a swarm:"
8
+ echo " npx claude-flow swarm init --topology hierarchical"
9
+ echo ""
10
+ echo "2. Spawn agents:"
11
+ echo " npx claude-flow agent spawn --type coder --name "API Developer""
12
+ echo ""
13
+ echo "3. Orchestrate tasks:"
14
+ echo " npx claude-flow task orchestrate --task "Build REST API""
15
+ echo ""
16
+ echo "4. Monitor progress:"
17
+ echo " npx claude-flow swarm monitor"
18
+ echo ""
19
+ echo "๐Ÿ“š For more examples, see .claude/commands/"
@@ -0,0 +1,18 @@
1
+ #!/bin/bash
2
+ # Setup MCP server for Claude Flow
3
+
4
+ echo "๐Ÿš€ Setting up Claude Flow MCP server..."
5
+
6
+ # Check if claude command exists
7
+ if ! command -v claude &> /dev/null; then
8
+ echo "โŒ Error: Claude Code CLI not found"
9
+ echo "Please install Claude Code first"
10
+ exit 1
11
+ fi
12
+
13
+ # Add MCP server
14
+ echo "๐Ÿ“ฆ Adding Claude Flow MCP server..."
15
+ claude mcp add claude-flow npx claude-flow mcp start
16
+
17
+ echo "โœ… MCP server setup complete!"
18
+ echo "๐ŸŽฏ You can now use mcp__claude-flow__ tools in Claude Code"