mindforge-cc 11.3.0 → 11.3.1

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 (576) hide show
  1. package/.agent/forge/help.md +11 -0
  2. package/.agent/forge/init-project.md +36 -0
  3. package/.agent/forge/plan-phase.md +34 -0
  4. package/.agent/mindforge/add-backlog.md +32 -0
  5. package/.agent/mindforge/agent-deploy.md +34 -0
  6. package/.agent/mindforge/agent-design.md +31 -0
  7. package/.agent/mindforge/agent-eval.md +27 -0
  8. package/.agent/mindforge/agent-memory.md +27 -0
  9. package/.agent/mindforge/agent.md +31 -0
  10. package/.agent/mindforge/ai-cost.md +31 -0
  11. package/.agent/mindforge/ai-safety.md +37 -0
  12. package/.agent/mindforge/analytics.md +28 -0
  13. package/.agent/mindforge/approve.md +22 -0
  14. package/.agent/mindforge/audit.md +34 -0
  15. package/.agent/mindforge/auth-flow.md +76 -0
  16. package/.agent/mindforge/auto.md +26 -0
  17. package/.agent/mindforge/benchmark.md +37 -0
  18. package/.agent/mindforge/brd.md +90 -0
  19. package/.agent/mindforge/browse.md +30 -0
  20. package/.agent/mindforge/build-opt.md +31 -0
  21. package/.agent/mindforge/build-vs-buy.md +29 -0
  22. package/.agent/mindforge/cache.md +30 -0
  23. package/.agent/mindforge/causal.md +31 -0
  24. package/.agent/mindforge/cdn.md +34 -0
  25. package/.agent/mindforge/change.md +37 -0
  26. package/.agent/mindforge/cli.md +30 -0
  27. package/.agent/mindforge/cluster-instincts.md +35 -0
  28. package/.agent/mindforge/code-tour.md +85 -0
  29. package/.agent/mindforge/communicate.md +37 -0
  30. package/.agent/mindforge/complete-milestone.md +22 -0
  31. package/.agent/mindforge/compliance.md +31 -0
  32. package/.agent/mindforge/consult.md +37 -0
  33. package/.agent/mindforge/context-budget.md +70 -0
  34. package/.agent/mindforge/contract-test.md +30 -0
  35. package/.agent/mindforge/cost-report.md +44 -0
  36. package/.agent/mindforge/costs.md +15 -0
  37. package/.agent/mindforge/council.md +35 -0
  38. package/.agent/mindforge/create-skill.md +34 -0
  39. package/.agent/mindforge/cross-review.md +21 -0
  40. package/.agent/mindforge/dashboard.md +102 -0
  41. package/.agent/mindforge/data-mesh.md +31 -0
  42. package/.agent/mindforge/data-model.md +75 -0
  43. package/.agent/mindforge/data-pipeline.md +34 -0
  44. package/.agent/mindforge/de-slop.md +33 -0
  45. package/.agent/mindforge/debug.md +133 -0
  46. package/.agent/mindforge/degrade.md +31 -0
  47. package/.agent/mindforge/delegate.md +37 -0
  48. package/.agent/mindforge/deploy.md +32 -0
  49. package/.agent/mindforge/design-tokens.md +80 -0
  50. package/.agent/mindforge/discuss-phase.md +142 -0
  51. package/.agent/mindforge/dmux.md +32 -0
  52. package/.agent/mindforge/do.md +31 -0
  53. package/.agent/mindforge/ecommerce.md +31 -0
  54. package/.agent/mindforge/edge.md +34 -0
  55. package/.agent/mindforge/edtech.md +31 -0
  56. package/.agent/mindforge/embeddings.md +37 -0
  57. package/.agent/mindforge/environments.md +31 -0
  58. package/.agent/mindforge/eval.md +33 -0
  59. package/.agent/mindforge/events.md +30 -0
  60. package/.agent/mindforge/evolve-skills.md +49 -0
  61. package/.agent/mindforge/execute-phase.md +200 -0
  62. package/.agent/mindforge/experiment.md +28 -0
  63. package/.agent/mindforge/feature-flags.md +30 -0
  64. package/.agent/mindforge/feature-store.md +31 -0
  65. package/.agent/mindforge/finops.md +31 -0
  66. package/.agent/mindforge/fintech.md +31 -0
  67. package/.agent/mindforge/flutter.md +37 -0
  68. package/.agent/mindforge/gaming.md +31 -0
  69. package/.agent/mindforge/graphql.md +31 -0
  70. package/.agent/mindforge/health.md +31 -0
  71. package/.agent/mindforge/healthcare.md +31 -0
  72. package/.agent/mindforge/help.md +33 -0
  73. package/.agent/mindforge/hire.md +37 -0
  74. package/.agent/mindforge/hitl.md +27 -0
  75. package/.agent/mindforge/i18n.md +31 -0
  76. package/.agent/mindforge/idempotent.md +31 -0
  77. package/.agent/mindforge/init-org.md +135 -0
  78. package/.agent/mindforge/init-project.md +170 -0
  79. package/.agent/mindforge/install-skill.md +28 -0
  80. package/.agent/mindforge/introspect.md +46 -0
  81. package/.agent/mindforge/iot.md +31 -0
  82. package/.agent/mindforge/knowledge-graph.md +37 -0
  83. package/.agent/mindforge/lakehouse.md +31 -0
  84. package/.agent/mindforge/lead.md +31 -0
  85. package/.agent/mindforge/learn-instinct.md +58 -0
  86. package/.agent/mindforge/learn.md +147 -0
  87. package/.agent/mindforge/learning.md +20 -0
  88. package/.agent/mindforge/llm-route.md +37 -0
  89. package/.agent/mindforge/load-test.md +30 -0
  90. package/.agent/mindforge/logistics.md +31 -0
  91. package/.agent/mindforge/map-codebase.md +302 -0
  92. package/.agent/mindforge/market-research.md +94 -0
  93. package/.agent/mindforge/marketplace.md +124 -0
  94. package/.agent/mindforge/mcp-server.md +88 -0
  95. package/.agent/mindforge/meeting-design.md +37 -0
  96. package/.agent/mindforge/metrics.md +26 -0
  97. package/.agent/mindforge/microservices.md +64 -0
  98. package/.agent/mindforge/migrate.md +44 -0
  99. package/.agent/mindforge/migration-mgmt.md +31 -0
  100. package/.agent/mindforge/milestone.md +16 -0
  101. package/.agent/mindforge/mobile.md +37 -0
  102. package/.agent/mindforge/monorepo.md +30 -0
  103. package/.agent/mindforge/multi-tenant.md +31 -0
  104. package/.agent/mindforge/multimodal.md +37 -0
  105. package/.agent/mindforge/new-runtime.md +23 -0
  106. package/.agent/mindforge/next.md +109 -0
  107. package/.agent/mindforge/note.md +35 -0
  108. package/.agent/mindforge/observability-platform.md +31 -0
  109. package/.agent/mindforge/observability.md +75 -0
  110. package/.agent/mindforge/offline.md +37 -0
  111. package/.agent/mindforge/onboard.md +37 -0
  112. package/.agent/mindforge/orchestrate.md +74 -0
  113. package/.agent/mindforge/payments.md +28 -0
  114. package/.agent/mindforge/pipeline.md +84 -0
  115. package/.agent/mindforge/plan-phase.md +131 -0
  116. package/.agent/mindforge/plan-write.md +95 -0
  117. package/.agent/mindforge/plant-seed.md +31 -0
  118. package/.agent/mindforge/platform.md +31 -0
  119. package/.agent/mindforge/plugins.md +44 -0
  120. package/.agent/mindforge/pr-review.md +45 -0
  121. package/.agent/mindforge/privacy-eng.md +31 -0
  122. package/.agent/mindforge/product-spec.md +90 -0
  123. package/.agent/mindforge/profile-team.md +27 -0
  124. package/.agent/mindforge/prompt.md +78 -0
  125. package/.agent/mindforge/proofread.md +87 -0
  126. package/.agent/mindforge/publish-skill.md +23 -0
  127. package/.agent/mindforge/push-notify.md +37 -0
  128. package/.agent/mindforge/pwa.md +37 -0
  129. package/.agent/mindforge/qa.md +20 -0
  130. package/.agent/mindforge/quality-audit.md +34 -0
  131. package/.agent/mindforge/queue.md +31 -0
  132. package/.agent/mindforge/quick.md +139 -0
  133. package/.agent/mindforge/rag.md +30 -0
  134. package/.agent/mindforge/rate-limit.md +31 -0
  135. package/.agent/mindforge/react-native.md +37 -0
  136. package/.agent/mindforge/realtime-analytics.md +31 -0
  137. package/.agent/mindforge/record-learning.md +22 -0
  138. package/.agent/mindforge/release.md +14 -0
  139. package/.agent/mindforge/remember.md +30 -0
  140. package/.agent/mindforge/research.md +16 -0
  141. package/.agent/mindforge/retro.md +28 -0
  142. package/.agent/mindforge/retrospective.md +31 -0
  143. package/.agent/mindforge/review-backlog.md +34 -0
  144. package/.agent/mindforge/review-guide.md +63 -0
  145. package/.agent/mindforge/review.md +161 -0
  146. package/.agent/mindforge/rfc.md +34 -0
  147. package/.agent/mindforge/santa.md +33 -0
  148. package/.agent/mindforge/secrets-mgmt.md +31 -0
  149. package/.agent/mindforge/secrets.md +31 -0
  150. package/.agent/mindforge/security-scan.md +242 -0
  151. package/.agent/mindforge/serverless.md +34 -0
  152. package/.agent/mindforge/session-report.md +39 -0
  153. package/.agent/mindforge/ship.md +111 -0
  154. package/.agent/mindforge/skills.md +145 -0
  155. package/.agent/mindforge/status.md +113 -0
  156. package/.agent/mindforge/steer.md +17 -0
  157. package/.agent/mindforge/stream.md +31 -0
  158. package/.agent/mindforge/sync-confluence.md +15 -0
  159. package/.agent/mindforge/sync-jira.md +16 -0
  160. package/.agent/mindforge/system-design.md +87 -0
  161. package/.agent/mindforge/team-topology.md +27 -0
  162. package/.agent/mindforge/tech-debt.md +31 -0
  163. package/.agent/mindforge/tech-radar.md +28 -0
  164. package/.agent/mindforge/threat-model.md +48 -0
  165. package/.agent/mindforge/tokens.md +12 -0
  166. package/.agent/mindforge/ui-phase.md +34 -0
  167. package/.agent/mindforge/ui-review.md +36 -0
  168. package/.agent/mindforge/update.md +46 -0
  169. package/.agent/mindforge/validate-phase.md +31 -0
  170. package/.agent/mindforge/verify-loop.md +45 -0
  171. package/.agent/mindforge/verify-phase.md +66 -0
  172. package/.agent/mindforge/vibe-check.md +37 -0
  173. package/.agent/mindforge/workspace.md +33 -0
  174. package/.agent/mindforge/workstreams.md +35 -0
  175. package/.agent/mindforge/worktrees.md +86 -0
  176. package/.agent/mindforge/write-rfc.md +64 -0
  177. package/.agent/mindforge/zero-trust.md +34 -0
  178. package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
  179. package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
  180. package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
  181. package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
  182. package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
  183. package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
  184. package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
  185. package/.agent/skills/mindforge-brainstorming/SKILL.md +164 -0
  186. package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +214 -0
  187. package/.agent/skills/mindforge-brainstorming/scripts/helper.js +90 -0
  188. package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +354 -0
  189. package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +148 -0
  190. package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +56 -0
  191. package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +49 -0
  192. package/.agent/skills/mindforge-brainstorming/visual-companion.md +287 -0
  193. package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
  194. package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
  195. package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
  196. package/.agent/skills/mindforge-debug/SKILL.md +163 -0
  197. package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +119 -0
  198. package/.agent/skills/mindforge-debug_extended/SKILL.md +296 -0
  199. package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +158 -0
  200. package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +115 -0
  201. package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +122 -0
  202. package/.agent/skills/mindforge-debug_extended/find-polluter.sh +63 -0
  203. package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +169 -0
  204. package/.agent/skills/mindforge-debug_extended/test-academic.md +14 -0
  205. package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +58 -0
  206. package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +68 -0
  207. package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +69 -0
  208. package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
  209. package/.agent/skills/mindforge-do/SKILL.md +26 -0
  210. package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
  211. package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +70 -0
  212. package/.agent/skills/mindforge-fast/SKILL.md +23 -0
  213. package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
  214. package/.agent/skills/mindforge-health/SKILL.md +17 -0
  215. package/.agent/skills/mindforge-help/SKILL.md +23 -0
  216. package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
  217. package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
  218. package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
  219. package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
  220. package/.agent/skills/mindforge-manager/SKILL.md +32 -0
  221. package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
  222. package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
  223. package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +115 -0
  224. package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +100 -0
  225. package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +33 -0
  226. package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
  227. package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
  228. package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
  229. package/.agent/skills/mindforge-next/SKILL.md +19 -0
  230. package/.agent/skills/mindforge-note/SKILL.md +29 -0
  231. package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +182 -0
  232. package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
  233. package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
  234. package/.agent/skills/mindforge-plan-phase/SKILL.md +38 -0
  235. package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +152 -0
  236. package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +49 -0
  237. package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
  238. package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
  239. package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
  240. package/.agent/skills/mindforge-progress/SKILL.md +19 -0
  241. package/.agent/skills/mindforge-quick/SKILL.md +38 -0
  242. package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
  243. package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
  244. package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
  245. package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
  246. package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
  247. package/.agent/skills/mindforge-review/SKILL.md +31 -0
  248. package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
  249. package/.agent/skills/mindforge-review-inbound/SKILL.md +213 -0
  250. package/.agent/skills/mindforge-review-request/SKILL.md +105 -0
  251. package/.agent/skills/mindforge-review-request/code-reviewer.md +146 -0
  252. package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
  253. package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
  254. package/.agent/skills/mindforge-settings/SKILL.md +32 -0
  255. package/.agent/skills/mindforge-ship/SKILL.md +16 -0
  256. package/.agent/skills/mindforge-ship_extended/SKILL.md +200 -0
  257. package/.agent/skills/mindforge-skill-creation/SKILL.md +655 -0
  258. package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +1150 -0
  259. package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +189 -0
  260. package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +172 -0
  261. package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +187 -0
  262. package/.agent/skills/mindforge-skill-creation/render-graphs.js +168 -0
  263. package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +384 -0
  264. package/.agent/skills/mindforge-stats/SKILL.md +16 -0
  265. package/.agent/skills/mindforge-swarm-execution/SKILL.md +277 -0
  266. package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +26 -0
  267. package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +113 -0
  268. package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +61 -0
  269. package/.agent/skills/mindforge-system-architecture/SKILL.md +136 -0
  270. package/.agent/skills/mindforge-system-architecture/examples.md +120 -0
  271. package/.agent/skills/mindforge-system-architecture/scaling-checklist.md +76 -0
  272. package/.agent/skills/mindforge-tdd/SKILL.md +112 -0
  273. package/.agent/skills/mindforge-tdd/deep-modules.md +21 -0
  274. package/.agent/skills/mindforge-tdd/interface-design.md +22 -0
  275. package/.agent/skills/mindforge-tdd/mocking.md +24 -0
  276. package/.agent/skills/mindforge-tdd/refactoring.md +21 -0
  277. package/.agent/skills/mindforge-tdd/tests.md +28 -0
  278. package/.agent/skills/mindforge-tdd_extended/SKILL.md +371 -0
  279. package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +299 -0
  280. package/.agent/skills/mindforge-thread/SKILL.md +123 -0
  281. package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
  282. package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
  283. package/.agent/skills/mindforge-update/SKILL.md +35 -0
  284. package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
  285. package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
  286. package/.agent/skills/mindforge-verify-work_extended/SKILL.md +139 -0
  287. package/.agent/skills/mindforge-workspace-isolated/SKILL.md +218 -0
  288. package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
  289. package/.claude/CLAUDE.md +102 -0
  290. package/.claude/commands/forge/help.md +7 -0
  291. package/.claude/commands/forge/init-project.md +32 -0
  292. package/.claude/commands/forge/plan-phase.md +30 -0
  293. package/.claude/commands/mindforge/add-backlog.md +32 -0
  294. package/.claude/commands/mindforge/agent-deploy.md +34 -0
  295. package/.claude/commands/mindforge/agent-design.md +31 -0
  296. package/.claude/commands/mindforge/agent-eval.md +27 -0
  297. package/.claude/commands/mindforge/agent-memory.md +27 -0
  298. package/.claude/commands/mindforge/agent.md +31 -0
  299. package/.claude/commands/mindforge/ai-cost.md +31 -0
  300. package/.claude/commands/mindforge/ai-safety.md +37 -0
  301. package/.claude/commands/mindforge/analytics.md +28 -0
  302. package/.claude/commands/mindforge/approve.md +22 -0
  303. package/.claude/commands/mindforge/audit.md +34 -0
  304. package/.claude/commands/mindforge/auth-flow.md +76 -0
  305. package/.claude/commands/mindforge/auto.md +26 -0
  306. package/.claude/commands/mindforge/benchmark.md +37 -0
  307. package/.claude/commands/mindforge/brd.md +90 -0
  308. package/.claude/commands/mindforge/browse.md +30 -0
  309. package/.claude/commands/mindforge/build-opt.md +31 -0
  310. package/.claude/commands/mindforge/build-vs-buy.md +29 -0
  311. package/.claude/commands/mindforge/cache.md +30 -0
  312. package/.claude/commands/mindforge/causal.md +31 -0
  313. package/.claude/commands/mindforge/cdn.md +34 -0
  314. package/.claude/commands/mindforge/change.md +37 -0
  315. package/.claude/commands/mindforge/cli.md +30 -0
  316. package/.claude/commands/mindforge/cluster-instincts.md +35 -0
  317. package/.claude/commands/mindforge/code-tour.md +85 -0
  318. package/.claude/commands/mindforge/communicate.md +37 -0
  319. package/.claude/commands/mindforge/complete-milestone.md +22 -0
  320. package/.claude/commands/mindforge/compliance.md +31 -0
  321. package/.claude/commands/mindforge/consult.md +37 -0
  322. package/.claude/commands/mindforge/context-budget.md +70 -0
  323. package/.claude/commands/mindforge/contract-test.md +30 -0
  324. package/.claude/commands/mindforge/cost-report.md +44 -0
  325. package/.claude/commands/mindforge/costs.md +15 -0
  326. package/.claude/commands/mindforge/council.md +83 -0
  327. package/.claude/commands/mindforge/create-skill.md +34 -0
  328. package/.claude/commands/mindforge/cross-review.md +21 -0
  329. package/.claude/commands/mindforge/dashboard.md +102 -0
  330. package/.claude/commands/mindforge/data-mesh.md +31 -0
  331. package/.claude/commands/mindforge/data-model.md +75 -0
  332. package/.claude/commands/mindforge/data-pipeline.md +34 -0
  333. package/.claude/commands/mindforge/de-slop.md +33 -0
  334. package/.claude/commands/mindforge/debug.md +133 -0
  335. package/.claude/commands/mindforge/degrade.md +31 -0
  336. package/.claude/commands/mindforge/delegate.md +37 -0
  337. package/.claude/commands/mindforge/deploy.md +32 -0
  338. package/.claude/commands/mindforge/design-tokens.md +80 -0
  339. package/.claude/commands/mindforge/discuss-phase.md +142 -0
  340. package/.claude/commands/mindforge/dmux.md +32 -0
  341. package/.claude/commands/mindforge/do.md +31 -0
  342. package/.claude/commands/mindforge/ecommerce.md +31 -0
  343. package/.claude/commands/mindforge/edge.md +34 -0
  344. package/.claude/commands/mindforge/edtech.md +31 -0
  345. package/.claude/commands/mindforge/embeddings.md +37 -0
  346. package/.claude/commands/mindforge/environments.md +31 -0
  347. package/.claude/commands/mindforge/eval.md +33 -0
  348. package/.claude/commands/mindforge/events.md +30 -0
  349. package/.claude/commands/mindforge/evolve-skills.md +49 -0
  350. package/.claude/commands/mindforge/execute-phase.md +200 -0
  351. package/.claude/commands/mindforge/experiment.md +28 -0
  352. package/.claude/commands/mindforge/feature-flags.md +30 -0
  353. package/.claude/commands/mindforge/feature-store.md +31 -0
  354. package/.claude/commands/mindforge/finops.md +31 -0
  355. package/.claude/commands/mindforge/fintech.md +31 -0
  356. package/.claude/commands/mindforge/flutter.md +37 -0
  357. package/.claude/commands/mindforge/gaming.md +31 -0
  358. package/.claude/commands/mindforge/graphql.md +31 -0
  359. package/.claude/commands/mindforge/health.md +31 -0
  360. package/.claude/commands/mindforge/healthcare.md +31 -0
  361. package/.claude/commands/mindforge/help.md +33 -0
  362. package/.claude/commands/mindforge/hire.md +37 -0
  363. package/.claude/commands/mindforge/hitl.md +27 -0
  364. package/.claude/commands/mindforge/i18n.md +31 -0
  365. package/.claude/commands/mindforge/idempotent.md +31 -0
  366. package/.claude/commands/mindforge/init-org.md +135 -0
  367. package/.claude/commands/mindforge/init-project.md +170 -0
  368. package/.claude/commands/mindforge/install-skill.md +28 -0
  369. package/.claude/commands/mindforge/introspect.md +46 -0
  370. package/.claude/commands/mindforge/iot.md +31 -0
  371. package/.claude/commands/mindforge/knowledge-graph.md +37 -0
  372. package/.claude/commands/mindforge/lakehouse.md +31 -0
  373. package/.claude/commands/mindforge/lead.md +31 -0
  374. package/.claude/commands/mindforge/learn-instinct.md +58 -0
  375. package/.claude/commands/mindforge/learn.md +147 -0
  376. package/.claude/commands/mindforge/learning.md +20 -0
  377. package/.claude/commands/mindforge/llm-route.md +37 -0
  378. package/.claude/commands/mindforge/load-test.md +30 -0
  379. package/.claude/commands/mindforge/logistics.md +31 -0
  380. package/.claude/commands/mindforge/map-codebase.md +302 -0
  381. package/.claude/commands/mindforge/market-research.md +94 -0
  382. package/.claude/commands/mindforge/marketplace.md +124 -0
  383. package/.claude/commands/mindforge/mcp-server.md +88 -0
  384. package/.claude/commands/mindforge/meeting-design.md +37 -0
  385. package/.claude/commands/mindforge/metrics.md +26 -0
  386. package/.claude/commands/mindforge/microservices.md +64 -0
  387. package/.claude/commands/mindforge/migrate.md +44 -0
  388. package/.claude/commands/mindforge/migration-mgmt.md +31 -0
  389. package/.claude/commands/mindforge/milestone.md +16 -0
  390. package/.claude/commands/mindforge/mobile.md +37 -0
  391. package/.claude/commands/mindforge/monorepo.md +30 -0
  392. package/.claude/commands/mindforge/multi-tenant.md +31 -0
  393. package/.claude/commands/mindforge/multimodal.md +37 -0
  394. package/.claude/commands/mindforge/new-runtime.md +23 -0
  395. package/.claude/commands/mindforge/next.md +109 -0
  396. package/.claude/commands/mindforge/note.md +35 -0
  397. package/.claude/commands/mindforge/observability-platform.md +31 -0
  398. package/.claude/commands/mindforge/observability.md +75 -0
  399. package/.claude/commands/mindforge/offline.md +37 -0
  400. package/.claude/commands/mindforge/onboard.md +37 -0
  401. package/.claude/commands/mindforge/orchestrate.md +74 -0
  402. package/.claude/commands/mindforge/payments.md +28 -0
  403. package/.claude/commands/mindforge/pipeline.md +84 -0
  404. package/.claude/commands/mindforge/plan-phase.md +131 -0
  405. package/.claude/commands/mindforge/plan-write.md +95 -0
  406. package/.claude/commands/mindforge/plant-seed.md +31 -0
  407. package/.claude/commands/mindforge/platform.md +31 -0
  408. package/.claude/commands/mindforge/plugins.md +44 -0
  409. package/.claude/commands/mindforge/pr-review.md +45 -0
  410. package/.claude/commands/mindforge/privacy-eng.md +31 -0
  411. package/.claude/commands/mindforge/product-spec.md +90 -0
  412. package/.claude/commands/mindforge/profile-team.md +27 -0
  413. package/.claude/commands/mindforge/prompt.md +78 -0
  414. package/.claude/commands/mindforge/proofread.md +87 -0
  415. package/.claude/commands/mindforge/publish-skill.md +23 -0
  416. package/.claude/commands/mindforge/push-notify.md +37 -0
  417. package/.claude/commands/mindforge/pwa.md +37 -0
  418. package/.claude/commands/mindforge/qa.md +20 -0
  419. package/.claude/commands/mindforge/quality-audit.md +34 -0
  420. package/.claude/commands/mindforge/queue.md +31 -0
  421. package/.claude/commands/mindforge/quick.md +139 -0
  422. package/.claude/commands/mindforge/rag.md +30 -0
  423. package/.claude/commands/mindforge/rate-limit.md +31 -0
  424. package/.claude/commands/mindforge/react-native.md +37 -0
  425. package/.claude/commands/mindforge/realtime-analytics.md +31 -0
  426. package/.claude/commands/mindforge/record-learning.md +22 -0
  427. package/.claude/commands/mindforge/release.md +14 -0
  428. package/.claude/commands/mindforge/remember.md +30 -0
  429. package/.claude/commands/mindforge/research.md +16 -0
  430. package/.claude/commands/mindforge/retro.md +28 -0
  431. package/.claude/commands/mindforge/retrospective.md +31 -0
  432. package/.claude/commands/mindforge/review-backlog.md +34 -0
  433. package/.claude/commands/mindforge/review-guide.md +63 -0
  434. package/.claude/commands/mindforge/review.md +161 -0
  435. package/.claude/commands/mindforge/rfc.md +34 -0
  436. package/.claude/commands/mindforge/santa.md +33 -0
  437. package/.claude/commands/mindforge/secrets-mgmt.md +31 -0
  438. package/.claude/commands/mindforge/secrets.md +31 -0
  439. package/.claude/commands/mindforge/security-scan.md +242 -0
  440. package/.claude/commands/mindforge/serverless.md +34 -0
  441. package/.claude/commands/mindforge/session-report.md +39 -0
  442. package/.claude/commands/mindforge/ship.md +111 -0
  443. package/.claude/commands/mindforge/skills.md +145 -0
  444. package/.claude/commands/mindforge/status.md +113 -0
  445. package/.claude/commands/mindforge/steer.md +17 -0
  446. package/.claude/commands/mindforge/stream.md +31 -0
  447. package/.claude/commands/mindforge/sync-confluence.md +15 -0
  448. package/.claude/commands/mindforge/sync-jira.md +16 -0
  449. package/.claude/commands/mindforge/system-design.md +87 -0
  450. package/.claude/commands/mindforge/team-topology.md +27 -0
  451. package/.claude/commands/mindforge/tech-debt.md +31 -0
  452. package/.claude/commands/mindforge/tech-radar.md +28 -0
  453. package/.claude/commands/mindforge/threat-model.md +48 -0
  454. package/.claude/commands/mindforge/tokens.md +12 -0
  455. package/.claude/commands/mindforge/ui-phase.md +34 -0
  456. package/.claude/commands/mindforge/ui-review.md +36 -0
  457. package/.claude/commands/mindforge/update.md +46 -0
  458. package/.claude/commands/mindforge/validate-phase.md +31 -0
  459. package/.claude/commands/mindforge/verify-loop.md +45 -0
  460. package/.claude/commands/mindforge/verify-phase.md +66 -0
  461. package/.claude/commands/mindforge/vibe-check.md +37 -0
  462. package/.claude/commands/mindforge/workspace.md +33 -0
  463. package/.claude/commands/mindforge/workstreams.md +35 -0
  464. package/.claude/commands/mindforge/worktrees.md +86 -0
  465. package/.claude/commands/mindforge/write-rfc.md +64 -0
  466. package/.claude/commands/mindforge/zero-trust.md +34 -0
  467. package/.mindforge/config.json +2 -2
  468. package/.mindforge/governance/GOVERNANCE-CONFIG.md +17 -0
  469. package/.mindforge/governance/approval-workflow.md +37 -0
  470. package/.mindforge/governance/change-classifier.md +63 -0
  471. package/.mindforge/governance/compliance-gates.md +31 -0
  472. package/.mindforge/governance/policies/sovereign-default.json +16 -0
  473. package/.mindforge/integrations/confluence.md +27 -0
  474. package/.mindforge/integrations/connection-manager.md +163 -0
  475. package/.mindforge/integrations/github.md +25 -0
  476. package/.mindforge/integrations/gitlab.md +13 -0
  477. package/.mindforge/integrations/jira.md +102 -0
  478. package/.mindforge/integrations/slack.md +41 -0
  479. package/.mindforge/intelligence/antipattern-detector.md +75 -0
  480. package/.mindforge/intelligence/difficulty-scorer.md +55 -0
  481. package/.mindforge/intelligence/health-engine.md +208 -0
  482. package/.mindforge/intelligence/skill-gap-analyser.md +40 -0
  483. package/.mindforge/intelligence/smart-compaction.md +71 -0
  484. package/.mindforge/memory/MEMORY-SCHEMA.md +155 -0
  485. package/.mindforge/memory/engine/capture-protocol.md +36 -0
  486. package/.mindforge/memory/engine/global-sync-spec.md +42 -0
  487. package/.mindforge/memory/engine/retrieval-spec.md +44 -0
  488. package/.mindforge/memory/sync-manifest.json +6 -0
  489. package/.mindforge/metrics/METRICS-SCHEMA.md +42 -0
  490. package/.mindforge/metrics/quality-tracker.md +32 -0
  491. package/.mindforge/models/model-registry.md +48 -0
  492. package/.mindforge/models/model-router.md +30 -0
  493. package/.mindforge/org/CONVENTIONS.md +62 -0
  494. package/.mindforge/org/ORG.md +51 -0
  495. package/.mindforge/org/SECURITY.md +50 -0
  496. package/.mindforge/org/TOOLS.md +53 -0
  497. package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +58 -0
  498. package/.mindforge/org/skills/MANIFEST.md +255 -0
  499. package/.mindforge/plugins/PLUGINS-MANIFEST.md +23 -0
  500. package/.mindforge/plugins/plugin-loader.md +93 -0
  501. package/.mindforge/plugins/plugin-registry.md +44 -0
  502. package/.mindforge/plugins/plugin-schema.md +68 -0
  503. package/.mindforge/team/TEAM-PROFILE.md +42 -0
  504. package/.mindforge/team/multi-handoff.md +23 -0
  505. package/.mindforge/team/profiles/README.md +13 -0
  506. package/.mindforge/team/session-merger.md +18 -0
  507. package/CHANGELOG.md +37 -0
  508. package/MINDFORGE.md +3 -3
  509. package/bin/installer-core.js +17 -11
  510. package/docs/References/audit-events.md +59 -0
  511. package/docs/References/checkpoints.md +778 -0
  512. package/docs/References/commands.md +107 -0
  513. package/docs/References/config-reference.md +122 -0
  514. package/docs/References/continuation-format.md +249 -0
  515. package/docs/References/decimal-phase-calculation.md +64 -0
  516. package/docs/References/git-integration.md +295 -0
  517. package/docs/References/git-planning-commit.md +38 -0
  518. package/docs/References/model-profile-resolution.md +36 -0
  519. package/docs/References/model-profiles.md +139 -0
  520. package/docs/References/phase-argument-parsing.md +61 -0
  521. package/docs/References/planning-config.md +202 -0
  522. package/docs/References/questioning.md +162 -0
  523. package/docs/References/sdk-api.md +53 -0
  524. package/docs/References/skills-api.md +57 -0
  525. package/docs/References/tdd.md +263 -0
  526. package/docs/References/ui-brand.md +160 -0
  527. package/docs/References/user-profiling.md +681 -0
  528. package/docs/References/verification-patterns.md +612 -0
  529. package/docs/References/workstream-flag.md +58 -0
  530. package/docs/Templates/Agents/CLAUDE-MD.md +122 -0
  531. package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
  532. package/docs/Templates/Agents/DEBUGGER-PROMPT.md +91 -0
  533. package/docs/Templates/Agents/PLANNER-PROMPT.md +117 -0
  534. package/docs/Templates/Codebase/architecture.md +255 -0
  535. package/docs/Templates/Codebase/concerns.md +310 -0
  536. package/docs/Templates/Codebase/conventions.md +307 -0
  537. package/docs/Templates/Codebase/integrations.md +280 -0
  538. package/docs/Templates/Codebase/stack.md +186 -0
  539. package/docs/Templates/Codebase/structure.md +285 -0
  540. package/docs/Templates/Codebase/testing.md +480 -0
  541. package/docs/Templates/Execution/CONTINUE-HERE.md +78 -0
  542. package/docs/Templates/Execution/DISCUSSION-LOG.md +63 -0
  543. package/docs/Templates/Execution/PHASE-PROMPT.md +610 -0
  544. package/docs/Templates/Execution/STATE.md +176 -0
  545. package/docs/Templates/Execution/SUMMARY-COMPLEX.md +59 -0
  546. package/docs/Templates/Execution/SUMMARY-MINIMAL.md +41 -0
  547. package/docs/Templates/Execution/SUMMARY-STANDARD.md +48 -0
  548. package/docs/Templates/Execution/SUMMARY.md +248 -0
  549. package/docs/Templates/Profile/DEV-PREFERENCES.md +21 -0
  550. package/docs/Templates/Profile/USER-PROFILE.md +146 -0
  551. package/docs/Templates/Profile/USER-SETUP.md +311 -0
  552. package/docs/Templates/Project/AGENTS_LEARNING.md +88 -0
  553. package/docs/Templates/Project/DISCOVERY.md +146 -0
  554. package/docs/Templates/Project/MILESTONE-ARCHIVE.md +123 -0
  555. package/docs/Templates/Project/MILESTONE.md +115 -0
  556. package/docs/Templates/Project/PROJECT.md +206 -0
  557. package/docs/Templates/Project/REQUIREMENTS.md +231 -0
  558. package/docs/Templates/Project/RETROSPECTIVE.md +54 -0
  559. package/docs/Templates/Project/ROADMAP.md +202 -0
  560. package/docs/Templates/Quality/DEBUG.md +164 -0
  561. package/docs/Templates/Quality/UAT.md +280 -0
  562. package/docs/Templates/Quality/UI-SPEC.md +100 -0
  563. package/docs/Templates/Quality/VALIDATION.md +76 -0
  564. package/docs/Templates/Quality/VERIFICATION-REPORT.md +322 -0
  565. package/docs/Templates/Research/ARCHITECTURE.md +204 -0
  566. package/docs/Templates/Research/FEATURES.md +147 -0
  567. package/docs/Templates/Research/PITFALLS.md +200 -0
  568. package/docs/Templates/Research/STACK.md +120 -0
  569. package/docs/Templates/Research/SUMMARY.md +170 -0
  570. package/docs/Templates/System/CONFIG.json +43 -0
  571. package/docs/Templates/System/CONTEXT.md +352 -0
  572. package/examples/starter-project/.planning/ARCHITECTURE.md +23 -0
  573. package/examples/starter-project/.planning/RELEASE-CHECKLIST.md +22 -0
  574. package/examples/starter-project/.planning/REQUIREMENTS.md +31 -0
  575. package/examples/starter-project/.planning/ROADMAP.md +28 -0
  576. package/package.json +22 -3
