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,141 @@
1
+ ---
2
+ name: dmux-workflows
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.0.5
5
+ status: stable
6
+ triggers: dmux, parallel agents, multi-model orchestration, tmux agents, worktree parallel, parallel panes, concurrent execution, multi-harness, orchestrate workers, split work, fan out, parallel branches
7
+ ---
8
+
9
+ # Skill — Dmux Workflows (Multi-Agent Parallel Execution)
10
+
11
+ ## When this skill activates
12
+
13
+ When executing multiple independent tasks simultaneously using parallel agent
14
+ instances, tmux panes, or git worktrees. Use when facing 2+ tasks that have no
15
+ shared state, no sequential dependencies, and would benefit from concurrent
16
+ execution. Handles isolation, coordination, and merge strategies for parallel work.
17
+
18
+ Core principle: **Independence before parallelism** — never parallelize tasks that
19
+ touch the same files or depend on each other's output.
20
+
21
+ ## Mandatory actions when this skill is active
22
+
23
+ ### Before parallel execution begins
24
+
25
+ 1. **Task decomposition:**
26
+ - List all subtasks in the current work item
27
+ - For each pair of subtasks, verify: do they touch the same files? (NO required)
28
+ - For each pair, verify: does one depend on the other's output? (NO required)
29
+ - If ANY dependency exists: serialize those tasks, parallelize the rest
30
+
31
+ 2. **Worker definition:**
32
+ ```json
33
+ {
34
+ "session": "dmux-[feature-name]",
35
+ "workers": [
36
+ {
37
+ "name": "worker-1-description",
38
+ "task": "specific task instructions",
39
+ "model": "sonnet|opus|haiku",
40
+ "branch": "feat/[feature]-[subtask]",
41
+ "files": ["list", "of", "files", "this", "worker", "touches"],
42
+ "timeout_minutes": 30
43
+ }
44
+ ]
45
+ }
46
+ ```
47
+
48
+ 3. **Independence verification matrix:**
49
+ - Create file-touch matrix: workers (rows) x files (columns)
50
+ - If any column has more than one worker marked: STOP, restructure tasks
51
+ - This is the critical safety check — skip it and you get merge conflicts
52
+
53
+ 4. **Select execution pattern:**
54
+
55
+ | Pattern | Workers | Use when |
56
+ |---------|---------|----------|
57
+ | Research + Implement | 2 | One explores options, other builds after |
58
+ | Multi-file | 2-4 | Each worker owns distinct files |
59
+ | Test + Fix | 2 | Watcher finds bugs, fixer resolves them |
60
+ | Cross-model review | 3 | Security + perf + coverage perspectives |
61
+ | Fan-out gather | 3-5 | Same prompt, different models, best-of-N |
62
+
63
+ ### During parallel execution
64
+
65
+ **Launch protocol:**
66
+ 1. Create tmux session: `tmux new-session -d -s dmux-[name]`
67
+ 2. For each worker beyond the first: `tmux split-window` or `tmux new-window`
68
+ 3. Set up git worktree for each pane:
69
+ ```bash
70
+ git worktree add ../worktree-[worker-name] -b [worker-branch]
71
+ ```
72
+ 4. Launch agent in each pane with task-specific instructions
73
+ 5. Maximum 5-6 panes (beyond this, coordination overhead exceeds benefit)
74
+
75
+ **Isolation guarantees:**
76
+ - Each worker operates in its own worktree (filesystem isolation)
77
+ - Each worker has its own branch (git isolation)
78
+ - No worker reads files that another worker writes
79
+ - Workers do NOT communicate during execution (no shared state)
80
+
81
+ **Monitoring during execution:**
82
+ - Check pane output periodically for errors or stalls
83
+ - If a worker finishes early: do NOT reassign it (avoid introducing dependencies)
84
+ - If a worker fails: note the failure, continue others, address in merge phase
85
+ - Track wall-clock time per worker for future estimation
86
+
87
+ **Resource constraints:**
88
+ - Max 5-6 concurrent panes (token budget and context limits)
89
+ - Each worker should complete within its timeout
90
+ - If total token usage exceeds budget: kill lowest-priority worker first
91
+ - Prefer fewer workers with clear tasks over many workers with vague tasks
92
+
93
+ ### After parallel execution
94
+
95
+ 1. **Merge strategy (sequential, NOT parallel):**
96
+ - Review each worker's output independently
97
+ - Verify each worker stayed within its file boundaries
98
+ - Merge workers one at a time into the integration branch:
99
+ ```bash
100
+ git checkout main-feature-branch
101
+ git merge worktree-[worker-1-branch] --no-ff
102
+ # verify tests pass
103
+ git merge worktree-[worker-2-branch] --no-ff
104
+ # verify tests pass
105
+ # repeat for each worker
106
+ ```
107
+ - Run full test suite after all merges
108
+
109
+ 2. **Conflict resolution:**
110
+ - If merge conflict occurs: investigate which worker violated boundaries
111
+ - Resolve manually (do not auto-resolve — understand the conflict)
112
+ - Add the conflicting files to a "shared files" list for future runs
113
+
114
+ 3. **Cleanup:**
115
+ - Remove all worktrees: `git worktree remove ../worktree-[name]`
116
+ - Delete worker branches if fully merged
117
+ - Close tmux session: `tmux kill-session -t dmux-[name]`
118
+ - Consolidate results into a single summary
119
+
120
+ 4. **Results consolidation:**
121
+ ```
122
+ ## Dmux Execution Report
123
+ - Session: dmux-[name]
124
+ - Workers: N launched, M succeeded, F failed
125
+ - Wall-clock time: X minutes (vs estimated Y sequential)
126
+ - Speedup factor: sequential_time / parallel_time
127
+ - Conflicts: [none | list with resolution]
128
+ - Output: [summary of what each worker produced]
129
+ ```
130
+
131
+ ## Self-check before task completion
132
+
133
+ Before marking a parallel execution task done:
134
+
135
+ - [ ] Did I verify task independence (no shared files, no output dependencies)?
136
+ - [ ] Did I use git worktrees for filesystem isolation?
137
+ - [ ] Did I stay within the 5-6 pane maximum?
138
+ - [ ] Did I review each worker's output independently before merging?
139
+ - [ ] Did I run full tests after all merges completed?
140
+ - [ ] Did I clean up worktrees and close the tmux session?
141
+ - [ ] Did I document the speedup factor and any conflicts encountered?
@@ -0,0 +1,167 @@
1
+ ---
2
+ name: dns-architecture
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.1.1
5
+ status: stable
6
+ triggers: dns architecture, dns load balancing, dns failover, GeoDNS, TTL strategy, dns service discovery, dns-based routing, dns health check, dns propagation, anycast dns, dns caching layer, dns resolution chain
7
+ ---
8
+
9
+ # Skill — DNS Architecture
10
+
11
+ ## When this skill activates
12
+ Any task involving DNS-based traffic management, load balancing via DNS,
13
+ failover strategies, GeoDNS routing, service discovery using DNS,
14
+ or TTL optimization for high-availability systems.
15
+
16
+ ## Mandatory actions when this skill is active
17
+
18
+ ### Before writing any code
19
+ 1. Map the DNS resolution chain (client → resolver → authoritative → response).
20
+ 2. Identify failover requirements (RTO target determines TTL).
21
+ 3. Decide routing strategy (round-robin, weighted, latency, geo, failover).
22
+ 4. Determine health check mechanism for DNS-managed endpoints.
23
+
24
+ ### During implementation
25
+ - Set TTL appropriate to failover speed requirements.
26
+ - Implement health checks for all DNS-managed endpoints.
27
+ - Use anycast for latency-critical global services.
28
+ - Configure both primary and secondary DNS providers for resilience.
29
+ - Document propagation delays for operational runbooks.
30
+ - Never rely on DNS as sole load balancer for sub-second failover.
31
+
32
+ ### After implementation
33
+ - Verify health checks remove unhealthy endpoints within TTL window.
34
+ - Test failover scenario end-to-end (kill primary, measure recovery time).
35
+ - Confirm GeoDNS routes correctly from each target region.
36
+ - Monitor DNS resolution latency and error rates.
37
+ - Validate TTL behavior in major resolvers (Google, Cloudflare, ISP).
38
+
39
+ ## DNS Load Balancing
40
+
41
+ ### Strategies
42
+ | Strategy | How It Works | Best For |
43
+ |----------|-------------|----------|
44
+ | Round-robin | Rotate through A records | Simple distribution |
45
+ | Weighted | Assign weight per endpoint | Canary, capacity differences |
46
+ | Latency-based | Route to lowest-latency endpoint | Global services |
47
+ | Failover | Primary/secondary with health check | HA with clear primary |
48
+ | Geo | Route by resolver geography | Data sovereignty, latency |
49
+
50
+ ### Limitations
51
+ - DNS caching means changes take TTL seconds to propagate.
52
+ - Client-side caching may ignore TTL (some browsers cache 60s minimum).
53
+ - Cannot do sub-second failover via DNS alone.
54
+ - Resolver location != user location (use EDNS Client Subnet to improve).
55
+
56
+ ## GeoDNS
57
+
58
+ ### How It Works
59
+ 1. DNS query arrives at authoritative server.
60
+ 2. Server determines resolver's geographic location (via IP geolocation).
61
+ 3. Returns IP address of nearest datacenter.
62
+ 4. EDNS Client Subnet (ECS) improves accuracy by passing client subnet.
63
+
64
+ ### Configuration
65
+ ```
66
+ # Example GeoDNS policy
67
+ api.example.com:
68
+ default: us-east-1.api.example.com
69
+ EU: eu-west-1.api.example.com
70
+ APAC: ap-southeast-1.api.example.com
71
+ fallback: us-east-1.api.example.com # if region unhealthy
72
+ ```
73
+
74
+ ### Considerations
75
+ - Resolver location != user location (corporate DNS, VPN users).
76
+ - ECS support improves accuracy but not universally supported.
77
+ - Always have fallback for unresolvable regions.
78
+ - Test from each target region to verify correct routing.
79
+
80
+ ## TTL Strategy
81
+
82
+ ### TTL Decision Framework
83
+ | Scenario | Recommended TTL | Reason |
84
+ |----------|----------------|--------|
85
+ | Fast failover needed | 30-60 seconds | Quick removal of unhealthy |
86
+ | Normal operation | 300 seconds (5 min) | Balance between freshness and cache |
87
+ | Static content CDN | 3600 seconds (1 hour) | Rarely changes, maximize cache |
88
+ | During migration | 60 seconds | Prepare for cutover |
89
+ | After migration stable | 300-3600 seconds | Return to normal caching |
90
+
91
+ ### TTL Trade-offs
92
+ - **Low TTL (30s)**: Fast failover, more DNS queries, higher authoritative load.
93
+ - **High TTL (3600s)**: Fewer queries, better cache hit rate, slow failover.
94
+ - **Strategy**: Lower TTL before planned changes, raise after stability confirmed.
95
+
96
+ ### Propagation Reality
97
+ - TTL expiry != instant propagation.
98
+ - Some resolvers enforce minimum TTL (30s-60s).
99
+ - Browser DNS cache may ignore TTL entirely.
100
+ - Java apps cache DNS indefinitely by default (set `networkaddress.cache.ttl`).
101
+
102
+ ## Service Discovery via DNS
103
+
104
+ ### Internal Service Discovery
105
+ - Use internal DNS zone (e.g., `service.internal`).
106
+ - SRV records provide port discovery alongside host.
107
+ - Short TTL (5-15s) for dynamic service registration.
108
+
109
+ ### SRV Records
110
+ ```
111
+ _http._tcp.api.internal. 15 IN SRV 10 100 8080 api-pod-1.internal.
112
+ _http._tcp.api.internal. 15 IN SRV 10 100 8080 api-pod-2.internal.
113
+ ```
114
+
115
+ ### Kubernetes DNS
116
+ - Service discovery built-in: `service-name.namespace.svc.cluster.local`.
117
+ - Headless services return individual pod IPs.
118
+ - ExternalName services alias external endpoints.
119
+
120
+ ## Anycast DNS
121
+
122
+ ### How It Works
123
+ - Multiple servers advertise the same IP address via BGP.
124
+ - Network routes traffic to the nearest server (by BGP path).
125
+ - If one server goes down, BGP re-routes to next nearest.
126
+
127
+ ### Use Cases
128
+ - Authoritative DNS servers (Cloudflare, Route53).
129
+ - CDN edge nodes.
130
+ - DDoS mitigation (absorb attack across multiple PoPs).
131
+
132
+ ### Considerations
133
+ - Failover speed depends on BGP convergence (seconds to minutes).
134
+ - TCP connections break on route change (DNS is UDP, so usually fine).
135
+ - Not suitable for stateful protocols without session persistence.
136
+
137
+ ## Health Checks
138
+
139
+ ### DNS Health Check Pattern
140
+ 1. Health checker probes endpoints at regular intervals (10-30s).
141
+ 2. If endpoint fails N consecutive checks, remove from DNS response.
142
+ 3. Continue probing. If endpoint recovers, add back after M consecutive successes.
143
+ 4. Removal takes effect within TTL seconds (resolver cache expiry).
144
+
145
+ ### Health Check Types
146
+ | Type | Checks | Use For |
147
+ |------|--------|---------|
148
+ | TCP | Port open | Basic availability |
149
+ | HTTP | Status 200 + body match | Application health |
150
+ | HTTPS | Valid cert + status | Full stack health |
151
+ | Custom | Business logic probe | Application-specific |
152
+
153
+ ### Timing
154
+ - Check interval: 10-30 seconds.
155
+ - Failure threshold: 2-3 consecutive failures.
156
+ - Recovery threshold: 2-3 consecutive successes.
157
+ - Effective failover time: check_interval × failure_threshold + TTL.
158
+
159
+ ## Self-check
160
+ - [ ] TTL set appropriate to failover speed requirement.
161
+ - [ ] Health checks configured for all DNS-managed endpoints.
162
+ - [ ] Failover tested end-to-end (measured recovery time).
163
+ - [ ] GeoDNS verified from target regions.
164
+ - [ ] Secondary DNS provider configured for resilience.
165
+ - [ ] Propagation delays documented in runbook.
166
+ - [ ] Client-side DNS caching behavior accounted for.
167
+ - [ ] Monitoring in place for resolution latency and errors.
@@ -0,0 +1,102 @@
1
+ ---
2
+ name: doc-health-audit
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.0.3
5
+ status: stable
6
+ triggers: documentation audit, doc health, stale docs, outdated documentation, README outdated, doc maintenance, documentation drift, claim validation, doc review, doc coverage, broken links
7
+ compose:
8
+ - documentation
9
+ ---
10
+
11
+ # Skill — Documentation Health Audit
12
+
13
+ ## When this skill activates
14
+ When reviewing documentation quality, checking for staleness, validating
15
+ code references in docs, or performing periodic maintenance on project documentation.
16
+
17
+ ## Mandatory actions when this skill is active
18
+
19
+ ### Before auditing
20
+ 1. Identify all documentation files in the project (README, docs/, CHANGELOG, API docs, etc.)
21
+ 2. Note the last modification date of each doc file
22
+ 3. Note recent code changes that SHOULD have triggered doc updates
23
+
24
+ ### The 5-Point Health Check
25
+
26
+ **1. Claim Validation**
27
+ For every factual claim in docs (code examples, API signatures, file paths):
28
+ - Verify the referenced code/file ACTUALLY EXISTS
29
+ - Verify code examples COMPILE and RUN correctly
30
+ - Verify API signatures match current implementation
31
+ - Flag any claim that cannot be verified as "UNVERIFIED"
32
+
33
+ **2. Staleness Detection**
34
+ A doc is STALE if:
35
+ - Code it references has changed since the doc was last updated
36
+ - More than 20 commits have touched referenced files without doc update
37
+ - It references deprecated APIs, removed features, or old patterns
38
+ - Version numbers or counts are outdated
39
+
40
+ **3. Coverage Gaps**
41
+ Check for undocumented areas:
42
+ - Public APIs without usage examples
43
+ - Features without user-facing documentation
44
+ - Error codes without explanation
45
+ - Configuration options without description
46
+ - New files/modules without architectural context
47
+
48
+ **4. Consistency Check**
49
+ Across all docs, verify:
50
+ - Version numbers are consistent (README vs package.json vs CHANGELOG)
51
+ - Naming is consistent (same feature called the same thing everywhere)
52
+ - Instructions don't contradict each other
53
+ - Links between docs are not broken (internal cross-references)
54
+
55
+ **5. Maintenance Scoring**
56
+ Score each doc file 0-10:
57
+ - 9-10: Current, accurate, comprehensive
58
+ - 6-8: Minor issues (outdated example, missing edge case)
59
+ - 3-5: Significant staleness (multiple outdated references)
60
+ - 0-2: Dangerously outdated (actively misleading)
61
+
62
+ ### Output Format
63
+
64
+ Write to `.planning/DOC-HEALTH-REPORT-[timestamp].md`:
65
+ ```markdown
66
+ # Documentation Health Report
67
+ Date: [timestamp]
68
+ Files audited: [count]
69
+ Overall score: [average across all files]
70
+
71
+ ## Critical Findings (score 0-2)
72
+ | File | Issue | Impact |
73
+ ...
74
+
75
+ ## Stale Docs (score 3-5)
76
+ | File | Last Updated | Code Changes Since | Top Issue |
77
+ ...
78
+
79
+ ## Healthy Docs (score 6+)
80
+ | File | Score | Minor Issues |
81
+ ...
82
+
83
+ ## Coverage Gaps
84
+ - [undocumented area 1]
85
+ - [undocumented area 2]
86
+
87
+ ## Recommendations (prioritized)
88
+ 1. [highest impact fix]
89
+ 2. ...
90
+ ```
91
+
92
+ ### After audit
93
+ - Create action items for all Critical findings (score 0-2)
94
+ - Suggest specific fixes for Stale docs
95
+ - Log audit summary in AUDIT
96
+ - Consider: should any finding become an instinct? (e.g., "always update README when adding new commands")
97
+
98
+ ## Self-check before task completion
99
+ - [ ] Did I verify code references in docs actually exist?
100
+ - [ ] Did I check code examples compile/run correctly?
101
+ - [ ] Did I produce a DOC-HEALTH-REPORT with per-file scores?
102
+ - [ ] Did I create action items for any Critical findings (score 0-2)?
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: ecommerce-architecture
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.2.0
5
+ status: stable
6
+ triggers: ecommerce architecture, shopping cart design, checkout flow optimization, inventory management system, pricing engine, order lifecycle management, marketplace architecture, product catalog design, ecommerce platform, fulfillment system, order routing, dynamic pricing
7
+ compose: caching-strategies
8
+ ---
9
+
10
+ # Skill — Ecommerce Architecture
11
+
12
+ ## When this skill activates
13
+ This skill activates when designing shopping cart flows, checkout experiences, inventory management systems, pricing engines, order lifecycle workflows, product catalog architectures, marketplace platforms, or fulfillment/logistics systems for ecommerce.
14
+
15
+ ## Mandatory actions when this skill is active
16
+
17
+ ### Before writing any code
18
+ 1. Design cart and checkout state machine: anonymous cart → logged-in cart (merge/replace strategy), cart → checkout (address validation), checkout → payment → order confirmation, with explicit timeout handling for abandoned carts (30 min session, 7 day recovery email)
19
+ 2. Model inventory architecture: real-time available-to-promise (ATP) calculation across warehouses, reserved inventory during checkout (soft hold 15 min, hard hold at payment), backorder handling, and oversell prevention with pessimistic locking
20
+ 3. Map order lifecycle stages: order placed → payment authorized → fraud screening → fulfillment assigned → picked → packed → shipped → delivered → returns window, with event-driven state transitions and webhook notifications at each stage
21
+
22
+ ### During implementation
23
+ - Implement cart persistence with multi-device sync: store cart in database (not just sessions), deduplicate items by SKU+options hash, handle quantity updates with stock validation, expire abandoned carts after 30 days, support guest cart migration to user account on login
24
+ - Build pricing engine with rule evaluation: base price → promotional discounts (BOGO, percentage off, fixed amount) → coupon codes (stackable/non-stackable) → volume discounts → tax calculation (Avalara/TaxJar API), with price display consistency (cart/checkout/confirmation must match)
25
+ - Design inventory reservation system: when checkout starts, create soft reservation (pessimistic lock), release on timeout or explicit cancel, convert to hard reservation on payment success, allocate to specific warehouse based on proximity to shipping address and stock availability
26
+ - Implement order routing logic: evaluate fulfillment options (ship from warehouse, dropship from vendor, ship from store), calculate shipping cost and delivery ETA per option, optimize for cost vs speed vs carbon footprint, handle split shipments when inventory spans locations
27
+ - Build product catalog with faceted search: index products in Elasticsearch/Algolia with attributes (category, brand, color, size, price), support filters (multi-select facets), range queries (price slider), text search with typo tolerance, and sort options (relevance, price, rating, recency)
28
+
29
+ ### After implementation
30
+ - Validate checkout flow conversion: measure cart abandonment rate by stage (cart → checkout → payment → confirmation), identify friction points (shipping cost surprise, account creation forced, payment failure), implement address autocomplete (Google Places API), express checkout options (Apple Pay, Shop Pay)
31
+ - Test inventory consistency under load: simulate concurrent purchases of last item in stock (race condition), verify oversell prevention, validate soft reservation expiry releases inventory back to available pool, confirm hard reservation deducts from ATP correctly
32
+ - Execute fraud screening integration: verify address verification system (AVS) checks, CVV validation, velocity checks (too many orders from same IP/card), device fingerprinting (Sift/Forter), manual review queue for high-risk orders
33
+
34
+ ## Self-check before task completion
35
+ - [ ] Cart supports guest and logged-in users, syncs across devices, handles item updates with real-time stock validation
36
+ - [ ] Pricing engine evaluates all discount layers (promotions → coupons → volume → tax) with consistent display across cart/checkout/confirmation
37
+ - [ ] Inventory reservation implemented: soft hold during checkout (15 min timeout), hard hold post-payment, pessimistic locking prevents oversell
38
+ - [ ] Checkout flow optimized: address autocomplete, saved payment methods, express checkout options (Apple Pay), progress indicator
39
+ - [ ] Order lifecycle event-driven: state machine with webhook notifications (order placed, shipped, delivered), customer email templates
40
+ - [ ] Product catalog searchable: faceted filters, text search with typo tolerance, sort options, pagination or infinite scroll
41
+ - [ ] Fraud screening integrated: AVS/CVV checks, velocity limits, device fingerprinting, manual review queue for high-risk transactions
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: edge-computing
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.1.1
5
+ status: stable
6
+ triggers: edge computing, edge function, CDN compute, edge worker, latency optimization, data locality, edge caching, cloudflare workers, deno deploy, edge runtime, compute at edge, edge-first architecture
7
+ ---
8
+
9
+ # Skill — Edge Computing
10
+
11
+ ## When this skill activates
12
+ Any task involving moving computation closer to users at the network edge,
13
+ designing edge functions, optimizing latency through geographic distribution,
14
+ or evaluating edge vs origin placement decisions.
15
+
16
+ ## Mandatory actions when this skill is active
17
+
18
+ ### Before writing any code
19
+ 1. Identify latency-sensitive paths that benefit from edge execution.
20
+ 2. Decide edge vs origin for each operation using the decision matrix:
21
+ - Latency-sensitive reads → edge
22
+ - Data-heavy computation → origin
23
+ - Personalization with small state → edge
24
+ - Writes requiring strong consistency → origin
25
+ 3. Document runtime constraints (time limits, memory, bundle size).
26
+
27
+ ### During implementation
28
+ - Keep edge function bundles small (<1MB) to minimize cold starts.
29
+ - Avoid heavy imports — each dependency adds cold start latency.
30
+ - Use stale-while-revalidate for cache coordination.
31
+ - Handle edge-to-origin fallback gracefully.
32
+ - Never rely on persistent connections at edge (stateless by design).
33
+ - Implement proper cache-control headers at every layer.
34
+
35
+ ### After implementation
36
+ - Measure actual latency improvement from edge deployment.
37
+ - Verify data locality compliance (GDPR region constraints).
38
+ - Test cold start performance under real traffic patterns.
39
+ - Monitor edge function error rates per region.
40
+
41
+ ## Edge vs Origin Decision Framework
42
+
43
+ | Signal | Edge | Origin |
44
+ |--------|------|--------|
45
+ | Latency-critical (<50ms target) | Yes | No |
46
+ | Heavy computation (>50ms CPU) | No | Yes |
47
+ | Personalization (small state) | Yes | No |
48
+ | Database writes | No | Yes |
49
+ | Static asset serving | Yes | No |
50
+ | Auth token validation | Yes | No |
51
+ | Complex business logic | No | Yes |
52
+
53
+ ## Platform Patterns
54
+
55
+ ### Cloudflare Workers
56
+ - V8 isolate model (no container cold start).
57
+ - KV for eventual-consistent edge state.
58
+ - Durable Objects for strong consistency at edge.
59
+ - R2 for edge-local object storage.
60
+
61
+ ### Vercel Edge Functions
62
+ - Runs on Cloudflare infrastructure.
63
+ - Streaming responses supported.
64
+ - Middleware pattern for auth/redirects.
65
+
66
+ ### Deno Deploy
67
+ - Global V8 isolates with zero cold start.
68
+ - Built-in KV for edge state.
69
+ - Native Web APIs (fetch, streams, crypto).
70
+
71
+ ## Caching Strategy at Edge
72
+ - `Cache-Control: public, max-age=60, stale-while-revalidate=300` for dynamic content.
73
+ - `Cache-Control: public, max-age=31536000, immutable` for hashed static assets.
74
+ - Purge on deploy for cache invalidation.
75
+ - Use cache tags for granular invalidation.
76
+
77
+ ## Limitations to Always Consider
78
+ - Time limits (typically 30s-50ms CPU time depending on platform).
79
+ - Memory limits (128MB typical).
80
+ - No persistent connections (WebSocket requires special handling).
81
+ - Bundle size constraints (1-10MB depending on platform).
82
+ - Limited Node.js API compatibility at edge.
83
+ - Eventual consistency for distributed edge state.
84
+
85
+ ## Self-check
86
+ - [ ] Edge vs origin decision documented for each function.
87
+ - [ ] Cold start measured and acceptable (<50ms target).
88
+ - [ ] Bundle size within platform limits.
89
+ - [ ] Fallback to origin implemented for edge failures.
90
+ - [ ] Data locality compliant with regulatory requirements.
91
+ - [ ] Cache headers set correctly at every layer.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: edtech-platform
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.2.0
5
+ status: stable
6
+ triggers: edtech platform, learning management system, adaptive learning algorithm, assessment engine, educational content delivery, student progress tracking, course management, LMS architecture, online learning platform, competency framework, learning path design, educational analytics
7
+ ---
8
+
9
+ # Skill — EdTech Platform
10
+
11
+ ## When this skill activates
12
+ This skill activates when building learning management systems (LMS), adaptive learning algorithms, assessment/quiz engines, course content delivery platforms, student progress tracking, competency frameworks, learning path recommendations, or educational analytics dashboards.
13
+
14
+ ## Mandatory actions when this skill is active
15
+
16
+ ### Before writing any code
17
+ 1. Design learning object model: courses → modules → lessons → activities (video, reading, quiz, assignment), with prerequisite dependencies (DAG validation), completion criteria per activity type (watch 80% of video, pass quiz with 70%, submit assignment), and progress rollup to course level
18
+ 2. Model assessment engine: question bank with metadata (difficulty, topic tags, bloom's taxonomy level), quiz generation (random selection from pool, fixed seed for consistency), scoring rubrics (multiple choice auto-grade, short answer manual review, peer assessment), and partial credit support
19
+ 3. Map adaptive learning logic: knowledge graph (concepts and prerequisite relationships), learner profiling (mastery level per concept, learning velocity, preferred modalities), content recommendation (serve easier/harder content based on performance), and remediation paths (loop back to foundational concepts on failure)
20
+
21
+ ### During implementation
22
+ - Implement content delivery with engagement tracking: video player with playback position persistence (resume from last position), event logging (play, pause, seek, speed change, completion), transcripts with search, captions in multiple languages, quality selection (adaptive bitrate for mobile), and download for offline access
23
+ - Build assessment engine with anti-cheating measures: randomize question order, shuffle answer choices, time limits per question, lockdown browser detection (fullscreen enforcement, tab switch detection), plagiarism detection (Turnitin API, cosine similarity for text), and proctoring integration (webcam monitoring, eye tracking)
24
+ - Design progress tracking with granular analytics: store activity completion events (user_id, activity_id, timestamp, score, time_spent), aggregate to module/course level, calculate metrics (completion rate, average score, time to completion), identify at-risk students (falling behind pace, multiple failed attempts), trigger interventions (reminder emails, instructor notifications)
25
+ - Implement competency-based progression: define competencies with proficiency levels (novice, intermediate, advanced, expert), map learning activities to competencies, assess mastery through multiple evidence points (quiz scores, assignment grades, peer reviews), unlock next level only when threshold met (80% proficiency)
26
+ - Build discussion forums with moderation: threaded conversations, upvote/downvote, instructor endorsements, tag filtering (question, announcement, discussion), spam detection (rate limiting, keyword filters, ML-based flagging), and content moderation queue
27
+
28
+ ### After implementation
29
+ - Validate learning analytics accuracy: verify completion tracking (activity marked complete only when criteria met), score calculation (weighted averages for modules/courses), progress rollup (course progress reflects all module progress), and leaderboard consistency (rank students by total points, handle ties)
30
+ - Test adaptive learning effectiveness: measure learning velocity (time to achieve 80% mastery per concept), retention rate (re-test after 1 week), engagement metrics (video watch time, quiz attempts, forum participation), compare adaptive vs linear paths (A/B test for cohort outcomes)
31
+ - Execute accessibility compliance audit: WCAG 2.1 AA conformance (video captions, keyboard navigation, screen reader support), alternative formats (transcripts, audio descriptions), color contrast checks (4.5:1 for text), and assistive technology testing (NVDA, JAWS)
32
+
33
+ ## Self-check before task completion
34
+ - [ ] Learning object hierarchy implemented: courses → modules → lessons → activities with prerequisite enforcement (DAG validation)
35
+ - [ ] Content delivery tracks engagement: video playback position, event logs, transcript search, adaptive bitrate, offline download
36
+ - [ ] Assessment engine supports multiple question types: multiple choice, short answer, essay, peer assessment, with auto-grading and manual review workflows
37
+ - [ ] Anti-cheating measures active: randomized questions, time limits, lockdown browser, plagiarism detection, proctoring integration
38
+ - [ ] Progress tracking granular: activity-level completion events, aggregate metrics at module/course level, at-risk student identification
39
+ - [ ] Adaptive learning functional: knowledge graph, learner profiling, content recommendation based on mastery, remediation paths
40
+ - [ ] Competency-based progression: proficiency levels, evidence-based mastery assessment, unlock gates for next level
41
+ - [ ] Accessibility compliant: WCAG 2.1 AA (captions, keyboard nav, screen reader), alternative formats, color contrast