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,64 @@
1
+ ---
2
+ description: "Design microservice boundaries, API contracts, and communication patterns. Usage: /mindforge:microservices [component] [--style event-driven|request-reply]"
3
+ ---
4
+
5
+ <objective>
6
+ Decompose a system into well-bounded microservices with clearly defined API contracts, communication patterns, and saga orchestration. Ensures no circular dependencies and validates domain alignment.
7
+ </objective>
8
+
9
+ <execution_context>
10
+ @.mindforge/skills/microservices-patterns/SKILL.md
11
+ </execution_context>
12
+
13
+ <context>
14
+ Arguments: $ARGUMENTS (target component or domain area, optional --style flag)
15
+ Knowledge: Domain model from ARCHITECTURE.md, bounded contexts, existing service inventory.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Identify domain boundaries**: Analyze the target component against the domain model. Map nouns to aggregates, verbs to commands/events. List candidate service boundaries.
20
+
21
+ 2. **Define bounded contexts**: For each candidate service, define its bounded context — what data it owns, what language it uses, what invariants it enforces. Write context map showing relationships (Shared Kernel, Customer-Supplier, Conformist, ACL).
22
+
23
+ 3. **Design API contracts**: For each service boundary, define the public API contract:
24
+ - REST endpoints (OpenAPI 3.1 schema) or gRPC proto definitions
25
+ - Request/response types with validation rules (Zod schemas)
26
+ - Versioning strategy (URL path vs header)
27
+ - Error contract (RFC 7807 Problem Details)
28
+
29
+ 4. **Choose communication style**: Based on `--style` flag or inferred from requirements:
30
+ - `event-driven`: Define event schemas, topic naming, ordering guarantees, idempotency keys
31
+ - `request-reply`: Define sync call chains, circuit breaker placement, timeout budgets
32
+ - Hybrid: identify which interactions need sync vs async
33
+
34
+ 5. **Document saga flows**: For operations spanning multiple services, design compensation-based sagas:
35
+ - Sequence diagram for happy path
36
+ - Compensation steps for each failure point
37
+ - Saga orchestrator vs choreography decision with rationale
38
+
39
+ 6. **Define data ownership**: Each service owns its data store. Document:
40
+ - Which entities belong to which service
41
+ - How cross-service queries are resolved (API composition, CQRS read models, event sourcing)
42
+ - Data consistency model (eventual vs strong, per boundary)
43
+
44
+ 7. **Validate no circular dependencies**: Build a directed dependency graph of all services. Run topological sort — if it fails, circular dependency exists. Propose resolution (extract shared service, merge services, or introduce event-based decoupling).
45
+
46
+ 8. **Design resilience patterns**: For each inter-service call:
47
+ - Circuit breaker configuration (thresholds, half-open behavior)
48
+ - Retry policy (exponential backoff, max attempts, jitter)
49
+ - Bulkhead isolation (thread pool or semaphore)
50
+ - Timeout budget allocation across the call chain
51
+
52
+ 9. **Output service catalog**: Write a structured service catalog document containing:
53
+ - Service name, owner, bounded context
54
+ - Public API summary
55
+ - Dependencies (upstream/downstream)
56
+ - Communication style per dependency
57
+ - Data store type and ownership
58
+
59
+ 10. **Verify alignment**: Cross-reference the decomposition against:
60
+ - Team structure (Conway's Law alignment)
61
+ - Deployment independence (can each service deploy without coordinating?)
62
+ - Failure isolation (does one service failure cascade?)
63
+ Report any violations with recommended fixes.
64
+ </process>
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: Run explicit schema migrations for .planning/ files.
3
+ ---
4
+
5
+ # MindForge — Migrate Command
6
+ # Usage: /mindforge:migrate [--from X.Y.Z] [--to X.Y.Z] [--dry-run] [--force]
7
+
8
+ ## Purpose
9
+ Run explicit schema migrations for .planning/ files.
10
+ Normally triggered automatically by /mindforge:update.
11
+ Use this command manually when: auto-migration failed, manual version jump, recovery.
12
+
13
+ ## Flow
14
+
15
+ ### Auto-detect migration need
16
+ Read `schema_version` from HANDOFF.json.
17
+ Compare against current `package.json` version.
18
+ Determine migration path.
19
+
20
+ ### Dry-run mode (--dry-run)
21
+ Show: which migrations would run, what each changes.
22
+ Show: breaking changes for the migration path.
23
+ Make NO changes to any file.
24
+
25
+ ### Backup first
26
+ Before any changes: create `.planning/migration-backup-[timestamp]/`
27
+ Verify backup integrity (file count, non-empty).
28
+ If backup fails: ABORT. Explain disk space issue.
29
+
30
+ ### Execute migrations
31
+ Run `node bin/migrations/migrate.js`.
32
+ Show progress for each migration.
33
+ If any migration fails: auto-restore from backup.
34
+
35
+ ### Verify
36
+ Run /mindforge:health after migration.
37
+ If health errors: report with specific fix instructions.
38
+ Preserve backup until user is satisfied — they must delete it manually.
39
+
40
+ ## Manual version override
41
+ `/mindforge:migrate --from 0.1.0 --to 1.0.0` — forces migration between specified versions.
42
+ Use with care: intended for recovery scenarios where HANDOFF.json schema_version is wrong.
43
+
44
+ ## AUDIT entry
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: mindforge:migration-mgmt
3
+ description: "Design migration orchestration platform. Usage: /mindforge:migration-mgmt [scope] [--type schema|data|infrastructure] [--downtime zero|planned]"
4
+ argument-hint: "[scope] [--type schema|data|infrastructure] [--downtime zero|planned]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design comprehensive migration-mgmt system architecture with best practices and production-ready patterns.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/migration-platform/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/migration-platform/`
20
+ State: Analyzes requirements, constraints, and scale to generate optimized migration-mgmt 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,16 @@
1
+ ---
2
+ description: Create or update a milestone definition in .planning/milestones/ and track the
3
+ ---
4
+
5
+ Create or update a milestone definition in `.planning/milestones/` and track the
6
+ health of grouped phases. Usage: `/mindforge:milestone <name> [phase list]`
7
+
8
+ ## Outputs
9
+ - milestone document with included phases
10
+ - health summary (on track, at risk, blocked)
11
+ - linked approvals, blockers, and verification status
12
+
13
+ ## Health rules
14
+ - any blocked phase makes the milestone at risk
15
+ - missing verification keeps milestone status yellow
16
+ - completed verified phases count toward release readiness
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: mindforge:mobile
3
+ description: "Design mobile app architecture. Usage: /mindforge:mobile [app] [--platform ios|android|cross] [--framework rn|flutter|native]"
4
+ argument-hint: "[app] [--platform ios|android|cross] [--framework rn|flutter|native]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design mobile-first architectures that balance native performance with cross-platform developer velocity. Addresses offline-first, app size, battery optimization, and platform-specific patterns.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/mobile-performance/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/mobile-performance/`
20
+ State: Analyzes target platforms, performance requirements, team expertise to recommend architecture (native/hybrid/cross-platform) with specific implementation patterns.
21
+ </context>
22
+
23
+ <process>
24
+ 1. **Platform Strategy**: Single platform (iOS or Android native, best performance) vs Cross-platform (React Native/Flutter, 70% code sharing). Consider team skills (Swift/Kotlin vs JS/Dart), time-to-market, performance needs (gaming/AR → native, content apps → cross-platform).
25
+
26
+ 2. **Architecture Pattern**: MV* pattern selection (MVVM for iOS, MVP for Android, BLoC for Flutter, Redux for React Native). Layer separation (UI/Business Logic/Data). Navigation architecture (stack-based, tab-based, drawer). State management (local vs global, persistence strategy).
27
+
28
+ 3. **Performance Optimization**: App size budget (<50MB for emerging markets). Launch time target (<2s cold start). Frame rate (maintain 60fps scrolling). Battery impact (background tasks, network polling, location tracking). Memory management (image caching, list virtualization).
29
+
30
+ 4. **Offline-First Design**: Local database (SQLite, Realm, WatermelonDB). Sync strategy (optimistic UI, conflict resolution). Queue outgoing requests. Cache images/assets. Handle network transitions gracefully.
31
+
32
+ 5. **Native Integration**: Bridge patterns for platform-specific features (camera, biometrics, push notifications). Third-party SDK integration (analytics, crash reporting). App extensions (widgets, share extensions, Siri shortcuts).
33
+
34
+ 6. **Testing Strategy**: Unit tests (business logic, data layer). UI tests (critical user flows). Screenshot tests (visual regression). Device matrix testing (5-10 representative devices). Performance benchmarking (startup time, frame drops).
35
+
36
+ 7. **Release Pipeline**: CI/CD setup (Fastlane, Bitrise, GitHub Actions). Code signing automation. Beta distribution (TestFlight, Firebase App Distribution). Staged rollout (5% → 25% → 100%). Crash monitoring with auto-rollback triggers.
37
+ </process>
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: Set up monorepo with task pipelines. Usage - /mindforge:monorepo [--tool nx|turborepo] [--packages N]
3
+ ---
4
+
5
+ <objective>
6
+ Design and configure a monorepo architecture with efficient task pipelines,
7
+ dependency-aware build ordering, and intelligent caching. Optimizes for
8
+ developer velocity while maintaining clear package boundaries.
9
+ </objective>
10
+
11
+ <execution_context>
12
+ @.mindforge/skills/monorepo-management/SKILL.md
13
+ </execution_context>
14
+
15
+ <context>
16
+ $ARGUMENTS
17
+ </context>
18
+
19
+ <process>
20
+ 1. Choose the monorepo tool based on --tool flag or project needs. Nx for larger projects needing computation caching and module federation; Turborepo for simpler pipeline orchestration with minimal config.
21
+ 2. Define workspace structure: separate `apps/` (deployable applications) from `packages/` (shared libraries). Establish naming conventions and package scoping (@org/package-name).
22
+ 3. Configure the task pipeline with dependency relationships — build depends on ^build (dependencies first), test depends on ^build, lint runs in parallel with no dependencies.
23
+ 4. Set up affected analysis so only packages impacted by a change are built/tested. Configure the base branch for comparison and ignore patterns (docs, README).
24
+ 5. Configure caching at two levels: local cache (filesystem, immediate hits on repeated runs) and remote cache (shared across team/CI for cross-machine cache hits).
25
+ 6. Define package boundaries and enforce them: no circular dependencies, explicit public API exports, lint rules preventing deep imports across package boundaries.
26
+ 7. Set up publishing workflow for shared packages: conventional commits, automated versioning (independent or fixed), changelog generation, and npm/registry publishing.
27
+ 8. Configure CI to leverage affected analysis and remote cache — skip unchanged packages, parallelize independent tasks, fail fast on first error.
28
+ 9. Document the monorepo conventions: how to add a new package, how to add cross-package dependencies, how to run tasks for specific packages, and troubleshooting cache misses.
29
+ 10. Log monorepo invocation in AUDIT with: tool selected, package count, cache strategy, pipeline definition.
30
+ </process>
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: Design multi-tenancy isolation strategy. Usage - /mindforge:multi-tenant [app] [--isolation rls|schema|database] [--routing subdomain|header]
3
+ ---
4
+
5
+ <objective>
6
+ Design a multi-tenancy architecture that provides appropriate data isolation
7
+ based on regulatory and security requirements, implements tenant context
8
+ propagation through all layers, prevents data leakage between tenants,
9
+ and supports efficient tenant provisioning and onboarding.
10
+ </objective>
11
+
12
+ <execution_context>
13
+ @.mindforge/skills/multi-tenancy-patterns/SKILL.md
14
+ </execution_context>
15
+
16
+ <context>
17
+ $ARGUMENTS
18
+ </context>
19
+
20
+ <process>
21
+ 1. Assess isolation requirements based on the application domain: regulatory constraints (HIPAA/SOC2 may require physical separation), data sensitivity (financial data needs stronger isolation), performance requirements (noisy neighbor concerns), and compliance certifications per tenant.
22
+ 2. Choose isolation level based on --isolation flag: RLS (Row-Level Security — shared schema, best for most SaaS with cost efficiency), schema-per-tenant (logical separation, good for regulated industries), or database-per-tenant (physical separation, required for enterprise with data residency requirements). Document trade-offs.
23
+ 3. Implement tenant context middleware: extract tenant identifier from request (subdomain, header, JWT claim, or API key), validate tenant exists and is active, inject tenant context into request lifecycle (AsyncLocalStorage/cls-hooked), and propagate to all downstream service calls.
24
+ 4. Add query guards for data isolation: for RLS implement PostgreSQL policies (CREATE POLICY tenant_isolation ON table USING (tenant_id = current_setting('app.tenant_id'))), for schema isolation set search_path per request, for DB isolation route connection per tenant. Never rely solely on application-level WHERE clauses.
25
+ 5. Configure tenant routing based on --routing flag: subdomain routing (tenant1.app.com — DNS wildcard + middleware extraction), header routing (X-Tenant-ID — simpler but less user-friendly), path-prefix routing (/tenant1/api — SEO-friendly). Implement routing at load balancer level for efficiency.
26
+ 6. Test isolation rigorously: verify no data leakage between tenants (create data as tenant A, query as tenant B must return empty), test with concurrent requests from different tenants, verify tenant context survives async operations, and run automated isolation tests in CI.
27
+ 7. Plan tenant provisioning workflow: automated tenant creation (database/schema/RLS setup), initial data seeding (defaults, templates), DNS configuration (if subdomain routing), welcome email with onboarding steps, and billing activation. Target <30 seconds for new tenant provisioning.
28
+ 8. Document onboarding flow: admin creates tenant via API/dashboard, system provisions resources, tenant admin receives invite, configures settings (branding, users, integrations), and begins using the platform. Include self-service tier for instant provisioning.
29
+ 9. Design tenant-aware observability: tag all logs/metrics/traces with tenant_id, per-tenant dashboards for resource consumption, tenant-level SLO tracking, and usage-based billing data collection. Alert on tenants exceeding resource quotas.
30
+ 10. Log multi-tenancy design in AUDIT with: app, isolation level, routing strategy, provisioning time target, isolation test coverage, and compliance requirements met.
31
+ </process>
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: mindforge:multimodal
3
+ description: "Design multimodal AI system architecture. Usage: /mindforge:multimodal [system] [--modality vision|audio|text|multi] [--task generation|understanding|retrieval]"
4
+ argument-hint: "[system] [--modality vision|audio|text|multi] [--task generation|understanding|retrieval]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design a comprehensive multimodal AI system that integrates multiple data modalities (vision, audio, text) for generation, understanding, or retrieval tasks. This command creates architecture blueprints for systems that process and synthesize information across different sensory inputs, ensuring efficient model selection, data alignment, and cross-modal reasoning capabilities.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/multimodal-ai/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/multimodal-ai/`
20
+ State: Evaluates the target system's modality requirements, task characteristics, and performance constraints to generate a multimodal architecture with model recommendations, data pipeline design, and alignment strategies.
21
+ </context>
22
+
23
+ <process>
24
+ 1. **Modality Analysis**: Identify required input/output modalities (vision, audio, text, video) and their interaction patterns, analyzing data characteristics, resolution requirements, and temporal dependencies for each modality.
25
+
26
+ 2. **Model Selection Strategy**: Recommend foundation models (CLIP, Flamingo, GPT-4V, Gemini, LLaVA) based on task requirements, evaluate trade-offs between unified models vs specialized model ensembles, and specify fine-tuning approaches for domain adaptation.
27
+
28
+ 3. **Cross-Modal Alignment Architecture**: Design alignment mechanisms (contrastive learning, cross-attention, adapter layers) to map different modalities into shared representation spaces, ensuring semantic consistency and efficient cross-modal retrieval.
29
+
30
+ 4. **Data Pipeline Design**: Architect preprocessing pipelines for each modality including normalization, augmentation, and synchronization strategies, define batch composition strategies for mixed-modality training, and implement quality validation checkpoints.
31
+
32
+ 5. **Inference Optimization**: Design inference architecture with model serving patterns (sequential, parallel, cascade), implement caching strategies for embeddings and intermediate representations, and specify hardware allocation (GPU/CPU split) per modality.
33
+
34
+ 6. **Evaluation Framework**: Define modality-specific metrics (CLIP score for vision-text, audio quality metrics, generation fidelity), design cross-modal evaluation protocols, and establish baseline benchmarks for the target task.
35
+
36
+ 7. **Integration and Scaling**: Specify API contracts for modality inputs/outputs, design horizontal scaling strategies for high-throughput scenarios, implement monitoring for per-modality performance degradation, and document failure modes and fallback strategies.
37
+ </process>
@@ -0,0 +1,23 @@
1
+ ---
2
+ description: Scaffold support for a new AI coding runtime.
3
+ ---
4
+
5
+ # /mindforge:new-runtime
6
+
7
+ Scaffold support for a new AI coding runtime.
8
+
9
+ ## Usage
10
+
11
+ /mindforge:new-runtime [name]
12
+
13
+ ## Action
14
+
15
+ 1. Identify target runtime's entry file format (e.g. .myrules, instructions.md)
16
+ 2. Scaffold the required directories in both global and local scopes
17
+ 3. Add a new entry to the RUNTIMES configuration in `bin/installer-core.js`
18
+ 4. Generate first-run instructions for the new runtime
19
+
20
+ ## Examples
21
+
22
+ /mindforge:new-runtime void-editor
23
+ /mindforge:new-runtime zed-ai
@@ -0,0 +1,109 @@
1
+ ---
2
+ description: Auto-detect the current project state and execute the appropriate next step.
3
+ ---
4
+
5
+ # MindForge — Next Command
6
+ # Usage: /mindforge:next
7
+
8
+ Auto-detect the current project state and execute the appropriate next step.
9
+ The user does not need to know the workflow. MindForge figures it out.
10
+
11
+ ## HANDOFF.json priority rule
12
+ Check HANDOFF.json BEFORE running the decision tree.
13
+
14
+ If HANDOFF.json exists AND `updated_at` is within 48 hours AND `next_task` is not null:
15
+ present the HANDOFF state first. Only run the decision tree if the user declines
16
+ or the HANDOFF.json is stale.
17
+
18
+ ## State detection logic
19
+
20
+ Read STATE.md and HANDOFF.json. Then follow this decision tree:
21
+
22
+ ### Decision tree
23
+
24
+ ```
25
+ Does .planning/PROJECT.md exist AND have content?
26
+ NO → Run /mindforge:init-project
27
+ YES → Continue
28
+
29
+ Does .planning/ROADMAP.md exist AND have phases defined?
30
+ NO → Tell user: "Project is initialised but no phases are defined yet.
31
+ Describe what Phase 1 should accomplish and I'll plan it."
32
+ Then run /mindforge:plan-phase 1
33
+ YES → Continue
34
+
35
+ Read the phase status from STATE.md.
36
+
37
+ Does the current phase have plans? (check .planning/phases/[N]/PLAN-[N]-*.md)
38
+ NO → Run /mindforge:plan-phase [N]
39
+ YES → Continue
40
+
41
+ Do SUMMARY files exist for all plans in the current phase?
42
+ NO → Run /mindforge:execute-phase [N]
43
+ YES → Continue
44
+
45
+ Does VERIFICATION.md exist for the current phase?
46
+ NO → Run /mindforge:verify-phase [N] (automated part)
47
+ YES → Continue
48
+
49
+ Does UAT.md exist and show all tests passing?
50
+ NO → Run /mindforge:verify-phase [N] (UAT part)
51
+ YES → Continue
52
+
53
+ Is this phase marked as shipped in STATE.md?
54
+ NO → Run /mindforge:ship [N]
55
+ YES → Continue
56
+
57
+ Are there more phases in ROADMAP.md?
58
+ YES → Increment phase number. Run /mindforge:plan-phase [N+1]
59
+ NO → Tell user: "All phases complete! Run /mindforge:ship [N] for the final release."
60
+ ```
61
+
62
+ ## Partial phase execution handling
63
+ In the decision tree step "Do SUMMARY files exist for all plans?":
64
+
65
+ Do not treat this as binary. Check individually:
66
+
67
+ ```
68
+ PLAN-[N]-01.md exists? SUMMARY-[N]-01.md exists?
69
+ PLAN-[N]-02.md exists? SUMMARY-[N]-02.md exists?
70
+ PLAN-[N]-03.md exists? SUMMARY-[N]-03.md exists?
71
+ ```
72
+
73
+ If some SUMMARY files exist and some don't: this is a partially-executed phase.
74
+ Report: "Phase [N] is partially executed: plans [X, Y] are done, [Z] is not."
75
+ Ask: "Resume execution from Plan [Z]? (yes/no)"
76
+ Do not restart the entire phase — resume from the first missing SUMMARY.
77
+
78
+ ## Before auto-executing: always confirm
79
+ Before running any command automatically, tell the user:
80
+
81
+ ```
82
+ MindForge next step detected:
83
+ Current state : [description of current state]
84
+ Next action : [what will be run]
85
+ Command : /mindforge:[command] [args]
86
+
87
+ Run this now? (yes/no/different)
88
+ ```
89
+
90
+ If user says "different": ask what they want to do instead.
91
+ If user says "yes": proceed with the detected command.
92
+
93
+ ## Handling HANDOFF.json (session restart)
94
+ If HANDOFF.json has a `next_task` field from a previous session:
95
+ Present it prominently:
96
+
97
+ ```
98
+ Previous session found:
99
+ Saved at : [updated_at from HANDOFF.json]
100
+ Left off : [last_completed_task]
101
+ Next task : [next_task]
102
+
103
+ Options:
104
+ 1. Continue from where we left off
105
+ 2. Check current state and determine next step fresh
106
+ 3. Tell me what you want to do
107
+
108
+ Choose 1, 2, or 3:
109
+ ```
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: mindforge:note
3
+ description: Capture an idea, task, or issue that surfaces during a session as a quick note for later
4
+ argument-hint: <text> [list|promote N]
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ - write_to_file
9
+ - multi_replace_file_content
10
+ ---
11
+
12
+ <objective>
13
+ Provide a zero-friction way to capture ephemeral thoughts, bugs, or todos during an active session without interrupting the current flow, with the ability to later promote them to official tasks.
14
+ </objective>
15
+
16
+ <execution_context>
17
+ .claude/commands/mindforge/note.md
18
+ </execution_context>
19
+
20
+ <context>
21
+ Arguments: $ARGUMENTS (The note text or subcommand like `list` or `promote`)
22
+ Storage: .planning/notes/
23
+ Target for Promotion: ROADMAP.md or STATE.md
24
+ </context>
25
+
26
+ <process>
27
+ 1. **Route Subcommand**:
28
+ - If `list`: Read all files in `.planning/notes/` and present them.
29
+ - If `promote <N>`: Read note N, add it to current phase/milestone in STATE.md or ROADMAP.md, then move the note to `.planning/notes/archived/`.
30
+ - Else (default): Capture the text.
31
+ 2. **Capture Flow**:
32
+ - Ensure `.planning/notes/` directory.
33
+ - Create a file `note_[timestamp].md` with the content.
34
+ 3. **Confirm**: Quick confirmation of capture or promotion result.
35
+ </process>
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: mindforge:observability-platform
3
+ description: "Design unified observability platform. Usage: /mindforge:observability-platform [scope] [--stack otel|datadog|grafana] [--scale services]"
4
+ argument-hint: "[scope] [--stack otel|datadog|grafana] [--scale services]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design comprehensive observability-platform system architecture with best practices and production-ready patterns.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/platform-observability/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/platform-observability/`
20
+ State: Analyzes requirements, constraints, and scale to generate optimized observability-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,75 @@
1
+ ---
2
+ description: "Set up logging, tracing, and metrics stack. Usage: /mindforge:observability [service] [--stack otel|custom] [--alerts]"
3
+ ---
4
+
5
+ <objective>
6
+ Design and implement a comprehensive observability stack covering structured logging, distributed tracing, and metrics collection with alert definitions for a service or system.
7
+ </objective>
8
+
9
+ <execution_context>
10
+ @.mindforge/skills/observability-stack/SKILL.md
11
+ </execution_context>
12
+
13
+ <context>
14
+ Arguments: $ARGUMENTS (service name, optional --stack otel|custom, optional --alerts flag)
15
+ Knowledge: Current infrastructure, existing monitoring, SLO definitions, incident history.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Identify golden signals**: For the target service, define:
20
+ - Latency: request duration distribution (p50, p95, p99)
21
+ - Traffic: requests per second, broken down by endpoint and method
22
+ - Errors: error rate by type (4xx client, 5xx server, timeout, circuit-open)
23
+ - Saturation: resource utilization (CPU, memory, connections, queue depth)
24
+ - Map each signal to concrete measurement points in the code
25
+ - Identify which signals are leading indicators vs lagging
26
+
27
+ 2. **Implement structured logging**: Design the logging layer:
28
+ - Format: JSON with consistent field names across all services
29
+ - Required fields: timestamp, level, service, trace_id, span_id, message
30
+ - Context fields: user_id, request_id, correlation_id, environment
31
+ - Log levels: ERROR (actionable), WARN (degraded), INFO (state changes), DEBUG (development)
32
+ - Correlation: inject trace_id and span_id into every log line
33
+ - Sampling: log 100% of errors, sample INFO/DEBUG in production
34
+ - Redaction: automatically mask PII fields (email, IP, tokens)
35
+
36
+ 3. **Add tracing (OpenTelemetry spans)**: Instrument the request lifecycle:
37
+ - Root span at service entry (HTTP handler or message consumer)
38
+ - Child spans for: database queries, external API calls, cache operations, queue publish
39
+ - Span attributes: operation name, status code, error message, duration
40
+ - Propagation: W3C TraceContext headers for cross-service correlation
41
+ - Sampling strategy: always-on for errors, probabilistic (10%) for success
42
+ - Exporter configuration: OTLP to collector, batch with 5s flush interval
43
+
44
+ 4. **Define metrics (RED for services, USE for resources)**:
45
+ - RED (Request-focused): Rate, Errors, Duration per endpoint
46
+ - USE (Resource-focused): Utilization, Saturation, Errors per resource
47
+ - Histogram buckets for latency: [5ms, 10ms, 25ms, 50ms, 100ms, 250ms, 500ms, 1s, 5s]
48
+ - Counter for requests by: method, path, status_code
49
+ - Gauge for: active connections, queue depth, cache size
50
+ - Summary for: batch job duration, background task completion time
51
+
52
+ 5. **Design alerts (symptom-based)**: When --alerts flag is set:
53
+ - SLO-based: alert on error budget burn rate (fast burn = 14.4x in 1h, slow burn = 6x in 6h)
54
+ - Latency: p99 > 2x target for 5 minutes
55
+ - Error rate: > 1% for 5 minutes (page), > 0.1% for 30 minutes (ticket)
56
+ - Saturation: resource > 80% for 10 minutes (warn), > 95% for 5 minutes (page)
57
+ - Absence: no data for 5 minutes (service may be down)
58
+ - Alert routing: PagerDuty for page-severity, Slack for warn-severity
59
+ - Runbook link in every alert annotation
60
+
61
+ 6. **Build dashboard**: Design the observability dashboard hierarchy:
62
+ - L0 (Overview): Service health grid, error budget remaining, top-level SLIs
63
+ - L1 (Service): Golden signals for the specific service, recent deployments overlay
64
+ - L2 (Request): Individual request trace waterfall, span breakdown
65
+ - L3 (Resource): CPU, memory, disk, network for underlying infrastructure
66
+ - Include: deployment markers, anomaly detection overlay, comparison (now vs last week)
67
+
68
+ 7. **Output observability plan**: Deliver:
69
+ - Architecture diagram (collector topology, data flow)
70
+ - Instrumentation code snippets for the target stack
71
+ - Alert definitions (Prometheus rules or equivalent)
72
+ - Dashboard JSON (Grafana or equivalent)
73
+ - Retention policy (hot: 7d full resolution, warm: 30d downsampled, cold: 90d aggregated)
74
+ - Cost estimate for the observability stack
75
+ </process>
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: mindforge:offline
3
+ description: "Design offline-first data architecture. Usage: /mindforge:offline [feature] [--sync crdt|ot|custom] [--conflict lww|merge|manual]"
4
+ argument-hint: "[feature] [--sync crdt|ot|custom] [--conflict lww|merge|manual]"
5
+ allowed-tools:
6
+ - list_dir
7
+ - view_file
8
+ ---
9
+
10
+ <objective>
11
+ Design offline-first architectures with local-first data storage, optimistic UI updates, sync conflict resolution, and graceful degradation during network outages.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.mindforge/skills/offline-first-design/SKILL.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Skills Directory: `.mindforge/skills/offline-first-design/`
20
+ State: Designs local database schema, sync protocols (CRDT/OT), conflict resolution strategies, and queue management for offline operations.
21
+ </context>
22
+
23
+ <process>
24
+ 1. **Local Storage**: SQLite (structured relational data). IndexedDB (web, large datasets). Realm (mobile, reactive queries). WatermelonDB (React Native, observable). Choose based on platform and query patterns.
25
+
26
+ 2. **Sync Strategy**: CRDT (Conflict-free Replicated Data Types) → automatic merge, no conflicts, eventual consistency (Yjs, Automerge). OT (Operational Transformation) → transforms operations, preserves intent (Google Docs style). Custom → simpler logic but requires explicit conflict handling.
27
+
28
+ 3. **Conflict Resolution**: Last-Write-Wins → simple, risk of data loss, acceptable for low-conflict scenarios. Field-level merge → granular, preserves more data, requires schema design. Manual resolution → show UI for user decision, use for critical data. Version vectors track causality.
29
+
30
+ 4. **Optimistic UI**: Apply changes immediately to local state. Show pending indicator. Queue sync operation. Rollback on server rejection. Show conflicts in UI. Maintain operation log for debugging.
31
+
32
+ 5. **Queue Management**: Persist operations to disk (survive app restart). Retry with exponential backoff. Handle partial failures (some operations succeed, others fail). Order dependencies (create before update). Prune completed operations.
33
+
34
+ 6. **Data Pruning**: Archive old data (>90 days inactive). Delete ephemeral data (cached images). Compress large payloads. Implement storage quotas. Monitor disk usage. User-triggered full sync to recover space.
35
+
36
+ 7. **Testing**: Simulate offline mode. Test conflict scenarios (concurrent edits). Verify data integrity post-sync. Test with poor network (slow 3G). Load test sync with large datasets. Monitor sync latency and queue depth.
37
+ </process>
@@ -0,0 +1,37 @@
1
+ ---
2
+ description: Generate a knowledge graph, entry point summary, and learning path for the current or specified codebase. Usage - /mindforge:onboard [path] [--depth shallow|deep] [--output ONBOARDING-REPORT.md]
3
+ ---
4
+
5
+ <objective>
6
+ Rapidly understand an unfamiliar codebase by generating structured summaries,
7
+ identifying entry points, and creating an ordered learning path.
8
+ </objective>
9
+
10
+ <execution_context>
11
+ @.mindforge/skills/codebase-onboarding/SKILL.md
12
+ @.mindforge/engine/knowledge-graph-protocol.md
13
+ </execution_context>
14
+
15
+ <context>
16
+ $ARGUMENTS
17
+ </context>
18
+
19
+ <process>
20
+ 1. Determine target directory (default: current working directory).
21
+ 2. Detect stack: scan for package.json, Cargo.toml, go.mod, pyproject.toml, etc.
22
+ 3. Identify languages, frameworks, build tools, and test frameworks.
23
+ 4. Find entry points: main files, bin entries, route definitions, CLI commands, event handlers.
24
+ 5. If --depth deep: build full module dependency graph (nodes=files, edges=imports).
25
+ 6. If --depth shallow: identify top 10 most-imported modules only.
26
+ 7. Identify hot paths: files modified most frequently (git log --name-only).
27
+ 8. Generate learning path: ordered file reading sequence (config → entry → core → utilities → edge cases).
28
+ 9. Write ONBOARDING-REPORT.md (or --output path) to `.planning/` with sections:
29
+ - Overview (1-paragraph summary)
30
+ - Tech Stack (detected languages, frameworks, tools)
31
+ - Entry Points (with file paths)
32
+ - Architecture (module graph summary)
33
+ - Hot Paths (most-active areas)
34
+ - Learning Path (ordered reading list with WHY for each file)
35
+ - Concerns (potential issues spotted during exploration)
36
+ 10. Log onboarding event in AUDIT.
37
+ </process>