mindforge-cc 10.0.2 → 10.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/.mindforge/config.json +73 -2
  2. package/.mindforge/engine/autonomous/cross-iteration-bridge.md +96 -0
  3. package/.mindforge/engine/cost-tracking/budget-enforcer.md +68 -0
  4. package/.mindforge/engine/cost-tracking/router.md +58 -0
  5. package/.mindforge/engine/cost-tracking/token-ledger.md +77 -0
  6. package/.mindforge/engine/council/council-protocol.md +96 -0
  7. package/.mindforge/engine/council/council-templates.md +85 -0
  8. package/.mindforge/engine/council/synthesis-engine.md +71 -0
  9. package/.mindforge/engine/cross-model-eval.md +74 -0
  10. package/.mindforge/engine/instincts/capture-engine.md +63 -0
  11. package/.mindforge/engine/instincts/instinct-schema.md +76 -0
  12. package/.mindforge/engine/instincts/promotion-engine.md +77 -0
  13. package/.mindforge/engine/proactive/signal-detector.md +60 -0
  14. package/.mindforge/engine/proactive/suggestion-engine.md +100 -0
  15. package/.mindforge/engine/skills/composition.md +83 -0
  16. package/.mindforge/engine/skills/loader.md +16 -0
  17. package/.mindforge/personas/agent-architect.md +57 -0
  18. package/.mindforge/personas/agent-evaluator.md +162 -0
  19. package/.mindforge/personas/agent-memory-designer.md +157 -0
  20. package/.mindforge/personas/agent-ops-engineer.md +120 -0
  21. package/.mindforge/personas/agent-orchestrator.md +112 -0
  22. package/.mindforge/personas/ai-economist.md +57 -0
  23. package/.mindforge/personas/ai-safety-engineer.md +57 -0
  24. package/.mindforge/personas/analytics-engineer.md +57 -0
  25. package/.mindforge/personas/anti-pattern-hunter.md +61 -0
  26. package/.mindforge/personas/api-gateway-designer.md +132 -0
  27. package/.mindforge/personas/auth-engineer.md +112 -0
  28. package/.mindforge/personas/build-engineer.md +57 -0
  29. package/.mindforge/personas/business-analyst.md +56 -0
  30. package/.mindforge/personas/cache-architect.md +100 -0
  31. package/.mindforge/personas/causal-scientist.md +57 -0
  32. package/.mindforge/personas/cdn-architect.md +118 -0
  33. package/.mindforge/personas/change-agent.md +104 -0
  34. package/.mindforge/personas/code-narrator.md +52 -0
  35. package/.mindforge/personas/codegen-specialist.md +68 -0
  36. package/.mindforge/personas/communication-architect.md +102 -0
  37. package/.mindforge/personas/compliance-engineer.md +96 -0
  38. package/.mindforge/personas/consensus-engineer.md +116 -0
  39. package/.mindforge/personas/contract-tester.md +60 -192
  40. package/.mindforge/personas/cost-optimizer.md +71 -0
  41. package/.mindforge/personas/council-architect.md +66 -0
  42. package/.mindforge/personas/council-critic.md +67 -0
  43. package/.mindforge/personas/council-pragmatist.md +71 -0
  44. package/.mindforge/personas/council-skeptic.md +73 -0
  45. package/.mindforge/personas/data-architect.md +108 -0
  46. package/.mindforge/personas/data-mesh-architect.md +57 -0
  47. package/.mindforge/personas/data-pipeline-architect.md +120 -0
  48. package/.mindforge/personas/de-sloppifier.md +60 -0
  49. package/.mindforge/personas/debt-manager.md +66 -0
  50. package/.mindforge/personas/decision-architect.md +82 -51
  51. package/.mindforge/personas/deployment-captain.md +74 -0
  52. package/.mindforge/personas/design-system-lead.md +112 -0
  53. package/.mindforge/personas/dmux-orchestrator.md +75 -0
  54. package/.mindforge/personas/doc-auditor.md +84 -0
  55. package/.mindforge/personas/dx-engineer.md +96 -0
  56. package/.mindforge/personas/ecommerce-engineer.md +57 -0
  57. package/.mindforge/personas/edge-engineer.md +94 -0
  58. package/.mindforge/personas/edtech-architect.md +106 -0
  59. package/.mindforge/personas/embedding-architect.md +57 -0
  60. package/.mindforge/personas/environment-engineer.md +57 -0
  61. package/.mindforge/personas/eval-judge.md +55 -0
  62. package/.mindforge/personas/event-architect.md +102 -0
  63. package/.mindforge/personas/experiment-designer.md +138 -0
  64. package/.mindforge/personas/feature-store-engineer.md +57 -0
  65. package/.mindforge/personas/finops-analyst.md +66 -0
  66. package/.mindforge/personas/fintech-architect.md +57 -0
  67. package/.mindforge/personas/flutter-engineer.md +104 -0
  68. package/.mindforge/personas/gaming-engineer.md +57 -0
  69. package/.mindforge/personas/graphql-designer.md +73 -0
  70. package/.mindforge/personas/healthcare-engineer.md +57 -0
  71. package/.mindforge/personas/hiring-strategist.md +105 -0
  72. package/.mindforge/personas/hitl-architect.md +165 -0
  73. package/.mindforge/personas/i18n-architect.md +69 -0
  74. package/.mindforge/personas/instinct-curator.md +83 -0
  75. package/.mindforge/personas/iot-architect.md +105 -0
  76. package/.mindforge/personas/knowledge-curator.md +139 -0
  77. package/.mindforge/personas/knowledge-engineer.md +57 -0
  78. package/.mindforge/personas/lakehouse-architect.md +57 -0
  79. package/.mindforge/personas/llm-orchestrator.md +57 -0
  80. package/.mindforge/personas/logistics-architect.md +106 -0
  81. package/.mindforge/personas/market-analyst.md +53 -0
  82. package/.mindforge/personas/marketplace-engineer.md +105 -0
  83. package/.mindforge/personas/mcp-designer.md +54 -0
  84. package/.mindforge/personas/meeting-designer.md +104 -0
  85. package/.mindforge/personas/mentorship-lead.md +106 -0
  86. package/.mindforge/personas/migration-architect.md +57 -0
  87. package/.mindforge/personas/ml-ops-engineer.md +101 -0
  88. package/.mindforge/personas/mobile-architect.md +105 -0
  89. package/.mindforge/personas/mobile-security-engineer.md +106 -0
  90. package/.mindforge/personas/multi-model-bridge.md +86 -0
  91. package/.mindforge/personas/multi-tenancy-architect.md +71 -0
  92. package/.mindforge/personas/multimodal-engineer.md +57 -0
  93. package/.mindforge/personas/offline-specialist.md +105 -0
  94. package/.mindforge/personas/onboarding-navigator.md +63 -0
  95. package/.mindforge/personas/payments-engineer.md +135 -0
  96. package/.mindforge/personas/pipeline-engineer.md +115 -0
  97. package/.mindforge/personas/platform-engineer.md +97 -0
  98. package/.mindforge/personas/platform-lead.md +57 -0
  99. package/.mindforge/personas/privacy-engineer.md +57 -0
  100. package/.mindforge/personas/product-owner.md +56 -0
  101. package/.mindforge/personas/productivity-analyst.md +57 -0
  102. package/.mindforge/personas/prompt-architect.md +101 -0
  103. package/.mindforge/personas/proofreader.md +53 -0
  104. package/.mindforge/personas/pwa-architect.md +105 -0
  105. package/.mindforge/personas/quality-scorer.md +63 -0
  106. package/.mindforge/personas/react-native-engineer.md +106 -0
  107. package/.mindforge/personas/resilience-engineer.md +69 -0
  108. package/.mindforge/personas/rfc-architect.md +64 -0
  109. package/.mindforge/personas/saga-orchestrator.md +80 -0
  110. package/.mindforge/personas/secrets-engineer.md +57 -0
  111. package/.mindforge/personas/skill-smith.md +79 -0
  112. package/.mindforge/personas/sre-lead.md +107 -0
  113. package/.mindforge/personas/stream-engineer.md +57 -0
  114. package/.mindforge/personas/streaming-engineer.md +64 -0
  115. package/.mindforge/personas/swarm-templates.json +695 -38
  116. package/.mindforge/personas/system-designer.md +57 -0
  117. package/.mindforge/personas/team-coach.md +120 -0
  118. package/.mindforge/personas/tech-lead-coach.md +103 -0
  119. package/.mindforge/personas/technical-writer-lead.md +111 -0
  120. package/.mindforge/personas/threat-modeler.md +82 -0
  121. package/.mindforge/personas/vibe-checker.md +75 -0
  122. package/.mindforge/personas/worktree-manager.md +56 -0
  123. package/.mindforge/personas/zero-trust-engineer.md +113 -0
  124. package/.mindforge/skills/a11y-testing/SKILL.md +143 -0
  125. package/.mindforge/skills/agent-evaluation-framework/SKILL.md +227 -0
  126. package/.mindforge/skills/agent-introspection-debugging/SKILL.md +88 -0
  127. package/.mindforge/skills/agent-loops/SKILL.md +84 -0
  128. package/.mindforge/skills/agent-memory-design/SKILL.md +199 -0
  129. package/.mindforge/skills/agent-orchestration-patterns/SKILL.md +129 -0
  130. package/.mindforge/skills/agent-tool-selection/SKILL.md +204 -0
  131. package/.mindforge/skills/ai-agent-deployment/SKILL.md +176 -0
  132. package/.mindforge/skills/ai-cost-management/SKILL.md +57 -0
  133. package/.mindforge/skills/ai-safety-alignment/SKILL.md +53 -0
  134. package/.mindforge/skills/analytics-instrumentation/SKILL.md +172 -0
  135. package/.mindforge/skills/api-gateway-patterns/SKILL.md +177 -0
  136. package/.mindforge/skills/api-marketplace/SKILL.md +56 -0
  137. package/.mindforge/skills/api-versioning/SKILL.md +100 -0
  138. package/.mindforge/skills/app-store-deployment/SKILL.md +44 -0
  139. package/.mindforge/skills/architecture-tradeoff-analysis/SKILL.md +97 -0
  140. package/.mindforge/skills/audit-logging/SKILL.md +140 -0
  141. package/.mindforge/skills/auth-patterns/SKILL.md +148 -0
  142. package/.mindforge/skills/autonomous-agent-harness/SKILL.md +218 -0
  143. package/.mindforge/skills/autonomous-agents/SKILL.md +59 -0
  144. package/.mindforge/skills/autonomous-loops/SKILL.md +105 -0
  145. package/.mindforge/skills/build-system-optimization/SKILL.md +54 -0
  146. package/.mindforge/skills/build-vs-buy/SKILL.md +80 -0
  147. package/.mindforge/skills/bundle-optimization/SKILL.md +174 -0
  148. package/.mindforge/skills/business-analyst/SKILL.md +82 -0
  149. package/.mindforge/skills/caching-strategies/SKILL.md +132 -0
  150. package/.mindforge/skills/capacity-planning/SKILL.md +96 -0
  151. package/.mindforge/skills/causal-inference/SKILL.md +42 -0
  152. package/.mindforge/skills/cdn-optimization/SKILL.md +212 -0
  153. package/.mindforge/skills/change-management/SKILL.md +106 -0
  154. package/.mindforge/skills/chaos-engineering/SKILL.md +99 -0
  155. package/.mindforge/skills/ci-cd-pipeline/SKILL.md +118 -0
  156. package/.mindforge/skills/cli-design/SKILL.md +118 -0
  157. package/.mindforge/skills/code-generation-patterns/SKILL.md +92 -0
  158. package/.mindforge/skills/code-review-methodology/SKILL.md +180 -0
  159. package/.mindforge/skills/code-tour/SKILL.md +145 -0
  160. package/.mindforge/skills/codebase-onboarding/SKILL.md +95 -0
  161. package/.mindforge/skills/compliance-as-code/SKILL.md +195 -0
  162. package/.mindforge/skills/conflict-resolution/SKILL.md +87 -0
  163. package/.mindforge/skills/connection-pooling/SKILL.md +151 -0
  164. package/.mindforge/skills/container-security/SKILL.md +151 -0
  165. package/.mindforge/skills/context-engineering/SKILL.md +114 -0
  166. package/.mindforge/skills/continuous-learning/SKILL.md +84 -0
  167. package/.mindforge/skills/contract-testing/SKILL.md +85 -0
  168. package/.mindforge/skills/cost-aware-routing/SKILL.md +83 -0
  169. package/.mindforge/skills/cost-estimation/SKILL.md +82 -0
  170. package/.mindforge/skills/council/SKILL.md +68 -0
  171. package/.mindforge/skills/cqrs-event-sourcing/SKILL.md +95 -0
  172. package/.mindforge/skills/cross-platform-testing/SKILL.md +43 -0
  173. package/.mindforge/skills/data-governance/SKILL.md +42 -0
  174. package/.mindforge/skills/data-lakehouse/SKILL.md +42 -0
  175. package/.mindforge/skills/data-mesh/SKILL.md +42 -0
  176. package/.mindforge/skills/data-modeling/SKILL.md +107 -0
  177. package/.mindforge/skills/data-pipeline-design/SKILL.md +171 -0
  178. package/.mindforge/skills/data-privacy-engineering/SKILL.md +42 -0
  179. package/.mindforge/skills/database-performance/SKILL.md +174 -0
  180. package/.mindforge/skills/database-sharding-advanced/SKILL.md +206 -0
  181. package/.mindforge/skills/de-sloppify/SKILL.md +120 -0
  182. package/.mindforge/skills/defense-in-depth/SKILL.md +84 -0
  183. package/.mindforge/skills/delegation-patterns/SKILL.md +123 -0
  184. package/.mindforge/skills/dependency-management/SKILL.md +94 -0
  185. package/.mindforge/skills/deployment-workflow/SKILL.md +135 -0
  186. package/.mindforge/skills/design-system/SKILL.md +113 -0
  187. package/.mindforge/skills/developer-onboarding/SKILL.md +99 -0
  188. package/.mindforge/skills/developer-productivity-metrics/SKILL.md +59 -0
  189. package/.mindforge/skills/distributed-consensus/SKILL.md +141 -0
  190. package/.mindforge/skills/dmux-workflows/SKILL.md +141 -0
  191. package/.mindforge/skills/dns-architecture/SKILL.md +167 -0
  192. package/.mindforge/skills/doc-health-audit/SKILL.md +102 -0
  193. package/.mindforge/skills/ecommerce-architecture/SKILL.md +41 -0
  194. package/.mindforge/skills/edge-computing/SKILL.md +91 -0
  195. package/.mindforge/skills/edtech-platform/SKILL.md +41 -0
  196. package/.mindforge/skills/email-deliverability/SKILL.md +177 -0
  197. package/.mindforge/skills/embedding-systems/SKILL.md +55 -0
  198. package/.mindforge/skills/environment-management/SKILL.md +54 -0
  199. package/.mindforge/skills/error-handling-architecture/SKILL.md +118 -0
  200. package/.mindforge/skills/estimation-techniques/SKILL.md +113 -0
  201. package/.mindforge/skills/eval-harness/SKILL.md +180 -0
  202. package/.mindforge/skills/event-driven-architecture/SKILL.md +162 -0
  203. package/.mindforge/skills/experiment-design/SKILL.md +139 -0
  204. package/.mindforge/skills/experiment-platform/SKILL.md +43 -0
  205. package/.mindforge/skills/feature-engineering/SKILL.md +42 -0
  206. package/.mindforge/skills/feature-flag-management/SKILL.md +183 -0
  207. package/.mindforge/skills/fine-tuning-workflow/SKILL.md +189 -0
  208. package/.mindforge/skills/fintech-patterns/SKILL.md +41 -0
  209. package/.mindforge/skills/flutter-architecture/SKILL.md +42 -0
  210. package/.mindforge/skills/gaming-backend/SKILL.md +41 -0
  211. package/.mindforge/skills/git-workflow-design/SKILL.md +129 -0
  212. package/.mindforge/skills/graceful-degradation/SKILL.md +95 -0
  213. package/.mindforge/skills/graphql-patterns/SKILL.md +243 -0
  214. package/.mindforge/skills/guardrails-and-safety/SKILL.md +137 -0
  215. package/.mindforge/skills/healthcare-systems/SKILL.md +40 -0
  216. package/.mindforge/skills/hiring-engineering/SKILL.md +119 -0
  217. package/.mindforge/skills/human-in-the-loop-design/SKILL.md +234 -0
  218. package/.mindforge/skills/i18n-architecture/SKILL.md +147 -0
  219. package/.mindforge/skills/idempotency-patterns/SKILL.md +84 -0
  220. package/.mindforge/skills/incident-communication/SKILL.md +96 -0
  221. package/.mindforge/skills/incident-management/SKILL.md +97 -0
  222. package/.mindforge/skills/infrastructure-as-code/SKILL.md +98 -0
  223. package/.mindforge/skills/instinct-clustering/SKILL.md +190 -0
  224. package/.mindforge/skills/internal-developer-platform/SKILL.md +51 -0
  225. package/.mindforge/skills/iot-platform/SKILL.md +41 -0
  226. package/.mindforge/skills/k8s-deployment/SKILL.md +358 -0
  227. package/.mindforge/skills/knowledge-graphs/SKILL.md +56 -0
  228. package/.mindforge/skills/knowledge-sharing-systems/SKILL.md +112 -0
  229. package/.mindforge/skills/llm-cost-optimization/SKILL.md +198 -0
  230. package/.mindforge/skills/llm-orchestration/SKILL.md +56 -0
  231. package/.mindforge/skills/load-testing/SKILL.md +84 -0
  232. package/.mindforge/skills/logistics-optimization/SKILL.md +40 -0
  233. package/.mindforge/skills/market-researcher/SKILL.md +99 -0
  234. package/.mindforge/skills/marketplace-trust/SKILL.md +40 -0
  235. package/.mindforge/skills/mcp-server-patterns/SKILL.md +264 -0
  236. package/.mindforge/skills/media-streaming/SKILL.md +41 -0
  237. package/.mindforge/skills/meeting-architecture/SKILL.md +146 -0
  238. package/.mindforge/skills/mentoring-patterns/SKILL.md +77 -0
  239. package/.mindforge/skills/microservices-patterns/SKILL.md +83 -0
  240. package/.mindforge/skills/migration-platform/SKILL.md +61 -0
  241. package/.mindforge/skills/migration-strategies/SKILL.md +129 -0
  242. package/.mindforge/skills/ml-feature-store/SKILL.md +56 -0
  243. package/.mindforge/skills/ml-monitoring/SKILL.md +42 -0
  244. package/.mindforge/skills/mobile-performance/SKILL.md +44 -0
  245. package/.mindforge/skills/mobile-security/SKILL.md +45 -0
  246. package/.mindforge/skills/model-evaluation/SKILL.md +53 -0
  247. package/.mindforge/skills/monorepo-management/SKILL.md +100 -0
  248. package/.mindforge/skills/multi-llm-consult/SKILL.md +75 -0
  249. package/.mindforge/skills/multi-tenancy-patterns/SKILL.md +145 -0
  250. package/.mindforge/skills/multi-turn-conversation-design/SKILL.md +206 -0
  251. package/.mindforge/skills/multimodal-ai/SKILL.md +51 -0
  252. package/.mindforge/skills/mutation-testing/SKILL.md +97 -0
  253. package/.mindforge/skills/notification-system-design/SKILL.md +168 -0
  254. package/.mindforge/skills/observability-stack/SKILL.md +136 -0
  255. package/.mindforge/skills/offline-first-design/SKILL.md +43 -0
  256. package/.mindforge/skills/on-call-design/SKILL.md +111 -0
  257. package/.mindforge/skills/pagination-patterns/SKILL.md +230 -0
  258. package/.mindforge/skills/payment-integration/SKILL.md +176 -0
  259. package/.mindforge/skills/performance-reviews/SKILL.md +140 -0
  260. package/.mindforge/skills/platform-observability/SKILL.md +58 -0
  261. package/.mindforge/skills/platform-reliability/SKILL.md +52 -0
  262. package/.mindforge/skills/post-incident-learning/SKILL.md +96 -0
  263. package/.mindforge/skills/product-manager/SKILL.md +104 -0
  264. package/.mindforge/skills/progressive-web-app/SKILL.md +44 -0
  265. package/.mindforge/skills/prompt-engineering/SKILL.md +94 -0
  266. package/.mindforge/skills/proofreader/SKILL.md +158 -0
  267. package/.mindforge/skills/push-notification-architecture/SKILL.md +45 -0
  268. package/.mindforge/skills/python-performance/SKILL.md +183 -0
  269. package/.mindforge/skills/quality-audit/SKILL.md +171 -0
  270. package/.mindforge/skills/queue-design/SKILL.md +85 -0
  271. package/.mindforge/skills/rag-architecture/SKILL.md +176 -0
  272. package/.mindforge/skills/rate-limiting-design/SKILL.md +94 -0
  273. package/.mindforge/skills/react-native-patterns/SKILL.md +42 -0
  274. package/.mindforge/skills/react-performance/SKILL.md +229 -0
  275. package/.mindforge/skills/real-time-analytics/SKILL.md +42 -0
  276. package/.mindforge/skills/real-time-sync/SKILL.md +83 -0
  277. package/.mindforge/skills/responsive-native/SKILL.md +44 -0
  278. package/.mindforge/skills/responsive-patterns/SKILL.md +141 -0
  279. package/.mindforge/skills/rfc-pipeline/SKILL.md +114 -0
  280. package/.mindforge/skills/saas-multi-tenant/SKILL.md +41 -0
  281. package/.mindforge/skills/santa-method/SKILL.md +134 -0
  282. package/.mindforge/skills/search-implementation/SKILL.md +98 -0
  283. package/.mindforge/skills/secrets-platform/SKILL.md +56 -0
  284. package/.mindforge/skills/secrets-rotation/SKILL.md +173 -0
  285. package/.mindforge/skills/self-serve-infrastructure/SKILL.md +51 -0
  286. package/.mindforge/skills/serverless-patterns/SKILL.md +119 -0
  287. package/.mindforge/skills/skill-creator-meta/SKILL.md +146 -0
  288. package/.mindforge/skills/sprint-retrospective-facilitation/SKILL.md +112 -0
  289. package/.mindforge/skills/stakeholder-communication/SKILL.md +85 -0
  290. package/.mindforge/skills/state-management/SKILL.md +104 -0
  291. package/.mindforge/skills/stream-processing/SKILL.md +43 -0
  292. package/.mindforge/skills/streaming-architecture/SKILL.md +81 -0
  293. package/.mindforge/skills/supply-chain-security/SKILL.md +145 -0
  294. package/.mindforge/skills/synthetic-data-generation/SKILL.md +52 -0
  295. package/.mindforge/skills/system-design/SKILL.md +88 -0
  296. package/.mindforge/skills/team-topology-design/SKILL.md +107 -0
  297. package/.mindforge/skills/technical-debt-management/SKILL.md +86 -0
  298. package/.mindforge/skills/technical-interview-design/SKILL.md +98 -0
  299. package/.mindforge/skills/technical-leadership/SKILL.md +75 -0
  300. package/.mindforge/skills/technical-writing/SKILL.md +237 -0
  301. package/.mindforge/skills/technology-radar/SKILL.md +88 -0
  302. package/.mindforge/skills/testing-anti-patterns/SKILL.md +288 -0
  303. package/.mindforge/skills/threat-modeling/SKILL.md +109 -0
  304. package/.mindforge/skills/tool-design/SKILL.md +138 -0
  305. package/.mindforge/skills/typescript-advanced/SKILL.md +198 -0
  306. package/.mindforge/skills/using-git-worktrees/SKILL.md +139 -0
  307. package/.mindforge/skills/verification-loop/SKILL.md +97 -0
  308. package/.mindforge/skills/vibe-security/SKILL.md +165 -0
  309. package/.mindforge/skills/visual-regression-testing/SKILL.md +97 -0
  310. package/.mindforge/skills/websocket-patterns/SKILL.md +203 -0
  311. package/.mindforge/skills/writing-plans/SKILL.md +170 -0
  312. package/.mindforge/skills/writing-skills/SKILL.md +216 -0
  313. package/.mindforge/skills/zero-trust-architecture/SKILL.md +166 -0
  314. package/CHANGELOG.md +195 -0
  315. package/MINDFORGE.md +4 -4
  316. package/README.md +2 -2
  317. package/RELEASENOTES.md +66 -0
  318. package/bin/installer-core.js +1 -1
  319. package/bin/wizard/theme.js +2 -2
  320. package/docs/commands-reference.md +18 -1
  321. package/package.json +2 -2
  322. package/.mindforge/personas/data-privacy-engineer.md +0 -187
