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
|
@@ -39,10 +39,10 @@ public class UserResource {
|
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
# Generate microservices architecture with agents
|
|
42
|
-
npx claude-flow sparc run architect "Design Spring Cloud microservices architecture"
|
|
42
|
+
npx claude-flow-novice sparc run architect "Design Spring Cloud microservices architecture"
|
|
43
43
|
|
|
44
44
|
# Build distributed system
|
|
45
|
-
npx claude-flow sparc batch architect,coder "Implement microservices with Spring Cloud and Quarkus"
|
|
45
|
+
npx claude-flow-novice sparc batch architect,coder "Implement microservices with Spring Cloud and Quarkus"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## Spring Cloud Microservices
|
|
@@ -1200,46 +1200,46 @@ public class UserQueryHandler {
|
|
|
1200
1200
|
|
|
1201
1201
|
```bash
|
|
1202
1202
|
# Design microservices architecture
|
|
1203
|
-
npx claude-flow sparc run architect "Design Spring Cloud microservices architecture with service discovery"
|
|
1203
|
+
npx claude-flow-novice sparc run architect "Design Spring Cloud microservices architecture with service discovery"
|
|
1204
1204
|
|
|
1205
1205
|
# Generate individual services
|
|
1206
|
-
npx claude-flow sparc batch coder,tester "Create user microservice with Spring Boot and JPA"
|
|
1207
|
-
npx claude-flow sparc batch coder,tester "Create order microservice with Spring Boot and Kafka"
|
|
1208
|
-
npx claude-flow sparc batch coder,tester "Create notification microservice with Quarkus"
|
|
1206
|
+
npx claude-flow-novice sparc batch coder,tester "Create user microservice with Spring Boot and JPA"
|
|
1207
|
+
npx claude-flow-novice sparc batch coder,tester "Create order microservice with Spring Boot and Kafka"
|
|
1208
|
+
npx claude-flow-novice sparc batch coder,tester "Create notification microservice with Quarkus"
|
|
1209
1209
|
|
|
1210
1210
|
# Setup infrastructure components
|
|
1211
|
-
npx claude-flow sparc run coder "Create API Gateway with Spring Cloud Gateway"
|
|
1212
|
-
npx claude-flow sparc run coder "Setup Eureka service discovery"
|
|
1213
|
-
npx claude-flow sparc run coder "Configure Spring Cloud Config server"
|
|
1211
|
+
npx claude-flow-novice sparc run coder "Create API Gateway with Spring Cloud Gateway"
|
|
1212
|
+
npx claude-flow-novice sparc run coder "Setup Eureka service discovery"
|
|
1213
|
+
npx claude-flow-novice sparc run coder "Configure Spring Cloud Config server"
|
|
1214
1214
|
|
|
1215
1215
|
# Implement cross-cutting concerns
|
|
1216
|
-
npx claude-flow sparc batch coder,reviewer "Add distributed tracing with Sleuth and Zipkin"
|
|
1217
|
-
npx claude-flow sparc batch coder,reviewer "Implement circuit breakers with Resilience4j"
|
|
1216
|
+
npx claude-flow-novice sparc batch coder,reviewer "Add distributed tracing with Sleuth and Zipkin"
|
|
1217
|
+
npx claude-flow-novice sparc batch coder,reviewer "Implement circuit breakers with Resilience4j"
|
|
1218
1218
|
|
|
1219
1219
|
# Create deployment manifests
|
|
1220
|
-
npx claude-flow sparc run architect "Create Kubernetes deployment manifests for microservices"
|
|
1220
|
+
npx claude-flow-novice sparc run architect "Create Kubernetes deployment manifests for microservices"
|
|
1221
1221
|
```
|
|
1222
1222
|
|
|
1223
1223
|
### 2. MCP Integration for Distributed Systems
|
|
1224
1224
|
|
|
1225
1225
|
```bash
|
|
1226
1226
|
# Initialize microservices development swarm
|
|
1227
|
-
npx claude-flow mcp swarm_init --topology mesh --max-agents 12
|
|
1227
|
+
npx claude-flow-novice mcp swarm_init --topology mesh --max-agents 12
|
|
1228
1228
|
|
|
1229
1229
|
# Spawn microservices specialists
|
|
1230
|
-
npx claude-flow mcp agent_spawn --type architect --capabilities "microservices,spring-cloud,service-mesh"
|
|
1231
|
-
npx claude-flow mcp agent_spawn --type coder --capabilities "spring-boot,spring-cloud-gateway"
|
|
1232
|
-
npx claude-flow mcp agent_spawn --type coder --capabilities "quarkus,reactive,native"
|
|
1233
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "integration-testing,contract-testing"
|
|
1234
|
-
npx claude-flow mcp agent_spawn --type reviewer --capabilities "distributed-systems,performance"
|
|
1230
|
+
npx claude-flow-novice mcp agent_spawn --type architect --capabilities "microservices,spring-cloud,service-mesh"
|
|
1231
|
+
npx claude-flow-novice mcp agent_spawn --type coder --capabilities "spring-boot,spring-cloud-gateway"
|
|
1232
|
+
npx claude-flow-novice mcp agent_spawn --type coder --capabilities "quarkus,reactive,native"
|
|
1233
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "integration-testing,contract-testing"
|
|
1234
|
+
npx claude-flow-novice mcp agent_spawn --type reviewer --capabilities "distributed-systems,performance"
|
|
1235
1235
|
|
|
1236
1236
|
# Spawn infrastructure specialists
|
|
1237
|
-
npx claude-flow mcp agent_spawn --type architect --capabilities "kubernetes,istio,helm"
|
|
1238
|
-
npx claude-flow mcp agent_spawn --type coder --capabilities "kafka,event-sourcing,cqrs"
|
|
1239
|
-
npx claude-flow mcp agent_spawn --type monitor --capabilities "prometheus,grafana,jaeger"
|
|
1237
|
+
npx claude-flow-novice mcp agent_spawn --type architect --capabilities "kubernetes,istio,helm"
|
|
1238
|
+
npx claude-flow-novice mcp agent_spawn --type coder --capabilities "kafka,event-sourcing,cqrs"
|
|
1239
|
+
npx claude-flow-novice mcp agent_spawn --type monitor --capabilities "prometheus,grafana,jaeger"
|
|
1240
1240
|
|
|
1241
1241
|
# Orchestrate microservices development
|
|
1242
|
-
npx claude-flow mcp task_orchestrate --task "Build complete microservices ecosystem" --strategy hierarchical
|
|
1242
|
+
npx claude-flow-novice mcp task_orchestrate --task "Build complete microservices ecosystem" --strategy hierarchical
|
|
1243
1243
|
```
|
|
1244
1244
|
|
|
1245
1245
|
## Monitoring and Observability
|
|
@@ -24,10 +24,10 @@ public class PerformanceMonitor {
|
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
26
|
# Analyze performance bottlenecks with agents
|
|
27
|
-
npx claude-flow sparc run perf-analyzer "Analyze Java application performance bottlenecks"
|
|
27
|
+
npx claude-flow-novice sparc run perf-analyzer "Analyze Java application performance bottlenecks"
|
|
28
28
|
|
|
29
29
|
# Optimize JVM settings
|
|
30
|
-
npx claude-flow sparc batch perf-analyzer,coder "Optimize JVM settings for production workload"
|
|
30
|
+
npx claude-flow-novice sparc batch perf-analyzer,coder "Optimize JVM settings for production workload"
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## JVM Memory Management
|
|
@@ -817,33 +817,33 @@ public class LoadTestManager {
|
|
|
817
817
|
|
|
818
818
|
```bash
|
|
819
819
|
# Analyze application performance
|
|
820
|
-
npx claude-flow sparc run perf-analyzer "Analyze Java application performance bottlenecks and memory leaks"
|
|
820
|
+
npx claude-flow-novice sparc run perf-analyzer "Analyze Java application performance bottlenecks and memory leaks"
|
|
821
821
|
|
|
822
822
|
# Optimize database performance
|
|
823
|
-
npx claude-flow sparc run perf-analyzer "Optimize JPA queries and database connection pool settings"
|
|
823
|
+
npx claude-flow-novice sparc run perf-analyzer "Optimize JPA queries and database connection pool settings"
|
|
824
824
|
|
|
825
825
|
# JVM tuning
|
|
826
|
-
npx claude-flow sparc batch perf-analyzer,coder "Tune JVM parameters for high-throughput application"
|
|
826
|
+
npx claude-flow-novice sparc batch perf-analyzer,coder "Tune JVM parameters for high-throughput application"
|
|
827
827
|
|
|
828
828
|
# Generate performance tests
|
|
829
|
-
npx claude-flow sparc run tester "Create comprehensive performance test suite with JMH and load testing"
|
|
829
|
+
npx claude-flow-novice sparc run tester "Create comprehensive performance test suite with JMH and load testing"
|
|
830
830
|
```
|
|
831
831
|
|
|
832
832
|
### 2. MCP Integration for Performance Optimization
|
|
833
833
|
|
|
834
834
|
```bash
|
|
835
835
|
# Initialize performance optimization swarm
|
|
836
|
-
npx claude-flow mcp swarm_init --topology star --max-agents 6
|
|
836
|
+
npx claude-flow-novice mcp swarm_init --topology star --max-agents 6
|
|
837
837
|
|
|
838
838
|
# Spawn performance specialists
|
|
839
|
-
npx claude-flow mcp agent_spawn --type perf-analyzer --capabilities "jvm-tuning,memory-optimization"
|
|
840
|
-
npx claude-flow mcp agent_spawn --type perf-analyzer --capabilities "database-optimization,query-tuning"
|
|
841
|
-
npx claude-flow mcp agent_spawn --type coder --capabilities "caching,async-processing"
|
|
842
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "performance-testing,load-testing"
|
|
843
|
-
npx claude-flow mcp agent_spawn --type monitor --capabilities "apm,metrics,profiling"
|
|
839
|
+
npx claude-flow-novice mcp agent_spawn --type perf-analyzer --capabilities "jvm-tuning,memory-optimization"
|
|
840
|
+
npx claude-flow-novice mcp agent_spawn --type perf-analyzer --capabilities "database-optimization,query-tuning"
|
|
841
|
+
npx claude-flow-novice mcp agent_spawn --type coder --capabilities "caching,async-processing"
|
|
842
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "performance-testing,load-testing"
|
|
843
|
+
npx claude-flow-novice mcp agent_spawn --type monitor --capabilities "apm,metrics,profiling"
|
|
844
844
|
|
|
845
845
|
# Orchestrate performance optimization
|
|
846
|
-
npx claude-flow mcp task_orchestrate --task "Optimize Java application performance" --strategy parallel
|
|
846
|
+
npx claude-flow-novice mcp task_orchestrate --task "Optimize Java application performance" --strategy parallel
|
|
847
847
|
```
|
|
848
848
|
|
|
849
849
|
## Production Performance Monitoring
|
|
@@ -11,7 +11,7 @@ This guide covers comprehensive Java project setup using both Maven and Gradle b
|
|
|
11
11
|
mvn archetype:generate -DgroupId=com.example -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
|
|
12
12
|
|
|
13
13
|
# With Claude Flow coordination
|
|
14
|
-
npx claude-flow sparc run architect "Create Maven project structure with Spring Boot"
|
|
14
|
+
npx claude-flow-novice sparc run architect "Create Maven project structure with Spring Boot"
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
### Gradle Project Setup
|
|
@@ -21,7 +21,7 @@ npx claude-flow sparc run architect "Create Maven project structure with Spring
|
|
|
21
21
|
gradle init --type java-application
|
|
22
22
|
|
|
23
23
|
# With Claude Flow coordination
|
|
24
|
-
npx claude-flow sparc run architect "Create Gradle project with multi-module structure"
|
|
24
|
+
npx claude-flow-novice sparc run architect "Create Gradle project with multi-module structure"
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## Maven Configuration
|
|
@@ -255,28 +255,28 @@ subprojects {
|
|
|
255
255
|
|
|
256
256
|
```bash
|
|
257
257
|
# Initialize project with multiple agents
|
|
258
|
-
npx claude-flow sparc batch architect,coder,tester "Create enterprise Java project with Maven"
|
|
258
|
+
npx claude-flow-novice sparc batch architect,coder,tester "Create enterprise Java project with Maven"
|
|
259
259
|
|
|
260
260
|
# Generate project structure
|
|
261
|
-
npx claude-flow sparc run architect "Design multi-module Java project structure"
|
|
261
|
+
npx claude-flow-novice sparc run architect "Design multi-module Java project structure"
|
|
262
262
|
|
|
263
263
|
# Setup build configuration
|
|
264
|
-
npx claude-flow sparc run coder "Configure Maven/Gradle with enterprise plugins"
|
|
264
|
+
npx claude-flow-novice sparc run coder "Configure Maven/Gradle with enterprise plugins"
|
|
265
265
|
|
|
266
266
|
# Generate tests
|
|
267
|
-
npx claude-flow sparc run tester "Create comprehensive test structure"
|
|
267
|
+
npx claude-flow-novice sparc run tester "Create comprehensive test structure"
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
### MCP Integration for Project Setup
|
|
271
271
|
|
|
272
272
|
```bash
|
|
273
273
|
# Initialize swarm for Java development
|
|
274
|
-
npx claude-flow mcp swarm_init --topology hierarchical --max-agents 8
|
|
274
|
+
npx claude-flow-novice mcp swarm_init --topology hierarchical --max-agents 8
|
|
275
275
|
|
|
276
276
|
# Spawn specialized agents
|
|
277
|
-
npx claude-flow mcp agent_spawn --type architect --capabilities "project-structure,build-tools"
|
|
278
|
-
npx claude-flow mcp agent_spawn --type coder --capabilities "maven,gradle,spring-boot"
|
|
279
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "junit,testng,integration-tests"
|
|
277
|
+
npx claude-flow-novice mcp agent_spawn --type architect --capabilities "project-structure,build-tools"
|
|
278
|
+
npx claude-flow-novice mcp agent_spawn --type coder --capabilities "maven,gradle,spring-boot"
|
|
279
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "junit,testng,integration-tests"
|
|
280
280
|
```
|
|
281
281
|
|
|
282
282
|
## Directory Structure
|
|
@@ -19,10 +19,10 @@ public class Application {
|
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
21
|
# Generate Spring Boot application with agents
|
|
22
|
-
npx claude-flow sparc run coder "Create Spring Boot REST API with JPA and security"
|
|
22
|
+
npx claude-flow-novice sparc run coder "Create Spring Boot REST API with JPA and security"
|
|
23
23
|
|
|
24
24
|
# Setup cloud-native patterns
|
|
25
|
-
npx claude-flow sparc batch architect,coder "Implement Spring Boot with cloud patterns"
|
|
25
|
+
npx claude-flow-novice sparc batch architect,coder "Implement Spring Boot with cloud patterns"
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Core Spring Boot Components
|
|
@@ -470,34 +470,34 @@ volumes:
|
|
|
470
470
|
|
|
471
471
|
```bash
|
|
472
472
|
# Initialize Spring Boot project with agents
|
|
473
|
-
npx claude-flow sparc run architect "Design Spring Boot microservice architecture"
|
|
473
|
+
npx claude-flow-novice sparc run architect "Design Spring Boot microservice architecture"
|
|
474
474
|
|
|
475
475
|
# Generate boilerplate code
|
|
476
|
-
npx claude-flow sparc run coder "Create Spring Boot REST API with security"
|
|
476
|
+
npx claude-flow-novice sparc run coder "Create Spring Boot REST API with security"
|
|
477
477
|
|
|
478
478
|
# Setup database integration
|
|
479
|
-
npx claude-flow sparc run coder "Implement JPA entities and repositories"
|
|
479
|
+
npx claude-flow-novice sparc run coder "Implement JPA entities and repositories"
|
|
480
480
|
|
|
481
481
|
# Create comprehensive tests
|
|
482
|
-
npx claude-flow sparc run tester "Generate unit and integration tests"
|
|
482
|
+
npx claude-flow-novice sparc run tester "Generate unit and integration tests"
|
|
483
483
|
|
|
484
484
|
# Setup cloud-native features
|
|
485
|
-
npx claude-flow sparc batch architect,coder "Add health checks, metrics, and tracing"
|
|
485
|
+
npx claude-flow-novice sparc batch architect,coder "Add health checks, metrics, and tracing"
|
|
486
486
|
```
|
|
487
487
|
|
|
488
488
|
### MCP Integration for Spring Boot
|
|
489
489
|
|
|
490
490
|
```bash
|
|
491
491
|
# Initialize development swarm
|
|
492
|
-
npx claude-flow mcp swarm_init --topology mesh --max-agents 6
|
|
492
|
+
npx claude-flow-novice mcp swarm_init --topology mesh --max-agents 6
|
|
493
493
|
|
|
494
494
|
# Spawn Spring Boot specialists
|
|
495
|
-
npx claude-flow mcp agent_spawn --type coder --capabilities "spring-boot,jpa,security"
|
|
496
|
-
npx claude-flow mcp agent_spawn --type architect --capabilities "microservices,cloud-native"
|
|
497
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "spring-test,testcontainers"
|
|
495
|
+
npx claude-flow-novice mcp agent_spawn --type coder --capabilities "spring-boot,jpa,security"
|
|
496
|
+
npx claude-flow-novice mcp agent_spawn --type architect --capabilities "microservices,cloud-native"
|
|
497
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "spring-test,testcontainers"
|
|
498
498
|
|
|
499
499
|
# Orchestrate development tasks
|
|
500
|
-
npx claude-flow mcp task_orchestrate --task "Build Spring Boot microservice" --strategy parallel
|
|
500
|
+
npx claude-flow-novice mcp task_orchestrate --task "Build Spring Boot microservice" --strategy parallel
|
|
501
501
|
```
|
|
502
502
|
|
|
503
503
|
## Testing with Spring Boot
|
|
@@ -22,10 +22,10 @@ class UserServiceTest {
|
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
# Generate comprehensive test suite with agents
|
|
25
|
-
npx claude-flow sparc run tester "Create comprehensive Java test suite with JUnit 5"
|
|
25
|
+
npx claude-flow-novice sparc run tester "Create comprehensive Java test suite with JUnit 5"
|
|
26
26
|
|
|
27
27
|
# Setup test automation
|
|
28
|
-
npx claude-flow sparc batch tester,coder "Implement test automation with TestNG and Spring Test"
|
|
28
|
+
npx claude-flow-novice sparc batch tester,coder "Implement test automation with TestNG and Spring Test"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## JUnit 5 Testing
|
|
@@ -989,32 +989,32 @@ public class UserApiLoadTest extends Simulation {
|
|
|
989
989
|
|
|
990
990
|
```bash
|
|
991
991
|
# Generate comprehensive test suite
|
|
992
|
-
npx claude-flow sparc run tester "Generate JUnit 5 test suite for UserService with 90% coverage"
|
|
992
|
+
npx claude-flow-novice sparc run tester "Generate JUnit 5 test suite for UserService with 90% coverage"
|
|
993
993
|
|
|
994
994
|
# Create integration tests
|
|
995
|
-
npx claude-flow sparc run tester "Create Spring Boot integration tests with TestContainers"
|
|
995
|
+
npx claude-flow-novice sparc run tester "Create Spring Boot integration tests with TestContainers"
|
|
996
996
|
|
|
997
997
|
# Generate performance tests
|
|
998
|
-
npx claude-flow sparc run tester "Create JMH benchmarks and Gatling load tests"
|
|
998
|
+
npx claude-flow-novice sparc run tester "Create JMH benchmarks and Gatling load tests"
|
|
999
999
|
|
|
1000
1000
|
# Setup test automation pipeline
|
|
1001
|
-
npx claude-flow sparc batch tester,coder "Create automated test pipeline with Maven/Gradle"
|
|
1001
|
+
npx claude-flow-novice sparc batch tester,coder "Create automated test pipeline with Maven/Gradle"
|
|
1002
1002
|
```
|
|
1003
1003
|
|
|
1004
1004
|
### 2. MCP Integration for Test Coordination
|
|
1005
1005
|
|
|
1006
1006
|
```bash
|
|
1007
1007
|
# Initialize testing swarm
|
|
1008
|
-
npx claude-flow mcp swarm_init --topology star --max-agents 5
|
|
1008
|
+
npx claude-flow-novice mcp swarm_init --topology star --max-agents 5
|
|
1009
1009
|
|
|
1010
1010
|
# Spawn testing specialists
|
|
1011
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "junit5,mockito,spring-test"
|
|
1012
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "testng,integration-testing"
|
|
1013
|
-
npx claude-flow mcp agent_spawn --type tester --capabilities "performance-testing,jmh,gatling"
|
|
1014
|
-
npx claude-flow mcp agent_spawn --type reviewer --capabilities "test-quality,coverage-analysis"
|
|
1011
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "junit5,mockito,spring-test"
|
|
1012
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "testng,integration-testing"
|
|
1013
|
+
npx claude-flow-novice mcp agent_spawn --type tester --capabilities "performance-testing,jmh,gatling"
|
|
1014
|
+
npx claude-flow-novice mcp agent_spawn --type reviewer --capabilities "test-quality,coverage-analysis"
|
|
1015
1015
|
|
|
1016
1016
|
# Orchestrate test development
|
|
1017
|
-
npx claude-flow mcp task_orchestrate --task "Create comprehensive Java test suite" --strategy parallel
|
|
1017
|
+
npx claude-flow-novice mcp task_orchestrate --task "Create comprehensive Java test suite" --strategy parallel
|
|
1018
1018
|
```
|
|
1019
1019
|
|
|
1020
1020
|
### 3. Test Configuration Management
|
|
@@ -8,22 +8,22 @@ Complete guide to building REST APIs and GraphQL endpoints using Claude-Flow age
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Generate REST API with agent
|
|
11
|
-
npx claude-flow sparc run api-docs "Express TypeScript REST API with OpenAPI documentation"
|
|
11
|
+
npx claude-flow-novice sparc run api-docs "Express TypeScript REST API with OpenAPI documentation"
|
|
12
12
|
|
|
13
13
|
# Alternative: GraphQL API
|
|
14
|
-
npx claude-flow sparc run backend-dev "GraphQL API with Apollo Server and TypeScript"
|
|
14
|
+
npx claude-flow-novice sparc run backend-dev "GraphQL API with Apollo Server and TypeScript"
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
### 2. Agent-Driven API Development
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
# Parallel API development
|
|
21
|
-
npx claude-flow sparc batch "backend-dev,api-docs,tester" "E-commerce API with documentation and testing"
|
|
21
|
+
npx claude-flow-novice sparc batch "backend-dev,api-docs,tester" "E-commerce API with documentation and testing"
|
|
22
22
|
|
|
23
23
|
# Sequential API development for complex features
|
|
24
|
-
npx claude-flow sparc run backend-dev "User authentication and authorization API"
|
|
25
|
-
npx claude-flow sparc run api-docs "Generate comprehensive API documentation"
|
|
26
|
-
npx claude-flow sparc run tester "Create API integration and load tests"
|
|
24
|
+
npx claude-flow-novice sparc run backend-dev "User authentication and authorization API"
|
|
25
|
+
npx claude-flow-novice sparc run api-docs "Generate comprehensive API documentation"
|
|
26
|
+
npx claude-flow-novice sparc run tester "Create API integration and load tests"
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## ๐ REST API Architecture
|
|
@@ -75,7 +75,7 @@ api/
|
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
77
|
# Complete API generation
|
|
78
|
-
npx claude-flow sparc run backend-dev "Express TypeScript REST API with:
|
|
78
|
+
npx claude-flow-novice sparc run backend-dev "Express TypeScript REST API with:
|
|
79
79
|
- RESTful endpoints for CRUD operations
|
|
80
80
|
- JWT authentication middleware
|
|
81
81
|
- Input validation with Joi
|
|
@@ -411,7 +411,7 @@ export const searchProducts = catchAsync(async (req: Request, res: Response) =>
|
|
|
411
411
|
|
|
412
412
|
```bash
|
|
413
413
|
# Generate REST API endpoints with agent
|
|
414
|
-
npx claude-flow sparc run backend-dev "RESTful CRUD endpoints with OpenAPI documentation"
|
|
414
|
+
npx claude-flow-novice sparc run backend-dev "RESTful CRUD endpoints with OpenAPI documentation"
|
|
415
415
|
```
|
|
416
416
|
|
|
417
417
|
### 2. Service Layer Implementation
|
|
@@ -531,7 +531,7 @@ export class ProductService {
|
|
|
531
531
|
|
|
532
532
|
```bash
|
|
533
533
|
# Generate service layer with agent
|
|
534
|
-
npx claude-flow sparc run backend-dev "Service layer with business logic and data access patterns"
|
|
534
|
+
npx claude-flow-novice sparc run backend-dev "Service layer with business logic and data access patterns"
|
|
535
535
|
```
|
|
536
536
|
|
|
537
537
|
## ๐ API Documentation
|
|
@@ -640,14 +640,14 @@ export { specs };
|
|
|
640
640
|
|
|
641
641
|
```bash
|
|
642
642
|
# Generate API documentation with agent
|
|
643
|
-
npx claude-flow sparc run api-docs "OpenAPI 3.0 documentation with Swagger UI integration"
|
|
643
|
+
npx claude-flow-novice sparc run api-docs "OpenAPI 3.0 documentation with Swagger UI integration"
|
|
644
644
|
```
|
|
645
645
|
|
|
646
646
|
### 2. Postman Collection Generation
|
|
647
647
|
|
|
648
648
|
```bash
|
|
649
649
|
# Generate Postman collection with agent
|
|
650
|
-
npx claude-flow sparc run api-docs "Postman collection with environment variables and test scripts"
|
|
650
|
+
npx claude-flow-novice sparc run api-docs "Postman collection with environment variables and test scripts"
|
|
651
651
|
```
|
|
652
652
|
|
|
653
653
|
## ๐ GraphQL API Implementation
|
|
@@ -874,7 +874,7 @@ export const resolvers = {
|
|
|
874
874
|
|
|
875
875
|
```bash
|
|
876
876
|
# Generate GraphQL API with agent
|
|
877
|
-
npx claude-flow sparc run backend-dev "GraphQL API with Apollo Server, subscriptions, and TypeScript"
|
|
877
|
+
npx claude-flow-novice sparc run backend-dev "GraphQL API with Apollo Server, subscriptions, and TypeScript"
|
|
878
878
|
```
|
|
879
879
|
|
|
880
880
|
### 2. Apollo Server Setup
|
|
@@ -955,7 +955,7 @@ export const setupGraphQL = async (app: Express) => {
|
|
|
955
955
|
|
|
956
956
|
```bash
|
|
957
957
|
# Generate GraphQL server setup with agent
|
|
958
|
-
npx claude-flow sparc run backend-dev "Apollo Server setup with subscriptions and authentication"
|
|
958
|
+
npx claude-flow-novice sparc run backend-dev "Apollo Server setup with subscriptions and authentication"
|
|
959
959
|
```
|
|
960
960
|
|
|
961
961
|
## ๐งช API Testing Strategies
|
|
@@ -1240,7 +1240,7 @@ describe('Products API', () => {
|
|
|
1240
1240
|
|
|
1241
1241
|
```bash
|
|
1242
1242
|
# Generate comprehensive API tests with agent
|
|
1243
|
-
npx claude-flow sparc run tester "Complete API testing suite with Jest, Supertest, and test database"
|
|
1243
|
+
npx claude-flow-novice sparc run tester "Complete API testing suite with Jest, Supertest, and test database"
|
|
1244
1244
|
```
|
|
1245
1245
|
|
|
1246
1246
|
### 2. Load Testing
|
|
@@ -1351,7 +1351,7 @@ export function handleSummary(data) {
|
|
|
1351
1351
|
|
|
1352
1352
|
```bash
|
|
1353
1353
|
# Generate load testing with agent
|
|
1354
|
-
npx claude-flow sparc run tester "Load testing with K6 for API performance validation"
|
|
1354
|
+
npx claude-flow-novice sparc run tester "Load testing with K6 for API performance validation"
|
|
1355
1355
|
```
|
|
1356
1356
|
|
|
1357
1357
|
## ๐ MCP Integration for API Development
|
|
@@ -1407,21 +1407,21 @@ const status = await mcp__claude_flow__task_status({
|
|
|
1407
1407
|
|
|
1408
1408
|
```bash
|
|
1409
1409
|
# Generate rate limiting with agent
|
|
1410
|
-
npx claude-flow sparc run backend-dev "Advanced rate limiting with Redis and tiered limits"
|
|
1410
|
+
npx claude-flow-novice sparc run backend-dev "Advanced rate limiting with Redis and tiered limits"
|
|
1411
1411
|
```
|
|
1412
1412
|
|
|
1413
1413
|
### 2. API Security
|
|
1414
1414
|
|
|
1415
1415
|
```bash
|
|
1416
1416
|
# Generate security middleware with agent
|
|
1417
|
-
npx claude-flow sparc run reviewer "API security with helmet, CORS, input validation, and SQL injection prevention"
|
|
1417
|
+
npx claude-flow-novice sparc run reviewer "API security with helmet, CORS, input validation, and SQL injection prevention"
|
|
1418
1418
|
```
|
|
1419
1419
|
|
|
1420
1420
|
### 3. API Monitoring
|
|
1421
1421
|
|
|
1422
1422
|
```bash
|
|
1423
1423
|
# Generate monitoring setup with agent
|
|
1424
|
-
npx claude-flow sparc run backend-dev "API monitoring with metrics, logging, and health checks"
|
|
1424
|
+
npx claude-flow-novice sparc run backend-dev "API monitoring with metrics, logging, and health checks"
|
|
1425
1425
|
```
|
|
1426
1426
|
|
|
1427
1427
|
## ๐ฆ API Deployment
|
|
@@ -1430,14 +1430,14 @@ npx claude-flow sparc run backend-dev "API monitoring with metrics, logging, and
|
|
|
1430
1430
|
|
|
1431
1431
|
```bash
|
|
1432
1432
|
# Generate Docker setup for API with agent
|
|
1433
|
-
npx claude-flow sparc run cicd-engineer "Docker configuration for API deployment with multi-stage builds"
|
|
1433
|
+
npx claude-flow-novice sparc run cicd-engineer "Docker configuration for API deployment with multi-stage builds"
|
|
1434
1434
|
```
|
|
1435
1435
|
|
|
1436
1436
|
### 2. CI/CD Pipeline
|
|
1437
1437
|
|
|
1438
1438
|
```bash
|
|
1439
1439
|
# Generate CI/CD pipeline with agent
|
|
1440
|
-
npx claude-flow sparc run cicd-engineer "GitHub Actions pipeline for API testing and deployment"
|
|
1440
|
+
npx claude-flow-novice sparc run cicd-engineer "GitHub Actions pipeline for API testing and deployment"
|
|
1441
1441
|
```
|
|
1442
1442
|
|
|
1443
1443
|
---
|
|
@@ -8,22 +8,22 @@ Complete guide to building Node.js backend applications using Claude-Flow agent
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Generate backend with agent
|
|
11
|
-
npx claude-flow sparc run backend-dev "Express TypeScript API with authentication and database"
|
|
11
|
+
npx claude-flow-novice sparc run backend-dev "Express TypeScript API with authentication and database"
|
|
12
12
|
|
|
13
13
|
# Alternative: Full backend architecture
|
|
14
|
-
npx claude-flow sparc run system-architect "Microservices architecture with Node.js"
|
|
14
|
+
npx claude-flow-novice sparc run system-architect "Microservices architecture with Node.js"
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
### 2. Agent-Driven Development
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
# Parallel backend development
|
|
21
|
-
npx claude-flow sparc batch "backend-dev,api-docs,tester" "E-commerce API development"
|
|
21
|
+
npx claude-flow-novice sparc batch "backend-dev,api-docs,tester" "E-commerce API development"
|
|
22
22
|
|
|
23
23
|
# Sequential development for complex features
|
|
24
|
-
npx claude-flow sparc run backend-dev "User authentication system"
|
|
25
|
-
npx claude-flow sparc run api-docs "Generate OpenAPI documentation"
|
|
26
|
-
npx claude-flow sparc run tester "Create comprehensive API tests"
|
|
24
|
+
npx claude-flow-novice sparc run backend-dev "User authentication system"
|
|
25
|
+
npx claude-flow-novice sparc run api-docs "Generate OpenAPI documentation"
|
|
26
|
+
npx claude-flow-novice sparc run tester "Create comprehensive API tests"
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## ๐ Backend Architecture Patterns
|
|
@@ -58,7 +58,7 @@ server/
|
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
# Complete backend generation
|
|
61
|
-
npx claude-flow sparc run backend-dev "Express TypeScript API with:
|
|
61
|
+
npx claude-flow-novice sparc run backend-dev "Express TypeScript API with:
|
|
62
62
|
- JWT authentication
|
|
63
63
|
- MongoDB integration
|
|
64
64
|
- Input validation
|
|
@@ -128,7 +128,7 @@ export { app };
|
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
130
|
# Generate Express setup with agent
|
|
131
|
-
npx claude-flow sparc run backend-dev "Express server with security middleware and route organization"
|
|
131
|
+
npx claude-flow-novice sparc run backend-dev "Express server with security middleware and route organization"
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
### 2. Authentication System
|
|
@@ -223,7 +223,7 @@ export const login = catchAsync(async (req: Request, res: Response) => {
|
|
|
223
223
|
|
|
224
224
|
```bash
|
|
225
225
|
# Generate authentication system with agent
|
|
226
|
-
npx claude-flow sparc run backend-dev "JWT authentication with registration, login, and password hashing"
|
|
226
|
+
npx claude-flow-novice sparc run backend-dev "JWT authentication with registration, login, and password hashing"
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
### 3. Database Integration
|
|
@@ -285,7 +285,7 @@ export const User = mongoose.model<IUser>('User', userSchema);
|
|
|
285
285
|
|
|
286
286
|
```bash
|
|
287
287
|
# Generate database models with agent
|
|
288
|
-
npx claude-flow sparc run backend-dev "MongoDB models with validation and indexing"
|
|
288
|
+
npx claude-flow-novice sparc run backend-dev "MongoDB models with validation and indexing"
|
|
289
289
|
```
|
|
290
290
|
|
|
291
291
|
### 4. API Routes
|
|
@@ -325,7 +325,7 @@ export { router as userRoutes };
|
|
|
325
325
|
|
|
326
326
|
```bash
|
|
327
327
|
# Generate API routes with agent
|
|
328
|
-
npx claude-flow sparc run backend-dev "RESTful API routes with authentication and authorization"
|
|
328
|
+
npx claude-flow-novice sparc run backend-dev "RESTful API routes with authentication and authorization"
|
|
329
329
|
```
|
|
330
330
|
|
|
331
331
|
## ๐ Security Implementation
|
|
@@ -429,7 +429,7 @@ export const validateProduct = (req: Request, res: Response, next: NextFunction)
|
|
|
429
429
|
|
|
430
430
|
```bash
|
|
431
431
|
# Generate security middleware with agent
|
|
432
|
-
npx claude-flow sparc run backend-dev "Authentication, authorization, and input validation middleware"
|
|
432
|
+
npx claude-flow-novice sparc run backend-dev "Authentication, authorization, and input validation middleware"
|
|
433
433
|
```
|
|
434
434
|
|
|
435
435
|
## ๐งช Testing Backend APIs
|
|
@@ -542,7 +542,7 @@ describe('Authentication Endpoints', () => {
|
|
|
542
542
|
|
|
543
543
|
```bash
|
|
544
544
|
# Generate API tests with agent
|
|
545
|
-
npx claude-flow sparc run tester "Comprehensive API testing with Jest and Supertest"
|
|
545
|
+
npx claude-flow-novice sparc run tester "Comprehensive API testing with Jest and Supertest"
|
|
546
546
|
```
|
|
547
547
|
|
|
548
548
|
## ๐ Performance & Optimization
|
|
@@ -551,7 +551,7 @@ npx claude-flow sparc run tester "Comprehensive API testing with Jest and Supert
|
|
|
551
551
|
|
|
552
552
|
```bash
|
|
553
553
|
# Generate database optimization with agent
|
|
554
|
-
npx claude-flow sparc run perf-analyzer "MongoDB query optimization and indexing strategies"
|
|
554
|
+
npx claude-flow-novice sparc run perf-analyzer "MongoDB query optimization and indexing strategies"
|
|
555
555
|
```
|
|
556
556
|
|
|
557
557
|
### 2. Caching Implementation
|
|
@@ -597,7 +597,7 @@ export const cache = (duration: number = 300) => {
|
|
|
597
597
|
|
|
598
598
|
```bash
|
|
599
599
|
# Generate rate limiting with agent
|
|
600
|
-
npx claude-flow sparc run backend-dev "Advanced rate limiting with Redis and different tiers"
|
|
600
|
+
npx claude-flow-novice sparc run backend-dev "Advanced rate limiting with Redis and different tiers"
|
|
601
601
|
```
|
|
602
602
|
|
|
603
603
|
## ๐ MCP Integration for Backend Development
|
|
@@ -717,7 +717,7 @@ LOG_LEVEL=info
|
|
|
717
717
|
|
|
718
718
|
```bash
|
|
719
719
|
# Generate deployment configuration with agent
|
|
720
|
-
npx claude-flow sparc run cicd-engineer "Docker and environment configuration for Node.js API"
|
|
720
|
+
npx claude-flow-novice sparc run cicd-engineer "Docker and environment configuration for Node.js API"
|
|
721
721
|
```
|
|
722
722
|
|
|
723
723
|
## ๐ Advanced Backend Patterns
|
|
@@ -726,21 +726,21 @@ npx claude-flow sparc run cicd-engineer "Docker and environment configuration fo
|
|
|
726
726
|
|
|
727
727
|
```bash
|
|
728
728
|
# Generate microservices with agent
|
|
729
|
-
npx claude-flow sparc run system-architect "Microservices architecture with API Gateway and service discovery"
|
|
729
|
+
npx claude-flow-novice sparc run system-architect "Microservices architecture with API Gateway and service discovery"
|
|
730
730
|
```
|
|
731
731
|
|
|
732
732
|
### 2. GraphQL API
|
|
733
733
|
|
|
734
734
|
```bash
|
|
735
735
|
# Generate GraphQL API with agent
|
|
736
|
-
npx claude-flow sparc run backend-dev "GraphQL API with Apollo Server and TypeScript"
|
|
736
|
+
npx claude-flow-novice sparc run backend-dev "GraphQL API with Apollo Server and TypeScript"
|
|
737
737
|
```
|
|
738
738
|
|
|
739
739
|
### 3. Real-time Features
|
|
740
740
|
|
|
741
741
|
```bash
|
|
742
742
|
# Generate WebSocket implementation with agent
|
|
743
|
-
npx claude-flow sparc run backend-dev "WebSocket integration with Socket.io for real-time features"
|
|
743
|
+
npx claude-flow-novice sparc run backend-dev "WebSocket integration with Socket.io for real-time features"
|
|
744
744
|
```
|
|
745
745
|
|
|
746
746
|
---
|