@@ -0,0 +1,74 @@
1
+ ---
2
+ description: "Design multi-agent orchestration pattern for a task. Usage: /mindforge:orchestrate [task] [--pattern supervisor|pipeline|debate|consensus|mapreduce]"
3
+ ---
4
+
5
+ <objective>
6
+ Design and implement a multi-agent orchestration pattern for a complex task, defining agent roles, handoff protocols, failure propagation, and coordination mechanisms.
7
+ </objective>
8
+
9
+ <execution_context>
10
+ @.mindforge/skills/agent-orchestration-patterns/SKILL.md
11
+ </execution_context>
12
+
13
+ <context>
14
+ Arguments: $ARGUMENTS (task description, optional --pattern supervisor|pipeline|debate|consensus|mapreduce)
15
+ Knowledge: Available agent patterns, existing personas, swarm templates, coordination protocols.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Assess if multi-agent needed**: Evaluate single-agent vs multi-agent:
20
+ - Does the task require multiple distinct skill domains?
21
+ - Would sequential processing create unacceptable latency?
22
+ - Does the task benefit from adversarial validation?
23
+ - Is the task decomposable into independent subtasks?
24
+ - Would a single agent exceed context window constraints?
25
+ - If single-agent suffices, recommend that and stop
26
+
27
+ 2. **Select pattern from matrix**: Choose orchestration pattern:
28
+ - `supervisor`: Central coordinator delegates to specialists, aggregates results. Best for: heterogeneous subtasks with dependencies
29
+ - `pipeline`: Sequential handoff between stages. Best for: transformation chains (draft→review→edit→publish)
30
+ - `debate`: Multiple agents argue positions, judge synthesizes. Best for: architectural decisions, trade-off analysis
31
+ - `consensus`: All agents propose, vote on best approach. Best for: code review, quality assessment
32
+ - `mapreduce`: Fan-out identical tasks, merge results. Best for: parallel search, batch processing
33
+ - Document why the selected pattern fits this specific task
34
+
35
+ 3. **Define agent roles**: For each agent in the pattern:
36
+ - Role name and persona reference (from personas registry)
37
+ - Specific responsibility and decision authority
38
+ - Input contract (what it receives, in what format)
39
+ - Output contract (what it produces, schema)
40
+ - Knowledge requirements (which skills/context it needs)
41
+ - Trust tier (1=autonomous, 2=review, 3=HITL approval)
42
+
43
+ 4. **Design handoff protocol**: Define JSON contracts for agent communication:
44
+ - Message envelope schema (from, to, type, payload, correlation_id)
45
+ - State passing mechanism (full state vs delta vs reference)
46
+ - Acknowledgment requirements (fire-and-forget vs confirmed delivery)
47
+ - Timeout per handoff (prevent infinite waits)
48
+ - Schema validation at each boundary (reject malformed handoffs)
49
+ - Context budget per agent (prevent token overflow)
50
+
51
+ 5. **Define failure propagation**: For each failure mode:
52
+ - Agent timeout → retry with backoff, then escalate to supervisor
53
+ - Agent error → log, attempt recovery, propagate if unrecoverable
54
+ - Consensus failure → add tiebreaker agent or escalate to human
55
+ - Cascade failure → circuit breaker pattern, fail fast
56
+ - Partial completion → checkpoint state, enable resume
57
+ - Define maximum retry count and escalation path
58
+
59
+ 6. **Implement coordination**: Build the orchestration logic:
60
+ - Supervisor: task queue, assignment logic, result aggregation
61
+ - Pipeline: stage transitions, backpressure handling, error short-circuit
62
+ - Debate: round management, argument collection, verdict synthesis
63
+ - Consensus: proposal collection, voting mechanism, quorum rules
64
+ - MapReduce: work partitioning, parallel dispatch, merge strategy
65
+ - Add observability (trace each agent invocation, measure latency)
66
+
67
+ 7. **Test the orchestration**: Validate the design:
68
+ - Happy path: all agents succeed, results merge correctly
69
+ - Partial failure: one agent fails, system recovers gracefully
70
+ - Timeout: slow agent detected and handled within SLA
71
+ - Conflict: agents disagree, resolution mechanism activates
72
+ - Load: pattern scales with task size (10x input, linear cost)
73
+ - Output: orchestration spec with diagram and runnable configuration
74
+ </process>
@@ -0,0 +1,28 @@
1
+ ---
2
+ description: "Design payment flow architecture with PCI minimization. Usage: /mindforge:payments [flow] [--provider stripe|braintree] [--recurring]"
3
+ ---
4
+
5
+ <objective>
6
+ Design a robust payment flow architecture that minimizes PCI compliance scope through client-side tokenization, handles webhooks reliably, ensures idempotency across all charge operations, and accounts for the full lifecycle including refunds and disputes.
7
+ </objective>
8
+
9
+ <execution_context>
10
+ @.mindforge/skills/payment-integration/SKILL.md
11
+ </execution_context>
12
+
13
+ <context>
14
+ Arguments: $ARGUMENTS (payment flow type, optional --provider, optional --recurring flag)
15
+ Knowledge: PCI DSS requirements, payment provider documentation, existing payment infrastructure, business rules for pricing/billing.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Design Payment State Machine**: Model all payment states (pending, processing, succeeded, failed, refunded, disputed) and valid transitions. Include timeout states and partial states (partial refund, partial capture). Visualize as a state diagram.
20
+ 2. **Implement Client-Side Tokenization**: Use the provider's client-side SDK (Stripe Elements, Braintree Drop-in) to tokenize card data in the browser. Server never sees raw card numbers — this reduces PCI scope to SAQ-A or SAQ-A-EP.
21
+ 3. **Set Up Webhook Handling**: Implement webhook endpoint with: signature verification (reject unverified), idempotent processing (dedup by event ID), async processing (acknowledge quickly, process in background), and ordered handling for related events.
22
+ 4. **Add Idempotency Keys To All Charges**: Every charge request must include an idempotency key (client-generated UUID). Store key-to-result mapping. On retry, return cached result instead of double-charging.
23
+ 5. **Implement Retry Logic For Failures**: Design retry strategy: exponential backoff for transient failures (network, 5xx), immediate fail for permanent errors (card declined, insufficient funds), and alert on repeated failures for the same customer.
24
+ 6. **Design Refund Flow**: Support full and partial refunds. Track refund reason codes. Implement refund limits (cannot refund more than charged). Handle refund-after-dispute edge case. Update accounting records atomically.
25
+ 7. **Set Up Daily Reconciliation**: Implement automated daily reconciliation between: internal payment records, provider settlement reports, and accounting system. Alert on discrepancies > threshold. Resolve within 24 hours.
26
+ 8. **Handle Disputes And Chargebacks**: Design dispute response workflow: auto-collect evidence (receipts, delivery proof, usage logs), notify team within SLA, track win rate, and implement prevention measures for common dispute reasons.
27
+ 9. **Document Edge Cases**: Catalog and handle: currency conversion timing, 3D Secure flows, subscription payment retries, card expiration mid-subscription, account updater responses, and cross-border payment restrictions.
28
+ </process>
@@ -0,0 +1,84 @@
1
+ ---
2
+ description: "Design CI/CD pipeline architecture. Usage: /mindforge:pipeline [--platform github|gitlab|jenkins] [--stages N]"
3
+ ---
4
+
5
+ <objective>
6
+ Design a comprehensive CI/CD pipeline architecture with quality gates, caching, secret management, parallelism, environment promotion, and rollback mechanisms.
7
+ </objective>
8
+
9
+ <execution_context>
10
+ @.mindforge/skills/ci-cd-pipeline/SKILL.md
11
+ </execution_context>
12
+
13
+ <context>
14
+ Arguments: $ARGUMENTS (optional --platform github|gitlab|jenkins, optional --stages N for stage count)
15
+ Knowledge: Current repository structure, existing CI configuration, deployment targets, test suite characteristics.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Define stages**: Design the pipeline stages in order:
20
+ - **Lint**: Static analysis, formatting check, type-check (parallel)
21
+ - **Build**: Compile, bundle, generate artifacts
22
+ - **Test**: Unit tests, integration tests, contract tests (parallel by suite)
23
+ - **Scan**: Security scan (SAST, dependency audit, secret detection)
24
+ - **Package**: Container build, artifact versioning, manifest generation
25
+ - **Deploy**: Environment promotion (dev → staging → production)
26
+ - Each stage has clear entry/exit criteria (quality gates)
27
+
28
+ 2. **Add quality gates**: Define pass/fail criteria per stage:
29
+ - Lint: zero errors (warnings allowed with suppression comments)
30
+ - Build: successful compilation, artifact size within budget
31
+ - Test: 100% pass rate, coverage >= threshold (80% default)
32
+ - Scan: zero critical/high vulnerabilities, no leaked secrets
33
+ - Package: image builds successfully, passes container scan
34
+ - Deploy: health check passes within 60s, no error spike in 5min
35
+ - Gate failure blocks pipeline progression (no manual override without approval)
36
+
37
+ 3. **Configure caching**: Optimize pipeline speed:
38
+ - Dependencies: cache node_modules/pip/cargo by lockfile hash
39
+ - Build artifacts: cache intermediate compilation outputs
40
+ - Docker layers: cache base layers, invalidate on Dockerfile change
41
+ - Test results: cache unchanged test file results (incremental testing)
42
+ - Cache key strategy: OS + lockfile hash + branch (with fallback to main)
43
+ - Cache TTL: 7 days for dependencies, 1 day for build artifacts
44
+
45
+ 4. **Manage secrets**: Secure credential handling:
46
+ - Environment-specific secrets (dev, staging, prod) in vault/secrets manager
47
+ - Short-lived tokens for deployment (OIDC where possible)
48
+ - No secrets in pipeline YAML (reference by name only)
49
+ - Secret rotation: automated rotation with zero-downtime
50
+ - Audit log: track which pipeline accessed which secret
51
+ - Least privilege: each stage only accesses secrets it needs
52
+
53
+ 5. **Enable parallelism**: Maximize pipeline throughput:
54
+ - Independent stages run in parallel (lint + type-check + unit-test)
55
+ - Test suite splitting by file/timing data across N runners
56
+ - Matrix builds for multi-platform/multi-version testing
57
+ - Fan-out/fan-in for independent service deployments
58
+ - Resource constraints: limit concurrent deployments to prevent thundering herd
59
+ - Estimated total pipeline time: < 10 minutes for PR, < 20 minutes for deploy
60
+
61
+ 6. **Set up environment promotion**: Define the deployment ladder:
62
+ - Dev: auto-deploy on push to feature branch (ephemeral environments)
63
+ - Staging: auto-deploy on merge to main (persistent, production-mirror)
64
+ - Production: manual approval gate or automated canary with auto-promote
65
+ - Promotion criteria: all tests pass + no new alerts + stakeholder approval
66
+ - Environment parity: same container, same config structure, different values
67
+ - Feature flags: decouple deploy from release (dark launches)
68
+
69
+ 7. **Add rollback mechanism**: Design recovery paths:
70
+ - Automated rollback: revert to last-known-good on health check failure
71
+ - Manual rollback: one-click revert in CI UI with confirmation
72
+ - Database rollback: backward-compatible migrations only (expand-contract)
73
+ - Canary rollback: automatic if error rate exceeds baseline by 2x
74
+ - Rollback verification: post-rollback health check confirms recovery
75
+ - Incident tracking: auto-create incident ticket on rollback trigger
76
+
77
+ 8. **Output pipeline specification**: Deliver:
78
+ - Pipeline YAML/configuration for the target platform
79
+ - Stage dependency graph (DAG visualization)
80
+ - Timing estimates per stage
81
+ - Secret inventory and access matrix
82
+ - Rollback runbook
83
+ - Cost estimate (runner minutes per PR and per deploy)
84
+ </process>
@@ -0,0 +1,131 @@
1
+ ---
2
+ description: Plan a project phase. Usage: /mindforge:plan-phase [N]
3
+ ---
4
+
5
+ Plan a project phase. Usage: /mindforge:plan-phase [N]
6
+
7
+ ## Pre-check
8
+ If N is not given, read STATE.md for the current phase number and increment by 1.
9
+ Read PROJECT.md, REQUIREMENTS.md, ARCHITECTURE.md, and STATE.md before proceeding.
10
+
11
+ ## Pre-read (before any questions or planning)
12
+
13
+ Read these files in order:
14
+ 1. `AGENTS_LEARNING.md` (MUST READ to avoid repeating past mistakes)
15
+ 2. `.planning/PROJECT.md`
16
+ 3. `.planning/REQUIREMENTS.md`
17
+ 4. `.planning/ARCHITECTURE.md`
18
+ 5. `.planning/STATE.md`
19
+ 6. `.planning/phases/phase-[N]/CONTEXT.md` (if it exists)
20
+
21
+ ### If CONTEXT.md exists for phase [N]:
22
+ This means `/mindforge:discuss-phase [N]` was already run.
23
+ The user's implementation decisions are already captured.
24
+ DO NOT re-ask questions that CONTEXT.md already answers.
25
+ Read CONTEXT.md completely before asking any clarifying questions.
26
+ Report: "I've read the phase discussion context. [N] decisions were captured.
27
+ Planning will follow these decisions."
28
+
29
+ ### If CONTEXT.md has open questions:
30
+ Read the "Open questions" section in CONTEXT.md.
31
+ Present unresolved questions to the user NOW, before planning begins.
32
+ Do not create plans that assume answers to open questions without confirming first.
33
+
34
+ ### If CONTEXT.md does NOT exist for phase [N]:
35
+ Proceed normally with the discussion → planning flow.
36
+
37
+ ## Step 1 — Discuss phase scope
38
+ Ask:
39
+ 1. "Describe what Phase [N] should accomplish. 2-3 sentences."
40
+ 2. "Have you already made any implementation decisions for this phase?
41
+ (libraries, patterns, approaches) If yes, list them."
42
+ 3. "Are there any constraints I should know about?
43
+ (deadlines, dependencies on other teams, tech limitations)"
44
+
45
+ Write answers to `.planning/phases/phase-[N]/CONTEXT.md`.
46
+
47
+ If `.planning/phases/phase-[N]/CONTEXT.md` already exists:
48
+ 1. Read it first.
49
+ 2. If it has "Open questions", ask the user to resolve them before planning.
50
+ 3. Update CONTEXT.md with the answers and mark those questions as resolved.
51
+
52
+ ### If CONTEXT.md exists — skip already-answered questions
53
+ Only ask about areas NOT covered in CONTEXT.md.
54
+ Example: if CONTEXT.md captures the layout decision, do not ask "What layout do you want?"
55
+ Respect the prior discussion. Build on it. Do not repeat it.
56
+
57
+ ## Step 2 — Domain research (spawn subagent)
58
+ Spawn a research subagent with this context only:
59
+ - The tech stack from PROJECT.md
60
+ - The phase scope from CONTEXT.md
61
+ - CONVENTIONS.md
62
+
63
+ Instruct it to investigate:
64
+ 1. Best available libraries for this phase's requirements (with version numbers)
65
+ 2. Common pitfalls and anti-patterns for this tech domain
66
+ 3. Project-specific anti-patterns from `AGENTS_LEARNING.md`
67
+ 4. Relevant architectural patterns (with tradeoffs)
68
+ 5. Any known security considerations specific to this domain
69
+
70
+ Write findings to `.planning/phases/phase-[N]/RESEARCH.md`.
71
+
72
+ ## Step 3 — Create atomic task plans
73
+ Based on CONTEXT.md and RESEARCH.md, create 3-6 PLAN files.
74
+ Each plan must be completable in a single fresh context window.
75
+ Each plan targets specific files — no plan should touch more than 6 files.
76
+
77
+ File naming: `.planning/phases/phase-[N]/PLAN-[N]-[NN].md`
78
+ Example: `.planning/phases/1/PLAN-1-01.md`
79
+
80
+ Each plan uses this XML format:
81
+
82
+ ```xml
83
+ <task type="auto">
84
+ <n>Short descriptive task name</n>
85
+ <persona>developer</persona>
86
+ <phase>[N]</phase>
87
+ <plan>[NN]</plan>
88
+ <dependencies>List any PLAN files that must complete before this one, or "none"</dependencies>
89
+ <files>
90
+ src/exact/file/path.ts
91
+ src/another/file.ts
92
+ </files>
93
+ <context>
94
+ Relevant decisions from ARCHITECTURE.md:
95
+ - [decision]
96
+ Skills to load before starting:
97
+ - [skill name if applicable, or "none"]
98
+ </context>
99
+ <action>
100
+ Precise implementation instructions.
101
+ Include exact library names and versions.
102
+ Include the approach, not just the goal.
103
+ Include specific anti-patterns to avoid.
104
+ </action>
105
+ <verify>
106
+ [Exact runnable command or check]
107
+ Example: curl -X POST localhost:3000/api/auth/login -d '{"email":"test@test.com","password":"test"}' | jq .status
108
+ Must produce a deterministic pass/fail result.
109
+ </verify>
110
+ <done>One sentence definition of done.</done>
111
+ </task>
112
+ ```
113
+
114
+ ## Step 4 — Validate plans
115
+ Check every plan against REQUIREMENTS.md:
116
+ - Does this plan implement anything out of scope? If yes: revise.
117
+ - Does this plan contradict ARCHITECTURE.md? If yes: create an ADR first.
118
+ - Is the `<verify>` step actually runnable? If no: rewrite it.
119
+
120
+ ## Step 5 — Update state and confirm
121
+ Update STATE.md: current phase = N, status = "Phase N planned, ready to execute".
122
+
123
+ Tell the user:
124
+ "✅ Phase [N] planned. [X] task plans created.
125
+
126
+ Plans:
127
+ PLAN-[N]-01: [task name]
128
+ PLAN-[N]-02: [task name]
129
+ ...
130
+
131
+ Run /mindforge:execute-phase [N] to begin execution."
@@ -0,0 +1,95 @@
1
+ ---
2
+ description: "Generate no-placeholder implementation plan with complete steps. Usage: /mindforge:plan-write [spec-or-description] [--steps N] [--verify]"
3
+ ---
4
+
5
+ <objective>
6
+ Produce a complete, zero-placeholder implementation plan where every step contains exact file paths, complete code, and verification commands. No TODOs, no "implement here", no ambiguity — every step is directly executable.
7
+ </objective>
8
+
9
+ <execution_context>
10
+ @.mindforge/skills/writing-plans/SKILL.md
11
+ </execution_context>
12
+
13
+ <context>
14
+ Arguments: $ARGUMENTS (specification text or file path, optional --steps N for target step count, optional --verify to include verification per step)
15
+ Knowledge: ARCHITECTURE.md, CONVENTIONS.md, current codebase structure, dependency graph.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Parse spec**: Read and understand the specification or description:
20
+ - If argument is a file path: read the file content
21
+ - If argument is inline text: parse as the requirement
22
+ - Identify the scope: what files need to change, what new files are needed
23
+ - Identify constraints: performance, security, backward compatibility
24
+ - Determine target step count (--steps N, default: auto-size based on complexity)
25
+
26
+ 2. **Decompose into bite-sized steps**: Break the work into atomic steps where each step:
27
+ - Changes 1-3 files maximum
28
+ - Can be verified independently
29
+ - Builds on the previous step (no forward references)
30
+ - Is small enough to hold entirely in working memory
31
+ - Has a clear "done" state visible from the outside
32
+
33
+ 3. **For each step — specify exact file paths**: Every step must state:
34
+ - Full absolute file path(s) being created or modified
35
+ - Whether the file is new (create) or existing (modify)
36
+ - The specific location within the file (after which function, which line range)
37
+ - Import/dependency changes needed for this step
38
+
39
+ 4. **For each step — provide complete code**: Every step must include:
40
+ - The exact code to write or the exact diff to apply
41
+ - No placeholder comments ("// TODO: implement this")
42
+ - No ellipsis ("...") or abbreviated code
43
+ - No "similar to above" references — repeat if needed
44
+ - Complete import statements at the top of new files
45
+ - Full function signatures with types
46
+
47
+ 5. **Add verification per step** (always if --verify, otherwise for critical steps):
48
+ - Command to run that proves the step works (test, build, lint, curl)
49
+ - Expected output or success criteria
50
+ - What to do if verification fails (specific fix, not "debug")
51
+ - Verification must be automated (no manual "check in browser")
52
+
53
+ 6. **Number dependencies**: For each step, declare:
54
+ - `depends_on: [step numbers]` — which steps must complete first
55
+ - `parallelizable_with: [step numbers]` — which steps can run concurrently
56
+ - `blocks: [step numbers]` — which steps are waiting on this one
57
+ - This enables parallel execution where possible
58
+
59
+ 7. **Handle existing code**: When modifying existing files:
60
+ - Show the exact lines being replaced (old code)
61
+ - Show the exact replacement (new code)
62
+ - Include enough context (3-5 surrounding lines) for unambiguous placement
63
+ - Note if the change requires changes in other files (ripple effects)
64
+
65
+ 8. **Include rollback instructions**: For risky steps:
66
+ - What to revert if the step causes problems
67
+ - Git command to undo (specific commit or file checkout)
68
+ - Whether downstream steps need adjustment after rollback
69
+
70
+ 9. **Output plan document**: Write the plan in structured format:
71
+ ```
72
+ # Implementation Plan: [title]
73
+ ## Metadata
74
+ - Total steps: N
75
+ - Estimated effort: [time]
76
+ - Risk level: low|medium|high
77
+ - Parallelizable steps: [list]
78
+
79
+ ## Step 1: [descriptive title]
80
+ - Files: [exact paths]
81
+ - Depends on: none
82
+ - Code: [complete implementation]
83
+ - Verify: [command + expected output]
84
+
85
+ ## Step 2: ...
86
+ ```
87
+
88
+ 10. **Final validation**: Before outputting, verify the plan:
89
+ - Every file referenced actually exists (for modifications) or has a create step
90
+ - No circular dependencies between steps
91
+ - Import graph is consistent (nothing imports from a file not yet created)
92
+ - All types/interfaces referenced are defined somewhere in the plan
93
+ - Running all steps in order produces a working, compilable result
94
+ - No placeholders, TODOs, or ambiguous instructions remain
95
+ </process>
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: mindforge:plant-seed
3
+ description: Capture speculative ideas with triggers that surface automatically when relevant
4
+ argument-hint: <idea>
5
+ allowed-tools:
6
+ - list_dir
7
+ - write_to_file
8
+ - view_file
9
+ ---
10
+
11
+ <objective>
12
+ Capture speculative or long-term ideas (seeds) and store them in a way that they can be automatically resurfaced when a relevant future milestone or phase is started.
13
+ </objective>
14
+
15
+ <execution_context>
16
+ .claude/commands/mindforge/plant-seed.md
17
+ </execution_context>
18
+
19
+ <context>
20
+ Arguments: $ARGUMENTS (The speculative idea)
21
+ Storage: .planning/seeds/
22
+ Trigger mechanism: Files in this directory are checked during `init-project` or `milestone` creation.
23
+ </context>
24
+
25
+ <process>
26
+ 1. **Ensure storage**: Verify `.planning/seeds/` exists; create if not.
27
+ 2. **Generate filename**: Create a slugified filename based on the idea or a timestamp.
28
+ 3. **Write seed**: Create a markdown file with the idea, any inferred triggers (tags/keywords), and the current timestamp.
29
+ 4. **Link to system**: Add a note to the master seed index if one exists.
30
+ 5. **Confirm**: Let the user know the seed has been planted and what might trigger its resurrection.
31
+ </process>
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: mindforge:platform
3
+ description: "Design internal developer platform. Usage: /mindforge:platform [scope] [--tool backstage|custom] [--teams number]"
4
+ argument-hint: "[scope] [--tool backstage|custom] [--teams number]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design comprehensive platform system architecture with best practices and production-ready patterns.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/internal-developer-platform/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/internal-developer-platform/`
20
+ State: Analyzes requirements, constraints, and scale to generate optimized platform architecture.
21
+ </context>
22
+
23
+ <process>
24
+ 1. **Requirement Analysis**: Analyze domain-specific requirements, performance constraints, and scalability needs.
25
+ 2. **Architecture Design**: Design system architecture with component interaction patterns and data flow.
26
+ 3. **Technology Selection**: Evaluate and select appropriate technologies, tools, and frameworks.
27
+ 4. **Integration Strategy**: Define integration patterns with existing systems and external dependencies.
28
+ 5. **Optimization Approach**: Implement performance, cost, and resource optimization strategies.
29
+ 6. **Monitoring Framework**: Design observability, alerting, and debugging mechanisms.
30
+ 7. **Deployment Planning**: Create deployment strategy with rollback procedures and disaster recovery.
31
+ </process>
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: Read PLUGINS-MANIFEST.md. Display installed plugins with version and permissions.
3
+ ---
4
+
5
+ # MindForge — Plugins Command
6
+ # Usage: /mindforge:plugins [list|install|uninstall|info|validate|create] [name]
7
+
8
+ ## list
9
+ Read PLUGINS-MANIFEST.md. Display installed plugins with version and permissions.
10
+ If no plugins: "No plugins installed. Find plugins: npm search mindforge-plugin"
11
+
12
+ ## install [plugin-name]
13
+ Full installation protocol per plugin-loader.md:
14
+ 1. Resolve package: `mindforge-plugin-[name]` convention
15
+ 2. Download to chmod 700 temp directory
16
+ 3. Validate plugin.json manifest
17
+ 4. Check plugin_api_version compatibility (1.0.0 required)
18
+ 5. Run injection guard on ALL .md files in the plugin
19
+ 6. Run Level 1 + 2 skill validation on all SKILL.md files
20
+ 7. Display permission list for user approval:
21
+ ```
22
+ Plugin: mindforge-plugin-jira-advanced v1.0.0
23
+ Requests these permissions:
24
+ • read_audit_log: read AUDIT.jsonl ✅ (safe)
25
+ • write_audit_log: append to AUDIT.jsonl ⚠️
26
+ • network_access: make HTTP requests ⚠️
27
+ Install? (yes/no)
28
+ ```
29
+ 8. Install components (commands, skills, personas, hooks)
30
+ 9. Add to PLUGINS-MANIFEST.md
31
+ 10. Write AUDIT entry
32
+
33
+ ## uninstall [plugin-name]
34
+ Remove all installed components. Update PLUGINS-MANIFEST.md.
35
+ Confirm: "This will remove [N] commands, [N] skills from this plugin."
36
+
37
+ ## info [plugin-name]
38
+ Display: version, description, author, permissions, commands, skills, personas, hooks.
39
+
40
+ ## validate
41
+ Validate all installed plugins for compatibility, injection safety, permission scope.
42
+
43
+ ## create [plugin-name]
44
+ Generate a plugin scaffold:
@@ -0,0 +1,45 @@
1
+ ---
2
+ description: Run the AI PR review engine on a pull request diff.
3
+ ---
4
+
5
+ # MindForge — PR Review Command
6
+ # Usage: /mindforge:pr-review [--diff path] [--sha base..head] [--output github|json|markdown]
7
+
8
+ Run the AI PR review engine on a pull request diff.
9
+
10
+ Steps:
11
+ 1. Determine diff source:
12
+ - `--diff path`: read diff from file
13
+ - `--sha base..head`: run `git diff base..head`
14
+ - Default: `git diff HEAD~1` (last commit) or `git diff --staged` (staged changes)
15
+
16
+ 2. Load review context (per ai-reviewer.md):
17
+ - PROJECT.md, ARCHITECTURE.md, CONVENTIONS.md, SECURITY.md
18
+ - Current phase's CONTEXT.md (if in an active phase)
19
+ - Any active ADRs relevant to changed files
20
+
21
+ 3. Detect change type and select review template:
22
+ - Auth/security changes → Security-focused review template
23
+ - Database migrations → Database migration review template
24
+ - API changes → API breaking change review template
25
+ - Default → Standard review template
26
+
27
+ 4. Check API availability:
28
+ - ANTHROPIC_API_KEY set? If not: warn and skip AI review
29
+ - Check daily review limit (from ai-reviewer.md)
30
+ - Check cache: has this SHA been reviewed in the last 60 minutes?
31
+
32
+ 5. Call Claude API (per ai-reviewer.md buildSystemPrompt + buildReviewPrompt)
33
+ - Handle errors gracefully — API unavailable is NOT a build failure
34
+ - Timeout: 60 seconds
35
+
36
+ 6. Format output per --output flag:
37
+ - github: GitHub-flavoured markdown for PR comment
38
+ - json: structured JSON with findings array
39
+ - markdown: standard markdown
40
+
41
+ 7. Write to output:
42
+ - If in CI: write to /tmp/mindforge-review.md (read by GitHub Actions step)
43
+ - If interactive: display to user
44
+
45
+ 8. Write AUDIT entry
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: mindforge:privacy-eng
3
+ description: "Design data privacy engineering system. Usage: /mindforge:privacy-eng [system] [--regulation gdpr|ccpa|hipaa] [--technique anonymization|differential|encryption]"
4
+ argument-hint: "[system] [--regulation gdpr|ccpa|hipaa] [--technique anonymization|differential|encryption]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design comprehensive privacy-eng system architecture with best practices and production-ready patterns.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/data-privacy-engineering/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/data-privacy-engineering/`
20
+ State: Analyzes requirements, constraints, and scale to generate optimized privacy-eng architecture.
21
+ </context>
22
+
23
+ <process>
24
+ 1. **Requirement Analysis**: Analyze domain-specific requirements, performance constraints, and scalability needs.
25
+ 2. **Architecture Design**: Design system architecture with component interaction patterns and data flow.
26
+ 3. **Technology Selection**: Evaluate and select appropriate technologies, tools, and frameworks.
27
+ 4. **Integration Strategy**: Define integration patterns with existing systems and external dependencies.
28
+ 5. **Optimization Approach**: Implement performance, cost, and resource optimization strategies.
29
+ 6. **Monitoring Framework**: Design observability, alerting, and debugging mechanisms.
30
+ 7. **Deployment Planning**: Create deployment strategy with rollback procedures and disaster recovery.
31
+ </process>