claude-flow-novice 1.3.3 โ 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 +14 -14
- 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 +4 -4
- 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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Claude-Flow Agent Integration Patterns for Go
|
|
2
2
|
|
|
3
|
-
Advanced patterns for integrating claude-flow agents into Go development workflows for maximum productivity and automation.
|
|
3
|
+
Advanced patterns for integrating claude-flow-novice agents into Go development workflows for maximum productivity and automation.
|
|
4
4
|
|
|
5
5
|
## ๐ค Agent Coordination Patterns
|
|
6
6
|
|
|
7
7
|
### Multi-Agent Go Development
|
|
8
8
|
```bash
|
|
9
9
|
# Initialize coordinated development environment
|
|
10
|
-
npx claude-flow mcp swarm_init --topology mesh --max-agents 8
|
|
10
|
+
npx claude-flow-novice mcp swarm_init --topology mesh --max-agents 8
|
|
11
11
|
|
|
12
12
|
# Spawn specialized Go agents
|
|
13
|
-
npx claude-flow sparc batch "researcher,architect,coder,tester,reviewer,perf-analyzer,security-auditor,deployer" \
|
|
13
|
+
npx claude-flow-novice sparc batch "researcher,architect,coder,tester,reviewer,perf-analyzer,security-auditor,deployer" \
|
|
14
14
|
"Build production-ready Go microservice with comprehensive testing and deployment"
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -19,25 +19,25 @@ npx claude-flow sparc batch "researcher,architect,coder,tester,reviewer,perf-ana
|
|
|
19
19
|
### SPARC Workflow Integration
|
|
20
20
|
```bash
|
|
21
21
|
# Complete TDD cycle with Go specialization
|
|
22
|
-
npx claude-flow sparc tdd "user authentication service with JWT and rate limiting"
|
|
22
|
+
npx claude-flow-novice sparc tdd "user authentication service with JWT and rate limiting"
|
|
23
23
|
|
|
24
24
|
# Pipeline execution for Go projects
|
|
25
|
-
npx claude-flow sparc pipeline "Go web API with PostgreSQL, Redis, and Kubernetes deployment"
|
|
25
|
+
npx claude-flow-novice sparc pipeline "Go web API with PostgreSQL, Redis, and Kubernetes deployment"
|
|
26
26
|
|
|
27
27
|
# Concurrent mode execution
|
|
28
|
-
npx claude-flow sparc concurrent architect,coder,tester "Go project tasks.txt"
|
|
28
|
+
npx claude-flow-novice sparc concurrent architect,coder,tester "Go project tasks.txt"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Advanced CLI Usage
|
|
32
32
|
```bash
|
|
33
33
|
# Project initialization with Go templates
|
|
34
|
-
npx claude-flow init --template go-microservice --database postgresql --cache redis
|
|
34
|
+
npx claude-flow-novice init --template go-microservice --database postgresql --cache redis
|
|
35
35
|
|
|
36
36
|
# Development workflow automation
|
|
37
|
-
npx claude-flow dev --mode go --watch --test --lint --format
|
|
37
|
+
npx claude-flow-novice dev --mode go --watch --test --lint --format
|
|
38
38
|
|
|
39
39
|
# Performance analysis workflow
|
|
40
|
-
npx claude-flow perf --profile cpu,memory --benchmark --report
|
|
40
|
+
npx claude-flow-novice perf --profile cpu,memory --benchmark --report
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## ๐ MCP Agent Patterns
|
|
@@ -225,7 +225,7 @@ func (cfi *ClaudeFlowIntegration) PostDeploymentHook(ctx context.Context, deploy
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
func (cfi *ClaudeFlowIntegration) analyzeCodeQuality(ctx context.Context, file string) error {
|
|
228
|
-
// Use claude-flow for code review
|
|
228
|
+
// Use claude-flow-novice for code review
|
|
229
229
|
cmd := exec.CommandContext(ctx, "npx", "claude-flow", "sparc", "run", "reviewer",
|
|
230
230
|
fmt.Sprintf("analyze Go code quality in %s", file))
|
|
231
231
|
|
|
@@ -242,7 +242,7 @@ func (cfi *ClaudeFlowIntegration) analyzeCodeQuality(ctx context.Context, file s
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
func (cfi *ClaudeFlowIntegration) runSecurityAnalysis(ctx context.Context, files []string) error {
|
|
245
|
-
// Use claude-flow security auditor
|
|
245
|
+
// Use claude-flow-novice security auditor
|
|
246
246
|
cmd := exec.CommandContext(ctx, "npx", "claude-flow", "sparc", "run", "security-auditor",
|
|
247
247
|
fmt.Sprintf("security audit for Go files: %v", files))
|
|
248
248
|
|
|
@@ -256,7 +256,7 @@ func (cfi *ClaudeFlowIntegration) runSecurityAnalysis(ctx context.Context, files
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
func (cfi *ClaudeFlowIntegration) performanceAnalysis(ctx context.Context, file string) error {
|
|
259
|
-
// Use claude-flow performance analyzer
|
|
259
|
+
// Use claude-flow-novice performance analyzer
|
|
260
260
|
cmd := exec.CommandContext(ctx, "npx", "claude-flow", "sparc", "run", "perf-analyzer",
|
|
261
261
|
fmt.Sprintf("analyze performance implications of changes in %s", file))
|
|
262
262
|
|
|
@@ -414,8 +414,8 @@ type DeploymentMetrics struct {
|
|
|
414
414
|
#!/bin/bash
|
|
415
415
|
# .git/hooks/pre-commit - Generated by claude-flow
|
|
416
416
|
|
|
417
|
-
# Run claude-flow pre-commit analysis
|
|
418
|
-
npx claude-flow hooks pre-task --description "pre-commit validation"
|
|
417
|
+
# Run claude-flow-novice pre-commit analysis
|
|
418
|
+
npx claude-flow-novice hooks pre-task --description "pre-commit validation"
|
|
419
419
|
|
|
420
420
|
# Go-specific checks
|
|
421
421
|
echo "Running Go-specific pre-commit checks..."
|
|
@@ -447,10 +447,10 @@ if command -v gosec &> /dev/null; then
|
|
|
447
447
|
fi
|
|
448
448
|
|
|
449
449
|
# Claude-flow code review
|
|
450
|
-
npx claude-flow sparc run reviewer "review staged Go files for best practices"
|
|
450
|
+
npx claude-flow-novice sparc run reviewer "review staged Go files for best practices"
|
|
451
451
|
|
|
452
452
|
# Store commit context
|
|
453
|
-
npx claude-flow hooks post-task --task-id "pre-commit"
|
|
453
|
+
npx claude-flow-novice hooks post-task --task-id "pre-commit"
|
|
454
454
|
|
|
455
455
|
echo "Pre-commit checks passed!"
|
|
456
456
|
```
|
|
@@ -482,23 +482,23 @@ jobs:
|
|
|
482
482
|
|
|
483
483
|
- name: Initialize Claude-Flow Swarm
|
|
484
484
|
run: |
|
|
485
|
-
npx claude-flow mcp swarm_init --topology mesh --max-agents 5
|
|
485
|
+
npx claude-flow-novice mcp swarm_init --topology mesh --max-agents 5
|
|
486
486
|
|
|
487
487
|
- name: Code Quality Analysis
|
|
488
488
|
run: |
|
|
489
|
-
npx claude-flow sparc run reviewer "comprehensive Go code quality analysis" > review.md
|
|
489
|
+
npx claude-flow-novice sparc run reviewer "comprehensive Go code quality analysis" > review.md
|
|
490
490
|
|
|
491
491
|
- name: Security Audit
|
|
492
492
|
run: |
|
|
493
|
-
npx claude-flow sparc run security-auditor "Go security vulnerability analysis" > security.md
|
|
493
|
+
npx claude-flow-novice sparc run security-auditor "Go security vulnerability analysis" > security.md
|
|
494
494
|
|
|
495
495
|
- name: Performance Analysis
|
|
496
496
|
run: |
|
|
497
|
-
npx claude-flow sparc run perf-analyzer "Go performance optimization suggestions" > performance.md
|
|
497
|
+
npx claude-flow-novice sparc run perf-analyzer "Go performance optimization suggestions" > performance.md
|
|
498
498
|
|
|
499
499
|
- name: Architecture Review
|
|
500
500
|
run: |
|
|
501
|
-
npx claude-flow sparc run architect "Go project architecture assessment" > architecture.md
|
|
501
|
+
npx claude-flow-novice sparc run architect "Go project architecture assessment" > architecture.md
|
|
502
502
|
|
|
503
503
|
- name: Upload Analysis Reports
|
|
504
504
|
uses: actions/upload-artifact@v3
|
|
@@ -523,7 +523,7 @@ jobs:
|
|
|
523
523
|
|
|
524
524
|
- name: Generate Additional Tests
|
|
525
525
|
run: |
|
|
526
|
-
npx claude-flow sparc run tester "generate missing test cases for Go project"
|
|
526
|
+
npx claude-flow-novice sparc run tester "generate missing test cases for Go project"
|
|
527
527
|
|
|
528
528
|
- name: Run Tests with Coverage
|
|
529
529
|
run: |
|
|
@@ -531,7 +531,7 @@ jobs:
|
|
|
531
531
|
|
|
532
532
|
- name: Benchmark Analysis
|
|
533
533
|
run: |
|
|
534
|
-
npx claude-flow sparc run perf-analyzer "analyze benchmark results and suggest optimizations"
|
|
534
|
+
npx claude-flow-novice sparc run perf-analyzer "analyze benchmark results and suggest optimizations"
|
|
535
535
|
go test -bench=. -benchmem ./... > benchmarks.txt
|
|
536
536
|
|
|
537
537
|
- name: Upload Test Results
|
|
@@ -551,17 +551,17 @@ jobs:
|
|
|
551
551
|
|
|
552
552
|
- name: Generate Deployment Strategy
|
|
553
553
|
run: |
|
|
554
|
-
npx claude-flow sparc run deployer "create optimal deployment strategy for Go microservice"
|
|
554
|
+
npx claude-flow-novice sparc run deployer "create optimal deployment strategy for Go microservice"
|
|
555
555
|
|
|
556
556
|
- name: Build and Deploy
|
|
557
557
|
run: |
|
|
558
|
-
# Docker build with claude-flow optimization
|
|
559
|
-
npx claude-flow sparc run coder "optimize Dockerfile for Go application"
|
|
558
|
+
# Docker build with claude-flow-novice optimization
|
|
559
|
+
npx claude-flow-novice sparc run coder "optimize Dockerfile for Go application"
|
|
560
560
|
docker build -t app:latest .
|
|
561
561
|
|
|
562
562
|
- name: Post-Deployment Analysis
|
|
563
563
|
run: |
|
|
564
|
-
npx claude-flow hooks post-task --task-id "deployment" --success true
|
|
564
|
+
npx claude-flow-novice hooks post-task --task-id "deployment" --success true
|
|
565
565
|
```
|
|
566
566
|
|
|
567
567
|
## ๐ Performance Monitoring Integration
|
|
@@ -638,7 +638,7 @@ func (cfm *ClaudeFlowMonitor) analyzePerformance(ctx context.Context) {
|
|
|
638
638
|
func (cfm *ClaudeFlowMonitor) triggerOptimization(ctx context.Context, violations []string) {
|
|
639
639
|
cfm.logger.Warn("Performance thresholds violated", zap.Strings("violations", violations))
|
|
640
640
|
|
|
641
|
-
// Trigger claude-flow performance analysis
|
|
641
|
+
// Trigger claude-flow-novice performance analysis
|
|
642
642
|
go func() {
|
|
643
643
|
cmd := exec.CommandContext(ctx, "npx", "claude-flow", "sparc", "run", "perf-analyzer",
|
|
644
644
|
fmt.Sprintf("analyze performance issues: %v", violations))
|
|
@@ -695,25 +695,25 @@ func (cfm *ClaudeFlowMonitor) storeMetrics(ctx context.Context, metrics map[stri
|
|
|
695
695
|
### Development Workflow Automation
|
|
696
696
|
```bash
|
|
697
697
|
# Start intelligent development session
|
|
698
|
-
npx claude-flow dev start --language go --mode intelligent --watch
|
|
698
|
+
npx claude-flow-novice dev start --language go --mode intelligent --watch
|
|
699
699
|
|
|
700
700
|
# Auto-generate based on changes
|
|
701
|
-
npx claude-flow dev auto-generate --trigger file-change --patterns "*.go"
|
|
701
|
+
npx claude-flow-novice dev auto-generate --trigger file-change --patterns "*.go"
|
|
702
702
|
|
|
703
703
|
# Continuous optimization
|
|
704
|
-
npx claude-flow dev optimize --continuous --metrics performance,security,quality
|
|
704
|
+
npx claude-flow-novice dev optimize --continuous --metrics performance,security,quality
|
|
705
705
|
```
|
|
706
706
|
|
|
707
707
|
### Production Deployment Integration
|
|
708
708
|
```bash
|
|
709
709
|
# Pre-deployment validation
|
|
710
|
-
npx claude-flow deploy pre-check --environment production --validate all
|
|
710
|
+
npx claude-flow-novice deploy pre-check --environment production --validate all
|
|
711
711
|
|
|
712
712
|
# Deployment with monitoring
|
|
713
|
-
npx claude-flow deploy execute --strategy blue-green --monitor claude-flow
|
|
713
|
+
npx claude-flow-novice deploy execute --strategy blue-green --monitor claude-flow
|
|
714
714
|
|
|
715
715
|
# Post-deployment analysis
|
|
716
|
-
npx claude-flow deploy post-analyze --collect-metrics --generate-report
|
|
716
|
+
npx claude-flow-novice deploy post-analyze --collect-metrics --generate-report
|
|
717
717
|
```
|
|
718
718
|
|
|
719
719
|
## ๐ก๏ธ Best Practices for Integration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# Go Microservices Architecture with Claude-Flow
|
|
2
2
|
|
|
3
|
-
Build scalable, distributed microservices using Go and claude-flow for automated development, testing, and deployment.
|
|
3
|
+
Build scalable, distributed microservices using Go and claude-flow-novice for automated development, testing, and deployment.
|
|
4
4
|
|
|
5
5
|
## ๐๏ธ Microservices Architecture Overview
|
|
6
6
|
|
|
7
7
|
### Quick Microservice Generation
|
|
8
8
|
```bash
|
|
9
9
|
# Generate complete microservice with claude-flow
|
|
10
|
-
npx claude-flow sparc pipeline "Go microservice with gRPC, REST API, and database"
|
|
10
|
+
npx claude-flow-novice sparc pipeline "Go microservice with gRPC, REST API, and database"
|
|
11
11
|
|
|
12
12
|
# Or use MCP for complex coordination
|
|
13
|
-
npx claude-flow mcp swarm_init --topology mesh --max-agents 6
|
|
14
|
-
npx claude-flow mcp agent_spawn --type backend-dev --capabilities microservices,grpc,kubernetes
|
|
13
|
+
npx claude-flow-novice mcp swarm_init --topology mesh --max-agents 6
|
|
14
|
+
npx claude-flow-novice mcp agent_spawn --type backend-dev --capabilities microservices,grpc,kubernetes
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## ๐ Service Communication Patterns
|
|
@@ -19,7 +19,7 @@ npx claude-flow mcp agent_spawn --type backend-dev --capabilities microservices,
|
|
|
19
19
|
### gRPC Service Implementation
|
|
20
20
|
```bash
|
|
21
21
|
# Generate gRPC microservice with claude-flow
|
|
22
|
-
npx claude-flow sparc run architect "gRPC microservice with Protocol Buffers and middleware"
|
|
22
|
+
npx claude-flow-novice sparc run architect "gRPC microservice with Protocol Buffers and middleware"
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
**Generated gRPC Service:**
|
|
@@ -791,7 +791,7 @@ func (hc *HealthChecker) checkHealth(ctx context.Context, service *discovery.Ser
|
|
|
791
791
|
### Database per Service Pattern
|
|
792
792
|
```bash
|
|
793
793
|
# Generate database integration with claude-flow
|
|
794
|
-
npx claude-flow sparc run architect "database per service pattern with PostgreSQL and Redis"
|
|
794
|
+
npx claude-flow-novice sparc run architect "database per service pattern with PostgreSQL and Redis"
|
|
795
795
|
```
|
|
796
796
|
|
|
797
797
|
### Event Sourcing and CQRS
|
|
@@ -1123,20 +1123,20 @@ data:
|
|
|
1123
1123
|
|
|
1124
1124
|
```bash
|
|
1125
1125
|
# Generate complete microservice
|
|
1126
|
-
npx claude-flow sparc pipeline "Go microservice with gRPC, REST, database, and Kubernetes deployment"
|
|
1126
|
+
npx claude-flow-novice sparc pipeline "Go microservice with gRPC, REST, database, and Kubernetes deployment"
|
|
1127
1127
|
|
|
1128
1128
|
# Add specific features
|
|
1129
|
-
npx claude-flow sparc run architect "add event sourcing and CQRS to microservice"
|
|
1130
|
-
npx claude-flow sparc run coder "implement service discovery with etcd"
|
|
1131
|
-
npx claude-flow sparc run coder "add distributed tracing with Jaeger"
|
|
1129
|
+
npx claude-flow-novice sparc run architect "add event sourcing and CQRS to microservice"
|
|
1130
|
+
npx claude-flow-novice sparc run coder "implement service discovery with etcd"
|
|
1131
|
+
npx claude-flow-novice sparc run coder "add distributed tracing with Jaeger"
|
|
1132
1132
|
|
|
1133
1133
|
# Testing microservices
|
|
1134
|
-
npx claude-flow sparc run tester "create integration tests for microservice"
|
|
1135
|
-
npx claude-flow sparc run tester "add contract testing with Pact"
|
|
1134
|
+
npx claude-flow-novice sparc run tester "create integration tests for microservice"
|
|
1135
|
+
npx claude-flow-novice sparc run tester "add contract testing with Pact"
|
|
1136
1136
|
|
|
1137
1137
|
# Deployment and operations
|
|
1138
|
-
npx claude-flow sparc run deployer "deploy microservice to Kubernetes with Helm"
|
|
1139
|
-
npx claude-flow sparc run coder "add monitoring and alerting with Prometheus"
|
|
1138
|
+
npx claude-flow-novice sparc run deployer "deploy microservice to Kubernetes with Helm"
|
|
1139
|
+
npx claude-flow-novice sparc run coder "add monitoring and alerting with Prometheus"
|
|
1140
1140
|
```
|
|
1141
1141
|
|
|
1142
1142
|
## ๐ Observability and Monitoring
|
|
@@ -1144,13 +1144,13 @@ npx claude-flow sparc run coder "add monitoring and alerting with Prometheus"
|
|
|
1144
1144
|
### Distributed Tracing
|
|
1145
1145
|
```bash
|
|
1146
1146
|
# Add tracing with claude-flow
|
|
1147
|
-
npx claude-flow sparc run coder "add OpenTelemetry distributed tracing"
|
|
1147
|
+
npx claude-flow-novice sparc run coder "add OpenTelemetry distributed tracing"
|
|
1148
1148
|
```
|
|
1149
1149
|
|
|
1150
1150
|
### Metrics and Health Checks
|
|
1151
1151
|
```bash
|
|
1152
1152
|
# Add comprehensive monitoring
|
|
1153
|
-
npx claude-flow sparc run coder "add Prometheus metrics and health checks"
|
|
1153
|
+
npx claude-flow-novice sparc run coder "add Prometheus metrics and health checks"
|
|
1154
1154
|
```
|
|
1155
1155
|
|
|
1156
1156
|
## ๐ก๏ธ Best Practices
|
|
@@ -1180,6 +1180,6 @@ npx claude-flow sparc run coder "add Prometheus metrics and health checks"
|
|
|
1180
1180
|
- **Security**: Implement authentication and authorization
|
|
1181
1181
|
|
|
1182
1182
|
**Next Steps:**
|
|
1183
|
-
- [Integration](../integration/) - Advanced claude-flow integration patterns
|
|
1183
|
+
- [Integration](../integration/) - Advanced claude-flow-novice integration patterns
|
|
1184
1184
|
- [Examples](../examples/) - Complete microservice implementations
|
|
1185
1185
|
- [Performance](../performance/) - Optimize microservice performance
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Go Performance Optimization and Profiling with Claude-Flow
|
|
2
2
|
|
|
3
|
-
Advanced performance optimization techniques for Go applications using claude-flow for automated analysis and optimization.
|
|
3
|
+
Advanced performance optimization techniques for Go applications using claude-flow-novice for automated analysis and optimization.
|
|
4
4
|
|
|
5
5
|
## โก Performance Analysis Overview
|
|
6
6
|
|
|
7
7
|
### Quick Performance Assessment
|
|
8
8
|
```bash
|
|
9
9
|
# Generate performance analysis with claude-flow
|
|
10
|
-
npx claude-flow sparc run perf-analyzer "comprehensive Go application performance analysis"
|
|
10
|
+
npx claude-flow-novice sparc run perf-analyzer "comprehensive Go application performance analysis"
|
|
11
11
|
|
|
12
12
|
# Automated bottleneck detection
|
|
13
|
-
npx claude-flow sparc run perf-analyzer "identify and fix performance bottlenecks in concurrent Go application"
|
|
13
|
+
npx claude-flow-novice sparc run perf-analyzer "identify and fix performance bottlenecks in concurrent Go application"
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## ๐ Profiling Fundamentals
|
|
@@ -858,7 +858,7 @@ func (q *CacheFriendlyQueue) Cap() int {
|
|
|
858
858
|
### Comprehensive Benchmarking Suite
|
|
859
859
|
```bash
|
|
860
860
|
# Generate benchmarking suite with claude-flow
|
|
861
|
-
npx claude-flow sparc run perf-analyzer "create comprehensive benchmarking suite for Go application"
|
|
861
|
+
npx claude-flow-novice sparc run perf-analyzer "create comprehensive benchmarking suite for Go application"
|
|
862
862
|
```
|
|
863
863
|
|
|
864
864
|
**Generated Benchmark Code:**
|
|
@@ -1256,26 +1256,26 @@ type GCStats struct {
|
|
|
1256
1256
|
|
|
1257
1257
|
```bash
|
|
1258
1258
|
# Comprehensive performance analysis
|
|
1259
|
-
npx claude-flow sparc run perf-analyzer "analyze and optimize Go application performance"
|
|
1259
|
+
npx claude-flow-novice sparc run perf-analyzer "analyze and optimize Go application performance"
|
|
1260
1260
|
|
|
1261
1261
|
# Specific optimizations
|
|
1262
|
-
npx claude-flow sparc run perf-analyzer "optimize memory allocation patterns"
|
|
1263
|
-
npx claude-flow sparc run perf-analyzer "reduce CPU bottlenecks in concurrent operations"
|
|
1264
|
-
npx claude-flow sparc run perf-analyzer "optimize database query performance"
|
|
1262
|
+
npx claude-flow-novice sparc run perf-analyzer "optimize memory allocation patterns"
|
|
1263
|
+
npx claude-flow-novice sparc run perf-analyzer "reduce CPU bottlenecks in concurrent operations"
|
|
1264
|
+
npx claude-flow-novice sparc run perf-analyzer "optimize database query performance"
|
|
1265
1265
|
|
|
1266
1266
|
# Benchmarking
|
|
1267
|
-
npx claude-flow sparc run tester "create comprehensive benchmark suite"
|
|
1268
|
-
npx claude-flow sparc run perf-analyzer "profile application under load"
|
|
1267
|
+
npx claude-flow-novice sparc run tester "create comprehensive benchmark suite"
|
|
1268
|
+
npx claude-flow-novice sparc run perf-analyzer "profile application under load"
|
|
1269
1269
|
|
|
1270
1270
|
# Monitoring setup
|
|
1271
|
-
npx claude-flow sparc run coder "add performance monitoring and alerting"
|
|
1271
|
+
npx claude-flow-novice sparc run coder "add performance monitoring and alerting"
|
|
1272
1272
|
```
|
|
1273
1273
|
|
|
1274
1274
|
## ๐ Performance Monitoring Dashboard
|
|
1275
1275
|
|
|
1276
1276
|
```bash
|
|
1277
1277
|
# Generate monitoring dashboard with claude-flow
|
|
1278
|
-
npx claude-flow sparc run coder "create Prometheus and Grafana dashboard for Go application performance"
|
|
1278
|
+
npx claude-flow-novice sparc run coder "create Prometheus and Grafana dashboard for Go application performance"
|
|
1279
1279
|
```
|
|
1280
1280
|
|
|
1281
1281
|
## ๐ก๏ธ Best Practices
|
|
@@ -1306,5 +1306,5 @@ npx claude-flow sparc run coder "create Prometheus and Grafana dashboard for Go
|
|
|
1306
1306
|
|
|
1307
1307
|
**Next Steps:**
|
|
1308
1308
|
- [Microservices](../microservices/) - Build scalable distributed systems
|
|
1309
|
-
- [Integration](../integration/) - Advanced claude-flow patterns
|
|
1309
|
+
- [Integration](../integration/) - Advanced claude-flow-novice patterns
|
|
1310
1310
|
- [Examples](../examples/) - See optimized production applications
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Go Project Setup with Claude-Flow
|
|
2
2
|
|
|
3
|
-
Complete guide to setting up Go projects with claude-flow integration for accelerated development.
|
|
3
|
+
Complete guide to setting up Go projects with claude-flow-novice integration for accelerated development.
|
|
4
4
|
|
|
5
5
|
## ๐ Quick Setup
|
|
6
6
|
|
|
7
7
|
### 1. Initialize New Go Project
|
|
8
8
|
```bash
|
|
9
|
-
# Create project with claude-flow assistance
|
|
10
|
-
npx claude-flow sparc run architect "Go project with modern toolchain"
|
|
9
|
+
# Create project with claude-flow-novice assistance
|
|
10
|
+
npx claude-flow-novice sparc run architect "Go project with modern toolchain"
|
|
11
11
|
|
|
12
|
-
# Or use traditional Go setup with claude-flow integration
|
|
12
|
+
# Or use traditional Go setup with claude-flow-novice integration
|
|
13
13
|
mkdir my-go-project && cd my-go-project
|
|
14
14
|
go mod init github.com/username/my-go-project
|
|
15
15
|
|
|
16
|
-
# Initialize claude-flow in project
|
|
17
|
-
npx claude-flow init --language go
|
|
16
|
+
# Initialize claude-flow-novice in project
|
|
17
|
+
npx claude-flow-novice init --language go
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
### 2. Project Structure Generation
|
|
21
21
|
```bash
|
|
22
22
|
# Generate standard Go project structure
|
|
23
|
-
npx claude-flow sparc run coder "standard Go project structure with best practices"
|
|
23
|
+
npx claude-flow-novice sparc run coder "standard Go project structure with best practices"
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
**Generated Structure:**
|
|
@@ -53,8 +53,8 @@ my-go-project/
|
|
|
53
53
|
|
|
54
54
|
### Modern Go Modules Setup
|
|
55
55
|
```bash
|
|
56
|
-
# Initialize with claude-flow assisted dependency management
|
|
57
|
-
npx claude-flow sparc run coder "Go project with essential dependencies for web service"
|
|
56
|
+
# Initialize with claude-flow-novice assisted dependency management
|
|
57
|
+
npx claude-flow-novice sparc run coder "Go project with essential dependencies for web service"
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
**Essential Dependencies:**
|
|
@@ -82,8 +82,8 @@ go get -u ./...
|
|
|
82
82
|
go mod tidy
|
|
83
83
|
go mod verify
|
|
84
84
|
|
|
85
|
-
# Use claude-flow for security analysis
|
|
86
|
-
npx claude-flow sparc run reviewer "analyze Go dependencies for security vulnerabilities"
|
|
85
|
+
# Use claude-flow-novice for security analysis
|
|
86
|
+
npx claude-flow-novice sparc run reviewer "analyze Go dependencies for security vulnerabilities"
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
## โ๏ธ Development Environment
|
|
@@ -160,7 +160,7 @@ docker-run:
|
|
|
160
160
|
### Pre-commit Hooks
|
|
161
161
|
```bash
|
|
162
162
|
# Install pre-commit hooks with claude-flow
|
|
163
|
-
npx claude-flow hooks install
|
|
163
|
+
npx claude-flow-novice hooks install
|
|
164
164
|
|
|
165
165
|
# Configure Go-specific hooks
|
|
166
166
|
cat > .pre-commit-config.yaml << EOF
|
|
@@ -228,7 +228,7 @@ workflows:
|
|
|
228
228
|
### Test Configuration
|
|
229
229
|
```bash
|
|
230
230
|
# Generate comprehensive test setup
|
|
231
|
-
npx claude-flow sparc run tester "Go testing framework with table tests and mocks"
|
|
231
|
+
npx claude-flow-novice sparc run tester "Go testing framework with table tests and mocks"
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
**Generated Test Structure:**
|
|
@@ -368,27 +368,27 @@ var (
|
|
|
368
368
|
## ๐ง Development Commands
|
|
369
369
|
|
|
370
370
|
```bash
|
|
371
|
-
# Start development with claude-flow assistance
|
|
372
|
-
npx claude-flow sparc run coder "start development server with hot reload"
|
|
371
|
+
# Start development with claude-flow-novice assistance
|
|
372
|
+
npx claude-flow-novice sparc run coder "start development server with hot reload"
|
|
373
373
|
|
|
374
374
|
# Generate code with best practices
|
|
375
|
-
npx claude-flow sparc run architect "add new REST endpoint with validation"
|
|
375
|
+
npx claude-flow-novice sparc run architect "add new REST endpoint with validation"
|
|
376
376
|
|
|
377
377
|
# Run comprehensive tests
|
|
378
|
-
npx claude-flow sparc run tester "run all tests with coverage report"
|
|
378
|
+
npx claude-flow-novice sparc run tester "run all tests with coverage report"
|
|
379
379
|
|
|
380
380
|
# Deploy to staging
|
|
381
|
-
npx claude-flow sparc run deployer "deploy to staging environment"
|
|
381
|
+
npx claude-flow-novice sparc run deployer "deploy to staging environment"
|
|
382
382
|
```
|
|
383
383
|
|
|
384
384
|
## ๐ก๏ธ Security Configuration
|
|
385
385
|
|
|
386
386
|
```bash
|
|
387
387
|
# Security scanning with claude-flow
|
|
388
|
-
npx claude-flow sparc run security-auditor "Go security audit with gosec"
|
|
388
|
+
npx claude-flow-novice sparc run security-auditor "Go security audit with gosec"
|
|
389
389
|
|
|
390
390
|
# Dependency vulnerability check
|
|
391
|
-
npx claude-flow sparc run reviewer "check Go dependencies for vulnerabilities"
|
|
391
|
+
npx claude-flow-novice sparc run reviewer "check Go dependencies for vulnerabilities"
|
|
392
392
|
```
|
|
393
393
|
|
|
394
394
|
**Next Steps:**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Systems Programming and Concurrency with Go and Claude-Flow
|
|
2
2
|
|
|
3
|
-
Master Go's concurrent programming patterns and systems-level development with claude-flow assistance.
|
|
3
|
+
Master Go's concurrent programming patterns and systems-level development with claude-flow-novice assistance.
|
|
4
4
|
|
|
5
5
|
## ๐งต Concurrency Fundamentals
|
|
6
6
|
|
|
7
7
|
### Goroutines and Channels
|
|
8
8
|
```bash
|
|
9
9
|
# Generate concurrent programming examples
|
|
10
|
-
npx claude-flow sparc run architect "Go concurrency patterns with goroutines and channels"
|
|
10
|
+
npx claude-flow-novice sparc run architect "Go concurrency patterns with goroutines and channels"
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
**Generated Concurrency Patterns:**
|
|
@@ -395,7 +395,7 @@ func (b *Bulkhead) Release(resource string) error {
|
|
|
395
395
|
### Memory Management and Optimization
|
|
396
396
|
```bash
|
|
397
397
|
# Generate memory-efficient patterns
|
|
398
|
-
npx claude-flow sparc run perf-analyzer "Go memory optimization patterns and techniques"
|
|
398
|
+
npx claude-flow-novice sparc run perf-analyzer "Go memory optimization patterns and techniques"
|
|
399
399
|
```
|
|
400
400
|
|
|
401
401
|
**Generated Memory Management Code:**
|
|
@@ -714,7 +714,7 @@ func (sw *StreamWriter) Close() error {
|
|
|
714
714
|
### TCP/UDP Servers and Clients
|
|
715
715
|
```bash
|
|
716
716
|
# Generate network programming examples
|
|
717
|
-
npx claude-flow sparc run architect "Go network programming with TCP and UDP servers"
|
|
717
|
+
npx claude-flow-novice sparc run architect "Go network programming with TCP and UDP servers"
|
|
718
718
|
```
|
|
719
719
|
|
|
720
720
|
**Generated Network Code:**
|
|
@@ -915,7 +915,7 @@ func (p *ConnectionPool) Close() {
|
|
|
915
915
|
### Race Detection and Testing
|
|
916
916
|
```bash
|
|
917
917
|
# Generate concurrent testing examples
|
|
918
|
-
npx claude-flow sparc run tester "Go concurrent code testing with race detection"
|
|
918
|
+
npx claude-flow-novice sparc run tester "Go concurrent code testing with race detection"
|
|
919
919
|
```
|
|
920
920
|
|
|
921
921
|
**Generated Test Code:**
|
|
@@ -1080,19 +1080,19 @@ func TestConcurrencyProperties(t *testing.T) {
|
|
|
1080
1080
|
|
|
1081
1081
|
```bash
|
|
1082
1082
|
# Generate concurrent system
|
|
1083
|
-
npx claude-flow sparc run architect "concurrent file processing system with worker pools"
|
|
1083
|
+
npx claude-flow-novice sparc run architect "concurrent file processing system with worker pools"
|
|
1084
1084
|
|
|
1085
1085
|
# Optimize performance
|
|
1086
|
-
npx claude-flow sparc run perf-analyzer "optimize goroutine usage and memory allocation"
|
|
1086
|
+
npx claude-flow-novice sparc run perf-analyzer "optimize goroutine usage and memory allocation"
|
|
1087
1087
|
|
|
1088
1088
|
# Add monitoring
|
|
1089
|
-
npx claude-flow sparc run coder "add metrics and monitoring for concurrent operations"
|
|
1089
|
+
npx claude-flow-novice sparc run coder "add metrics and monitoring for concurrent operations"
|
|
1090
1090
|
|
|
1091
1091
|
# Security review
|
|
1092
|
-
npx claude-flow sparc run security-auditor "review concurrent code for race conditions"
|
|
1092
|
+
npx claude-flow-novice sparc run security-auditor "review concurrent code for race conditions"
|
|
1093
1093
|
|
|
1094
1094
|
# Generate benchmarks
|
|
1095
|
-
npx claude-flow sparc run tester "create benchmarks for concurrent operations"
|
|
1095
|
+
npx claude-flow-novice sparc run tester "create benchmarks for concurrent operations"
|
|
1096
1096
|
```
|
|
1097
1097
|
|
|
1098
1098
|
## ๐ Performance Considerations
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Go Testing Strategies with Claude-Flow
|
|
2
2
|
|
|
3
|
-
Comprehensive testing approaches for Go applications using claude-flow to automate test generation and execution.
|
|
3
|
+
Comprehensive testing approaches for Go applications using claude-flow-novice to automate test generation and execution.
|
|
4
4
|
|
|
5
5
|
## ๐งช Testing Framework Overview
|
|
6
6
|
|
|
7
7
|
### Go Testing Fundamentals
|
|
8
8
|
```bash
|
|
9
9
|
# Generate comprehensive test suite
|
|
10
|
-
npx claude-flow sparc tdd "user authentication service with comprehensive tests"
|
|
10
|
+
npx claude-flow-novice sparc tdd "user authentication service with comprehensive tests"
|
|
11
11
|
|
|
12
12
|
# Or generate specific test types
|
|
13
|
-
npx claude-flow sparc run tester "unit tests with table-driven tests and mocks"
|
|
13
|
+
npx claude-flow-novice sparc run tester "unit tests with table-driven tests and mocks"
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## ๐ Test Types and Strategies
|
|
@@ -465,7 +465,7 @@ func TestE2ETestSuite(t *testing.T) {
|
|
|
465
465
|
### Automated Mock Generation
|
|
466
466
|
```bash
|
|
467
467
|
# Generate mocks with claude-flow
|
|
468
|
-
npx claude-flow sparc run coder "generate mocks for all interfaces using mockery"
|
|
468
|
+
npx claude-flow-novice sparc run coder "generate mocks for all interfaces using mockery"
|
|
469
469
|
|
|
470
470
|
# Or use Go generate
|
|
471
471
|
//go:generate mockery --name=UserRepository --output=mocks --outpkg=mocks
|
|
@@ -619,7 +619,7 @@ func BenchmarkMemoryAllocation(b *testing.B) {
|
|
|
619
619
|
### Load Testing with CLI
|
|
620
620
|
```bash
|
|
621
621
|
# Generate load test with claude-flow
|
|
622
|
-
npx claude-flow sparc run tester "create load test for user API endpoints"
|
|
622
|
+
npx claude-flow-novice sparc run tester "create load test for user API endpoints"
|
|
623
623
|
|
|
624
624
|
# Run benchmarks
|
|
625
625
|
go test -bench=. -benchmem -cpuprofile=cpu.prof -memprofile=mem.prof ./test/benchmark/
|
|
@@ -634,7 +634,7 @@ go tool pprof mem.prof
|
|
|
634
634
|
### Coverage Configuration
|
|
635
635
|
```bash
|
|
636
636
|
# Generate test coverage with claude-flow
|
|
637
|
-
npx claude-flow sparc run tester "setup comprehensive test coverage reporting"
|
|
637
|
+
npx claude-flow-novice sparc run tester "setup comprehensive test coverage reporting"
|
|
638
638
|
```
|
|
639
639
|
|
|
640
640
|
**Generated Coverage Script:**
|
|
@@ -792,7 +792,7 @@ func usesMocks(fn *ast.FuncDecl) bool {
|
|
|
792
792
|
### TDD Workflow
|
|
793
793
|
```bash
|
|
794
794
|
# Complete TDD cycle with claude-flow
|
|
795
|
-
npx claude-flow sparc tdd "user authentication service"
|
|
795
|
+
npx claude-flow-novice sparc tdd "user authentication service"
|
|
796
796
|
|
|
797
797
|
# This generates:
|
|
798
798
|
# 1. Failing tests first
|
|
@@ -958,19 +958,19 @@ func AssertUserEqual(t *testing.T, expected, actual *models.User) {
|
|
|
958
958
|
|
|
959
959
|
```bash
|
|
960
960
|
# Generate complete test suite
|
|
961
|
-
npx claude-flow sparc tdd "complete user management system"
|
|
961
|
+
npx claude-flow-novice sparc tdd "complete user management system"
|
|
962
962
|
|
|
963
963
|
# Generate specific test types
|
|
964
|
-
npx claude-flow sparc run tester "integration tests with testcontainers"
|
|
965
|
-
npx claude-flow sparc run tester "benchmark tests for API endpoints"
|
|
966
|
-
npx claude-flow sparc run tester "property-based tests with fuzzing"
|
|
964
|
+
npx claude-flow-novice sparc run tester "integration tests with testcontainers"
|
|
965
|
+
npx claude-flow-novice sparc run tester "benchmark tests for API endpoints"
|
|
966
|
+
npx claude-flow-novice sparc run tester "property-based tests with fuzzing"
|
|
967
967
|
|
|
968
968
|
# Test analysis and improvement
|
|
969
|
-
npx claude-flow sparc run reviewer "analyze test coverage and suggest improvements"
|
|
970
|
-
npx claude-flow sparc run tester "add missing test cases for edge scenarios"
|
|
969
|
+
npx claude-flow-novice sparc run reviewer "analyze test coverage and suggest improvements"
|
|
970
|
+
npx claude-flow-novice sparc run tester "add missing test cases for edge scenarios"
|
|
971
971
|
|
|
972
972
|
# Performance testing
|
|
973
|
-
npx claude-flow sparc run perf-analyzer "create load tests for concurrent operations"
|
|
973
|
+
npx claude-flow-novice sparc run perf-analyzer "create load tests for concurrent operations"
|
|
974
974
|
```
|
|
975
975
|
|
|
976
976
|
## ๐ Best Practices
|