@monoes/monomindcli 1.10.54 → 1.10.56

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 (441) hide show
  1. package/.claude/agents/optimization/benchmark-suite.md +2 -0
  2. package/.claude/agents/optimization/load-balancer.md +2 -0
  3. package/.claude/agents/optimization/performance-monitor.md +2 -0
  4. package/.claude/agents/optimization/resource-allocator.md +3 -1
  5. package/.claude/agents/optimization/topology-optimizer.md +2 -0
  6. package/.claude/commands/mastermind/_repeat.md +21 -0
  7. package/.claude/commands/mastermind/_taskfile.md +235 -0
  8. package/.claude/commands/mastermind/adr.md +11 -0
  9. package/.claude/commands/mastermind/approve.md +94 -0
  10. package/.claude/commands/mastermind/autodev.md +32 -0
  11. package/.claude/commands/mastermind/budget.md +7 -0
  12. package/.claude/commands/mastermind/code-review.md +317 -0
  13. package/.claude/commands/mastermind/createorg.md +40 -1
  14. package/.claude/commands/mastermind/createtask.md +383 -0
  15. package/.claude/commands/mastermind/debug.md +22 -0
  16. package/.claude/commands/mastermind/design.md +20 -0
  17. package/.claude/commands/mastermind/do.md +526 -0
  18. package/.claude/commands/mastermind/execute.md +20 -0
  19. package/.claude/commands/mastermind/finish.md +20 -0
  20. package/.claude/commands/mastermind/graph-status.md +7 -0
  21. package/.claude/commands/mastermind/help.md +118 -0
  22. package/.claude/commands/mastermind/ideate.md +261 -0
  23. package/.claude/commands/mastermind/improve.md +345 -0
  24. package/.claude/commands/mastermind/loops.md +7 -0
  25. package/.claude/commands/mastermind/master.md +186 -6
  26. package/.claude/commands/mastermind/memory.md +230 -0
  27. package/.claude/commands/mastermind/plan.md +26 -0
  28. package/.claude/commands/mastermind/receive-review.md +20 -0
  29. package/.claude/commands/mastermind/repeat.md +257 -0
  30. package/.claude/commands/mastermind/runorg.md +3 -0
  31. package/.claude/commands/mastermind/skill-builder.md +20 -0
  32. package/.claude/commands/mastermind/specialagents.md +125 -0
  33. package/.claude/commands/mastermind/swarm.md +161 -0
  34. package/.claude/commands/mastermind/taskdev.md +26 -0
  35. package/.claude/commands/mastermind/tdd.md +22 -0
  36. package/.claude/commands/mastermind/techport.md +4 -0
  37. package/.claude/commands/mastermind/understand.md +139 -0
  38. package/.claude/commands/mastermind/verify.md +22 -0
  39. package/.claude/commands/mastermind/worktree.md +20 -0
  40. package/.claude/helpers/handlers/graph-status-handler.cjs +2 -1
  41. package/.claude/helpers/hook-handler.cjs +19 -0
  42. package/.claude/helpers/skill-registry.json +23 -0
  43. package/.claude/helpers/statusline.cjs +1 -1
  44. package/.claude/skills/mastermind/approve.md +15 -7
  45. package/.claude/skills/mastermind/autodev.md +534 -0
  46. package/.claude/skills/mastermind/createorg.md +21 -5
  47. package/.claude/skills/mastermind/debug.md +232 -0
  48. package/.claude/skills/mastermind/design.md +187 -0
  49. package/.claude/skills/mastermind/execute.md +104 -0
  50. package/.claude/skills/mastermind/finish.md +251 -0
  51. package/.claude/skills/mastermind/plan.md +180 -0
  52. package/.claude/skills/mastermind/receive-review.md +213 -0
  53. package/.claude/skills/mastermind/runorg.md +23 -8
  54. package/.claude/skills/mastermind/skill-builder.md +274 -0
  55. package/.claude/skills/mastermind/taskdev.md +307 -0
  56. package/.claude/skills/mastermind/tdd.md +394 -0
  57. package/.claude/skills/mastermind/verify.md +196 -0
  58. package/.claude/skills/mastermind/worktree.md +160 -132
  59. package/README.md +320 -253
  60. package/dist/src/commands/analyze.d.ts.map +1 -1
  61. package/dist/src/commands/analyze.js +9 -2
  62. package/dist/src/commands/analyze.js.map +1 -1
  63. package/dist/src/commands/benchmark.js.map +1 -1
  64. package/dist/src/commands/completions.js +1 -1
  65. package/dist/src/commands/guidance.js +7 -7
  66. package/dist/src/commands/hooks.d.ts.map +1 -1
  67. package/dist/src/commands/hooks.js +16 -3
  68. package/dist/src/commands/hooks.js.map +1 -1
  69. package/dist/src/commands/index.d.ts +3 -2
  70. package/dist/src/commands/index.d.ts.map +1 -1
  71. package/dist/src/commands/index.js +7 -0
  72. package/dist/src/commands/index.js.map +1 -1
  73. package/dist/src/commands/init.d.ts.map +1 -1
  74. package/dist/src/commands/init.js +47 -13
  75. package/dist/src/commands/init.js.map +1 -1
  76. package/dist/src/commands/neural.d.ts.map +1 -1
  77. package/dist/src/commands/neural.js +100 -14
  78. package/dist/src/commands/neural.js.map +1 -1
  79. package/dist/src/commands/platforms.d.ts +11 -0
  80. package/dist/src/commands/platforms.d.ts.map +1 -0
  81. package/dist/src/commands/platforms.js +195 -0
  82. package/dist/src/commands/platforms.js.map +1 -0
  83. package/dist/src/commands/ruvector/backup.js.map +1 -1
  84. package/dist/src/commands/ruvector/benchmark.js.map +1 -1
  85. package/dist/src/commands/ruvector/init.js.map +1 -1
  86. package/dist/src/commands/ruvector/migrate.js.map +1 -1
  87. package/dist/src/commands/ruvector/optimize.js.map +1 -1
  88. package/dist/src/commands/ruvector/status.js.map +1 -1
  89. package/dist/src/commands/update.js +6 -6
  90. package/dist/src/init/executor.d.ts.map +1 -1
  91. package/dist/src/init/executor.js +28 -0
  92. package/dist/src/init/executor.js.map +1 -1
  93. package/dist/src/init/statusline-generator.js +1 -1
  94. package/dist/src/init/types.d.ts +1 -0
  95. package/dist/src/init/types.d.ts.map +1 -1
  96. package/dist/src/mcp-server.d.ts.map +1 -1
  97. package/dist/src/mcp-server.js +92 -0
  98. package/dist/src/mcp-server.js.map +1 -1
  99. package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
  100. package/dist/src/mcp-tools/hive-mind-tools.js +52 -0
  101. package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
  102. package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
  103. package/dist/src/mcp-tools/hooks-tools.js +106 -5
  104. package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
  105. package/dist/src/mcp-tools/index.d.ts +0 -5
  106. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  107. package/dist/src/mcp-tools/index.js +0 -5
  108. package/dist/src/mcp-tools/index.js.map +1 -1
  109. package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
  110. package/dist/src/mcp-tools/monograph-tools.js +507 -5587
  111. package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
  112. package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
  113. package/dist/src/mcp-tools/neural-tools.js +64 -4
  114. package/dist/src/mcp-tools/neural-tools.js.map +1 -1
  115. package/dist/src/mcp-tools/security-tools.js +4 -4
  116. package/dist/src/memory/intelligence.d.ts +2 -2
  117. package/dist/src/memory/intelligence.d.ts.map +1 -1
  118. package/dist/src/memory/intelligence.js +108 -3
  119. package/dist/src/memory/intelligence.js.map +1 -1
  120. package/dist/src/memory/memory-bridge.js +1 -1
  121. package/dist/src/memory/memory-bridge.js.map +1 -1
  122. package/dist/src/memory/sona-optimizer.d.ts +1 -10
  123. package/dist/src/memory/sona-optimizer.d.ts.map +1 -1
  124. package/dist/src/memory/sona-optimizer.js +0 -46
  125. package/dist/src/memory/sona-optimizer.js.map +1 -1
  126. package/dist/src/runtime/headless.js +3 -3
  127. package/dist/src/ruvector/diff-classifier.d.ts +0 -2
  128. package/dist/src/ruvector/diff-classifier.d.ts.map +1 -1
  129. package/dist/src/ruvector/diff-classifier.js +2 -14
  130. package/dist/src/ruvector/diff-classifier.js.map +1 -1
  131. package/dist/src/ruvector/index.d.ts +26 -9
  132. package/dist/src/ruvector/index.d.ts.map +1 -1
  133. package/dist/src/ruvector/index.js +3 -21
  134. package/dist/src/ruvector/index.js.map +1 -1
  135. package/dist/src/ruvector/ruvllm-wasm.js +2 -2
  136. package/dist/src/ruvector/ruvllm-wasm.js.map +1 -1
  137. package/dist/src/types.d.ts +0 -15
  138. package/dist/src/types.d.ts.map +1 -1
  139. package/dist/src/types.js +0 -18
  140. package/dist/src/types.js.map +1 -1
  141. package/dist/src/ui/dashboard.html +8763 -9766
  142. package/dist/src/ui/orgs.html +1 -1
  143. package/dist/src/ui/server.mjs +504 -35
  144. package/dist/src/update/index.js +1 -1
  145. package/dist/src/update/validator.js +8 -8
  146. package/dist/tsconfig.tsbuildinfo +1 -1
  147. package/package.json +2 -2
  148. package/.claude/agents/academic/academic-anthropologist.md +0 -126
  149. package/.claude/agents/academic/academic-geographer.md +0 -128
  150. package/.claude/agents/academic/academic-historian.md +0 -124
  151. package/.claude/agents/academic/academic-narratologist.md +0 -119
  152. package/.claude/agents/academic/academic-psychologist.md +0 -119
  153. package/.claude/agents/analysis/analyze-code-quality.md +0 -58
  154. package/.claude/agents/analysis/code-analyzer.md +0 -189
  155. package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -58
  156. package/.claude/agents/consensus/performance-benchmarker.md +0 -831
  157. package/.claude/agents/data/ml/data-ml-model.md +0 -76
  158. package/.claude/agents/development/dev-backend-api.md +0 -178
  159. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -52
  160. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -63
  161. package/.claude/agents/game-development/blender/blender-addon-engineer.md +0 -235
  162. package/.claude/agents/game-development/game-audio-engineer.md +0 -265
  163. package/.claude/agents/game-development/game-designer.md +0 -168
  164. package/.claude/agents/game-development/godot/godot-gameplay-scripter.md +0 -335
  165. package/.claude/agents/game-development/godot/godot-multiplayer-engineer.md +0 -298
  166. package/.claude/agents/game-development/godot/godot-shader-developer.md +0 -267
  167. package/.claude/agents/game-development/level-designer.md +0 -209
  168. package/.claude/agents/game-development/narrative-designer.md +0 -244
  169. package/.claude/agents/game-development/roblox-studio/roblox-avatar-creator.md +0 -298
  170. package/.claude/agents/game-development/roblox-studio/roblox-experience-designer.md +0 -306
  171. package/.claude/agents/game-development/roblox-studio/roblox-systems-scripter.md +0 -326
  172. package/.claude/agents/game-development/technical-artist.md +0 -230
  173. package/.claude/agents/game-development/unity/unity-architect.md +0 -272
  174. package/.claude/agents/game-development/unity/unity-editor-tool-developer.md +0 -311
  175. package/.claude/agents/game-development/unity/unity-multiplayer-engineer.md +0 -322
  176. package/.claude/agents/game-development/unity/unity-shader-graph-artist.md +0 -270
  177. package/.claude/agents/game-development/unreal-engine/unreal-multiplayer-architect.md +0 -314
  178. package/.claude/agents/game-development/unreal-engine/unreal-systems-engineer.md +0 -311
  179. package/.claude/agents/game-development/unreal-engine/unreal-technical-artist.md +0 -257
  180. package/.claude/agents/game-development/unreal-engine/unreal-world-builder.md +0 -274
  181. package/.claude/agents/github/release-swarm.md +0 -597
  182. package/.claude/agents/goal/agent.md +0 -804
  183. package/.claude/agents/goal/code-goal-planner.md +0 -445
  184. package/.claude/agents/marketing/marketing-ai-citation-strategist.md +0 -171
  185. package/.claude/agents/marketing/marketing-app-store-optimizer.md +0 -322
  186. package/.claude/agents/marketing/marketing-baidu-seo-specialist.md +0 -227
  187. package/.claude/agents/marketing/marketing-bilibili-content-strategist.md +0 -200
  188. package/.claude/agents/marketing/marketing-book-co-author.md +0 -111
  189. package/.claude/agents/marketing/marketing-carousel-growth-engine.md +0 -200
  190. package/.claude/agents/marketing/marketing-china-ecommerce-operator.md +0 -284
  191. package/.claude/agents/marketing/marketing-content-creator.md +0 -67
  192. package/.claude/agents/marketing/marketing-cross-border-ecommerce.md +0 -260
  193. package/.claude/agents/marketing/marketing-douyin-strategist.md +0 -150
  194. package/.claude/agents/marketing/marketing-growth-hacker.md +0 -54
  195. package/.claude/agents/marketing/marketing-instagram-curator.md +0 -114
  196. package/.claude/agents/marketing/marketing-kuaishou-strategist.md +0 -224
  197. package/.claude/agents/marketing/marketing-linkedin-content-creator.md +0 -215
  198. package/.claude/agents/marketing/marketing-livestream-commerce-coach.md +0 -306
  199. package/.claude/agents/marketing/marketing-podcast-strategist.md +0 -278
  200. package/.claude/agents/marketing/marketing-private-domain-operator.md +0 -309
  201. package/.claude/agents/marketing/marketing-reddit-community-builder.md +0 -124
  202. package/.claude/agents/marketing/marketing-seo-specialist.md +0 -279
  203. package/.claude/agents/marketing/marketing-short-video-editing-coach.md +0 -413
  204. package/.claude/agents/marketing/marketing-social-media-strategist.md +0 -125
  205. package/.claude/agents/marketing/marketing-tiktok-strategist.md +0 -126
  206. package/.claude/agents/marketing/marketing-twitter-engager.md +0 -127
  207. package/.claude/agents/marketing/marketing-wechat-official-account.md +0 -146
  208. package/.claude/agents/marketing/marketing-weibo-strategist.md +0 -241
  209. package/.claude/agents/marketing/marketing-xiaohongshu-specialist.md +0 -139
  210. package/.claude/agents/marketing/marketing-zhihu-strategist.md +0 -163
  211. package/.claude/agents/neural/safla-neural.md +0 -74
  212. package/.claude/agents/paid-media/paid-media-auditor.md +0 -71
  213. package/.claude/agents/paid-media/paid-media-creative-strategist.md +0 -71
  214. package/.claude/agents/paid-media/paid-media-paid-social-strategist.md +0 -71
  215. package/.claude/agents/paid-media/paid-media-ppc-strategist.md +0 -71
  216. package/.claude/agents/paid-media/paid-media-programmatic-buyer.md +0 -71
  217. package/.claude/agents/paid-media/paid-media-search-query-analyst.md +0 -71
  218. package/.claude/agents/paid-media/paid-media-tracking-specialist.md +0 -71
  219. package/.claude/agents/payments/agentic-payments.md +0 -126
  220. package/.claude/agents/product/product-behavioral-nudge-engine.md +0 -81
  221. package/.claude/agents/product/product-feedback-synthesizer.md +0 -119
  222. package/.claude/agents/product/product-manager.md +0 -469
  223. package/.claude/agents/product/product-sprint-prioritizer.md +0 -154
  224. package/.claude/agents/product/product-trend-researcher.md +0 -159
  225. package/.claude/agents/project-management/project-management-experiment-tracker.md +0 -199
  226. package/.claude/agents/project-management/project-management-jira-workflow-steward.md +0 -231
  227. package/.claude/agents/project-management/project-management-project-shepherd.md +0 -195
  228. package/.claude/agents/project-management/project-management-studio-operations.md +0 -201
  229. package/.claude/agents/project-management/project-management-studio-producer.md +0 -204
  230. package/.claude/agents/project-management/project-manager-senior.md +0 -136
  231. package/.claude/agents/reasoning/agent.md +0 -804
  232. package/.claude/agents/reasoning/goal-planner.md +0 -73
  233. package/.claude/agents/sales/sales-account-strategist.md +0 -228
  234. package/.claude/agents/sales/sales-coach.md +0 -272
  235. package/.claude/agents/sales/sales-deal-strategist.md +0 -181
  236. package/.claude/agents/sales/sales-discovery-coach.md +0 -226
  237. package/.claude/agents/sales/sales-engineer.md +0 -183
  238. package/.claude/agents/sales/sales-outbound-strategist.md +0 -202
  239. package/.claude/agents/sales/sales-pipeline-analyst.md +0 -268
  240. package/.claude/agents/sales/sales-proposal-strategist.md +0 -218
  241. package/.claude/agents/sona/sona-learning-optimizer.md +0 -65
  242. package/.claude/agents/spatial-computing/macos-spatial-metal-engineer.md +0 -338
  243. package/.claude/agents/spatial-computing/terminal-integration-specialist.md +0 -71
  244. package/.claude/agents/spatial-computing/visionos-spatial-engineer.md +0 -55
  245. package/.claude/agents/specialists/memory-specialist.md +0 -298
  246. package/.claude/agents/specialists/performance-engineer.md +0 -387
  247. package/.claude/agents/specialists/queen-coordinator.md +0 -67
  248. package/.claude/agents/specialists/security-architect.md +0 -154
  249. package/.claude/agents/specialized/accounts-payable-agent.md +0 -186
  250. package/.claude/agents/specialized/corporate-training-designer.md +0 -193
  251. package/.claude/agents/specialized/data-consolidation-agent.md +0 -61
  252. package/.claude/agents/specialized/government-digital-presales-consultant.md +0 -364
  253. package/.claude/agents/specialized/healthcare-marketing-compliance.md +0 -396
  254. package/.claude/agents/specialized/recruitment-specialist.md +0 -510
  255. package/.claude/agents/specialized/report-distribution-agent.md +0 -66
  256. package/.claude/agents/specialized/sales-data-extraction-agent.md +0 -68
  257. package/.claude/agents/specialized/specialized-french-consulting-market.md +0 -193
  258. package/.claude/agents/specialized/specialized-korean-business-navigator.md +0 -217
  259. package/.claude/agents/specialized/specialized-salesforce-architect.md +0 -181
  260. package/.claude/agents/specialized/study-abroad-advisor.md +0 -283
  261. package/.claude/agents/specialized/supply-chain-strategist.md +0 -583
  262. package/.claude/agents/sublinear/consensus-coordinator.md +0 -333
  263. package/.claude/agents/sublinear/matrix-optimizer.md +0 -180
  264. package/.claude/agents/sublinear/pagerank-analyzer.md +0 -295
  265. package/.claude/agents/sublinear/performance-optimizer.md +0 -363
  266. package/.claude/agents/sublinear/trading-predictor.md +0 -242
  267. package/.claude/agents/support/support-analytics-reporter.md +0 -366
  268. package/.claude/agents/support/support-executive-summary-generator.md +0 -213
  269. package/.claude/agents/support/support-finance-tracker.md +0 -443
  270. package/.claude/agents/support/support-infrastructure-maintainer.md +0 -619
  271. package/.claude/agents/support/support-legal-compliance-checker.md +0 -589
  272. package/.claude/agents/support/support-support-responder.md +0 -586
  273. package/.claude/agents/swarm/adaptive-coordinator.md +0 -364
  274. package/.claude/agents/swarm/hierarchical-coordinator.md +0 -318
  275. package/.claude/agents/templates/github-pr-manager.md +0 -155
  276. package/.claude/agents/templates/memory-coordinator.md +0 -163
  277. package/.claude/agents/templates/migration-plan.md +0 -724
  278. package/.claude/agents/templates/orchestrator-task.md +0 -120
  279. package/.claude/agents/templates/performance-analyzer.md +0 -179
  280. package/.claude/agents/templates/sparc-coordinator.md +0 -163
  281. package/.claude/agents/testing/testing-reality-checker.md +0 -237
  282. package/.claude/commands/analysis/token-efficiency.md +0 -42
  283. package/.claude/commands/optimization/README.md +0 -73
  284. package/.claude/commands/optimization/parallel-execution.md +0 -76
  285. package/.claude/commands/swarm/swarm-analysis.md +0 -62
  286. package/.claude/commands/swarm/swarm-background.md +0 -65
  287. package/.claude/commands/swarm/swarm-modes.md +0 -67
  288. package/.claude/commands/swarm/swarm-monitor.md +0 -54
  289. package/.claude/commands/swarm/swarm-status.md +0 -44
  290. package/.claude/commands/swarm/swarm-strategies.md +0 -76
  291. package/.claude/commands/training/model-update.md +0 -78
  292. package/.claude/commands/training/pattern-learn.md +0 -69
  293. package/.claude/commands/training/specialization.md +0 -92
  294. package/.claude/commands/verify/check.md +0 -106
  295. package/.claude/commands/verify/start.md +0 -105
  296. package/.claude/helpers/README.md +0 -105
  297. package/.claude/helpers/context-persistence-hook.mjs +0 -1988
  298. package/.claude/helpers/intelligence.cjs +0 -247
  299. package/.claude/helpers/learning-service.mjs +0 -1302
  300. package/.claude/helpers/memory-palace.cjs +0 -461
  301. package/.claude/helpers/memory.cjs +0 -84
  302. package/.claude/helpers/metrics-db.mjs +0 -488
  303. package/.claude/helpers/router.cjs +0 -559
  304. package/.claude/helpers/session.cjs +0 -126
  305. package/.claude/helpers/swarm-hooks.sh +0 -761
  306. package/.claude/helpers/toggle-statusline.cjs +0 -58
  307. package/.claude/helpers/token-tracker.cjs +0 -934
  308. package/.claude/skills/agentdb-advanced/SKILL.md +0 -549
  309. package/.claude/skills/agentdb-learning/SKILL.md +0 -544
  310. package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -337
  311. package/.claude/skills/agentdb-optimization/SKILL.md +0 -508
  312. package/.claude/skills/agentdb-vector-search/SKILL.md +0 -335
  313. package/.claude/skills/agentic-integration/SKILL.md +0 -265
  314. package/.claude/skills/cli-modernization/SKILL.md +0 -950
  315. package/.claude/skills/core-implementation/SKILL.md +0 -892
  316. package/.claude/skills/ddd-architecture/SKILL.md +0 -444
  317. package/.claude/skills/github-code-review/SKILL.md +0 -1147
  318. package/.claude/skills/github-multi-repo/SKILL.md +0 -912
  319. package/.claude/skills/github-project-management/SKILL.md +0 -1245
  320. package/.claude/skills/github-release-management/SKILL.md +0 -1118
  321. package/.claude/skills/github-workflow-automation/SKILL.md +0 -1107
  322. package/.claude/skills/mcp-optimization/SKILL.md +0 -837
  323. package/.claude/skills/memory-unification/SKILL.md +0 -196
  324. package/.claude/skills/performance-optimization/SKILL.md +0 -416
  325. package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -444
  326. package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -199
  327. package/.claude/skills/security-hardening/SKILL.md +0 -101
  328. package/.claude/skills/stream-chain/SKILL.md +0 -560
  329. package/.claude/skills/swarm-coordination/SKILL.md +0 -451
  330. package/bundled-graph/dist/src/analyze.d.ts +0 -32
  331. package/bundled-graph/dist/src/analyze.d.ts.map +0 -1
  332. package/bundled-graph/dist/src/analyze.js +0 -297
  333. package/bundled-graph/dist/src/analyze.js.map +0 -1
  334. package/bundled-graph/dist/src/build.d.ts +0 -8
  335. package/bundled-graph/dist/src/build.d.ts.map +0 -1
  336. package/bundled-graph/dist/src/build.js.map +0 -1
  337. package/bundled-graph/dist/src/cache.d.ts +0 -12
  338. package/bundled-graph/dist/src/cache.d.ts.map +0 -1
  339. package/bundled-graph/dist/src/cache.js +0 -43
  340. package/bundled-graph/dist/src/cache.js.map +0 -1
  341. package/bundled-graph/dist/src/cluster.d.ts +0 -5
  342. package/bundled-graph/dist/src/cluster.d.ts.map +0 -1
  343. package/bundled-graph/dist/src/cluster.js.map +0 -1
  344. package/bundled-graph/dist/src/detect.d.ts +0 -21
  345. package/bundled-graph/dist/src/detect.d.ts.map +0 -1
  346. package/bundled-graph/dist/src/detect.js +0 -195
  347. package/bundled-graph/dist/src/detect.js.map +0 -1
  348. package/bundled-graph/dist/src/export.d.ts +0 -21
  349. package/bundled-graph/dist/src/export.d.ts.map +0 -1
  350. package/bundled-graph/dist/src/export.js +0 -68
  351. package/bundled-graph/dist/src/export.js.map +0 -1
  352. package/bundled-graph/dist/src/extract/index.d.ts +0 -20
  353. package/bundled-graph/dist/src/extract/index.d.ts.map +0 -1
  354. package/bundled-graph/dist/src/extract/index.js +0 -158
  355. package/bundled-graph/dist/src/extract/index.js.map +0 -1
  356. package/bundled-graph/dist/src/extract/languages/c.d.ts +0 -3
  357. package/bundled-graph/dist/src/extract/languages/c.d.ts.map +0 -1
  358. package/bundled-graph/dist/src/extract/languages/c.js +0 -88
  359. package/bundled-graph/dist/src/extract/languages/c.js.map +0 -1
  360. package/bundled-graph/dist/src/extract/languages/cpp.d.ts +0 -3
  361. package/bundled-graph/dist/src/extract/languages/cpp.d.ts.map +0 -1
  362. package/bundled-graph/dist/src/extract/languages/cpp.js +0 -121
  363. package/bundled-graph/dist/src/extract/languages/cpp.js.map +0 -1
  364. package/bundled-graph/dist/src/extract/languages/csharp.d.ts +0 -3
  365. package/bundled-graph/dist/src/extract/languages/csharp.d.ts.map +0 -1
  366. package/bundled-graph/dist/src/extract/languages/csharp.js +0 -121
  367. package/bundled-graph/dist/src/extract/languages/csharp.js.map +0 -1
  368. package/bundled-graph/dist/src/extract/languages/go.d.ts +0 -3
  369. package/bundled-graph/dist/src/extract/languages/go.d.ts.map +0 -1
  370. package/bundled-graph/dist/src/extract/languages/go.js +0 -181
  371. package/bundled-graph/dist/src/extract/languages/go.js.map +0 -1
  372. package/bundled-graph/dist/src/extract/languages/java.d.ts +0 -3
  373. package/bundled-graph/dist/src/extract/languages/java.d.ts.map +0 -1
  374. package/bundled-graph/dist/src/extract/languages/java.js +0 -117
  375. package/bundled-graph/dist/src/extract/languages/java.js.map +0 -1
  376. package/bundled-graph/dist/src/extract/languages/kotlin.d.ts +0 -3
  377. package/bundled-graph/dist/src/extract/languages/kotlin.d.ts.map +0 -1
  378. package/bundled-graph/dist/src/extract/languages/kotlin.js +0 -112
  379. package/bundled-graph/dist/src/extract/languages/kotlin.js.map +0 -1
  380. package/bundled-graph/dist/src/extract/languages/php.d.ts +0 -3
  381. package/bundled-graph/dist/src/extract/languages/php.d.ts.map +0 -1
  382. package/bundled-graph/dist/src/extract/languages/php.js +0 -130
  383. package/bundled-graph/dist/src/extract/languages/php.js.map +0 -1
  384. package/bundled-graph/dist/src/extract/languages/python.d.ts +0 -3
  385. package/bundled-graph/dist/src/extract/languages/python.d.ts.map +0 -1
  386. package/bundled-graph/dist/src/extract/languages/python.js +0 -230
  387. package/bundled-graph/dist/src/extract/languages/python.js.map +0 -1
  388. package/bundled-graph/dist/src/extract/languages/ruby.d.ts +0 -3
  389. package/bundled-graph/dist/src/extract/languages/ruby.d.ts.map +0 -1
  390. package/bundled-graph/dist/src/extract/languages/ruby.js +0 -120
  391. package/bundled-graph/dist/src/extract/languages/ruby.js.map +0 -1
  392. package/bundled-graph/dist/src/extract/languages/rust.d.ts +0 -3
  393. package/bundled-graph/dist/src/extract/languages/rust.d.ts.map +0 -1
  394. package/bundled-graph/dist/src/extract/languages/rust.js +0 -195
  395. package/bundled-graph/dist/src/extract/languages/rust.js.map +0 -1
  396. package/bundled-graph/dist/src/extract/languages/scala.d.ts +0 -3
  397. package/bundled-graph/dist/src/extract/languages/scala.d.ts.map +0 -1
  398. package/bundled-graph/dist/src/extract/languages/scala.js +0 -110
  399. package/bundled-graph/dist/src/extract/languages/scala.js.map +0 -1
  400. package/bundled-graph/dist/src/extract/languages/swift.d.ts +0 -3
  401. package/bundled-graph/dist/src/extract/languages/swift.d.ts.map +0 -1
  402. package/bundled-graph/dist/src/extract/languages/swift.js +0 -122
  403. package/bundled-graph/dist/src/extract/languages/swift.js.map +0 -1
  404. package/bundled-graph/dist/src/extract/languages/typescript.d.ts +0 -3
  405. package/bundled-graph/dist/src/extract/languages/typescript.d.ts.map +0 -1
  406. package/bundled-graph/dist/src/extract/languages/typescript.js +0 -295
  407. package/bundled-graph/dist/src/extract/languages/typescript.js.map +0 -1
  408. package/bundled-graph/dist/src/extract/semantic.d.ts +0 -38
  409. package/bundled-graph/dist/src/extract/semantic.d.ts.map +0 -1
  410. package/bundled-graph/dist/src/extract/semantic.js +0 -242
  411. package/bundled-graph/dist/src/extract/semantic.js.map +0 -1
  412. package/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts +0 -48
  413. package/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts.map +0 -1
  414. package/bundled-graph/dist/src/extract/tree-sitter-runner.js +0 -137
  415. package/bundled-graph/dist/src/extract/tree-sitter-runner.js.map +0 -1
  416. package/bundled-graph/dist/src/extract/types.d.ts +0 -7
  417. package/bundled-graph/dist/src/extract/types.d.ts.map +0 -1
  418. package/bundled-graph/dist/src/extract/types.js +0 -2
  419. package/bundled-graph/dist/src/extract/types.js.map +0 -1
  420. package/bundled-graph/dist/src/index.d.ts +0 -28
  421. package/bundled-graph/dist/src/index.d.ts.map +0 -1
  422. package/bundled-graph/dist/src/index.js +0 -26
  423. package/bundled-graph/dist/src/index.js.map +0 -1
  424. package/bundled-graph/dist/src/pipeline.d.ts +0 -27
  425. package/bundled-graph/dist/src/pipeline.d.ts.map +0 -1
  426. package/bundled-graph/dist/src/pipeline.js +0 -269
  427. package/bundled-graph/dist/src/pipeline.js.map +0 -1
  428. package/bundled-graph/dist/src/report.d.ts +0 -26
  429. package/bundled-graph/dist/src/report.d.ts.map +0 -1
  430. package/bundled-graph/dist/src/report.js +0 -214
  431. package/bundled-graph/dist/src/report.js.map +0 -1
  432. package/bundled-graph/dist/src/types.d.ts +0 -124
  433. package/bundled-graph/dist/src/types.d.ts.map +0 -1
  434. package/bundled-graph/dist/src/types.js +0 -2
  435. package/bundled-graph/dist/src/types.js.map +0 -1
  436. package/bundled-graph/dist/src/visualize.d.ts +0 -4
  437. package/bundled-graph/dist/src/visualize.d.ts.map +0 -1
  438. package/bundled-graph/dist/src/visualize.js +0 -574
  439. package/bundled-graph/dist/src/visualize.js.map +0 -1
  440. package/bundled-graph/dist/tsconfig.tsbuildinfo +0 -1
  441. package/dist/src/ui/dashboard-v2.html +0 -5316
