claude-flow-novice 2.10.8 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/.claude/commands/README.md +157 -0
  2. package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
  3. package/.claude/hooks/cfn-invoke-pre-edit.sh +88 -0
  4. package/.claude/skills/cfn-agent-spawning/spawn-worker.sh +176 -0
  5. package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
  6. package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
  7. package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
  8. package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
  9. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
  10. package/claude-assets/agents/csuite/cto-agent.md +371 -0
  11. package/claude-assets/agents/marketing_hybrid/cost_tracker.md +13 -0
  12. package/claude-assets/agents/marketing_hybrid/docker_deployer.md +13 -0
  13. package/claude-assets/agents/marketing_hybrid/zai_worker_spawner.md +13 -0
  14. package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
  15. package/claude-assets/hooks/cfn-invoke-pre-edit.sh +88 -0
  16. package/claude-assets/skills/cfn-agent-spawning/spawn-worker.sh +176 -0
  17. package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
  18. package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
  19. package/claude-assets/skills/pre-edit-backup/backup.sh +130 -0
  20. package/claude-assets/skills/pre-edit-backup/cleanup.sh +155 -0
  21. package/claude-assets/skills/pre-edit-backup/restore.sh +128 -0
  22. package/claude-assets/skills/pre-edit-backup/revert-file.sh +168 -0
  23. package/dist/agents/agent-loader.js +315 -0
  24. package/dist/agents/agent-loader.js.map +1 -1
  25. package/package.json +3 -2
  26. package/scripts/init-project.js +38 -3
  27. package/scripts/marketing_hybrid_deployment.sh +45 -0
  28. package/scripts/redis-prometheus-exporter.sh +33 -0
  29. package/scripts/track-zai-costs.sh +19 -0
  30. package/claude-assets/commands/agents/README.md +0 -10
  31. package/claude-assets/commands/agents/agent-capabilities.md +0 -21
  32. package/claude-assets/commands/agents/agent-coordination.md +0 -28
  33. package/claude-assets/commands/agents/agent-spawning.md +0 -28
  34. package/claude-assets/commands/agents/agent-types.md +0 -26
  35. package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  36. package/claude-assets/commands/analysis/README.md +0 -9
  37. package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
  38. package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
  39. package/claude-assets/commands/analysis/performance-report.md +0 -25
  40. package/claude-assets/commands/analysis/token-efficiency.md +0 -45
  41. package/claude-assets/commands/analysis/token-usage.md +0 -25
  42. package/claude-assets/commands/automation/README.md +0 -9
  43. package/claude-assets/commands/automation/auto-agent.md +0 -122
  44. package/claude-assets/commands/automation/self-healing.md +0 -106
  45. package/claude-assets/commands/automation/session-memory.md +0 -90
  46. package/claude-assets/commands/automation/smart-agents.md +0 -73
  47. package/claude-assets/commands/automation/smart-spawn.md +0 -25
  48. package/claude-assets/commands/automation/workflow-select.md +0 -25
  49. package/claude-assets/commands/claude-md.js +0 -237
  50. package/claude-assets/commands/claude-soul.js +0 -28
  51. package/claude-assets/commands/cli-integration.js +0 -216
  52. package/claude-assets/commands/coordination/README.md +0 -9
  53. package/claude-assets/commands/coordination/agent-spawn.md +0 -25
  54. package/claude-assets/commands/coordination/coordination-system.md +0 -88
  55. package/claude-assets/commands/coordination/init.md +0 -44
  56. package/claude-assets/commands/coordination/orchestrate.md +0 -43
  57. package/claude-assets/commands/coordination/spawn.md +0 -45
  58. package/claude-assets/commands/coordination/swarm-init.md +0 -85
  59. package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
  60. package/claude-assets/commands/github/README.md +0 -11
  61. package/claude-assets/commands/github/code-review-swarm.md +0 -514
  62. package/claude-assets/commands/github/code-review.md +0 -25
  63. package/claude-assets/commands/github/github-modes.md +0 -147
  64. package/claude-assets/commands/github/github-swarm.md +0 -121
  65. package/claude-assets/commands/github/issue-tracker.md +0 -292
  66. package/claude-assets/commands/github/issue-triage.md +0 -25
  67. package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
  68. package/claude-assets/commands/github/pr-enhance.md +0 -26
  69. package/claude-assets/commands/github/pr-manager.md +0 -170
  70. package/claude-assets/commands/github/project-board-sync.md +0 -471
  71. package/claude-assets/commands/github/release-manager.md +0 -338
  72. package/claude-assets/commands/github/release-swarm.md +0 -544
  73. package/claude-assets/commands/github/repo-analyze.md +0 -25
  74. package/claude-assets/commands/github/repo-architect.md +0 -367
  75. package/claude-assets/commands/github/swarm-issue.md +0 -482
  76. package/claude-assets/commands/github/swarm-pr.md +0 -285
  77. package/claude-assets/commands/github/sync-coordinator.md +0 -301
  78. package/claude-assets/commands/github/workflow-automation.md +0 -442
  79. package/claude-assets/commands/github.js +0 -638
  80. package/claude-assets/commands/hive-mind/README.md +0 -17
  81. package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
  82. package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
  83. package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
  84. package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
  85. package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
  86. package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
  87. package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
  88. package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
  89. package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
  90. package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
  91. package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
  92. package/claude-assets/commands/hooks/README.md +0 -11
  93. package/claude-assets/commands/hooks/overview.md +0 -58
  94. package/claude-assets/commands/hooks/post-edit.md +0 -117
  95. package/claude-assets/commands/hooks/post-task.md +0 -112
  96. package/claude-assets/commands/hooks/pre-edit.md +0 -113
  97. package/claude-assets/commands/hooks/pre-task.md +0 -111
  98. package/claude-assets/commands/hooks/session-end.md +0 -118
  99. package/claude-assets/commands/hooks/session-start.md +0 -9
  100. package/claude-assets/commands/hooks/setup.md +0 -103
  101. package/claude-assets/commands/hooks.js +0 -651
  102. package/claude-assets/commands/index.js +0 -119
  103. package/claude-assets/commands/memory/README.md +0 -9
  104. package/claude-assets/commands/memory/memory-bank.md +0 -58
  105. package/claude-assets/commands/memory/memory-persist.md +0 -25
  106. package/claude-assets/commands/memory/memory-search.md +0 -25
  107. package/claude-assets/commands/memory/memory-usage.md +0 -25
  108. package/claude-assets/commands/memory/neural.md +0 -47
  109. package/claude-assets/commands/memory/usage.md +0 -46
  110. package/claude-assets/commands/monitoring/README.md +0 -9
  111. package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
  112. package/claude-assets/commands/monitoring/agents.md +0 -44
  113. package/claude-assets/commands/monitoring/real-time-view.md +0 -25
  114. package/claude-assets/commands/monitoring/status.md +0 -46
  115. package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
  116. package/claude-assets/commands/neural.js +0 -572
  117. package/claude-assets/commands/optimization/README.md +0 -9
  118. package/claude-assets/commands/optimization/auto-topology.md +0 -62
  119. package/claude-assets/commands/optimization/cache-manage.md +0 -25
  120. package/claude-assets/commands/optimization/parallel-execute.md +0 -25
  121. package/claude-assets/commands/optimization/parallel-execution.md +0 -50
  122. package/claude-assets/commands/optimization/topology-optimize.md +0 -25
  123. package/claude-assets/commands/pair/README.md +0 -261
  124. package/claude-assets/commands/pair/commands.md +0 -546
  125. package/claude-assets/commands/pair/config.md +0 -510
  126. package/claude-assets/commands/pair/examples.md +0 -512
  127. package/claude-assets/commands/pair/modes.md +0 -348
  128. package/claude-assets/commands/pair/session.md +0 -407
  129. package/claude-assets/commands/pair/start.md +0 -209
  130. package/claude-assets/commands/parse-epic.js +0 -180
  131. package/claude-assets/commands/performance.js +0 -582
  132. package/claude-assets/commands/register-all-commands.js +0 -320
  133. package/claude-assets/commands/register-claude-md.js +0 -82
  134. package/claude-assets/commands/register-claude-soul.js +0 -80
  135. package/claude-assets/commands/sparc/analyzer.md +0 -52
  136. package/claude-assets/commands/sparc/architect.md +0 -53
  137. package/claude-assets/commands/sparc/batch-executor.md +0 -54
  138. package/claude-assets/commands/sparc/coder.md +0 -54
  139. package/claude-assets/commands/sparc/debugger.md +0 -54
  140. package/claude-assets/commands/sparc/designer.md +0 -53
  141. package/claude-assets/commands/sparc/documenter.md +0 -54
  142. package/claude-assets/commands/sparc/innovator.md +0 -54
  143. package/claude-assets/commands/sparc/memory-manager.md +0 -54
  144. package/claude-assets/commands/sparc/optimizer.md +0 -54
  145. package/claude-assets/commands/sparc/orchestrator.md +0 -132
  146. package/claude-assets/commands/sparc/researcher.md +0 -54
  147. package/claude-assets/commands/sparc/reviewer.md +0 -54
  148. package/claude-assets/commands/sparc/sparc-modes.md +0 -174
  149. package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
  150. package/claude-assets/commands/sparc/tdd.md +0 -54
  151. package/claude-assets/commands/sparc/tester.md +0 -54
  152. package/claude-assets/commands/sparc/workflow-manager.md +0 -54
  153. package/claude-assets/commands/sparc.js +0 -110
  154. package/claude-assets/commands/stream-chain/pipeline.md +0 -121
  155. package/claude-assets/commands/stream-chain/run.md +0 -70
  156. package/claude-assets/commands/swarm/README.md +0 -15
  157. package/claude-assets/commands/swarm/analysis.md +0 -95
  158. package/claude-assets/commands/swarm/development.md +0 -96
  159. package/claude-assets/commands/swarm/examples.md +0 -168
  160. package/claude-assets/commands/swarm/maintenance.md +0 -102
  161. package/claude-assets/commands/swarm/optimization.md +0 -117
  162. package/claude-assets/commands/swarm/research.md +0 -136
  163. package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
  164. package/claude-assets/commands/swarm/swarm-background.md +0 -8
  165. package/claude-assets/commands/swarm/swarm-init.md +0 -19
  166. package/claude-assets/commands/swarm/swarm-modes.md +0 -8
  167. package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
  168. package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
  169. package/claude-assets/commands/swarm/swarm-status.md +0 -8
  170. package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
  171. package/claude-assets/commands/swarm/swarm.md +0 -27
  172. package/claude-assets/commands/swarm/testing.md +0 -131
  173. package/claude-assets/commands/swarm.js +0 -423
  174. package/claude-assets/commands/testing/playwright-e2e.md +0 -288
  175. package/claude-assets/commands/training/README.md +0 -9
  176. package/claude-assets/commands/training/model-update.md +0 -25
  177. package/claude-assets/commands/training/neural-patterns.md +0 -74
  178. package/claude-assets/commands/training/neural-train.md +0 -25
  179. package/claude-assets/commands/training/pattern-learn.md +0 -25
  180. package/claude-assets/commands/training/specialization.md +0 -63
  181. package/claude-assets/commands/truth/start.md +0 -143
  182. package/claude-assets/commands/validate-commands.js +0 -223
  183. package/claude-assets/commands/verify/check.md +0 -50
  184. package/claude-assets/commands/verify/start.md +0 -128
  185. package/claude-assets/commands/workflow.js +0 -606
  186. package/claude-assets/commands/workflows/README.md +0 -9
  187. package/claude-assets/commands/workflows/development.md +0 -78
  188. package/claude-assets/commands/workflows/research.md +0 -63
  189. package/claude-assets/commands/workflows/workflow-create.md +0 -25
  190. package/claude-assets/commands/workflows/workflow-execute.md +0 -25
  191. package/claude-assets/commands/workflows/workflow-export.md +0 -25
  192. package/claude-assets/hooks/post-edit.config.json +0 -12
  193. package/claude-assets/skills/team-provider-routing/spawn-worker.sh +0 -91
