claude-flow-novice 1.3.2 → 1.3.4
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/agents/github/release-manager.md +1 -1
- package/.claude/agents/github/repo-architect.md +2 -2
- package/.claude/agents/optimization/README.md +12 -12
- package/.claude/agents/optimization/benchmark-suite.md +8 -8
- package/.claude/agents/optimization/load-balancer.md +7 -7
- package/.claude/agents/optimization/performance-monitor.md +8 -8
- package/.claude/agents/optimization/resource-allocator.md +9 -9
- package/.claude/agents/optimization/topology-optimizer.md +8 -8
- package/.claude/agents/swarm/README.md +8 -8
- package/.claude/agents/testing/e2e/playwright-agent.md +1 -1
- package/.claude/commands/agents/agent-capabilities.md +2 -2
- package/.claude/commands/agents/agent-coordination.md +3 -3
- package/.claude/commands/agents/agent-types.md +1 -1
- package/.claude/commands/analysis/bottleneck-detect.md +5 -5
- package/.claude/commands/analysis/performance-report.md +4 -4
- package/.claude/commands/analysis/token-usage.md +4 -4
- package/.claude/commands/automation/auto-agent.md +5 -5
- package/.claude/commands/automation/self-healing.md +1 -1
- package/.claude/commands/automation/session-memory.md +1 -1
- package/.claude/commands/automation/smart-agents.md +1 -1
- package/.claude/commands/automation/smart-spawn.md +4 -4
- package/.claude/commands/automation/workflow-select.md +4 -4
- package/.claude/commands/claude-soul.js +22 -556
- package/.claude/commands/coordination/agent-spawn.md +4 -4
- package/.claude/commands/coordination/coordination-system.md +88 -0
- package/.claude/commands/coordination/swarm-init.md +5 -5
- package/.claude/commands/coordination/task-orchestrate.md +4 -4
- package/.claude/commands/github/code-review.md +4 -4
- package/.claude/commands/github/github-swarm.md +5 -5
- package/.claude/commands/github/issue-triage.md +4 -4
- package/.claude/commands/github/pr-enhance.md +4 -4
- package/.claude/commands/github/release-manager.md +1 -1
- package/.claude/commands/github/repo-analyze.md +4 -4
- package/.claude/commands/github/repo-architect.md +2 -2
- package/.claude/commands/hive-mind/hive-mind-consensus.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-init.md +3 -3
- package/.claude/commands/hive-mind/hive-mind-memory.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-metrics.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-resume.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-sessions.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-spawn.md +4 -4
- package/.claude/commands/hive-mind/hive-mind-status.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-stop.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-wizard.md +1 -1
- package/.claude/commands/hive-mind/hive-mind.md +4 -4
- package/.claude/commands/hooks/overview.md +1 -1
- package/.claude/commands/hooks/post-edit.md +6 -6
- package/.claude/commands/hooks/post-task.md +6 -6
- package/.claude/commands/hooks/pre-edit.md +6 -6
- package/.claude/commands/hooks/pre-task.md +6 -6
- package/.claude/commands/hooks/session-end.md +6 -6
- package/.claude/commands/hooks/setup.md +6 -6
- package/.claude/commands/hooks.md +1 -1
- package/.claude/commands/memory/memory-bank.md +58 -0
- package/.claude/commands/memory/memory-persist.md +4 -4
- package/.claude/commands/memory/memory-search.md +4 -4
- package/.claude/commands/memory/memory-usage.md +4 -4
- package/.claude/commands/monitoring/agent-metrics.md +4 -4
- package/.claude/commands/monitoring/real-time-view.md +4 -4
- package/.claude/commands/monitoring/swarm-monitor.md +4 -4
- package/.claude/commands/optimization/auto-topology.md +2 -2
- package/.claude/commands/optimization/cache-manage.md +4 -4
- package/.claude/commands/optimization/parallel-execute.md +4 -4
- package/.claude/commands/optimization/parallel-execution.md +1 -1
- package/.claude/commands/optimization/topology-optimize.md +4 -4
- package/.claude/commands/pair/README.md +20 -20
- package/.claude/commands/pair/config.md +16 -16
- package/.claude/commands/pair/examples.md +11 -11
- package/.claude/commands/pair/modes.md +17 -17
- package/.claude/commands/pair/session.md +27 -27
- package/.claude/commands/pair/start.md +12 -12
- package/.claude/commands/sparc/analyzer.md +3 -3
- package/.claude/commands/sparc/architect.md +3 -3
- package/.claude/commands/sparc/batch-executor.md +3 -3
- package/.claude/commands/sparc/coder.md +3 -3
- package/.claude/commands/sparc/debugger.md +3 -3
- package/.claude/commands/sparc/designer.md +3 -3
- package/.claude/commands/sparc/documenter.md +3 -3
- package/.claude/commands/sparc/innovator.md +3 -3
- package/.claude/commands/sparc/memory-manager.md +3 -3
- package/.claude/commands/sparc/optimizer.md +3 -3
- package/.claude/commands/sparc/orchestrator.md +10 -10
- package/.claude/commands/sparc/researcher.md +3 -3
- package/.claude/commands/sparc/reviewer.md +3 -3
- package/.claude/commands/sparc/sparc-modes.md +13 -13
- package/.claude/commands/sparc/swarm-coordinator.md +3 -3
- package/.claude/commands/sparc/tdd.md +3 -3
- package/.claude/commands/sparc/tester.md +3 -3
- package/.claude/commands/sparc/workflow-manager.md +3 -3
- package/.claude/commands/stream-chain/pipeline.md +10 -10
- package/.claude/commands/stream-chain/run.md +4 -4
- package/.claude/commands/swarm/analysis.md +1 -1
- package/.claude/commands/swarm/development.md +1 -1
- package/.claude/commands/swarm/examples.md +3 -3
- package/.claude/commands/swarm/maintenance.md +1 -1
- package/.claude/commands/swarm/optimization.md +1 -1
- package/.claude/commands/swarm/research.md +1 -1
- package/.claude/commands/swarm/swarm-analysis.md +1 -1
- package/.claude/commands/swarm/swarm-background.md +1 -1
- package/.claude/commands/swarm/swarm-init.md +3 -3
- package/.claude/commands/swarm/swarm-modes.md +1 -1
- package/.claude/commands/swarm/swarm-monitor.md +1 -1
- package/.claude/commands/swarm/swarm-spawn.md +3 -3
- package/.claude/commands/swarm/swarm-status.md +1 -1
- package/.claude/commands/swarm/swarm-strategies.md +1 -1
- package/.claude/commands/swarm/swarm.md +4 -4
- package/.claude/commands/swarm/testing.md +1 -1
- package/.claude/commands/testing/playwright-e2e.md +36 -36
- package/.claude/commands/training/model-update.md +4 -4
- package/.claude/commands/training/neural-patterns.md +3 -3
- package/.claude/commands/training/neural-train.md +4 -4
- package/.claude/commands/training/pattern-learn.md +4 -4
- package/.claude/commands/training/specialization.md +2 -2
- package/.claude/commands/truth/start.md +10 -10
- package/.claude/commands/verify/check.md +5 -5
- package/.claude/commands/verify/start.md +22 -22
- package/.claude/commands/workflows/development.md +3 -3
- package/.claude/commands/workflows/research.md +2 -2
- package/.claude/commands/workflows/workflow-create.md +4 -4
- package/.claude/commands/workflows/workflow-execute.md +4 -4
- package/.claude/commands/workflows/workflow-export.md +4 -4
- package/examples/01-configurations/README.md +5 -5
- package/examples/02-workflows/README.md +8 -8
- package/examples/04-testing/incremental-updates-guide.md +3 -3
- package/examples/06-tutorials/getting-started/01-first-swarm.md +4 -4
- package/examples/06-tutorials/sparc/sparc-tdd-guide.md +13 -13
- package/examples/06-tutorials/sparc-batchtool-orchestration.md +54 -54
- package/examples/06-tutorials/workflows/multi-agent-coordination.md +9 -9
- package/examples/README-batch-init.md +50 -50
- package/examples/README.md +2 -2
- package/examples/automation-examples.md +13 -13
- package/examples/rest-api-simple/README-ARCHITECTURE.md +7 -7
- package/examples/rest-api-simple/implementation-plan.md +7 -7
- package/examples/rest-api-simple/next-steps.md +5 -5
- package/examples/rest-api-simple/sparc-implementation-roadmap.md +12 -12
- package/package.json +1 -1
- package/src/cli/simple-commands/agent.js +9 -9
- package/src/cli/simple-commands/analysis.js +17 -17
- package/src/cli/simple-commands/automation-executor.js +1 -1
- package/src/cli/simple-commands/automation.js +14 -14
- package/src/cli/simple-commands/batch-manager.js +10 -10
- package/src/cli/simple-commands/config.js +14 -14
- package/src/cli/simple-commands/coordination.js +8 -8
- package/src/cli/simple-commands/fix-hook-variables.js +4 -4
- package/src/cli/simple-commands/github/init.js +2 -2
- package/src/cli/simple-commands/github.js +7 -7
- package/src/cli/simple-commands/goal.js +1 -1
- package/src/cli/simple-commands/hive-mind-optimize.js +10 -10
- package/src/cli/simple-commands/hive-mind-wizard.js +5 -5
- package/src/cli/simple-commands/hive-mind.js +34 -34
- package/src/cli/simple-commands/hive.js +4 -4
- package/src/cli/simple-commands/hook-safety.js +7 -7
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +74 -74
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +143 -143
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +13 -13
- package/src/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +41 -41
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +1 -1
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +24 -24
- package/src/cli/simple-commands/init/executable-wrapper.js +11 -11
- package/src/cli/simple-commands/init/help.js +19 -19
- package/src/cli/simple-commands/init/index.js +13 -13
- package/src/cli/simple-commands/init/rollback/recovery-manager.js +1 -1
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +2 -2
- package/src/cli/simple-commands/init/sparc/roo-readme.js +5 -5
- package/src/cli/simple-commands/init/templates/claude-md.js +41 -41
- package/src/cli/simple-commands/init/templates/coordination-md.js +55 -55
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +175 -175
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +22 -22
- package/src/cli/simple-commands/init/templates/safe-hook-patterns.js +4 -4
- package/src/cli/simple-commands/init/templates/settings.json +1 -1
- package/src/cli/simple-commands/init/templates/sparc-modes.js +75 -75
- package/src/cli/simple-commands/init/templates/verification-claude-md.js +39 -39
- package/src/cli/simple-commands/init/validation/config-validator.js +3 -3
- package/src/cli/simple-commands/init/validation/health-checker.js +1 -1
- package/src/cli/simple-commands/init/validation/mode-validator.js +2 -2
- package/src/cli/simple-commands/mcp.js +9 -9
- package/src/cli/simple-commands/migrate-hooks.js +2 -2
- package/src/cli/simple-commands/monitor.js +4 -4
- package/src/cli/simple-commands/neural.js +1 -1
- package/src/cli/simple-commands/pair-autofix-only.js +4 -4
- package/src/cli/simple-commands/pair-basic.js +7 -7
- package/src/cli/simple-commands/pair-old.js +9 -9
- package/src/cli/simple-commands/pair-working.js +4 -4
- package/src/cli/simple-commands/pair.js +4 -4
- package/src/cli/simple-commands/sparc/commands.js +5 -5
- package/src/cli/simple-commands/sparc-modes/architect.js +23 -23
- package/src/cli/simple-commands/sparc-modes/ask.js +21 -21
- package/src/cli/simple-commands/sparc-modes/code.js +23 -23
- package/src/cli/simple-commands/sparc-modes/debug.js +10 -10
- package/src/cli/simple-commands/sparc-modes/devops.js +11 -11
- package/src/cli/simple-commands/sparc-modes/docs-writer.js +3 -3
- package/src/cli/simple-commands/sparc-modes/generic.js +4 -4
- package/src/cli/simple-commands/sparc-modes/index.js +22 -22
- package/src/cli/simple-commands/sparc-modes/integration.js +3 -3
- package/src/cli/simple-commands/sparc-modes/mcp.js +3 -3
- package/src/cli/simple-commands/sparc-modes/monitoring.js +3 -3
- package/src/cli/simple-commands/sparc-modes/optimization.js +3 -3
- package/src/cli/simple-commands/sparc-modes/security-review.js +11 -11
- package/src/cli/simple-commands/sparc-modes/sparc-orchestrator.js +37 -37
- package/src/cli/simple-commands/sparc-modes/spec-pseudocode.js +3 -3
- package/src/cli/simple-commands/sparc-modes/supabase-admin.js +11 -11
- package/src/cli/simple-commands/sparc-modes/swarm.js +34 -34
- package/src/cli/simple-commands/sparc-modes/tdd.js +11 -11
- package/src/cli/simple-commands/sparc-modes/tutorial.js +30 -30
- package/src/cli/simple-commands/sparc.js +14 -14
- package/src/cli/simple-commands/start-ui.js +4 -4
- package/src/cli/simple-commands/start-wrapper.js +17 -17
- package/src/cli/simple-commands/status.js +3 -3
- package/src/cli/simple-commands/stream-chain.js +12 -12
- package/src/cli/simple-commands/swarm-metrics-integration.js +2 -2
- package/src/cli/simple-commands/swarm-ui.js +2 -2
- package/src/cli/simple-commands/swarm.js +19 -19
- package/src/cli/simple-commands/task.js +7 -7
- package/src/cli/simple-commands/training.js +5 -5
- package/src/cli/simple-commands/verification-training-integration.js +1 -1
- package/src/slash-commands/claude-soul.js +248 -365
- package/src/slash-commands/register-all-commands.js +1 -1
- package/wiki/README.md +2 -2
- package/wiki/accessibility/README.md +4 -4
- package/wiki/accessibility/assistive-tech/screen-reader-support.md +6 -6
- package/wiki/accessibility/automation/agent-testing-automation.md +13 -13
- package/wiki/accessibility/guidelines/wcag-compliance.md +6 -6
- package/wiki/accessibility/i18n/internationalization-strategies.md +6 -6
- package/wiki/accessibility/motor-accessibility/keyboard-navigation.md +7 -7
- package/wiki/accessibility/patterns/inclusive-design-patterns.md +4 -4
- package/wiki/accessibility/testing/automated-testing.md +9 -9
- package/wiki/accessibility/visual-design/color-contrast.md +7 -7
- package/wiki/accessibility/workflows/accessibility-first-development.md +22 -22
- package/wiki/accessibility/workflows/inclusive-design-review.md +9 -9
- package/wiki/api-reference/cli-api.md +15 -15
- package/wiki/api-reference/plugin-development.md +3 -3
- package/wiki/command-reference/README.md +34 -34
- package/wiki/command-reference/agent-commands.md +46 -46
- package/wiki/command-reference/cli-commands.md +21 -21
- package/wiki/command-reference/command-syntax.md +89 -89
- package/wiki/command-reference/expert-tier.md +184 -184
- package/wiki/command-reference/intermediate-tier.md +63 -63
- package/wiki/command-reference/mcp-integration.md +29 -29
- package/wiki/command-reference/mcp-tools/README.md +4 -4
- package/wiki/command-reference/mcp-tools/dual-access-workflows.md +1 -1
- package/wiki/command-reference/mcp-tools/index.md +2 -2
- package/wiki/command-reference/mcp-tools/quick-reference.md +4 -4
- package/wiki/command-reference/mcp-tools/session-management.md +2 -2
- package/wiki/command-reference/mcp-tools/task-tool-integration.md +3 -3
- package/wiki/command-reference/novice/README.md +1 -1
- package/wiki/command-reference/novice-tier.md +152 -152
- package/wiki/command-reference/progression-guide.md +107 -107
- package/wiki/command-reference/troubleshooting.md +113 -113
- package/wiki/command-reference/workflows.md +187 -187
- package/wiki/community/README.md +1 -1
- package/wiki/community/learning-resources.md +1 -1
- package/wiki/core-concepts/agents/agent-creation-guide.md +9 -9
- package/wiki/core-concepts/integration.md +7 -7
- package/wiki/core-concepts/sparc-workflow.md +5 -5
- package/wiki/examples/automation/cicd-pipeline/README.md +3 -3
- package/wiki/examples/basic/hello-world/README.md +7 -7
- package/wiki/examples/integration-patterns.md +15 -15
- package/wiki/examples/performance-benchmarks.md +11 -11
- package/wiki/examples/projects/rest-api/README.md +1 -1
- package/wiki/examples/scenarios/ecommerce/README.md +1 -1
- package/wiki/examples/swarm-patterns.md +63 -63
- package/wiki/examples/templates/download-system.md +1 -1
- package/wiki/examples/templates/javascript/README.md +2 -2
- package/wiki/examples/troubleshooting/README.md +2 -2
- package/wiki/examples/utilities/patterns/README.md +8 -8
- package/wiki/examples/videos/01-setup.md +16 -16
- package/wiki/examples/workflow-automation/README.md +5 -5
- package/wiki/getting-started/claude-code-mcp/README.md +2 -2
- package/wiki/getting-started/installation/README.md +7 -7
- package/wiki/getting-started/learning-path.md +2 -2
- package/wiki/getting-started/quick-start/README.md +2 -2
- package/wiki/getting-started/quick-start/cli-tutorial.md +1 -1
- package/wiki/governance/multi-project-coordination.md +1 -1
- package/wiki/languages/go/README.md +10 -10
- package/wiki/languages/go/examples/README.md +29 -29
- package/wiki/languages/go/frameworks/README.md +18 -18
- package/wiki/languages/go/integration/README.md +34 -34
- package/wiki/languages/go/microservices/README.md +17 -17
- package/wiki/languages/go/performance/README.md +13 -13
- package/wiki/languages/go/setup/README.md +20 -20
- package/wiki/languages/go/systems/README.md +10 -10
- package/wiki/languages/go/testing/README.md +14 -14
- package/wiki/languages/java/README.md +25 -25
- package/wiki/languages/java/claude-flow-integration.md +49 -49
- package/wiki/languages/java/enterprise-java.md +15 -15
- package/wiki/languages/java/examples.md +30 -30
- package/wiki/languages/java/microservices.md +22 -22
- package/wiki/languages/java/performance.md +13 -13
- package/wiki/languages/java/project-setup.md +10 -10
- package/wiki/languages/java/spring-boot.md +12 -12
- package/wiki/languages/java/testing.md +12 -12
- package/wiki/languages/javascript/api/README.md +20 -20
- package/wiki/languages/javascript/backend/README.md +19 -19
- package/wiki/languages/javascript/frontend/README.md +18 -18
- package/wiki/languages/javascript/integration.md +11 -11
- package/wiki/languages/javascript/setup/README.md +28 -28
- package/wiki/languages/javascript/testing/README.md +14 -14
- package/wiki/languages/python/README.md +3 -3
- package/wiki/languages/python/data-science/README.md +11 -11
- package/wiki/languages/python/examples/README.md +5 -5
- package/wiki/languages/python/integration.md +5 -5
- package/wiki/languages/python/mcp-integration.md +1 -1
- package/wiki/languages/python/setup/README.md +5 -5
- package/wiki/languages/python/testing/README.md +3 -3
- package/wiki/languages/python/web-development/README.md +1 -1
- package/wiki/languages/rust/README.md +1 -1
- package/wiki/languages/rust/examples/cli-mcp-workflows.md +33 -33
- package/wiki/languages/rust/examples/rest-api.md +5 -5
- package/wiki/languages/rust/setup/cargo-integration.md +14 -14
- package/wiki/languages/rust/testing/quality-validation.md +9 -9
- package/wiki/languages/rust/web-development/axum.md +6 -6
- package/wiki/languages/rust/workflows/systems-programming.md +5 -5
- package/wiki/languages/typescript/setup.md +2 -2
- package/wiki/troubleshooting/README.md +3 -3
- package/wiki/troubleshooting/common-issues/README.md +6 -6
- package/wiki/troubleshooting/common-issues.md +26 -26
- package/wiki/troubleshooting/error-resolution.md +5 -5
- package/wiki/troubleshooting/performance-optimization.md +11 -11
- package/wiki/tutorials/advanced/06-legacy-system-integration.md +1 -1
- package/wiki/tutorials/advanced/08-enterprise-scenarios.md +3 -3
- package/wiki/tutorials/advanced/performance-optimization.md +43 -43
- package/wiki/tutorials/advanced/swarm-orchestration.md +40 -40
- package/wiki/tutorials/intermediate/optimization.md +35 -35
- package/wiki/tutorials/skill-assessment.md +3 -3
- package/wiki/tutorials/skill-competency-matrix.md +1 -1
- package/wiki/tutorials/troubleshooting/setup-issues.md +3 -3
- package/wiki/video-tutorials/README.md +3 -3
- package/wiki/video-tutorials/accessibility/README.md +4 -4
- package/wiki/video-tutorials/community/README.md +1 -1
- package/wiki/video-tutorials/content-organization/README.md +5 -5
- package/wiki/video-tutorials/interactive/README.md +5 -5
- package/wiki/video-tutorials/planning/README.md +4 -4
- package/wiki/video-tutorials/technical-specs/README.md +2 -2
|
@@ -6,17 +6,17 @@ This directory contains comprehensive examples demonstrating the powerful batch
|
|
|
6
6
|
|
|
7
7
|
1. **Simple Batch Setup**
|
|
8
8
|
```bash
|
|
9
|
-
claude-flow init --batch-init project1,project2,project3 --sparc
|
|
9
|
+
claude-flow-novice init --batch-init project1,project2,project3 --sparc
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
2. **Template-Based Setup**
|
|
13
13
|
```bash
|
|
14
|
-
claude-flow init --batch-init api-v1,api-v2 --template web-api --environments dev,staging
|
|
14
|
+
claude-flow-novice init --batch-init api-v1,api-v2 --template web-api --environments dev,staging
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
3. **Configuration File Setup**
|
|
18
18
|
```bash
|
|
19
|
-
claude-flow init --config examples/batch-config-enterprise.json
|
|
19
|
+
claude-flow-novice init --config examples/batch-config-enterprise.json
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Example Files
|
|
@@ -28,7 +28,7 @@ Basic configuration for 3 projects with web-api template across dev and staging
|
|
|
28
28
|
|
|
29
29
|
**Usage:**
|
|
30
30
|
```bash
|
|
31
|
-
claude-flow init --config examples/batch-config-simple.json
|
|
31
|
+
claude-flow-novice init --config examples/batch-config-simple.json
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
**Creates:**
|
|
@@ -41,7 +41,7 @@ Advanced configuration with project-specific templates and customizations.
|
|
|
41
41
|
|
|
42
42
|
**Usage:**
|
|
43
43
|
```bash
|
|
44
|
-
claude-flow init --config examples/batch-config-advanced.json
|
|
44
|
+
claude-flow-novice init --config examples/batch-config-advanced.json
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
**Creates:**
|
|
@@ -56,7 +56,7 @@ Enterprise-scale configuration with 12 projects across all environments.
|
|
|
56
56
|
|
|
57
57
|
**Usage:**
|
|
58
58
|
```bash
|
|
59
|
-
claude-flow init --config examples/batch-config-enterprise.json --max-concurrent 8
|
|
59
|
+
claude-flow-novice init --config examples/batch-config-enterprise.json --max-concurrent 8
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
**Creates:**
|
|
@@ -101,7 +101,7 @@ deno run --allow-all tests/batch-init.test.js
|
|
|
101
101
|
### Small Teams (1-5 projects)
|
|
102
102
|
```bash
|
|
103
103
|
# Quick setup for small team
|
|
104
|
-
claude-flow init --batch-init api,web,mobile --template web-api --sparc
|
|
104
|
+
claude-flow-novice init --batch-init api,web,mobile --template web-api --sparc
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
**Best for:**
|
|
@@ -113,7 +113,7 @@ claude-flow init --batch-init api,web,mobile --template web-api --sparc
|
|
|
113
113
|
### Medium Teams (5-15 projects)
|
|
114
114
|
```bash
|
|
115
115
|
# Use configuration file for better organization
|
|
116
|
-
claude-flow init --config batch-config-advanced.json --parallel
|
|
116
|
+
claude-flow-novice init --config batch-config-advanced.json --parallel
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
**Best for:**
|
|
@@ -125,7 +125,7 @@ claude-flow init --config batch-config-advanced.json --parallel
|
|
|
125
125
|
### Enterprise (15+ projects)
|
|
126
126
|
```bash
|
|
127
127
|
# Enterprise-scale with high concurrency
|
|
128
|
-
claude-flow init --config batch-config-enterprise.json --max-concurrent 8 --parallel
|
|
128
|
+
claude-flow-novice init --config batch-config-enterprise.json --max-concurrent 8 --parallel
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
**Best for:**
|
|
@@ -139,19 +139,19 @@ claude-flow init --config batch-config-enterprise.json --max-concurrent 8 --para
|
|
|
139
139
|
### Sequential vs Parallel Comparison
|
|
140
140
|
```bash
|
|
141
141
|
# Sequential (slower but lower resource usage)
|
|
142
|
-
claude-flow init --batch-init project1,project2,project3,project4,project5 --no-parallel
|
|
142
|
+
claude-flow-novice init --batch-init project1,project2,project3,project4,project5 --no-parallel
|
|
143
143
|
|
|
144
144
|
# Parallel (faster with optimal concurrency)
|
|
145
|
-
claude-flow init --batch-init project1,project2,project3,project4,project5 --parallel --max-concurrent 3
|
|
145
|
+
claude-flow-novice init --batch-init project1,project2,project3,project4,project5 --parallel --max-concurrent 3
|
|
146
146
|
```
|
|
147
147
|
|
|
148
148
|
### Resource Monitoring
|
|
149
149
|
```bash
|
|
150
150
|
# With performance monitoring
|
|
151
|
-
claude-flow init --config batch-config-advanced.json --verbose
|
|
151
|
+
claude-flow-novice init --config batch-config-advanced.json --verbose
|
|
152
152
|
|
|
153
153
|
# Estimate before running
|
|
154
|
-
claude-flow batch estimate batch-config-enterprise.json
|
|
154
|
+
claude-flow-novice batch estimate batch-config-enterprise.json
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
## Template Examples
|
|
@@ -159,37 +159,37 @@ claude-flow batch estimate batch-config-enterprise.json
|
|
|
159
159
|
### Web API Projects
|
|
160
160
|
```bash
|
|
161
161
|
# Multiple API services
|
|
162
|
-
claude-flow init --batch-init user-api,product-api,order-api --template web-api
|
|
162
|
+
claude-flow-novice init --batch-init user-api,product-api,order-api --template web-api
|
|
163
163
|
|
|
164
164
|
# With different environments
|
|
165
|
-
claude-flow init --batch-init inventory-api --template web-api --environments dev,staging,prod
|
|
165
|
+
claude-flow-novice init --batch-init inventory-api --template web-api --environments dev,staging,prod
|
|
166
166
|
```
|
|
167
167
|
|
|
168
168
|
### React Applications
|
|
169
169
|
```bash
|
|
170
170
|
# Frontend applications
|
|
171
|
-
claude-flow init --batch-init customer-portal,admin-panel --template react-app
|
|
171
|
+
claude-flow-novice init --batch-init customer-portal,admin-panel --template react-app
|
|
172
172
|
|
|
173
173
|
# With SPARC for TDD
|
|
174
|
-
claude-flow init --batch-init dashboard --template react-app --sparc
|
|
174
|
+
claude-flow-novice init --batch-init dashboard --template react-app --sparc
|
|
175
175
|
```
|
|
176
176
|
|
|
177
177
|
### Microservices
|
|
178
178
|
```bash
|
|
179
179
|
# Containerized services
|
|
180
|
-
claude-flow init --batch-init auth-service,payment-service,notification-service --template microservice
|
|
180
|
+
claude-flow-novice init --batch-init auth-service,payment-service,notification-service --template microservice
|
|
181
181
|
|
|
182
182
|
# Production-ready with monitoring
|
|
183
|
-
claude-flow init --batch-init core-services --template microservice --environments prod --sparc
|
|
183
|
+
claude-flow-novice init --batch-init core-services --template microservice --environments prod --sparc
|
|
184
184
|
```
|
|
185
185
|
|
|
186
186
|
### CLI Tools
|
|
187
187
|
```bash
|
|
188
188
|
# Command-line utilities
|
|
189
|
-
claude-flow init --batch-init deployment-tool,migration-tool --template cli-tool
|
|
189
|
+
claude-flow-novice init --batch-init deployment-tool,migration-tool --template cli-tool
|
|
190
190
|
|
|
191
191
|
# Cross-platform tools
|
|
192
|
-
claude-flow init --batch-init admin-cli --template cli-tool --environments dev
|
|
192
|
+
claude-flow-novice init --batch-init admin-cli --template cli-tool --environments dev
|
|
193
193
|
```
|
|
194
194
|
|
|
195
195
|
## Environment Examples
|
|
@@ -197,7 +197,7 @@ claude-flow init --batch-init admin-cli --template cli-tool --environments dev
|
|
|
197
197
|
### Development Setup
|
|
198
198
|
```bash
|
|
199
199
|
# Development environment with debugging
|
|
200
|
-
claude-flow init --batch-init myapp --environments dev --template web-api
|
|
200
|
+
claude-flow-novice init --batch-init myapp --environments dev --template web-api
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
**Creates:**
|
|
@@ -209,7 +209,7 @@ claude-flow init --batch-init myapp --environments dev --template web-api
|
|
|
209
209
|
### Staging Environment
|
|
210
210
|
```bash
|
|
211
211
|
# Staging environment for testing
|
|
212
|
-
claude-flow init --batch-init myapp --environments staging --template microservice
|
|
212
|
+
claude-flow-novice init --batch-init myapp --environments staging --template microservice
|
|
213
213
|
```
|
|
214
214
|
|
|
215
215
|
**Creates:**
|
|
@@ -221,7 +221,7 @@ claude-flow init --batch-init myapp --environments staging --template microservi
|
|
|
221
221
|
### Production Environment
|
|
222
222
|
```bash
|
|
223
223
|
# Production environment with security
|
|
224
|
-
claude-flow init --batch-init myapp --environments prod --template microservice
|
|
224
|
+
claude-flow-novice init --batch-init myapp --environments prod --template microservice
|
|
225
225
|
```
|
|
226
226
|
|
|
227
227
|
**Creates:**
|
|
@@ -233,7 +233,7 @@ claude-flow init --batch-init myapp --environments prod --template microservice
|
|
|
233
233
|
### Multi-Environment Pipeline
|
|
234
234
|
```bash
|
|
235
235
|
# Complete CI/CD pipeline
|
|
236
|
-
claude-flow init --batch-init payment-service --environments dev,staging,prod --template microservice
|
|
236
|
+
claude-flow-novice init --batch-init payment-service --environments dev,staging,prod --template microservice
|
|
237
237
|
```
|
|
238
238
|
|
|
239
239
|
**Creates:**
|
|
@@ -246,7 +246,7 @@ claude-flow init --batch-init payment-service --environments dev,staging,prod --
|
|
|
246
246
|
### With SPARC Development
|
|
247
247
|
```bash
|
|
248
248
|
# SPARC-enabled batch initialization
|
|
249
|
-
claude-flow init --batch-init project1,project2 --sparc --template web-api
|
|
249
|
+
claude-flow-novice init --batch-init project1,project2 --sparc --template web-api
|
|
250
250
|
```
|
|
251
251
|
|
|
252
252
|
**Creates:**
|
|
@@ -271,7 +271,7 @@ cat > my-batch.json << 'EOF'
|
|
|
271
271
|
}
|
|
272
272
|
EOF
|
|
273
273
|
|
|
274
|
-
claude-flow init --config my-batch.json
|
|
274
|
+
claude-flow-novice init --config my-batch.json
|
|
275
275
|
```
|
|
276
276
|
|
|
277
277
|
## Batch Manager Examples
|
|
@@ -279,25 +279,25 @@ claude-flow init --config my-batch.json
|
|
|
279
279
|
### Configuration Management
|
|
280
280
|
```bash
|
|
281
281
|
# Create interactive configuration
|
|
282
|
-
claude-flow batch create-config --interactive
|
|
282
|
+
claude-flow-novice batch create-config --interactive
|
|
283
283
|
|
|
284
284
|
# Validate configuration
|
|
285
|
-
claude-flow batch validate-config my-batch.json
|
|
285
|
+
claude-flow-novice batch validate-config my-batch.json
|
|
286
286
|
|
|
287
287
|
# Estimate resources
|
|
288
|
-
claude-flow batch estimate my-batch.json
|
|
288
|
+
claude-flow-novice batch estimate my-batch.json
|
|
289
289
|
```
|
|
290
290
|
|
|
291
291
|
### Template and Environment Discovery
|
|
292
292
|
```bash
|
|
293
293
|
# List available templates
|
|
294
|
-
claude-flow batch list-templates
|
|
294
|
+
claude-flow-novice batch list-templates
|
|
295
295
|
|
|
296
296
|
# List available environments
|
|
297
|
-
claude-flow batch list-environments
|
|
297
|
+
claude-flow-novice batch list-environments
|
|
298
298
|
|
|
299
299
|
# Get help
|
|
300
|
-
claude-flow batch help
|
|
300
|
+
claude-flow-novice batch help
|
|
301
301
|
```
|
|
302
302
|
|
|
303
303
|
## Troubleshooting Examples
|
|
@@ -307,37 +307,37 @@ claude-flow batch help
|
|
|
307
307
|
#### Memory Usage Too High
|
|
308
308
|
```bash
|
|
309
309
|
# Reduce concurrency
|
|
310
|
-
claude-flow init --batch-init projects --max-concurrent 2
|
|
310
|
+
claude-flow-novice init --batch-init projects --max-concurrent 2
|
|
311
311
|
|
|
312
312
|
# Use minimal template
|
|
313
|
-
claude-flow init --batch-init projects --minimal
|
|
313
|
+
claude-flow-novice init --batch-init projects --minimal
|
|
314
314
|
```
|
|
315
315
|
|
|
316
316
|
#### Slow Performance
|
|
317
317
|
```bash
|
|
318
318
|
# Enable parallel processing
|
|
319
|
-
claude-flow init --batch-init projects --parallel
|
|
319
|
+
claude-flow-novice init --batch-init projects --parallel
|
|
320
320
|
|
|
321
321
|
# Use faster template
|
|
322
|
-
claude-flow init --batch-init projects --template cli-tool
|
|
322
|
+
claude-flow-novice init --batch-init projects --template cli-tool
|
|
323
323
|
```
|
|
324
324
|
|
|
325
325
|
#### Configuration Errors
|
|
326
326
|
```bash
|
|
327
327
|
# Validate first
|
|
328
|
-
claude-flow batch validate-config my-batch.json
|
|
328
|
+
claude-flow-novice batch validate-config my-batch.json
|
|
329
329
|
|
|
330
330
|
# Use force if needed
|
|
331
|
-
claude-flow init --config my-batch.json --force
|
|
331
|
+
claude-flow-novice init --config my-batch.json --force
|
|
332
332
|
```
|
|
333
333
|
|
|
334
334
|
### Debug Mode
|
|
335
335
|
```bash
|
|
336
336
|
# Verbose output for debugging
|
|
337
|
-
claude-flow init --batch-init projects --verbose
|
|
337
|
+
claude-flow-novice init --batch-init projects --verbose
|
|
338
338
|
|
|
339
339
|
# Sequential mode for easier debugging
|
|
340
|
-
claude-flow init --batch-init projects --no-parallel
|
|
340
|
+
claude-flow-novice init --batch-init projects --no-parallel
|
|
341
341
|
```
|
|
342
342
|
|
|
343
343
|
## Best Practices
|
|
@@ -345,39 +345,39 @@ claude-flow init --batch-init projects --no-parallel
|
|
|
345
345
|
### 1. Start Small
|
|
346
346
|
```bash
|
|
347
347
|
# Test with a few projects first
|
|
348
|
-
claude-flow init --batch-init test1,test2 --template web-api
|
|
348
|
+
claude-flow-novice init --batch-init test1,test2 --template web-api
|
|
349
349
|
```
|
|
350
350
|
|
|
351
351
|
### 2. Use Configuration Files
|
|
352
352
|
```bash
|
|
353
353
|
# Better for complex setups
|
|
354
|
-
claude-flow batch create-config enterprise-setup.json
|
|
354
|
+
claude-flow-novice batch create-config enterprise-setup.json
|
|
355
355
|
# Edit the file, then:
|
|
356
|
-
claude-flow init --config enterprise-setup.json
|
|
356
|
+
claude-flow-novice init --config enterprise-setup.json
|
|
357
357
|
```
|
|
358
358
|
|
|
359
359
|
### 3. Validate Before Running
|
|
360
360
|
```bash
|
|
361
361
|
# Always validate configurations
|
|
362
|
-
claude-flow batch validate-config my-batch.json
|
|
362
|
+
claude-flow-novice batch validate-config my-batch.json
|
|
363
363
|
|
|
364
364
|
# Estimate resources
|
|
365
|
-
claude-flow batch estimate my-batch.json
|
|
365
|
+
claude-flow-novice batch estimate my-batch.json
|
|
366
366
|
```
|
|
367
367
|
|
|
368
368
|
### 4. Monitor Performance
|
|
369
369
|
```bash
|
|
370
370
|
# Use performance monitoring
|
|
371
|
-
claude-flow init --config my-batch.json --verbose
|
|
371
|
+
claude-flow-novice init --config my-batch.json --verbose
|
|
372
372
|
|
|
373
373
|
# Adjust concurrency based on system
|
|
374
|
-
claude-flow init --config my-batch.json --max-concurrent 4
|
|
374
|
+
claude-flow-novice init --config my-batch.json --max-concurrent 4
|
|
375
375
|
```
|
|
376
376
|
|
|
377
377
|
### 5. Environment Consistency
|
|
378
378
|
```bash
|
|
379
379
|
# Use same template across environments
|
|
380
|
-
claude-flow init --batch-init myapp --environments dev,staging,prod --template microservice
|
|
380
|
+
claude-flow-novice init --batch-init myapp --environments dev,staging,prod --template microservice
|
|
381
381
|
```
|
|
382
382
|
|
|
383
383
|
## Advanced Examples
|
|
@@ -433,7 +433,7 @@ jobs:
|
|
|
433
433
|
## Next Steps
|
|
434
434
|
|
|
435
435
|
1. **Try the Examples**: Run the provided configuration files
|
|
436
|
-
2. **Create Custom Configs**: Use `claude-flow batch create-config --interactive`
|
|
436
|
+
2. **Create Custom Configs**: Use `claude-flow-novice batch create-config --interactive`
|
|
437
437
|
3. **Scale Gradually**: Start small and increase complexity
|
|
438
438
|
4. **Monitor Performance**: Use built-in monitoring features
|
|
439
439
|
5. **Integrate with SPARC**: Enable SPARC for advanced development workflows
|
package/examples/README.md
CHANGED
|
@@ -53,12 +53,12 @@ cd examples/03-demos
|
|
|
53
53
|
For configuration examples, use them with Claude Flow commands:
|
|
54
54
|
```bash
|
|
55
55
|
cd examples
|
|
56
|
-
../claude-flow swarm create "Your task description" --config ./01-configurations/basic/simple-config.json
|
|
56
|
+
../claude-flow-novice swarm create "Your task description" --config ./01-configurations/basic/simple-config.json
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
Or from the project root:
|
|
60
60
|
```bash
|
|
61
|
-
./claude-flow swarm create "Your task description" --config ./examples/01-configurations/basic/simple-config.json
|
|
61
|
+
./claude-flow-novice swarm create "Your task description" --config ./examples/01-configurations/basic/simple-config.json
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
## Contributing
|
|
@@ -8,7 +8,7 @@ This document provides practical examples of using Claude Flow's automation feat
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Simple ML engineering workflow
|
|
11
|
-
claude-flow automation mle-star \
|
|
11
|
+
claude-flow-novice automation mle-star \
|
|
12
12
|
--dataset data/house_prices.csv \
|
|
13
13
|
--target price \
|
|
14
14
|
--claude \
|
|
@@ -29,7 +29,7 @@ This will:
|
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
# Advanced ML workflow with custom configuration
|
|
32
|
-
claude-flow automation mle-star \
|
|
32
|
+
claude-flow-novice automation mle-star \
|
|
33
33
|
--dataset sales_data.csv \
|
|
34
34
|
--target quarterly_revenue \
|
|
35
35
|
--output models/sales-forecast/ \
|
|
@@ -49,7 +49,7 @@ export DATASET_PATH="data/production_data.csv"
|
|
|
49
49
|
export TARGET_COLUMN="conversion_rate"
|
|
50
50
|
export BUILD_ID="build-$(date +%Y%m%d-%H%M%S)"
|
|
51
51
|
|
|
52
|
-
claude-flow automation mle-star \
|
|
52
|
+
claude-flow-novice automation mle-star \
|
|
53
53
|
--dataset "$DATASET_PATH" \
|
|
54
54
|
--target "$TARGET_COLUMN" \
|
|
55
55
|
--name "$BUILD_ID-model" \
|
|
@@ -210,7 +210,7 @@ Create `web-app-workflow.json`:
|
|
|
210
210
|
Execute the workflow:
|
|
211
211
|
|
|
212
212
|
```bash
|
|
213
|
-
claude-flow automation run-workflow web-app-workflow.json \
|
|
213
|
+
claude-flow-novice automation run-workflow web-app-workflow.json \
|
|
214
214
|
--claude \
|
|
215
215
|
--variables '{"app_name": "ecommerce-platform", "database": "postgresql", "framework": "react"}' \
|
|
216
216
|
--non-interactive
|
|
@@ -443,12 +443,12 @@ Create `devops-workflow.json`:
|
|
|
443
443
|
|
|
444
444
|
```bash
|
|
445
445
|
# Development environment
|
|
446
|
-
claude-flow automation run-workflow devops-workflow.json \
|
|
446
|
+
claude-flow-novice automation run-workflow devops-workflow.json \
|
|
447
447
|
--variables '{"cloud_provider": "aws", "environment": "development"}' \
|
|
448
448
|
--claude
|
|
449
449
|
|
|
450
450
|
# Production environment
|
|
451
|
-
claude-flow automation run-workflow devops-workflow.json \
|
|
451
|
+
claude-flow-novice automation run-workflow devops-workflow.json \
|
|
452
452
|
--variables '{"cloud_provider": "aws", "environment": "production"}' \
|
|
453
453
|
--claude \
|
|
454
454
|
--non-interactive
|
|
@@ -472,10 +472,10 @@ Adjust agents based on workload:
|
|
|
472
472
|
|
|
473
473
|
```bash
|
|
474
474
|
# Light workload
|
|
475
|
-
claude-flow automation mle-star --max-agents 3 --claude
|
|
475
|
+
claude-flow-novice automation mle-star --max-agents 3 --claude
|
|
476
476
|
|
|
477
477
|
# Heavy workload
|
|
478
|
-
claude-flow automation mle-star --max-agents 12 --claude
|
|
478
|
+
claude-flow-novice automation mle-star --max-agents 12 --claude
|
|
479
479
|
```
|
|
480
480
|
|
|
481
481
|
## Integration Examples
|
|
@@ -508,7 +508,7 @@ jobs:
|
|
|
508
508
|
|
|
509
509
|
- name: Run MLE-STAR Pipeline
|
|
510
510
|
run: |
|
|
511
|
-
claude-flow automation mle-star \
|
|
511
|
+
claude-flow-novice automation mle-star \
|
|
512
512
|
--dataset data/training_data.csv \
|
|
513
513
|
--target conversion_rate \
|
|
514
514
|
--name "github-action-${{ github.run_id }}" \
|
|
@@ -584,7 +584,7 @@ spec:
|
|
|
584
584
|
|
|
585
585
|
```bash
|
|
586
586
|
# Enable verbose logging
|
|
587
|
-
claude-flow automation mle-star \
|
|
587
|
+
claude-flow-novice automation mle-star \
|
|
588
588
|
--dataset data/debug.csv \
|
|
589
589
|
--verbose \
|
|
590
590
|
--claude \
|
|
@@ -595,7 +595,7 @@ claude-flow automation mle-star \
|
|
|
595
595
|
|
|
596
596
|
```bash
|
|
597
597
|
# Test workflow syntax without execution
|
|
598
|
-
claude-flow automation run-workflow my-workflow.json \
|
|
598
|
+
claude-flow-novice automation run-workflow my-workflow.json \
|
|
599
599
|
--output-format json \
|
|
600
600
|
--timeout 5000 # Short timeout for validation
|
|
601
601
|
```
|
|
@@ -672,11 +672,11 @@ Break complex workflows into smaller pieces for debugging:
|
|
|
672
672
|
|
|
673
673
|
```bash
|
|
674
674
|
# Development
|
|
675
|
-
claude-flow automation run-workflow workflow.json \
|
|
675
|
+
claude-flow-novice automation run-workflow workflow.json \
|
|
676
676
|
--variables '{"timeout": 1800, "quality_threshold": 0.7}'
|
|
677
677
|
|
|
678
678
|
# Production
|
|
679
|
-
claude-flow automation run-workflow workflow.json \
|
|
679
|
+
claude-flow-novice automation run-workflow workflow.json \
|
|
680
680
|
--variables '{"timeout": 7200, "quality_threshold": 0.95}'
|
|
681
681
|
```
|
|
682
682
|
|
|
@@ -71,30 +71,30 @@ examples/rest-api-simple/
|
|
|
71
71
|
### Option 1: Sequential SPARC Execution (~50 minutes)
|
|
72
72
|
```bash
|
|
73
73
|
# Phase 1: Setup
|
|
74
|
-
npx claude-flow sparc run code "Setup Express server with health endpoint" --non-interactive
|
|
74
|
+
npx claude-flow-novice sparc run code "Setup Express server with health endpoint" --non-interactive
|
|
75
75
|
|
|
76
76
|
# Phase 2: CRUD with TDD
|
|
77
|
-
npx claude-flow sparc run tdd "Implement CRUD operations for tasks" --non-interactive
|
|
77
|
+
npx claude-flow-novice sparc run tdd "Implement CRUD operations for tasks" --non-interactive
|
|
78
78
|
|
|
79
79
|
# Phase 3: Validation
|
|
80
|
-
npx claude-flow sparc run code "Add input validation and error handling" --non-interactive
|
|
80
|
+
npx claude-flow-novice sparc run code "Add input validation and error handling" --non-interactive
|
|
81
81
|
|
|
82
82
|
# Phase 4: Documentation
|
|
83
|
-
npx claude-flow sparc run docs-writer "Create REST API documentation" --non-interactive
|
|
83
|
+
npx claude-flow-novice sparc run docs-writer "Create REST API documentation" --non-interactive
|
|
84
84
|
|
|
85
85
|
# Phase 5: Security Review
|
|
86
|
-
npx claude-flow sparc run security-review "Review API security" --non-interactive
|
|
86
|
+
npx claude-flow-novice sparc run security-review "Review API security" --non-interactive
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
### Option 2: Parallel Swarm Execution (~15 minutes)
|
|
90
90
|
```bash
|
|
91
91
|
# Complete implementation with parallel agents
|
|
92
|
-
npx claude-flow swarm "Build complete simple REST API from architecture docs" \
|
|
92
|
+
npx claude-flow-novice swarm "Build complete simple REST API from architecture docs" \
|
|
93
93
|
--strategy development --background --parallel --testing \
|
|
94
94
|
--max-agents 4 --output ./examples/rest-api-simple/
|
|
95
95
|
|
|
96
96
|
# Monitor progress
|
|
97
|
-
npx claude-flow monitor
|
|
97
|
+
npx claude-flow-novice monitor
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
## 📊 API Endpoints Summary
|
|
@@ -23,7 +23,7 @@ Implement a minimal REST API for task management demonstrating core REST princip
|
|
|
23
23
|
|
|
24
24
|
**Command**:
|
|
25
25
|
```bash
|
|
26
|
-
npx claude-flow sparc run code "Setup Express server with health endpoint for rest-api-simple" --non-interactive
|
|
26
|
+
npx claude-flow-novice sparc run code "Setup Express server with health endpoint for rest-api-simple" --non-interactive
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
---
|
|
@@ -48,7 +48,7 @@ npx claude-flow sparc run code "Setup Express server with health endpoint for re
|
|
|
48
48
|
|
|
49
49
|
**Command**:
|
|
50
50
|
```bash
|
|
51
|
-
npx claude-flow sparc run tdd "Implement CRUD operations for tasks with full test coverage" --non-interactive
|
|
51
|
+
npx claude-flow-novice sparc run tdd "Implement CRUD operations for tasks with full test coverage" --non-interactive
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
---
|
|
@@ -70,7 +70,7 @@ npx claude-flow sparc run tdd "Implement CRUD operations for tasks with full tes
|
|
|
70
70
|
|
|
71
71
|
**Command**:
|
|
72
72
|
```bash
|
|
73
|
-
npx claude-flow sparc run code "Add input validation and error handling to REST API" --non-interactive
|
|
73
|
+
npx claude-flow-novice sparc run code "Add input validation and error handling to REST API" --non-interactive
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
---
|
|
@@ -93,7 +93,7 @@ npx claude-flow sparc run code "Add input validation and error handling to REST
|
|
|
93
93
|
|
|
94
94
|
**Command**:
|
|
95
95
|
```bash
|
|
96
|
-
npx claude-flow sparc run docs-writer "Create comprehensive documentation for simple REST API" --non-interactive
|
|
96
|
+
npx claude-flow-novice sparc run docs-writer "Create comprehensive documentation for simple REST API" --non-interactive
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
---
|
|
@@ -110,7 +110,7 @@ npx claude-flow sparc run docs-writer "Create comprehensive documentation for si
|
|
|
110
110
|
|
|
111
111
|
**Command**:
|
|
112
112
|
```bash
|
|
113
|
-
npx claude-flow sparc run security-review "Review REST API for security best practices" --non-interactive
|
|
113
|
+
npx claude-flow-novice sparc run security-review "Review REST API for security best practices" --non-interactive
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
---
|
|
@@ -203,12 +203,12 @@ For faster implementation, use background swarms:
|
|
|
203
203
|
|
|
204
204
|
```bash
|
|
205
205
|
# Complete implementation in parallel
|
|
206
|
-
npx claude-flow swarm "Implement complete simple REST API based on architecture" \
|
|
206
|
+
npx claude-flow-novice swarm "Implement complete simple REST API based on architecture" \
|
|
207
207
|
--strategy development --background --parallel --testing \
|
|
208
208
|
--max-agents 4 --output ./
|
|
209
209
|
|
|
210
210
|
# Monitor progress
|
|
211
|
-
npx claude-flow monitor
|
|
211
|
+
npx claude-flow-novice monitor
|
|
212
212
|
```
|
|
213
213
|
|
|
214
214
|
## Time Estimate
|
|
@@ -14,20 +14,20 @@ Execute the following command to start the refactoring:
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
cd /workspaces/claude-code-flow/examples/rest-api-simple
|
|
17
|
-
npx claude-flow sparc run code "Refactor index.js to server.js for REST API: change resource from items to tasks, add API versioning /api/v1/, update data model with title/completed/timestamps"
|
|
17
|
+
npx claude-flow-novice sparc run code "Refactor index.js to server.js for REST API: change resource from items to tasks, add API versioning /api/v1/, update data model with title/completed/timestamps"
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Then continue with:
|
|
21
|
-
1. `npx claude-flow sparc run tdd "Create Jest test suite for tasks REST API"`
|
|
22
|
-
2. `npx claude-flow sparc run code "Implement query parameters for tasks API"`
|
|
23
|
-
3. `npx claude-flow sparc run code "Enhance error handling for tasks API"`
|
|
21
|
+
1. `npx claude-flow-novice sparc run tdd "Create Jest test suite for tasks REST API"`
|
|
22
|
+
2. `npx claude-flow-novice sparc run code "Implement query parameters for tasks API"`
|
|
23
|
+
3. `npx claude-flow-novice sparc run code "Enhance error handling for tasks API"`
|
|
24
24
|
|
|
25
25
|
### Option 2: Parallel Swarm Execution (Faster)
|
|
26
26
|
Use swarm mode to complete everything at once:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
29
|
cd /workspaces/claude-code-flow/examples/rest-api-simple
|
|
30
|
-
npx claude-flow swarm "Complete REST API implementation: refactor to tasks resource with proper data model, add API versioning, create Jest test suite, implement query parameters, enhance error handling" \
|
|
30
|
+
npx claude-flow-novice swarm "Complete REST API implementation: refactor to tasks resource with proper data model, add API versioning, create Jest test suite, implement query parameters, enhance error handling" \
|
|
31
31
|
--strategy development \
|
|
32
32
|
--background \
|
|
33
33
|
--parallel \
|
|
@@ -8,7 +8,7 @@ Based on the architecture analysis, here's the roadmap to complete the REST API
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Refactor the existing implementation to match specifications
|
|
11
|
-
npx claude-flow sparc run code "Refactor index.js to server.js for REST API: change resource from items to tasks, add API versioning /api/v1/, update data model with title/completed/timestamps" --non-interactive
|
|
11
|
+
npx claude-flow-novice sparc run code "Refactor index.js to server.js for REST API: change resource from items to tasks, add API versioning /api/v1/, update data model with title/completed/timestamps" --non-interactive
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
**Tasks**:
|
|
@@ -22,7 +22,7 @@ npx claude-flow sparc run code "Refactor index.js to server.js for REST API: cha
|
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
# Create comprehensive test suite
|
|
25
|
-
npx claude-flow sparc run tdd "Create Jest test suite for tasks REST API with full coverage of CRUD operations, error cases, and query parameters" --non-interactive
|
|
25
|
+
npx claude-flow-novice sparc run tdd "Create Jest test suite for tasks REST API with full coverage of CRUD operations, error cases, and query parameters" --non-interactive
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
**Tasks**:
|
|
@@ -36,7 +36,7 @@ npx claude-flow sparc run tdd "Create Jest test suite for tasks REST API with fu
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
# Add missing features
|
|
39
|
-
npx claude-flow sparc run code "Implement query parameters for tasks API: filtering by completed status, pagination with limit/offset, and sorting" --non-interactive
|
|
39
|
+
npx claude-flow-novice sparc run code "Implement query parameters for tasks API: filtering by completed status, pagination with limit/offset, and sorting" --non-interactive
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
**Tasks**:
|
|
@@ -50,7 +50,7 @@ npx claude-flow sparc run code "Implement query parameters for tasks API: filter
|
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
# Enhance error handling
|
|
53
|
-
npx claude-flow sparc run code "Implement proper error handling for tasks API with consistent error format, validation errors, and request ID tracking" --non-interactive
|
|
53
|
+
npx claude-flow-novice sparc run code "Implement proper error handling for tasks API with consistent error format, validation errors, and request ID tracking" --non-interactive
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
**Tasks**:
|
|
@@ -64,7 +64,7 @@ npx claude-flow sparc run code "Implement proper error handling for tasks API wi
|
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
# Security analysis
|
|
67
|
-
npx claude-flow sparc run security-review "Review tasks REST API for security vulnerabilities, input validation, and error information leakage" --non-interactive
|
|
67
|
+
npx claude-flow-novice sparc run security-review "Review tasks REST API for security vulnerabilities, input validation, and error information leakage" --non-interactive
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
**Tasks**:
|
|
@@ -78,7 +78,7 @@ npx claude-flow sparc run security-review "Review tasks REST API for security vu
|
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
80
|
# Optimize performance
|
|
81
|
-
npx claude-flow sparc run refinement-optimization-mode "Optimize tasks API query performance and memory usage for large datasets" --non-interactive
|
|
81
|
+
npx claude-flow-novice sparc run refinement-optimization-mode "Optimize tasks API query performance and memory usage for large datasets" --non-interactive
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
**Tasks**:
|
|
@@ -92,7 +92,7 @@ npx claude-flow sparc run refinement-optimization-mode "Optimize tasks API query
|
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
94
|
# Update documentation
|
|
95
|
-
npx claude-flow sparc run docs-writer "Update REST API documentation to match implementation: README, API examples, and ensure consistency across all docs" --non-interactive
|
|
95
|
+
npx claude-flow-novice sparc run docs-writer "Update REST API documentation to match implementation: README, API examples, and ensure consistency across all docs" --non-interactive
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
**Tasks**:
|
|
@@ -106,7 +106,7 @@ npx claude-flow sparc run docs-writer "Update REST API documentation to match im
|
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
108
|
# Final integration
|
|
109
|
-
npx claude-flow sparc run integration "Perform end-to-end testing of tasks REST API and ensure all components work together correctly" --non-interactive
|
|
109
|
+
npx claude-flow-novice sparc run integration "Perform end-to-end testing of tasks REST API and ensure all components work together correctly" --non-interactive
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
**Tasks**:
|
|
@@ -122,7 +122,7 @@ For faster completion, use swarm mode to execute multiple phases in parallel:
|
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
124
|
# Background swarm for comprehensive implementation
|
|
125
|
-
npx claude-flow swarm "Complete REST API implementation: refactor to tasks resource, add tests, implement query parameters, enhance error handling" \
|
|
125
|
+
npx claude-flow-novice swarm "Complete REST API implementation: refactor to tasks resource, add tests, implement query parameters, enhance error handling" \
|
|
126
126
|
--strategy development \
|
|
127
127
|
--background \
|
|
128
128
|
--parallel \
|
|
@@ -131,8 +131,8 @@ npx claude-flow swarm "Complete REST API implementation: refactor to tasks resou
|
|
|
131
131
|
--output ./api-implementation
|
|
132
132
|
|
|
133
133
|
# Monitor progress
|
|
134
|
-
npx claude-flow status
|
|
135
|
-
npx claude-flow monitor
|
|
134
|
+
npx claude-flow-novice status
|
|
135
|
+
npx claude-flow-novice monitor
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
## Manual Execution Steps
|
|
@@ -186,5 +186,5 @@ If you prefer to execute each phase manually:
|
|
|
186
186
|
Execute Phase 1 to refactor the core implementation:
|
|
187
187
|
|
|
188
188
|
```bash
|
|
189
|
-
npx claude-flow sparc run code "Refactor index.js to server.js for REST API: change resource from items to tasks, add API versioning /api/v1/, update data model with title/completed/timestamps" --non-interactive
|
|
189
|
+
npx claude-flow-novice sparc run code "Refactor index.js to server.js for REST API: change resource from items to tasks, add API versioning /api/v1/, update data model with title/completed/timestamps" --non-interactive
|
|
190
190
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow-novice",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Standalone Claude Flow for beginners - AI agent orchestration made easy. Enhanced init command creates complete agent system, MCP configuration with 30 essential tools, and automated hooks. Fully standalone with zero external dependencies, all memory leaks eliminated, complete project setup in one command.",
|
|
5
5
|
"mcpName": "io.github.ruvnet/claude-flow",
|
|
6
6
|
"main": ".claude-flow-novice/dist/index.js",
|