@@ -1,1107 +0,0 @@
1
- ---
2
- name: github-workflow-automation
3
- description: |
4
- Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
5
- ---
6
-
7
- # GitHub Workflow Automation Skill
8
-
9
- ## Overview
10
-
11
- This skill provides comprehensive GitHub Actions automation with AI swarm coordination. It integrates intelligent CI/CD pipelines, workflow orchestration, and repository management to create self-organizing, adaptive GitHub workflows.
12
-
13
- ## Quick Start
14
-
15
- <details>
16
- <summary>Basic Usage - Click to expand</summary>
17
-
18
- ### Initialize GitHub Workflow Automation
19
-
20
- ```bash
21
- # Start with a simple workflow
22
- npx monomind actions generate-workflow \
23
- --analyze-codebase \
24
- --detect-languages \
25
- --create-optimal-pipeline
26
- ```
27
-
28
- ### Common Commands
29
-
30
- ```bash
31
- # Optimize existing workflow
32
- npx monomind actions optimize \
33
- --workflow ".github/workflows/ci.yml" \
34
- --suggest-parallelization
35
-
36
- # Analyze failed runs
37
- gh run view <run-id> --json jobs,conclusion | \
38
- npx monomind actions analyze-failure \
39
- --suggest-fixes
40
- ```
41
-
42
- </details>
43
-
44
- ## Core Capabilities
45
-
46
- ### Swarm-Powered GitHub Modes
47
-
48
- <details>
49
- <summary>Available GitHub Integration Modes</summary>
50
-
51
- #### 1. gh-coordinator
52
-
53
- **GitHub workflow orchestration and coordination**
54
-
55
- - **Coordination Mode**: Hierarchical
56
- - **Max Parallel Operations**: 10
57
- - **Batch Optimized**: Yes
58
- - **Best For**: Complex GitHub workflows, multi-repo coordination
59
-
60
- ```bash
61
- # Usage example
62
- npx monomind@alpha github gh-coordinator \
63
- "Coordinate multi-repo release across 5 repositories"
64
- ```
65
-
66
- #### 2. pr-manager
67
-
68
- **Pull request management and review coordination**
69
-
70
- - **Review Mode**: Automated
71
- - **Multi-reviewer**: Yes
72
- - **Conflict Resolution**: Intelligent
73
-
74
- ```bash
75
- # Create PR with automated review
76
- gh pr create --title "Feature: New capability" \
77
- --body "Automated PR with swarm review" | \
78
- npx monomind actions pr-validate \
79
- --spawn-agents "linter,tester,security,docs"
80
- ```
81
-
82
- #### 3. issue-tracker
83
-
84
- **Issue management and project coordination**
85
-
86
- - **Issue Workflow**: Automated
87
- - **Label Management**: Smart
88
- - **Progress Tracking**: Real-time
89
-
90
- ```bash
91
- # Create coordinated issue workflow
92
- npx monomind@alpha github issue-tracker \
93
- "Manage sprint issues with automated tracking"
94
- ```
95
-
96
- #### 4. release-manager
97
-
98
- **Release coordination and deployment**
99
-
100
- - **Release Pipeline**: Automated
101
- - **Versioning**: Semantic
102
- - **Deployment**: Multi-stage
103
-
104
- ```bash
105
- # Automated release management
106
- npx monomind@alpha github release-manager \
107
- "Create v2.0.0 release with changelog and deployment"
108
- ```
109
-
110
- #### 5. repo-architect
111
-
112
- **Repository structure and organization**
113
-
114
- - **Structure Optimization**: Yes
115
- - **Multi-repo Support**: Yes
116
- - **Template Management**: Advanced
117
-
118
- ```bash
119
- # Optimize repository structure
120
- npx monomind@alpha github repo-architect \
121
- "Restructure monorepo with optimal organization"
122
- ```
123
-
124
- #### 6. code-reviewer
125
-
126
- **Automated code review and quality assurance**
127
-
128
- - **Review Quality**: Deep
129
- - **Security Analysis**: Yes
130
- - **Performance Check**: Automated
131
-
132
- ```bash
133
- # Automated code review
134
- gh pr view 123 --json files | \
135
- npx monomind actions pr-validate \
136
- --deep-review \
137
- --security-scan
138
- ```
139
-
140
- #### 7. ci-orchestrator
141
-
142
- **CI/CD pipeline coordination**
143
-
144
- - **Pipeline Management**: Advanced
145
- - **Test Coordination**: Parallel
146
- - **Deployment**: Automated
147
-
148
- ```bash
149
- # Orchestrate CI/CD pipeline
150
- npx monomind@alpha github ci-orchestrator \
151
- "Setup parallel test execution with smart caching"
152
- ```
153
-
154
- #### 8. security-guardian
155
-
156
- **Security and compliance management**
157
-
158
- - **Security Scan**: Automated
159
- - **Compliance Check**: Continuous
160
- - **Vulnerability Management**: Proactive
161
-
162
- ```bash
163
- # Security audit
164
- npx monomind actions security \
165
- --deep-scan \
166
- --compliance-check \
167
- --create-issues
168
- ```
169
-
170
- </details>
171
-
172
- ### Workflow Templates
173
-
174
- <details>
175
- <summary>Production-Ready GitHub Actions Templates</summary>
176
-
177
- #### 1. Intelligent CI with Swarms
178
-
179
- ```yaml
180
- # .github/workflows/swarm-ci.yml
181
- name: Intelligent CI with Swarms
182
- on: [push, pull_request]
183
-
184
- jobs:
185
- swarm-analysis:
186
- runs-on: ubuntu-latest
187
- steps:
188
- - uses: actions/checkout@v1
189
-
190
- - name: Initialize Swarm
191
- uses: nokhodian/swarm-action@v1
192
- with:
193
- topology: mesh
194
- max-agents: 6
195
-
196
- - name: Analyze Changes
197
- run: |
198
- npx monomind actions analyze \
199
- --commit ${{ github.sha }} \
200
- --suggest-tests \
201
- --optimize-pipeline
202
- ```
203
-
204
- #### 2. Multi-Language Detection
205
-
206
- ```yaml
207
- # .github/workflows/polyglot-swarm.yml
208
- name: Polyglot Project Handler
209
- on: push
210
-
211
- jobs:
212
- detect-and-build:
213
- runs-on: ubuntu-latest
214
- steps:
215
- - uses: actions/checkout@v1
216
-
217
- - name: Detect Languages
218
- id: detect
219
- run: |
220
- npx monomind actions detect-stack \
221
- --output json > stack.json
222
-
223
- - name: Dynamic Build Matrix
224
- run: |
225
- npx monomind actions create-matrix \
226
- --from stack.json \
227
- --parallel-builds
228
- ```
229
-
230
- #### 3. Adaptive Security Scanning
231
-
232
- ```yaml
233
- # .github/workflows/security-swarm.yml
234
- name: Intelligent Security Scan
235
- on:
236
- schedule:
237
- - cron: "0 0 * * *"
238
- workflow_dispatch:
239
-
240
- jobs:
241
- security-swarm:
242
- runs-on: ubuntu-latest
243
- steps:
244
- - name: Security Analysis Swarm
245
- run: |
246
- SECURITY_ISSUES=$(npx monomind actions security \
247
- --deep-scan \
248
- --format json)
249
-
250
- echo "$SECURITY_ISSUES" | jq -r '.issues[]? | @base64' | while read -r issue; do
251
- _jq() {
252
- echo ${issue} | base64 --decode | jq -r ${1}
253
- }
254
- gh issue create \
255
- --title "$(_jq '.title')" \
256
- --body "$(_jq '.body')" \
257
- --label "security,critical"
258
- done
259
- ```
260
-
261
- #### 4. Self-Healing Pipeline
262
-
263
- ```yaml
264
- # .github/workflows/self-healing.yml
265
- name: Self-Healing Pipeline
266
- on: workflow_run
267
-
268
- jobs:
269
- heal-pipeline:
270
- if: ${{ github.event.workflow_run.conclusion == 'failure' }}
271
- runs-on: ubuntu-latest
272
- steps:
273
- - name: Diagnose and Fix
274
- run: |
275
- npx monomind actions self-heal \
276
- --run-id ${{ github.event.workflow_run.id }} \
277
- --auto-fix-common \
278
- --create-pr-complex
279
- ```
280
-
281
- #### 5. Progressive Deployment
282
-
283
- ```yaml
284
- # .github/workflows/smart-deployment.yml
285
- name: Smart Deployment
286
- on:
287
- push:
288
- branches: [main]
289
-
290
- jobs:
291
- progressive-deploy:
292
- runs-on: ubuntu-latest
293
- steps:
294
- - name: Analyze Risk
295
- id: risk
296
- run: |
297
- npx monomind actions deploy-risk \
298
- --changes ${{ github.sha }} \
299
- --history 30d
300
-
301
- - name: Choose Strategy
302
- run: |
303
- npx monomind actions deploy-strategy \
304
- --risk ${{ steps.risk.outputs.level }} \
305
- --auto-execute
306
- ```
307
-
308
- #### 6. Performance Regression Detection
309
-
310
- ```yaml
311
- # .github/workflows/performance-guard.yml
312
- name: Performance Guard
313
- on: pull_request
314
-
315
- jobs:
316
- perf-swarm:
317
- runs-on: ubuntu-latest
318
- steps:
319
- - name: Performance Analysis
320
- run: |
321
- npx monomind actions perf-test \
322
- --baseline main \
323
- --threshold 10% \
324
- --auto-profile-regression
325
- ```
326
-
327
- #### 7. PR Validation Swarm
328
-
329
- ```yaml
330
- # .github/workflows/pr-validation.yml
331
- name: PR Validation Swarm
332
- on: pull_request
333
-
334
- jobs:
335
- validate:
336
- runs-on: ubuntu-latest
337
- steps:
338
- - name: Multi-Agent Validation
339
- run: |
340
- PR_DATA=$(gh pr view ${{ github.event.pull_request.number }} --json files,labels)
341
-
342
- RESULTS=$(npx monomind actions pr-validate \
343
- --spawn-agents "linter,tester,security,docs" \
344
- --parallel \
345
- --pr-data "$PR_DATA")
346
-
347
- gh pr comment ${{ github.event.pull_request.number }} \
348
- --body "$RESULTS"
349
- ```
350
-
351
- #### 8. Intelligent Release
352
-
353
- ```yaml
354
- # .github/workflows/intelligent-release.yml
355
- name: Intelligent Release
356
- on:
357
- push:
358
- tags: ["v*"]
359
-
360
- jobs:
361
- release:
362
- runs-on: ubuntu-latest
363
- steps:
364
- - name: Release Swarm
365
- run: |
366
- npx monomind actions release \
367
- --analyze-changes \
368
- --generate-notes \
369
- --create-artifacts \
370
- --publish-smart
371
- ```
372
-
373
- </details>
374
-
375
- ### Monitoring & Analytics
376
-
377
- <details>
378
- <summary>Workflow Analysis & Optimization</summary>
379
-
380
- #### Workflow Analytics
381
-
382
- ```bash
383
- # Analyze workflow performance
384
- npx monomind actions analytics \
385
- --workflow "ci.yml" \
386
- --period 30d \
387
- --identify-bottlenecks \
388
- --suggest-improvements
389
- ```
390
-
391
- #### Cost Optimization
392
-
393
- ```bash
394
- # Optimize GitHub Actions costs
395
- npx monomind actions cost-optimize \
396
- --analyze-usage \
397
- --suggest-caching \
398
- --recommend-self-hosted
399
- ```
400
-
401
- #### Failure Pattern Analysis
402
-
403
- ```bash
404
- # Identify failure patterns
405
- npx monomind actions failure-patterns \
406
- --period 90d \
407
- --classify-failures \
408
- --suggest-preventions
409
- ```
410
-
411
- #### Resource Management
412
-
413
- ```bash
414
- # Optimize resource usage
415
- npx monomind actions resources \
416
- --analyze-usage \
417
- --suggest-runners \
418
- --cost-optimize
419
- ```
420
-
421
- </details>
422
-
423
- ## Advanced Features
424
-
425
- ### Dynamic Test Strategies
426
-
427
- <details>
428
- <summary>Intelligent Test Selection & Execution</summary>
429
-
430
- #### Smart Test Selection
431
-
432
- ```yaml
433
- # Automatically select relevant tests
434
- - name: Swarm Test Selection
435
- run: |
436
- npx monomind actions smart-test \
437
- --changed-files ${{ steps.files.outputs.all }} \
438
- --impact-analysis \
439
- --parallel-safe
440
- ```
441
-
442
- #### Dynamic Test Matrix
443
-
444
- ```yaml
445
- # Generate test matrix from code analysis
446
- jobs:
447
- generate-matrix:
448
- outputs:
449
- matrix: ${{ steps.set-matrix.outputs.matrix }}
450
- steps:
451
- - id: set-matrix
452
- run: |
453
- MATRIX=$(npx monomind actions test-matrix \
454
- --detect-frameworks \
455
- --optimize-coverage)
456
- echo "matrix=${MATRIX}" >> $GITHUB_OUTPUT
457
-
458
- test:
459
- needs: generate-matrix
460
- strategy:
461
- matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}
462
- ```
463
-
464
- #### Intelligent Parallelization
465
-
466
- ```bash
467
- # Determine optimal parallelization
468
- npx monomind actions parallel-strategy \
469
- --analyze-dependencies \
470
- --time-estimates \
471
- --cost-aware
472
- ```
473
-
474
- </details>
475
-
476
- ### Predictive Analysis
477
-
478
- <details>
479
- <summary>AI-Powered Workflow Predictions</summary>
480
-
481
- #### Predictive Failures
482
-
483
- ```bash
484
- # Predict potential failures
485
- npx monomind actions predict \
486
- --analyze-history \
487
- --identify-risks \
488
- --suggest-preventive
489
- ```
490
-
491
- #### Workflow Recommendations
492
-
493
- ```bash
494
- # Get workflow recommendations
495
- npx monomind actions recommend \
496
- --analyze-repo \
497
- --suggest-workflows \
498
- --industry-best-practices
499
- ```
500
-
501
- #### Automated Optimization
502
-
503
- ```bash
504
- # Continuously optimize workflows
505
- npx monomind actions auto-optimize \
506
- --monitor-performance \
507
- --apply-improvements \
508
- --track-savings
509
- ```
510
-
511
- </details>
512
-
513
- ### Custom Actions Development
514
-
515
- <details>
516
- <summary>Build Your Own Swarm Actions</summary>
517
-
518
- #### Custom Swarm Action Template
519
-
520
- ```javascript
521
- // action.yml
522
- name: "Swarm Custom Action";
523
- description: "Custom swarm-powered action";
524
- inputs: task: description: "Task for swarm";
525
- required: true;
526
- runs: using: "node16";
527
- main: "dist/index.js";
528
-
529
- // index.js
530
- const { SwarmAction } = require("@monomind/cli");
531
-
532
- async function run() {
533
- const swarm = new SwarmAction({
534
- topology: "mesh",
535
- agents: ["analyzer", "optimizer"],
536
- });
537
-
538
- await swarm.execute(core.getInput("task"));
539
- }
540
-
541
- run().catch((error) => core.setFailed(error.message));
542
- ```
543
-
544
- </details>
545
-
546
- ## Integration with Monomind
547
-
548
- ### Swarm Coordination Patterns
549
-
550
- <details>
551
- <summary>MCP-Based GitHub Workflow Coordination</summary>
552
-
553
- #### Initialize GitHub Swarm
554
-
555
- ```javascript
556
- // Step 1: Initialize swarm coordination
557
- mcp__monomind__swarm_init {
558
- topology: "hierarchical",
559
- maxAgents: 8
560
- }
561
-
562
- // Step 2: Spawn specialized agents
563
- mcp__monomind__agent_spawn { type: "coordinator", name: "GitHub Coordinator" }
564
- mcp__monomind__agent_spawn { type: "reviewer", name: "Code Reviewer" }
565
- mcp__monomind__agent_spawn { type: "tester", name: "QA Agent" }
566
- mcp__monomind__agent_spawn { type: "analyst", name: "Security Analyst" }
567
-
568
- // Step 3: Orchestrate GitHub workflow via Task tool
569
- Task("PR Review Coordinator", "Complete PR review and merge workflow", "coordinator")
570
- ```
571
-
572
- #### GitHub Hooks Integration
573
-
574
- ```bash
575
- # Pre-task: Setup GitHub context
576
- npx monomind@alpha hooks pre-task \
577
- --description "PR review workflow" \
578
- --context "pr-123"
579
-
580
- # During task: Track progress
581
- npx monomind@alpha hooks notify \
582
- --message "Completed security scan" \
583
- --type "github-action"
584
-
585
- # Post-task: Export results
586
- npx monomind@alpha hooks post-task \
587
- --task-id "pr-review-123" \
588
- --export-github-summary
589
- ```
590
-
591
- </details>
592
-
593
- ### Batch Operations
594
-
595
- <details>
596
- <summary>Concurrent GitHub Operations</summary>
597
-
598
- #### Parallel GitHub CLI Commands
599
-
600
- ```javascript
601
- // Single message with all GitHub operations
602
- [Concurrent Execution]:
603
- Bash("gh issue create --title 'Feature A' --body 'Description A' --label 'enhancement'")
604
- Bash("gh issue create --title 'Feature B' --body 'Description B' --label 'enhancement'")
605
- Bash("gh pr create --title 'PR 1' --head 'feature-a' --base 'main'")
606
- Bash("gh pr create --title 'PR 2' --head 'feature-b' --base 'main'")
607
- Bash("gh pr checks 123 --watch")
608
- TodoWrite { todos: [
609
- {content: "Review security scan results", status: "pending"},
610
- {content: "Merge approved PRs", status: "pending"},
611
- {content: "Update changelog", status: "pending"}
612
- ]}
613
- ```
614
-
615
- </details>
616
-
617
- ## Best Practices
618
-
619
- ### Workflow Organization
620
-
621
- <details>
622
- <summary>Structure Your GitHub Workflows</summary>
623
-
624
- #### 1. Use Reusable Workflows
625
-
626
- ```yaml
627
- # .github/workflows/reusable-swarm.yml
628
- name: Reusable Swarm Workflow
629
- on:
630
- workflow_call:
631
- inputs:
632
- topology:
633
- required: true
634
- type: string
635
-
636
- jobs:
637
- swarm-task:
638
- runs-on: ubuntu-latest
639
- steps:
640
- - name: Initialize Swarm
641
- run: |
642
- npx monomind swarm init --topology ${{ inputs.topology }}
643
- ```
644
-
645
- #### 2. Implement Proper Caching
646
-
647
- ```yaml
648
- - name: Cache Swarm Dependencies
649
- uses: actions/cache@v1
650
- with:
651
- path: ~/.npm
652
- key: ${{ runner.os }}-swarm-${{ hashFiles('**/package-lock.json') }}
653
- ```
654
-
655
- #### 3. Set Appropriate Timeouts
656
-
657
- ```yaml
658
- jobs:
659
- swarm-task:
660
- timeout-minutes: 30
661
- steps:
662
- - name: Swarm Operation
663
- timeout-minutes: 10
664
- ```
665
-
666
- #### 4. Use Workflow Dependencies
667
-
668
- ```yaml
669
- jobs:
670
- setup:
671
- runs-on: ubuntu-latest
672
-
673
- test:
674
- needs: setup
675
- runs-on: ubuntu-latest
676
-
677
- deploy:
678
- needs: [setup, test]
679
- runs-on: ubuntu-latest
680
- ```
681
-
682
- </details>
683
-
684
- ### Security Best Practices
685
-
686
- <details>
687
- <summary>Secure Your GitHub Workflows</summary>
688
-
689
- #### 1. Store Configurations Securely
690
-
691
- ```yaml
692
- - name: Setup Swarm
693
- env:
694
- SWARM_CONFIG: ${{ secrets.SWARM_CONFIG }}
695
- API_KEY: ${{ secrets.API_KEY }}
696
- run: |
697
- npx monomind swarm init --config "$SWARM_CONFIG"
698
- ```
699
-
700
- #### 2. Use OIDC Authentication
701
-
702
- ```yaml
703
- permissions:
704
- id-token: write
705
- contents: read
706
-
707
- - name: Configure AWS Credentials
708
- uses: aws-actions/configure-aws-credentials@v2
709
- with:
710
- role-to-assume: arn:aws:iam::123456789012:role/GitHubAction
711
- aws-region: us-east-1
712
- ```
713
-
714
- #### 3. Implement Least-Privilege
715
-
716
- ```yaml
717
- permissions:
718
- contents: read
719
- pull-requests: write
720
- issues: write
721
- ```
722
-
723
- #### 4. Audit Swarm Operations
724
-
725
- ```yaml
726
- - name: Audit Swarm Actions
727
- run: |
728
- npx monomind actions audit \
729
- --export-logs \
730
- --compliance-report
731
- ```
732
-
733
- </details>
734
-
735
- ### Performance Optimization
736
-
737
- <details>
738
- <summary>Maximize Workflow Performance</summary>
739
-
740
- #### 1. Cache Swarm Dependencies
741
-
742
- ```yaml
743
- - uses: actions/cache@v1
744
- with:
745
- path: |
746
- ~/.npm
747
- node_modules
748
- key: ${{ runner.os }}-swarm-${{ hashFiles('**/package-lock.json') }}
749
- ```
750
-
751
- #### 2. Use Appropriate Runner Sizes
752
-
753
- ```yaml
754
- jobs:
755
- heavy-task:
756
- runs-on: ubuntu-latest-4-cores
757
- steps:
758
- - name: Intensive Swarm Operation
759
- ```
760
-
761
- #### 3. Implement Early Termination
762
-
763
- ```yaml
764
- - name: Quick Fail Check
765
- run: |
766
- if ! npx monomind actions pre-check; then
767
- echo "Pre-check failed, terminating early"
768
- exit 1
769
- fi
770
- ```
771
-
772
- #### 4. Optimize Parallel Execution
773
-
774
- ```yaml
775
- strategy:
776
- matrix:
777
- include:
778
- - runner: ubuntu-latest
779
- task: test
780
- - runner: ubuntu-latest
781
- task: lint
782
- - runner: ubuntu-latest
783
- task: security
784
- max-parallel: 3
785
- ```
786
-
787
- </details>
788
-
789
- ## Debugging & Troubleshooting
790
-
791
- ### Debug Tools
792
-
793
- <details>
794
- <summary>Debug GitHub Workflow Issues</summary>
795
-
796
- #### Debug Mode
797
-
798
- ```yaml
799
- - name: Debug Swarm
800
- run: |
801
- npx monomind actions debug \
802
- --verbose \
803
- --trace-agents \
804
- --export-logs
805
- env:
806
- ACTIONS_STEP_DEBUG: true
807
- ```
808
-
809
- #### Performance Profiling
810
-
811
- ```bash
812
- # Profile workflow performance
813
- npx monomind actions profile \
814
- --workflow "ci.yml" \
815
- --identify-slow-steps \
816
- --suggest-optimizations
817
- ```
818
-
819
- #### Failure Analysis
820
-
821
- ```bash
822
- # Analyze failed runs
823
- gh run view <run-id> --json jobs,conclusion | \
824
- npx monomind actions analyze-failure \
825
- --suggest-fixes \
826
- --auto-retry-flaky
827
- ```
828
-
829
- #### Log Analysis
830
-
831
- ```bash
832
- # Download and analyze logs
833
- gh run download <run-id>
834
- npx monomind actions analyze-logs \
835
- --directory ./logs \
836
- --identify-errors
837
- ```
838
-
839
- </details>
840
-
841
- ## Real-World Examples
842
-
843
- ### Complete Workflows
844
-
845
- <details>
846
- <summary>Production-Ready Integration Examples</summary>
847
-
848
- #### Example 1: Full-Stack Application CI/CD
849
-
850
- ```yaml
851
- name: Full-Stack CI/CD with Swarms
852
- on:
853
- push:
854
- branches: [main, develop]
855
- pull_request:
856
-
857
- jobs:
858
- initialize:
859
- runs-on: ubuntu-latest
860
- outputs:
861
- swarm-id: ${{ steps.init.outputs.swarm-id }}
862
- steps:
863
- - id: init
864
- run: |
865
- SWARM_ID=$(npx monomind swarm init --topology mesh --output json | jq -r '.id')
866
- echo "swarm-id=${SWARM_ID}" >> $GITHUB_OUTPUT
867
-
868
- backend:
869
- needs: initialize
870
- runs-on: ubuntu-latest
871
- steps:
872
- - uses: actions/checkout@v1
873
- - name: Backend Tests
874
- run: |
875
- npx monomind agent spawn --type tester \
876
- --task "Run backend test suite" \
877
- --swarm-id ${{ needs.initialize.outputs.swarm-id }}
878
-
879
- frontend:
880
- needs: initialize
881
- runs-on: ubuntu-latest
882
- steps:
883
- - uses: actions/checkout@v1
884
- - name: Frontend Tests
885
- run: |
886
- npx monomind agent spawn --type tester \
887
- --task "Run frontend test suite" \
888
- --swarm-id ${{ needs.initialize.outputs.swarm-id }}
889
-
890
- security:
891
- needs: initialize
892
- runs-on: ubuntu-latest
893
- steps:
894
- - uses: actions/checkout@v1
895
- - name: Security Scan
896
- run: |
897
- npx monomind agent spawn --type security \
898
- --task "Security audit" \
899
- --swarm-id ${{ needs.initialize.outputs.swarm-id }}
900
-
901
- deploy:
902
- needs: [backend, frontend, security]
903
- if: github.ref == 'refs/heads/main'
904
- runs-on: ubuntu-latest
905
- steps:
906
- - name: Deploy
907
- run: |
908
- npx monomind actions deploy \
909
- --strategy progressive \
910
- --swarm-id ${{ needs.initialize.outputs.swarm-id }}
911
- ```
912
-
913
- #### Example 2: Monorepo Management
914
-
915
- ```yaml
916
- name: Monorepo Coordination
917
- on: push
918
-
919
- jobs:
920
- detect-changes:
921
- runs-on: ubuntu-latest
922
- outputs:
923
- packages: ${{ steps.detect.outputs.packages }}
924
- steps:
925
- - uses: actions/checkout@v1
926
- with:
927
- fetch-depth: 0
928
-
929
- - id: detect
930
- run: |
931
- PACKAGES=$(npx monomind actions detect-changes \
932
- --monorepo \
933
- --output json)
934
- echo "packages=${PACKAGES}" >> $GITHUB_OUTPUT
935
-
936
- build-packages:
937
- needs: detect-changes
938
- runs-on: ubuntu-latest
939
- strategy:
940
- matrix:
941
- package: ${{ fromJson(needs.detect-changes.outputs.packages) }}
942
- steps:
943
- - name: Build Package
944
- run: |
945
- npx monomind actions build \
946
- --package ${{ matrix.package }} \
947
- --parallel-deps
948
- ```
949
-
950
- #### Example 3: Multi-Repo Synchronization
951
-
952
- ```bash
953
- # Synchronize multiple repositories
954
- npx monomind@alpha github sync-coordinator \
955
- "Synchronize version updates across:
956
- - github.com/org/repo-a
957
- - github.com/org/repo-b
958
- - github.com/org/repo-c
959
-
960
- Update dependencies, align versions, create PRs"
961
- ```
962
-
963
- </details>
964
-
965
- ## Command Reference
966
-
967
- ### Quick Command Guide
968
-
969
- <details>
970
- <summary>All Available Commands</summary>
971
-
972
- #### Workflow Generation
973
-
974
- ```bash
975
- npx monomind actions generate-workflow [options]
976
- --analyze-codebase Analyze repository structure
977
- --detect-languages Detect programming languages
978
- --create-optimal-pipeline Generate optimized workflow
979
- ```
980
-
981
- #### Optimization
982
-
983
- ```bash
984
- npx monomind actions optimize [options]
985
- --workflow <path> Path to workflow file
986
- --suggest-parallelization Suggest parallel execution
987
- --reduce-redundancy Remove redundant steps
988
- --estimate-savings Estimate time/cost savings
989
- ```
990
-
991
- #### Analysis
992
-
993
- ```bash
994
- npx monomind actions analyze [options]
995
- --commit <sha> Analyze specific commit
996
- --suggest-tests Suggest test improvements
997
- --optimize-pipeline Optimize pipeline structure
998
- ```
999
-
1000
- #### Testing
1001
-
1002
- ```bash
1003
- npx monomind actions smart-test [options]
1004
- --changed-files <files> Files that changed
1005
- --impact-analysis Analyze test impact
1006
- --parallel-safe Only parallel-safe tests
1007
- ```
1008
-
1009
- #### Security
1010
-
1011
- ```bash
1012
- npx monomind actions security [options]
1013
- --deep-scan Deep security analysis
1014
- --format <format> Output format (json/text)
1015
- --create-issues Auto-create GitHub issues
1016
- ```
1017
-
1018
- #### Deployment
1019
-
1020
- ```bash
1021
- npx monomind actions deploy [options]
1022
- --strategy <type> Deployment strategy
1023
- --risk <level> Risk assessment level
1024
- --auto-execute Execute automatically
1025
- ```
1026
-
1027
- #### Monitoring
1028
-
1029
- ```bash
1030
- npx monomind actions analytics [options]
1031
- --workflow <name> Workflow to analyze
1032
- --period <duration> Analysis period
1033
- --identify-bottlenecks Find bottlenecks
1034
- --suggest-improvements Improvement suggestions
1035
- ```
1036
-
1037
- </details>
1038
-
1039
- ## Integration Checklist
1040
-
1041
- ### Setup Verification
1042
-
1043
- <details>
1044
- <summary>Verify Your Setup</summary>
1045
-
1046
- - [ ] GitHub CLI (`gh`) installed and authenticated
1047
- - [ ] Git configured with user credentials
1048
- - [ ] Node.js v16+ installed
1049
- - [ ] `monomind@alpha` package available
1050
- - [ ] Repository has `.github/workflows` directory
1051
- - [ ] GitHub Actions enabled on repository
1052
- - [ ] Necessary secrets configured
1053
- - [ ] Runner permissions verified
1054
-
1055
- #### Quick Setup Script
1056
-
1057
- ```bash
1058
- #!/bin/bash
1059
- # setup-github-automation.sh
1060
-
1061
- # Install dependencies
1062
- npm install -g monomind@alpha
1063
-
1064
- # Verify GitHub CLI
1065
- gh auth status || gh auth login
1066
-
1067
- # Create workflow directory
1068
- mkdir -p .github/workflows
1069
-
1070
- # Generate initial workflow
1071
- npx monomind actions generate-workflow \
1072
- --analyze-codebase \
1073
- --create-optimal-pipeline > .github/workflows/ci.yml
1074
-
1075
- echo "✅ GitHub workflow automation setup complete"
1076
- ```
1077
-
1078
- </details>
1079
-
1080
- ## Related Skills
1081
-
1082
- - `github-pr-enhancement` - Advanced PR management
1083
- - `release-coordination` - Release automation
1084
- - `swarm-coordination` - Multi-agent orchestration
1085
- - `ci-cd-optimization` - Pipeline optimization
1086
-
1087
- ## Support & Documentation
1088
-
1089
- - **GitHub CLI Docs**: https://cli.github.com/manual/
1090
- - **GitHub Actions**: https://docs.github.com/en/actions
1091
- - **Monomind**: https://github.com/nokhodian/monomind
1092
- - **Monomind**: https://github.com/nokhodian/monomind
1093
-
1094
- ## Version History
1095
-
1096
- - **v1.0.0** (2025-01-19): Initial skill consolidation
1097
- - Merged workflow-automation.md (441 lines)
1098
- - Merged github-modes.md (146 lines)
1099
- - Added progressive disclosure
1100
- - Enhanced with swarm coordination patterns
1101
- - Added comprehensive examples and best practices
1102
-
1103
- ---
1104
-
1105
- **Skill Status**: Production Ready
1106
- **Last Updated**: 2025-01-19
1107
- **Maintainer**: monomind team