@@ -1,367 +0,0 @@
1
- # GitHub Repository Architect
2
-
3
- ## Purpose
4
- Repository structure optimization and multi-repo management with ruv-swarm coordination for scalable project architecture and development workflows.
5
-
6
- ## Capabilities
7
- - **Repository structure optimization** with best practices
8
- - **Multi-repository coordination** and synchronization
9
- - **Template management** for consistent project setup
10
- - **Architecture analysis** and improvement recommendations
11
- - **Cross-repo workflow** coordination and management
12
-
13
- ## Tools Available
14
- - `mcp__github__create_repository`
15
- - `mcp__github__fork_repository`
16
- - `mcp__github__search_repositories`
17
- - `mcp__github__push_files`
18
- - `mcp__github__create_or_update_file`
19
- - `mcp__claude-flow__*` (all swarm coordination tools)
20
- - `TodoWrite`, `TodoRead`, `Task`, `Bash`, `Read`, `Write`, `LS`, `Glob`
21
-
22
- ## Usage Patterns
23
-
24
- ### 1. Repository Structure Analysis and Optimization
25
- ```javascript
26
- // Initialize architecture analysis swarm
27
- mcp__claude-flow__swarm_init { topology: "mesh", maxAgents: 4 }
28
- mcp__claude-flow__agent_spawn { type: "analyst", name: "Structure Analyzer" }
29
- mcp__claude-flow__agent_spawn { type: "architect", name: "Repository Architect" }
30
- mcp__claude-flow__agent_spawn { type: "optimizer", name: "Structure Optimizer" }
31
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Multi-Repo Coordinator" }
32
-
33
- // Analyze current repository structure
34
- LS("/workspaces/ruv-FANN/claude-code-flow/claude-code-flow")
35
- LS("/workspaces/ruv-FANN/ruv-swarm/npm")
36
-
37
- // Search for related repositories
38
- mcp__github__search_repositories {
39
- query: "user:ruvnet claude",
40
- sort: "updated",
41
- order: "desc"
42
- }
43
-
44
- // Orchestrate structure optimization
45
- mcp__claude-flow__task_orchestrate {
46
- task: "Analyze and optimize repository structure for scalability and maintainability",
47
- strategy: "adaptive",
48
- priority: "medium"
49
- }
50
- ```
51
-
52
- ### 2. Multi-Repository Template Creation
53
- ```javascript
54
- // Create standardized repository template
55
- mcp__github__create_repository {
56
- name: "claude-project-template",
57
- description: "Standardized template for Claude Code projects with ruv-swarm integration",
58
- private: false,
59
- autoInit: true
60
- }
61
-
62
- // Push template structure
63
- mcp__github__push_files {
64
- owner: "ruvnet",
65
- repo: "claude-project-template",
66
- branch: "main",
67
- files: [
68
- {
69
- path: ".claude/commands/github/github-modes.md",
70
- content: "[GitHub modes template]"
71
- },
72
- {
73
- path: ".claude/commands/sparc/sparc-modes.md",
74
- content: "[SPARC modes template]"
75
- },
76
- {
77
- path: ".claude/config.json",
78
- content: JSON.stringify({
79
- version: "1.0",
80
- mcp_servers: {
81
- "ruv-swarm": {
82
- command: "npx",
83
- args: ["ruv-swarm", "mcp", "start"],
84
- stdio: true
85
- }
86
- },
87
- hooks: {
88
- pre_task: "npx ruv-swarm hook pre-task",
89
- post_edit: "npx ruv-swarm hook post-edit",
90
- notification: "npx ruv-swarm hook notification"
91
- }
92
- }, null, 2)
93
- },
94
- {
95
- path: "CLAUDE.md",
96
- content: "[Standardized CLAUDE.md template]"
97
- },
98
- {
99
- path: "package.json",
100
- content: JSON.stringify({
101
- name: "claude-project-template",
102
- version: "1.0.0",
103
- description: "Claude Code project with ruv-swarm integration",
104
- engines: { node: ">=20.0.0" },
105
- dependencies: {
106
- "ruv-swarm": "^1.0.11"
107
- }
108
- }, null, 2)
109
- },
110
- {
111
- path: "README.md",
112
- content: `# Claude Project Template
113
-
114
- ## Quick Start
115
- \`\`\`bash
116
- npx claude-flow-novice init --sparc
117
- npm install
118
- npx claude-flow-novice start --ui
119
- \`\`\`
120
-
121
- ## Features
122
- - 🧠 ruv-swarm integration
123
- - 🎯 SPARC development modes
124
- - 🔧 GitHub workflow automation
125
- - 📊 Advanced coordination capabilities
126
-
127
- ## Documentation
128
- See CLAUDE.md for complete integration instructions.`
129
- }
130
- ],
131
- message: "feat: Create standardized Claude project template with ruv-swarm integration"
132
- }
133
- ```
134
-
135
- ### 3. Cross-Repository Synchronization
136
- ```javascript
137
- // Synchronize structure across related repositories
138
- const repositories = [
139
- "claude-code-flow",
140
- "ruv-swarm",
141
- "claude-extensions"
142
- ]
143
-
144
- // Update common files across repositories
145
- repositories.forEach(repo => {
146
- mcp__github__create_or_update_file({
147
- owner: "ruvnet",
148
- repo: "ruv-FANN",
149
- path: `${repo}/.github/workflows/integration.yml`,
150
- content: `name: Integration Tests
151
- on: [push, pull_request]
152
- jobs:
153
- test:
154
- runs-on: ubuntu-latest
155
- steps:
156
- - uses: actions/checkout@v3
157
- - uses: actions/setup-node@v3
158
- with: { node-version: '20' }
159
- - run: npm install && npm test`,
160
- message: "ci: Standardize integration workflow across repositories",
161
- branch: "structure/standardization"
162
- })
163
- })
164
- ```
165
-
166
- ## Batch Architecture Operations
167
-
168
- ### Complete Repository Architecture Optimization:
169
- ```javascript
170
- [Single Message - Repository Architecture Review]:
171
- // Initialize comprehensive architecture swarm
172
- mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 6 }
173
- mcp__claude-flow__agent_spawn { type: "architect", name: "Senior Architect" }
174
- mcp__claude-flow__agent_spawn { type: "analyst", name: "Structure Analyst" }
175
- mcp__claude-flow__agent_spawn { type: "optimizer", name: "Performance Optimizer" }
176
- mcp__claude-flow__agent_spawn { type: "researcher", name: "Best Practices Researcher" }
177
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Multi-Repo Coordinator" }
178
-
179
- // Analyze current repository structures
180
- LS("/workspaces/ruv-FANN/claude-code-flow/claude-code-flow")
181
- LS("/workspaces/ruv-FANN/ruv-swarm/npm")
182
- Read("/workspaces/ruv-FANN/claude-code-flow/claude-code-flow/package.json")
183
- Read("/workspaces/ruv-FANN/ruv-swarm/npm/package.json")
184
-
185
- // Search for architectural patterns using gh CLI
186
- ARCH_PATTERNS=$(Bash(`gh search repos "language:javascript template architecture" \
187
- --limit 10 \
188
- --json fullName,description,stargazersCount \
189
- --sort stars \
190
- --order desc`))
191
-
192
- // Create optimized structure files
193
- mcp__github__push_files {
194
- branch: "architecture/optimization",
195
- files: [
196
- {
197
- path: "claude-code-flow/claude-code-flow/.github/ISSUE_TEMPLATE/integration.yml",
198
- content: "[Integration issue template]"
199
- },
200
- {
201
- path: "claude-code-flow/claude-code-flow/.github/PULL_REQUEST_TEMPLATE.md",
202
- content: "[Standardized PR template]"
203
- },
204
- {
205
- path: "claude-code-flow/claude-code-flow/docs/ARCHITECTURE.md",
206
- content: "[Architecture documentation]"
207
- },
208
- {
209
- path: "ruv-swarm/npm/.github/workflows/cross-package-test.yml",
210
- content: "[Cross-package testing workflow]"
211
- }
212
- ],
213
- message: "feat: Optimize repository architecture for scalability and maintainability"
214
- }
215
-
216
- // Track architecture improvements
217
- TodoWrite { todos: [
218
- { id: "arch-analysis", content: "Analyze current repository structure", status: "completed", priority: "high" },
219
- { id: "arch-research", content: "Research best practices and patterns", status: "completed", priority: "medium" },
220
- { id: "arch-templates", content: "Create standardized templates", status: "completed", priority: "high" },
221
- { id: "arch-workflows", content: "Implement improved workflows", status: "completed", priority: "medium" },
222
- { id: "arch-docs", content: "Document architecture decisions", status: "pending", priority: "medium" }
223
- ]}
224
-
225
- // Store architecture analysis
226
- mcp__claude-flow__memory_usage {
227
- action: "store",
228
- key: "architecture/analysis/results",
229
- value: {
230
- timestamp: Date.now(),
231
- repositories_analyzed: ["claude-code-flow", "ruv-swarm"],
232
- optimization_areas: ["structure", "workflows", "templates", "documentation"],
233
- recommendations: ["standardize_structure", "improve_workflows", "enhance_templates"],
234
- implementation_status: "in_progress"
235
- }
236
- }
237
- ```
238
-
239
- ## Architecture Patterns
240
-
241
- ### 1. **Monorepo Structure Pattern**
242
- ```
243
- ruv-FANN/
244
- ├── packages/
245
- │ ├── claude-code-flow/
246
- │ │ ├── src/
247
- │ │ ├── .claude/
248
- │ │ └── package.json
249
- │ ├── ruv-swarm/
250
- │ │ ├── src/
251
- │ │ ├── wasm/
252
- │ │ └── package.json
253
- │ └── shared/
254
- │ ├── types/
255
- │ ├── utils/
256
- │ └── config/
257
- ├── tools/
258
- │ ├── build/
259
- │ ├── test/
260
- │ └── deploy/
261
- ├── docs/
262
- │ ├── architecture/
263
- │ ├── integration/
264
- │ └── examples/
265
- └── .github/
266
- ├── workflows/
267
- ├── templates/
268
- └── actions/
269
- ```
270
-
271
- ### 2. **Command Structure Pattern**
272
- ```
273
- .claude/
274
- ├── commands/
275
- │ ├── github/
276
- │ │ ├── github-modes.md
277
- │ │ ├── pr-manager.md
278
- │ │ ├── issue-tracker.md
279
- │ │ └── sync-coordinator.md
280
- │ ├── sparc/
281
- │ │ ├── sparc-modes.md
282
- │ │ ├── coder.md
283
- │ │ └── tester.md
284
- │ └── swarm/
285
- │ ├── coordination.md
286
- │ └── orchestration.md
287
- ├── templates/
288
- │ ├── issue.md
289
- │ ├── pr.md
290
- │ └── project.md
291
- └── config.json
292
- ```
293
-
294
- ### 3. **Integration Pattern**
295
- ```javascript
296
- const integrationPattern = {
297
- packages: {
298
- "claude-code-flow": {
299
- role: "orchestration_layer",
300
- dependencies: ["ruv-swarm"],
301
- provides: ["CLI", "workflows", "commands"]
302
- },
303
- "ruv-swarm": {
304
- role: "coordination_engine",
305
- dependencies: [],
306
- provides: ["MCP_tools", "neural_networks", "memory"]
307
- }
308
- },
309
- communication: "MCP_protocol",
310
- coordination: "swarm_based",
311
- state_management: "persistent_memory"
312
- }
313
- ```
314
-
315
- ## Best Practices
316
-
317
- ### 1. **Structure Optimization**
318
- - Consistent directory organization across repositories
319
- - Standardized configuration files and formats
320
- - Clear separation of concerns and responsibilities
321
- - Scalable architecture for future growth
322
-
323
- ### 2. **Template Management**
324
- - Reusable project templates for consistency
325
- - Standardized issue and PR templates
326
- - Workflow templates for common operations
327
- - Documentation templates for clarity
328
-
329
- ### 3. **Multi-Repository Coordination**
330
- - Cross-repository dependency management
331
- - Synchronized version and release management
332
- - Consistent coding standards and practices
333
- - Automated cross-repo validation
334
-
335
- ### 4. **Documentation Architecture**
336
- - Comprehensive architecture documentation
337
- - Clear integration guides and examples
338
- - Maintainable and up-to-date documentation
339
- - User-friendly onboarding materials
340
-
341
- ## Monitoring and Analysis
342
-
343
- ### Architecture Health Metrics:
344
- - Repository structure consistency score
345
- - Documentation coverage percentage
346
- - Cross-repository integration success rate
347
- - Template adoption and usage statistics
348
-
349
- ### Automated Analysis:
350
- - Structure drift detection
351
- - Best practices compliance checking
352
- - Performance impact analysis
353
- - Scalability assessment and recommendations
354
-
355
- ## Integration with Development Workflow
356
-
357
- ### Seamless integration with:
358
- - `/github sync-coordinator` - For cross-repo synchronization
359
- - `/github release-manager` - For coordinated releases
360
- - `/sparc architect` - For detailed architecture design
361
- - `/sparc optimizer` - For performance optimization
362
-
363
- ### Workflow Enhancement:
364
- - Automated structure validation
365
- - Continuous architecture improvement
366
- - Best practices enforcement
367
- - Documentation generation and maintenance