@@ -0,0 +1,98 @@
1
+ ---
2
+ name: infrastructure-as-code
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.0.7
5
+ status: stable
6
+ triggers: infrastructure as code, terraform pattern, pulumi pattern, state management iac, module design iac, drift detection, plan apply workflow, remote backend, workspace isolation, iac best practice, declarative infrastructure, resource provisioning pattern
7
+ ---
8
+
9
+ # Infrastructure as Code
10
+
11
+ ## When this skill activates
12
+
13
+ This skill activates when the user is designing, implementing, or troubleshooting
14
+ infrastructure-as-code patterns. This includes Terraform/OpenTofu module design,
15
+ Pulumi program structure, state management strategy, drift detection workflows,
16
+ plan/apply pipelines, workspace isolation for multi-environment deployments, and
17
+ general IaC best practices for declarative infrastructure provisioning.
18
+
19
+ ## Mandatory actions
20
+
21
+ ### Before
22
+
23
+ 1. Identify the IaC tool in use (Terraform, OpenTofu, Pulumi, CloudFormation, Bicep).
24
+ 2. Determine the target cloud provider(s) and existing state backend configuration.
25
+ 3. Assess current module structure and versioning strategy.
26
+ 4. Check for existing CI/CD pipeline integration (plan on PR, apply on merge).
27
+ 5. Identify secrets management approach (Vault, SOPS, AWS Secrets Manager).
28
+
29
+ ### During
30
+
31
+ **Declarative over Imperative:**
32
+ - Always prefer declarative resource definitions over procedural scripts.
33
+ - Express desired end-state; let the provider handle ordering and dependencies.
34
+ - Use `depends_on` only when implicit dependency detection fails.
35
+
36
+ **State Management:**
37
+ - Remote backends are mandatory for team environments (S3+DynamoDB locking, Terraform Cloud, GCS+locking).
38
+ - Never commit `.tfstate` files to version control.
39
+ - Enable state encryption at rest.
40
+ - Use state locking to prevent concurrent modifications.
41
+ - Implement state backup/versioning via backend configuration.
42
+
43
+ **Module Design:**
44
+ - Single responsibility: one module = one logical resource group.
45
+ - Version all modules with semantic versioning (pin in consumers).
46
+ - Define clear input/output contracts via `variables.tf` and `outputs.tf`.
47
+ - Use composition (modules calling modules) over monolithic configurations.
48
+ - Document module interfaces with descriptions on every variable and output.
49
+
50
+ **Plan/Apply Workflow:**
51
+ - ALWAYS run `plan` first and review the diff before applying.
52
+ - Automate plan output on pull requests (comment the diff).
53
+ - Require human approval gate before `apply` in production.
54
+ - Use `-target` sparingly — it creates state drift risk.
55
+ - Save plan files (`-out=plan.tfplan`) for deterministic applies.
56
+
57
+ **Drift Detection:**
58
+ - Schedule periodic plan-only runs to detect configuration drift.
59
+ - Alert on any detected drift (resources modified outside IaC).
60
+ - Reconcile drift by either importing changes or reverting manual modifications.
61
+ - Use `terraform refresh` cautiously — it updates state but not code.
62
+
63
+ **Workspace Isolation:**
64
+ - Separate state files per environment (dev/staging/prod).
65
+ - Use Terraform workspaces OR separate root modules per environment.
66
+ - Prefer separate root modules for production isolation (stronger blast radius containment).
67
+ - Environment-specific variables via `.tfvars` files or workspace-aware variable lookups.
68
+
69
+ **Secrets Handling:**
70
+ - NEVER store secrets in state files or variable defaults.
71
+ - Use data sources to fetch secrets from Vault/SOPS at plan time.
72
+ - Mark sensitive outputs with `sensitive = true`.
73
+ - Encrypt state backend at rest and in transit.
74
+
75
+ **Testing:**
76
+ - Use Terratest or `terraform validate` + `terraform plan` in CI.
77
+ - Write integration tests that provision real infrastructure in ephemeral accounts.
78
+ - Validate plan output against policy (OPA/Sentinel/Conftest).
79
+ - Test module interfaces with example configurations.
80
+
81
+ ### After
82
+
83
+ 1. Verify `terraform plan` shows expected changes (no surprises).
84
+ 2. Confirm state backend is accessible and lock is released.
85
+ 3. Validate outputs match expected resource identifiers.
86
+ 4. Run compliance/policy checks against the final plan.
87
+ 5. Document any manual steps required outside IaC scope.
88
+
89
+ ## Self-check before task completion
90
+
91
+ - [ ] All infrastructure is defined declaratively (no imperative scripts for provisioning).
92
+ - [ ] State is stored remotely with locking and encryption enabled.
93
+ - [ ] Modules follow single responsibility and are versioned.
94
+ - [ ] Plan/apply workflow is enforced (no direct applies without review).
95
+ - [ ] Secrets are not hardcoded in configurations or state.
96
+ - [ ] Drift detection mechanism is in place or recommended.
97
+ - [ ] Workspace isolation separates environments with independent state.
98
+ - [ ] Testing strategy covers plan validation and policy compliance.
@@ -0,0 +1,190 @@
1
+ ---
2
+ name: instinct-clustering
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.0.5
5
+ status: stable
6
+ triggers: instinct cluster, cluster instincts, group instincts, batch promote, instinct groups, pattern clusters, behavior clusters, auto-group, merge instincts, combine instincts, related patterns, instinct merge
7
+ ---
8
+
9
+ # Skill — Instinct Clustering (Auto-Group & Batch Promote Instincts)
10
+
11
+ ## When this skill activates
12
+
13
+ When the instinct store has accumulated enough patterns that manual promotion to
14
+ skills becomes impractical. Use to automatically identify groups of related instincts,
15
+ deduplicate redundant entries, and batch-promote coherent clusters into full skills.
16
+ Converts organic behavioral patterns into structured, reusable skill definitions.
17
+
18
+ Core principle: **Emergent structure** — let clusters form from the data rather than
19
+ imposing categories top-down. Instincts that repeatedly co-occur reveal natural
20
+ skill boundaries.
21
+
22
+ ## Mandatory actions when this skill is active
23
+
24
+ ### Before clustering begins
25
+
26
+ 1. **Load and filter instinct store:**
27
+ - Read `instinct-store.jsonl` (or configured instinct storage path)
28
+ - Filter to active instincts only (`status == "active"`)
29
+ - Exclude instincts with `confidence < 0.3` (too uncertain to cluster)
30
+ - Record total count: `N active instincts loaded`
31
+
32
+ 2. **Validate minimum viable dataset:**
33
+ - Minimum 10 active instincts required for meaningful clustering
34
+ - If < 10: report "insufficient instincts for clustering" and exit
35
+ - If 10-20: expect 1-3 clusters
36
+ - If 20-50: expect 3-8 clusters
37
+ - If 50+: expect 5-15 clusters
38
+
39
+ 3. **Understand instinct schema:**
40
+ ```json
41
+ {
42
+ "id": "inst-uuid",
43
+ "observation": "what was observed (natural language)",
44
+ "behavior": "what action to take (imperative)",
45
+ "tags": ["tag1", "tag2", "tag3"],
46
+ "confidence": 0.0-1.0,
47
+ "frequency": 0,
48
+ "project_scope": "global" | "project-name",
49
+ "status": "active" | "promoted" | "deprecated",
50
+ "created_at": "ISO-8601",
51
+ "last_triggered": "ISO-8601"
52
+ }
53
+ ```
54
+
55
+ ### During clustering
56
+
57
+ **Step 1 — Deduplication pass:**
58
+ - For each pair of instincts, compute observation word overlap:
59
+ - Tokenize observations (lowercase, remove stop words)
60
+ - Overlap = |intersection| / |union| (jaccard on word sets)
61
+ - If overlap > 0.8: merge the pair (keep the one with higher confidence)
62
+ - Log all merges: `"Merged inst-X into inst-Y (overlap: Z%)""`
63
+ - Record: `D duplicates removed, M instincts remaining`
64
+
65
+ **Step 2 — Tag overlap calculation:**
66
+ - For each remaining pair of instincts, compute tag jaccard similarity:
67
+ ```
68
+ jaccard(A, B) = |A.tags intersection B.tags| / |A.tags union B.tags|
69
+ ```
70
+ - Build a similarity matrix: instincts (rows) x instincts (columns)
71
+ - Store as adjacency list for efficiency (only pairs with jaccard > 0.3)
72
+
73
+ **Step 3 — Cluster formation:**
74
+ - Group instincts where:
75
+ - Tag jaccard > 0.5 (strong tag overlap)
76
+ - AND shared `project_scope` (both global, or both same project)
77
+ - Use single-linkage clustering: if A is similar to B and B is similar to C,
78
+ then {A, B, C} form a cluster (even if A and C are not directly similar)
79
+ - Cap cluster size at 10 instincts (larger clusters should be split)
80
+
81
+ **Step 4 — Filter clusters:**
82
+ - Minimum cluster size: 3 instincts (smaller groups are not worth promoting)
83
+ - Average confidence across cluster members must be > 0.7
84
+ - At least 2 distinct observations in the cluster (not all near-duplicates)
85
+ - Discard clusters that fail any filter
86
+
87
+ **Step 5 — Skill generation per cluster:**
88
+ - **Name**: derived from the 2-3 most common tags across cluster members
89
+ - **Triggers**: extracted from observation keywords (deduplicated, natural phrasing)
90
+ - **Behavior**: combine all instinct `behavior` fields in logical order:
91
+ 1. Sort by frequency (most-triggered instincts first)
92
+ 2. Remove redundant steps
93
+ 3. Organize into Before/During/After structure
94
+ - **Self-check**: synthesize from the cluster's collective edge cases
95
+
96
+ Generated skill structure:
97
+ ```markdown
98
+ ---
99
+ name: [derived-name]
100
+ version: 1.0.0
101
+ min_mindforge_version: 10.0.5
102
+ status: stable
103
+ triggers: [combined trigger keywords]
104
+ ---
105
+
106
+ # Skill — [Name]
107
+
108
+ ## When this skill activates
109
+ [Synthesized from cluster observations]
110
+
111
+ ## Mandatory actions when this skill is active
112
+ ### Before [derived from behaviors]
113
+ ### During [derived from behaviors]
114
+ ### After [derived from behaviors]
115
+
116
+ ## Self-check before task completion
117
+ [Derived from cluster edge cases]
118
+ ```
119
+
120
+ **Step 6 — Conflict detection:**
121
+ - Check generated triggers against MANIFEST.md
122
+ - If jaccard > 0.3 with existing skill triggers: flag conflict
123
+ - Resolution options: merge into existing skill, rename triggers, or keep separate with justification
124
+
125
+ ### After clustering
126
+
127
+ 1. **Present clusters for user review:**
128
+ ```
129
+ ## Cluster Report
130
+
131
+ ### Cluster 1: [proposed-name]
132
+ - Instincts: [count]
133
+ - Avg confidence: [score]
134
+ - Members: [list of instinct IDs with one-line observations]
135
+ - Proposed skill name: [name]
136
+ - Proposed triggers: [list]
137
+
138
+ ### Cluster 2: ...
139
+
140
+ ## Unclustered Instincts
141
+ [Instincts that didn't fit any cluster — may need more data]
142
+ ```
143
+
144
+ 2. **On user approval:**
145
+ - Create SKILL.md in `.mindforge/skills/[name]/`
146
+ - Register in MANIFEST.md
147
+ - Mark all clustered instincts as `status: "promoted"`
148
+ - Add `promoted_to: "[skill-name]"` field to each promoted instinct
149
+ - Append promotion event to audit log
150
+
151
+ 3. **On user rejection or modification:**
152
+ - Apply requested changes to cluster membership or skill definition
153
+ - Re-validate filters (size >= 3, confidence > 0.7)
154
+ - Re-check for trigger conflicts
155
+ - Present revised version for approval
156
+
157
+ 4. **Generate CLUSTER-REPORT.md:**
158
+ ```markdown
159
+ ## Instinct Clustering Report — [date]
160
+
161
+ **Input:** N active instincts
162
+ **After dedup:** M instincts (D removed)
163
+ **Clusters formed:** C clusters
164
+ **Clusters passing filters:** F clusters
165
+ **Instincts promoted:** P
166
+ **Instincts unclustered:** U
167
+
168
+ ### Cluster Details
169
+ [table: name, size, avg_confidence, proposed_skill, status]
170
+
171
+ ### Deduplication Log
172
+ [list of merged instinct pairs with overlap scores]
173
+
174
+ ### Recommendations
175
+ - [instincts close to clustering threshold — collect more data]
176
+ - [potential trigger conflicts to monitor]
177
+ ```
178
+
179
+ ## Self-check before task completion
180
+
181
+ Before marking an instinct clustering task done:
182
+
183
+ - [ ] Did I deduplicate before clustering (overlap > 0.8 merged)?
184
+ - [ ] Did I verify minimum cluster size (3+ instincts per cluster)?
185
+ - [ ] Did I check average confidence > 0.7 for each cluster?
186
+ - [ ] Did I combine behaviors coherently (sorted by frequency, no redundancy)?
187
+ - [ ] Did I check for trigger conflicts against MANIFEST.md?
188
+ - [ ] Did I present clusters to the user for approval before creating skills?
189
+ - [ ] Did I mark promoted instincts with `status: "promoted"`?
190
+ - [ ] Did I generate CLUSTER-REPORT.md with full statistics?
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: internal-developer-platform
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.7.0
5
+ status: stable
6
+ triggers: internal developer platform, golden path design, developer portal architecture, service catalog platform, platform engineering, IDP design, backstage implementation, developer self-service, platform team scope, developer experience platform, service template, platform API design
7
+ ---
8
+
9
+ # Skill — Internal Developer Platform
10
+
11
+ ## When this skill activates
12
+
13
+ This skill activates when the user is designing, building, or evolving an Internal Developer Platform (IDP). This includes defining golden paths, building developer portals, creating service catalogs, implementing platform engineering practices, defining platform team scope, building self-service capabilities, and designing platform APIs for developer consumption.
14
+
15
+ ## Mandatory actions when this skill is active
16
+
17
+ ### Before writing any code
18
+
19
+ 1. Map the current developer journey from idea to production, identifying friction points and toil hotspots.
20
+ 2. Define the platform boundary: what belongs in the platform vs what belongs in application teams.
21
+ 3. Identify the personas using the platform (backend devs, frontend devs, data engineers, SREs) and their distinct needs.
22
+ 4. Assess existing tooling sprawl and identify consolidation opportunities (reduce tool count by 40-60% is typical).
23
+ 5. Establish platform success metrics (time-to-first-deploy, cognitive load score, toil hours saved, adoption rate).
24
+
25
+ ### During implementation
26
+
27
+ - **Golden Paths:** Create opinionated, paved roads for common tasks (new service, new API, new data pipeline). Each golden path should reduce a multi-day task to under 30 minutes. Include defaults that work for 80% of cases and escape hatches for the 20%.
28
+ - **Service Catalog:** Maintain a living registry of all services, APIs, data stores, and infrastructure with ownership, dependencies, and health status. Use Backstage, OpsLevel, or ServiceCatalog.io. Each entry must have: owner, on-call, docs, runbooks, and SLOs.
29
+ - **Developer Portal:** Single entry point for all platform capabilities. Include: service catalog, golden paths, documentation, status page, internal API marketplace, cost dashboard. Portal must be searchable and load in under 2 seconds.
30
+ - **Self-Service Capabilities:** Enable developers to provision environments, request resources, deploy services, configure monitoring, and manage secrets without filing tickets. Each self-service action should complete in under 5 minutes.
31
+ - **Platform APIs:** Design platform APIs as products. Use OpenAPI specs, provide SDKs, maintain changelogs, version properly. Platform APIs should have 99.9% uptime SLOs (higher than most application services).
32
+ - **Avoid Paving Cowpaths:** Don't automate broken processes. Simplify first, then automate. If a process requires 12 approval steps, fix the process before building the platform.
33
+ - **Platform as a Product:** Treat internal developers as customers. Collect feedback, measure satisfaction (NPS or CSAT), prioritize features by impact. Platform teams should spend 20% of time on user research.
34
+
35
+ ### After implementation
36
+
37
+ - Verify each golden path reduces task time by at least 70% compared to manual execution.
38
+ - Confirm the service catalog is auto-populated and stays in sync with production reality (via discovery, not manual updates).
39
+ - Validate that the developer portal has search functionality and surfaces the most-used capabilities within 2 clicks.
40
+ - Ensure platform APIs have monitoring, alerting, and SLOs defined and tracked.
41
+ - Check that self-service actions have audit logs and cost attribution.
42
+
43
+ ## Self-check before task completion
44
+
45
+ - [ ] Golden paths exist for the top 5 most common developer tasks.
46
+ - [ ] Service catalog includes all production services with ownership and dependencies.
47
+ - [ ] Developer portal is the single source of truth and loads in under 2 seconds.
48
+ - [ ] Platform success metrics are defined, instrumented, and tracked.
49
+ - [ ] Platform APIs have OpenAPI specs, SDKs, and 99.9% uptime SLOs.
50
+ - [ ] Self-service capabilities complete in under 5 minutes and include audit logs.
51
+ - [ ] Platform team spends 20% of time on user research and feedback collection.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: iot-platform
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.2.0
5
+ status: stable
6
+ triggers: IoT platform architecture, device management system, telemetry ingestion pipeline, firmware OTA update, device twin, IoT edge gateway, sensor data processing, IoT device provisioning, industrial IoT, MQTT broker design, device lifecycle management, IoT data pipeline
7
+ compose: edge-computing
8
+ ---
9
+
10
+ # Skill — IoT Platform
11
+
12
+ ## When this skill activates
13
+ This skill activates when building IoT device management systems, telemetry ingestion pipelines, firmware over-the-air (OTA) update mechanisms, device twin/shadow architectures, edge-to-cloud data flows, MQTT brokers, device provisioning, or industrial IoT platforms.
14
+
15
+ ## Mandatory actions when this skill is active
16
+
17
+ ### Before writing any code
18
+ 1. Design device lifecycle management: provisioning (certificate issuance, device registration, initial config push) → active (telemetry streaming, command execution) → maintenance (firmware updates, config changes) → decommissioning (certificate revocation, data archival), with state machine transitions and audit trails
19
+ 2. Model telemetry ingestion architecture: devices publish MQTT messages (QoS 1 for critical, QoS 0 for high-frequency) → broker buffers (HiveMQ, AWS IoT Core) → stream processor (Kafka, Kinesis) → time-series database (InfluxDB, TimescaleDB) → analytics/alerting, with backpressure handling and dead letter queues
20
+ 3. Map device twin/shadow pattern: desired state (cloud wants device at firmware v2.1, config A) vs reported state (device currently at v2.0, config B) → delta detection → command sent to device → device applies change → reports new state → convergence detected
21
+
22
+ ### During implementation
23
+ - Implement MQTT broker with scalability: support 100K+ concurrent connections, message throughput (10K msg/sec), QoS 0/1/2 support (at-most-once, at-least-once, exactly-once), retained messages (last known state), last will and testament (detect disconnections), topic ACLs (device can only publish to devices/{device_id}/telemetry)
24
+ - Build device provisioning flow: device boots with factory cert → requests device-specific cert from provisioning service (using CSR) → service validates manufacturing batch, issues cert signed by CA, registers device in registry → device stores cert in secure element (TPM, TEE) → uses cert for future MQTT authentication
25
+ - Design firmware OTA update with safety: cloud creates firmware campaign (target devices by tag, rollout percentage), device polls for updates (or push notification), downloads firmware chunk-by-chunk (resumable, checksum verified), stores in secondary partition, validates signature (RSA/ECDSA), swaps partitions on next boot, rollback on boot failure (watchdog timer, 3 attempts)
26
+ - Implement device twin with conflict resolution: cloud updates desired state (twin document with version), device polls for changes, detects delta, applies change, reports new state, cloud reconciles (last-write-wins or version vector), handle offline devices (queue commands, apply on reconnect up to 7 days)
27
+ - Build telemetry pipeline with windowing: ingest raw sensor data (temperature, pressure, vibration at 1 Hz) → stream processor aggregates (1-minute windows: avg, min, max, stddev) → anomaly detection (Z-score >3 triggers alert) → store aggregates (reduce storage 60x), retain raw data for 7 days (hot storage), archive aggregates for 5 years (cold storage)
28
+
29
+ ### After implementation
30
+ - Validate device connectivity resilience: simulate network failures (disconnect device mid-message), verify QoS 1 retries (message delivered after reconnect), test persistent sessions (broker retains subscriptions), measure reconnect time (<5s for 95th percentile), verify backoff exponential retry (1s, 2s, 4s, 8s, max 60s)
31
+ - Test firmware OTA reliability: simulate power loss during download (resume from last chunk), corrupt firmware signature (device rejects), partial update failure (automatic rollback to previous version), measure update success rate (>99% for targeted devices), track update latency (time from campaign start to device running new firmware)
32
+ - Execute telemetry load testing: simulate 10K devices sending data at 1 Hz (10K msg/sec), measure broker latency (p99 <100ms), stream processor lag (<1s behind real-time), database write throughput (handle burst traffic 10x normal), verify no message loss (QoS 1 delivery confirmed)
33
+
34
+ ## Self-check before task completion
35
+ - [ ] Device lifecycle managed: provisioning (cert issuance, registration), active (telemetry/commands), maintenance (OTA updates), decommissioning (cert revocation)
36
+ - [ ] MQTT broker scalable: 100K+ concurrent connections, QoS 0/1/2 support, topic ACLs, retained messages, LWT for disconnect detection
37
+ - [ ] Device provisioning secure: factory cert → CSR → device-specific cert (signed by CA), stored in secure element (TPM/TEE), cert-based MQTT auth
38
+ - [ ] Firmware OTA robust: resumable downloads (chunk-by-chunk), signature validation (RSA/ECDSA), dual-partition swap, automatic rollback on failure
39
+ - [ ] Device twin functional: desired vs reported state, delta detection, command queuing for offline devices (7 day retention), conflict resolution
40
+ - [ ] Telemetry pipeline optimized: windowed aggregation (1-min windows), anomaly detection (Z-score >3), hot/cold storage tiering (7 days raw, 5 years aggregates)
41
+ - [ ] Connectivity resilient: QoS 1 retries, persistent sessions, exponential backoff (1s to 60s), reconnect time <5s for 95th percentile