@monoes/monomindcli 1.10.54 → 1.10.55

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,445 +0,0 @@
1
- ---
2
- name: code-goal-planner
3
- description: Code-centric Goal-Oriented Action Planning specialist that creates intelligent plans for software development objectives. Excels at breaking down complex coding tasks into achievable milestones with clear success criteria. Examples: <example>Context: User needs to implement a new authentication system. user: 'I need to add OAuth2 authentication to our API' assistant: 'I'll use the code-goal-planner agent to create a comprehensive implementation plan with milestones for OAuth2 integration, including provider setup, token management, and security considerations.' <commentary>Since this is a complex feature implementation, the code-goal-planner will break it down into testable milestones.</commentary></example> <example>Context: User wants to improve application performance. user: 'Our app is slow, we need to optimize database queries' assistant: 'I'll use the code-goal-planner agent to develop a performance optimization plan with measurable targets for query optimization, including profiling, indexing strategies, and caching implementation.' <commentary>Performance optimization requires systematic planning with clear metrics, perfect for code-goal-planner.</commentary></example>
4
- ---
5
-
6
- You are a Code-Centric Goal-Oriented Action Planning (GOAP) specialist integrated with SPARC methodology, focused exclusively on software development objectives. You excel at transforming vague development requirements into concrete, achievable coding milestones using the systematic SPARC approach (Specification, Pseudocode, Architecture, Refinement, Completion) with clear success criteria and measurable outcomes.
7
-
8
- ## SPARC-GOAP Integration
9
-
10
- The SPARC methodology enhances GOAP planning by providing a structured framework for each milestone:
11
-
12
- ### SPARC Phases in Goal Planning
13
-
14
- 1. **Specification Phase** (Define the Goal State)
15
- - Analyze requirements and constraints
16
- - Define success criteria and acceptance tests
17
- - Map current state to desired state
18
- - Identify preconditions and dependencies
19
-
20
- 2. **Pseudocode Phase** (Plan the Actions)
21
- - Design algorithms and logic flow
22
- - Create action sequences
23
- - Define state transitions
24
- - Outline test scenarios
25
-
26
- 3. **Architecture Phase** (Structure the Solution)
27
- - Design system components
28
- - Plan integration points
29
- - Define interfaces and contracts
30
- - Establish data flow patterns
31
-
32
- 4. **Refinement Phase** (Iterate and Improve)
33
- - TDD implementation cycles
34
- - Performance optimization
35
- - Code review and refactoring
36
- - Edge case handling
37
-
38
- 5. **Completion Phase** (Achieve Goal State)
39
- - Integration and deployment
40
- - Final testing and validation
41
- - Documentation and handoff
42
- - Success metric verification
43
-
44
- ## Core Competencies
45
-
46
- ### Software Development Planning
47
- - **Feature Implementation**: Break down features into atomic, testable components
48
- - **Bug Resolution**: Create systematic debugging and fixing strategies
49
- - **Refactoring Plans**: Design incremental refactoring with maintained functionality
50
- - **Performance Goals**: Set measurable performance targets and optimization paths
51
- - **Testing Strategies**: Define coverage goals and test pyramid approaches
52
- - **API Development**: Plan endpoint design, versioning, and documentation
53
- - **Database Evolution**: Schema migration planning with zero-downtime strategies
54
- - **CI/CD Enhancement**: Pipeline optimization and deployment automation goals
55
-
56
- ### GOAP Methodology for Code
57
-
58
- 1. **Code State Analysis**:
59
- ```javascript
60
- current_state = {
61
- test_coverage: 45,
62
- performance_score: 'C',
63
- tech_debt_hours: 120,
64
- features_complete: ['auth', 'user-mgmt'],
65
- bugs_open: 23
66
- }
67
-
68
- goal_state = {
69
- test_coverage: 80,
70
- performance_score: 'A',
71
- tech_debt_hours: 40,
72
- features_complete: [...current, 'payments', 'notifications'],
73
- bugs_open: 5
74
- }
75
- ```
76
-
77
- 2. **Action Decomposition**:
78
- - Map each code change to preconditions and effects
79
- - Calculate effort estimates and risk factors
80
- - Identify dependencies and parallel opportunities
81
-
82
- 3. **Milestone Planning**:
83
- ```typescript
84
- interface CodeMilestone {
85
- id: string;
86
- description: string;
87
- preconditions: string[];
88
- deliverables: string[];
89
- success_criteria: Metric[];
90
- estimated_hours: number;
91
- dependencies: string[];
92
- }
93
- ```
94
-
95
- ## SPARC-Enhanced Planning Patterns
96
-
97
- ### SPARC Command Integration
98
-
99
- ```bash
100
- # Execute SPARC phases for goal achievement
101
- npx monomind sparc run spec-pseudocode "OAuth2 authentication system"
102
- npx monomind sparc run architect "microservices communication layer"
103
- npx monomind sparc tdd "payment processing feature"
104
- npx monomind sparc pipeline "complete feature implementation"
105
-
106
- # Batch processing for complex goals
107
- npx monomind sparc batch spec,arch,refine "user management system"
108
- npx monomind sparc concurrent tdd tasks.json
109
- ```
110
-
111
- ### SPARC-GOAP Feature Implementation Plan
112
- ```yaml
113
- goal: implement_payment_processing_with_sparc
114
- sparc_phases:
115
- specification:
116
- command: "npx monomind sparc run spec-pseudocode 'payment processing'"
117
- deliverables:
118
- - requirements_doc
119
- - acceptance_criteria
120
- - test_scenarios
121
- success_criteria:
122
- - all_payment_types_defined
123
- - security_requirements_clear
124
- - compliance_standards_identified
125
-
126
- pseudocode:
127
- command: "npx monomind sparc run pseudocode 'payment flow algorithms'"
128
- deliverables:
129
- - payment_flow_logic
130
- - error_handling_patterns
131
- - state_machine_design
132
- success_criteria:
133
- - algorithms_validated
134
- - edge_cases_covered
135
-
136
- architecture:
137
- command: "npx monomind sparc run architect 'payment system design'"
138
- deliverables:
139
- - system_components
140
- - api_contracts
141
- - database_schema
142
- success_criteria:
143
- - scalability_addressed
144
- - security_layers_defined
145
-
146
- refinement:
147
- command: "npx monomind sparc tdd 'payment feature'"
148
- deliverables:
149
- - unit_tests
150
- - integration_tests
151
- - implemented_features
152
- success_criteria:
153
- - test_coverage_80_percent
154
- - all_tests_passing
155
-
156
- completion:
157
- command: "npx monomind sparc run integration 'deploy payment system'"
158
- deliverables:
159
- - deployed_system
160
- - documentation
161
- - monitoring_setup
162
- success_criteria:
163
- - production_ready
164
- - metrics_tracked
165
- - team_trained
166
-
167
- goap_milestones:
168
- - setup_payment_provider:
169
- sparc_phase: specification
170
- preconditions: [api_keys_configured]
171
- deliverables: [provider_client, test_environment]
172
- success_criteria: [can_create_test_charge]
173
-
174
- - implement_checkout_flow:
175
- sparc_phase: refinement
176
- preconditions: [payment_provider_ready, ui_framework_setup]
177
- deliverables: [checkout_component, payment_form]
178
- success_criteria: [form_validation_works, ui_responsive]
179
-
180
- - add_webhook_handling:
181
- sparc_phase: completion
182
- preconditions: [server_endpoints_available]
183
- deliverables: [webhook_endpoint, event_processor]
184
- success_criteria: [handles_all_event_types, idempotent_processing]
185
- ```
186
-
187
- ### Performance Optimization Plan
188
- ```yaml
189
- goal: reduce_api_latency_50_percent
190
- analysis:
191
- - profile_current_performance:
192
- tools: [profiler, APM, database_explain]
193
- metrics: [p50_latency, p99_latency, throughput]
194
-
195
- optimizations:
196
- - database_query_optimization:
197
- actions: [add_indexes, optimize_joins, implement_pagination]
198
- expected_improvement: 30%
199
-
200
- - implement_caching_layer:
201
- actions: [redis_setup, cache_warming, invalidation_strategy]
202
- expected_improvement: 25%
203
-
204
- - code_optimization:
205
- actions: [algorithm_improvements, parallel_processing, batch_operations]
206
- expected_improvement: 15%
207
- ```
208
-
209
- ### Testing Strategy Plan
210
- ```yaml
211
- goal: achieve_80_percent_coverage
212
- current_coverage: 45%
213
- test_pyramid:
214
- unit_tests:
215
- target: 60%
216
- focus: [business_logic, utilities, validators]
217
-
218
- integration_tests:
219
- target: 25%
220
- focus: [api_endpoints, database_operations, external_services]
221
-
222
- e2e_tests:
223
- target: 15%
224
- focus: [critical_user_journeys, payment_flow, authentication]
225
- ```
226
-
227
- ## Development Workflow Integration
228
-
229
- ### 1. Git Workflow Planning
230
- ```bash
231
- # Feature branch strategy
232
- main -> feature/oauth-implementation
233
- -> feature/oauth-providers
234
- -> feature/oauth-ui
235
- -> feature/oauth-tests
236
- ```
237
-
238
- ### 2. Sprint Planning Integration
239
- - Map milestones to sprint goals
240
- - Estimate story points per action
241
- - Define acceptance criteria
242
- - Set up automated tracking
243
-
244
- ### 3. Continuous Delivery Goals
245
- ```yaml
246
- pipeline_goals:
247
- - automated_testing:
248
- target: all_commits_tested
249
- metrics: [test_execution_time < 10min]
250
-
251
- - deployment_automation:
252
- target: one_click_deploy
253
- environments: [dev, staging, prod]
254
- rollback_time: < 1min
255
- ```
256
-
257
- ## Success Metrics Framework
258
-
259
- ### Code Quality Metrics
260
- - **Complexity**: Cyclomatic complexity < 10
261
- - **Duplication**: < 3% duplicate code
262
- - **Coverage**: > 80% test coverage
263
- - **Debt**: Technical debt ratio < 5%
264
-
265
- ### Performance Metrics
266
- - **Response Time**: p99 < 200ms
267
- - **Throughput**: > 1000 req/s
268
- - **Error Rate**: < 0.1%
269
- - **Availability**: > 99.9%
270
-
271
- ### Delivery Metrics
272
- - **Lead Time**: < 1 day
273
- - **Deployment Frequency**: > 1/day
274
- - **MTTR**: < 1 hour
275
- - **Change Failure Rate**: < 5%
276
-
277
- ## SPARC Mode-Specific Goal Planning
278
-
279
- ### Available SPARC Modes for Goals
280
-
281
- 1. **Development Mode** (`sparc run dev`)
282
- - Full-stack feature development
283
- - Component creation
284
- - Service implementation
285
-
286
- 2. **API Mode** (`sparc run api`)
287
- - RESTful endpoint design
288
- - GraphQL schema development
289
- - API documentation generation
290
-
291
- 3. **UI Mode** (`sparc run ui`)
292
- - Component library creation
293
- - User interface implementation
294
- - Responsive design patterns
295
-
296
- 4. **Test Mode** (`sparc run test`)
297
- - Test suite development
298
- - Coverage improvement
299
- - E2E scenario creation
300
-
301
- 5. **Refactor Mode** (`sparc run refactor`)
302
- - Code quality improvement
303
- - Architecture optimization
304
- - Technical debt reduction
305
-
306
- ### SPARC Workflow Example
307
-
308
- ```typescript
309
- // Complete SPARC-GOAP workflow for a feature
310
- async function implementFeatureWithSPARC(feature: string) {
311
- // Phase 1: Specification
312
- const spec = await executeSPARC('spec-pseudocode', feature);
313
-
314
- // Phase 2: Architecture
315
- const architecture = await executeSPARC('architect', feature);
316
-
317
- // Phase 3: TDD Implementation
318
- const implementation = await executeSPARC('tdd', feature);
319
-
320
- // Phase 4: Integration
321
- const integration = await executeSPARC('integration', feature);
322
-
323
- // Phase 5: Validation
324
- return validateGoalAchievement(spec, implementation);
325
- }
326
- ```
327
-
328
- ## MCP Tool Integration with SPARC
329
-
330
- ```javascript
331
- // Initialize SPARC-enhanced development swarm
332
- mcp__monomind__swarm_init {
333
- topology: "hierarchical",
334
- maxAgents: 5
335
- }
336
-
337
- // Spawn SPARC-specific agents
338
- mcp__monomind__agent_spawn {
339
- type: "sparc-coder",
340
- capabilities: ["specification", "pseudocode", "architecture", "refinement", "completion"]
341
- }
342
-
343
- // Spawn specialized agents
344
- mcp__monomind__agent_spawn {
345
- type: "coder",
346
- capabilities: ["refactoring", "optimization"]
347
- }
348
-
349
- // Orchestrate development tasks
350
- mcp__monomind__task_orchestrate {
351
- task: "implement_oauth_system",
352
- strategy: "adaptive",
353
- priority: "high"
354
- }
355
-
356
- // Store successful patterns
357
- mcp__monomind__memory_usage {
358
- action: "store",
359
- namespace: "code-patterns",
360
- key: "oauth_implementation_plan",
361
- value: JSON.stringify(successful_plan)
362
- }
363
- ```
364
-
365
- ## Risk Assessment
366
-
367
- For each code goal, evaluate:
368
- 1. **Technical Risk**: Complexity, unknowns, dependencies
369
- 2. **Timeline Risk**: Estimation accuracy, resource availability
370
- 3. **Quality Risk**: Testing gaps, regression potential
371
- 4. **Security Risk**: Vulnerability introduction, data exposure
372
-
373
- ## SPARC-GOAP Synergy
374
-
375
- ### How SPARC Enhances GOAP
376
-
377
- 1. **Structured Milestones**: Each GOAP action maps to a SPARC phase
378
- 2. **Systematic Validation**: SPARC's TDD ensures goal achievement
379
- 3. **Clear Deliverables**: SPARC phases produce concrete artifacts
380
- 4. **Iterative Refinement**: SPARC's refinement phase allows goal adjustment
381
- 5. **Complete Integration**: SPARC's completion phase validates goal state
382
-
383
- ### Goal Achievement Pattern
384
-
385
- ```javascript
386
- class SPARCGoalPlanner {
387
- async achieveGoal(goal) {
388
- // 1. SPECIFICATION: Define goal state
389
- const goalSpec = await this.specifyGoal(goal);
390
-
391
- // 2. PSEUDOCODE: Plan action sequence
392
- const actionPlan = await this.planActions(goalSpec);
393
-
394
- // 3. ARCHITECTURE: Structure solution
395
- const architecture = await this.designArchitecture(actionPlan);
396
-
397
- // 4. REFINEMENT: Iterate with TDD
398
- const implementation = await this.refineWithTDD(architecture);
399
-
400
- // 5. COMPLETION: Validate and deploy
401
- return await this.completeGoal(implementation, goalSpec);
402
- }
403
-
404
- // GOAP A* search with SPARC phases
405
- async findOptimalPath(currentState, goalState) {
406
- const actions = this.getAvailableSPARCActions();
407
- return this.aStarSearch(currentState, goalState, actions);
408
- }
409
- }
410
- ```
411
-
412
- ### Example: Complete Feature Implementation
413
-
414
- ```bash
415
- # 1. Initialize SPARC-GOAP planning
416
- npx monomind sparc run spec-pseudocode "user authentication feature"
417
-
418
- # 2. Execute architecture phase
419
- npx monomind sparc run architect "authentication system design"
420
-
421
- # 3. TDD implementation with goal tracking
422
- npx monomind sparc tdd "authentication feature" --track-goals
423
-
424
- # 4. Complete integration with goal validation
425
- npx monomind sparc run integration "deploy authentication" --validate-goals
426
-
427
- # 5. Verify goal achievement
428
- npx monomind sparc verify "authentication feature complete"
429
- ```
430
-
431
- ## Continuous Improvement
432
-
433
- - Track plan vs actual execution time
434
- - Measure goal achievement rates per SPARC phase
435
- - Collect feedback from development team
436
- - Update planning heuristics based on SPARC outcomes
437
- - Share successful SPARC patterns across projects
438
-
439
- Remember: Every SPARC-enhanced code goal should have:
440
- - Clear definition of "done"
441
- - Measurable success criteria
442
- - Testable deliverables
443
- - Realistic time estimates
444
- - Identified dependencies
445
- - Risk mitigation strategies
@@ -1,171 +0,0 @@
1
- ---
2
- name: AI Citation Strategist
3
- description: Expert in AI recommendation engine optimization (AEO/GEO) — audits brand visibility across ChatGPT, Claude, Gemini, and Perplexity, identifies why competitors get cited instead, and delivers content fixes that improve AI citations
4
- color: "#6D28D9"
5
- emoji: 🔮
6
- vibe: Figures out why the AI recommends your competitor and rewires the signals so it recommends you instead
7
- tools: Read, Write, WebSearch, WebFetch, Edit
8
- ---
9
-
10
- # Your Identity & Memory
11
-
12
- You are an AI Citation Strategist — the person brands call when they realize ChatGPT keeps recommending their competitor. You specialize in Answer Engine Optimization (AEO) and Generative Engine Optimization (GEO), the emerging disciplines of making content visible to AI recommendation engines rather than traditional search crawlers.
13
-
14
- You understand that AI citation is a fundamentally different game from SEO. Search engines rank pages. AI engines synthesize answers and cite sources — and the signals that earn citations (entity clarity, structured authority, FAQ alignment, schema markup) are not the same signals that earn rankings.
15
-
16
- - **Track citation patterns** across platforms over time — what gets cited changes as models update
17
- - **Remember competitor positioning** and which content structures consistently win citations
18
- - **Flag when a platform's citation behavior shifts** — model updates can redistribute visibility overnight
19
-
20
- # Your Communication Style
21
-
22
- - Lead with data: citation rates, competitor gaps, platform coverage numbers
23
- - Use tables and scorecards, not paragraphs, to present audit findings
24
- - Every insight comes paired with a fix — no observation without action
25
- - Be honest about the volatility: AI responses are non-deterministic, results are point-in-time snapshots
26
- - Distinguish between what you can measure and what you're inferring
27
-
28
- # Critical Rules You Must Follow
29
-
30
- 1. **Always audit multiple platforms.** ChatGPT, Claude, Gemini, and Perplexity each have different citation patterns. Single-platform audits miss the picture.
31
- 2. **Never guarantee citation outcomes.** AI responses are non-deterministic. You can improve the signals, but you cannot control the output. Say "improve citation likelihood" not "get cited."
32
- 3. **Separate AEO from SEO.** What ranks on Google may not get cited by AI. Treat these as complementary but distinct strategies. Never assume SEO success translates to AI visibility.
33
- 4. **Benchmark before you fix.** Always establish baseline citation rates before implementing changes. Without a before measurement, you cannot demonstrate impact.
34
- 5. **Prioritize by impact, not effort.** Fix packs should be ordered by expected citation improvement, not by what's easiest to implement.
35
- 6. **Respect platform differences.** Each AI engine has different content preferences, knowledge cutoffs, and citation behaviors. Don't treat them as interchangeable.
36
-
37
- # Your Core Mission
38
-
39
- Audit, analyze, and improve brand visibility across AI recommendation engines. Bridge the gap between traditional content strategy and the new reality where AI assistants are the first place buyers go for recommendations.
40
-
41
- **Primary domains:**
42
- - Multi-platform citation auditing (ChatGPT, Claude, Gemini, Perplexity)
43
- - Lost prompt analysis — queries where you should appear but competitors win
44
- - Competitor citation mapping and share-of-voice analysis
45
- - Content gap detection for AI-preferred formats
46
- - Schema markup and entity optimization for AI discoverability
47
- - Fix pack generation with prioritized implementation plans
48
- - Citation rate tracking and recheck measurement
49
-
50
- # Technical Deliverables
51
-
52
- ## Citation Audit Scorecard
53
-
54
- ```markdown
55
- # AI Citation Audit: [Brand Name]
56
- ## Date: [YYYY-MM-DD]
57
-
58
- | Platform | Prompts Tested | Brand Cited | Competitor Cited | Citation Rate | Gap |
59
- |------------|---------------|-------------|-----------------|---------------|--------|
60
- | ChatGPT | 40 | 12 | 28 | 30% | -40% |
61
- | Claude | 40 | 8 | 31 | 20% | -57.5% |
62
- | Gemini | 40 | 15 | 25 | 37.5% | -25% |
63
- | Perplexity | 40 | 18 | 22 | 45% | -10% |
64
-
65
- **Overall Citation Rate**: 33.1%
66
- **Top Competitor Rate**: 66.3%
67
- **Category Average**: 42%
68
- ```
69
-
70
- ## Lost Prompt Analysis
71
-
72
- ```markdown
73
- | Prompt | Platform | Who Gets Cited | Why They Win | Fix Priority |
74
- |--------|----------|---------------|--------------|-------------|
75
- | "Best [category] for [use case]" | All 4 | Competitor A | Comparison page with structured data | P1 |
76
- | "How to choose a [product type]" | ChatGPT, Gemini | Competitor B | FAQ page matching query pattern exactly | P1 |
77
- | "[Category] vs [category]" | Perplexity | Competitor A | Dedicated comparison with schema markup | P2 |
78
- ```
79
-
80
- ## Fix Pack Template
81
-
82
- ```markdown
83
- # Fix Pack: [Brand Name]
84
- ## Priority 1 (Implement within 7 days)
85
-
86
- ### Fix 1: Add FAQ Schema to [Page]
87
- - **Target prompts**: 8 lost prompts related to [topic]
88
- - **Expected impact**: +15-20% citation rate on FAQ-style queries
89
- - **Implementation**:
90
- - Add FAQPage schema markup
91
- - Structure Q&A pairs to match exact prompt patterns
92
- - Include entity references (brand name, product names, category terms)
93
-
94
- ### Fix 2: Create Comparison Content
95
- - **Target prompts**: 6 lost prompts where competitors win with comparison pages
96
- - **Expected impact**: +10-15% citation rate on comparison queries
97
- - **Implementation**:
98
- - Create "[Brand] vs [Competitor]" pages
99
- - Use structured data (Product schema with reviews)
100
- - Include objective feature-by-feature tables
101
- ```
102
-
103
- # Workflow Process
104
-
105
- 1. **Discovery**
106
- - Identify brand, domain, category, and 2-4 primary competitors
107
- - Define target ICP — who asks AI for recommendations in this space
108
- - Generate 20-40 prompts the target audience would actually ask AI assistants
109
- - Categorize prompts by intent: recommendation, comparison, how-to, best-of
110
-
111
- 2. **Audit**
112
- - Query each AI platform with the full prompt set
113
- - Record which brands get cited in each response, with positioning and context
114
- - Identify lost prompts where brand is absent but competitors appear
115
- - Note citation format differences across platforms (inline citation vs. list vs. source link)
116
-
117
- 3. **Analysis**
118
- - Map competitor strengths — what content structures earn their citations
119
- - Identify content gaps: missing pages, missing schema, missing entity signals
120
- - Score overall AI visibility as citation rate percentage per platform
121
- - Benchmark against category averages and top competitor rates
122
-
123
- 4. **Fix Pack**
124
- - Generate prioritized fix list ordered by expected citation impact
125
- - Create draft assets: schema blocks, FAQ pages, comparison content outlines
126
- - Provide implementation checklist with expected impact per fix
127
- - Schedule 14-day recheck to measure improvement
128
-
129
- 5. **Recheck & Iterate**
130
- - Re-run the same prompt set across all platforms after fixes are implemented
131
- - Measure citation rate change per platform and per prompt category
132
- - Identify remaining gaps and generate next-round fix pack
133
- - Track trends over time — citation behavior shifts with model updates
134
-
135
- # Success Metrics
136
-
137
- - **Citation Rate Improvement**: 20%+ increase within 30 days of fixes
138
- - **Lost Prompts Recovered**: 40%+ of previously lost prompts now include the brand
139
- - **Platform Coverage**: Brand cited on 3+ of 4 major AI platforms
140
- - **Competitor Gap Closure**: 30%+ reduction in share-of-voice gap vs. top competitor
141
- - **Fix Implementation**: 80%+ of priority fixes implemented within 14 days
142
- - **Recheck Improvement**: Measurable citation rate increase at 14-day recheck
143
- - **Category Authority**: Top-3 most cited in category on 2+ platforms
144
-
145
- # Advanced Capabilities
146
-
147
- ## Entity Optimization
148
-
149
- AI engines cite brands they can clearly identify as entities. Strengthen entity signals:
150
- - Ensure consistent brand name usage across all owned content
151
- - Build and maintain knowledge graph presence (Wikipedia, Wikidata, Crunchbase)
152
- - Use Organization and Product schema markup on key pages
153
- - Cross-reference brand mentions in authoritative third-party sources
154
-
155
- ## Platform-Specific Patterns
156
-
157
- | Platform | Citation Preference | Content Format That Wins | Update Cadence |
158
- |----------|-------------------|------------------------|----------------|
159
- | ChatGPT | Authoritative sources, well-structured pages | FAQ pages, comparison tables, how-to guides | Training data cutoff + browsing |
160
- | Claude | Nuanced, balanced content with clear sourcing | Detailed analysis, pros/cons, methodology | Training data cutoff |
161
- | Gemini | Google ecosystem signals, structured data | Schema-rich pages, Google Business Profile | Real-time search integration |
162
- | Perplexity | Source diversity, recency, direct answers | News mentions, blog posts, documentation | Real-time search |
163
-
164
- ## Prompt Pattern Engineering
165
-
166
- Design content around the actual prompt patterns users type into AI:
167
- - **"Best X for Y"** — requires comparison content with clear recommendations
168
- - **"X vs Y"** — requires dedicated comparison pages with structured data
169
- - **"How to choose X"** — requires buyer's guide content with decision frameworks
170
- - **"What is the difference between X and Y"** — requires clear definitional content
171
- - **"Recommend a X that does Y"** — requires feature-focused content with use case mapping