@caoscompanybr/merlin 3.5.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 (762) hide show
  1. package/.claude/CLAUDE.md +216 -0
  2. package/.claude/hooks/README-license-gate.md +45 -0
  3. package/.claude/hooks/auto-summarize.js +47 -0
  4. package/.claude/hooks/context-monitor.js +60 -0
  5. package/.claude/hooks/doc-sync.js +111 -0
  6. package/.claude/hooks/license-gate.cjs +59 -0
  7. package/.claude/hooks/session-reset.js +27 -0
  8. package/.claude/hooks/thoughts-indexer.js +80 -0
  9. package/.claude/rules/merlin-constitution.md +27 -0
  10. package/.merlin-core/commands/README.md +19 -0
  11. package/.merlin-core/commands/founder-mode.md +51 -0
  12. package/.merlin-core/commands/git/commit.md +35 -0
  13. package/.merlin-core/commands/git/describe-pr.md +43 -0
  14. package/.merlin-core/commands/git/safe-commit.md +182 -0
  15. package/.merlin-core/commands/implementation/implement-plan.md +129 -0
  16. package/.merlin-core/commands/implementation/oneshot.md +63 -0
  17. package/.merlin-core/commands/implementation/tdd.md +152 -0
  18. package/.merlin-core/commands/planning/create-plan.md +184 -0
  19. package/.merlin-core/commands/planning/iterate-plan.md +45 -0
  20. package/.merlin-core/commands/planning/validate-plan.md +48 -0
  21. package/.merlin-core/commands/research/analyze-issue.md +155 -0
  22. package/.merlin-core/commands/research/research-codebase.md +157 -0
  23. package/.merlin-core/commands/review/adversarial-review.md +112 -0
  24. package/.merlin-core/commands/review/check.md +91 -0
  25. package/.merlin-core/commands/review/debug.md +135 -0
  26. package/.merlin-core/commands/review/doubts.md +178 -0
  27. package/.merlin-core/commands/review/engineering-audit.md +87 -0
  28. package/.merlin-core/commands/review/local-review.md +48 -0
  29. package/.merlin-core/commands/review/verify-goals.md +83 -0
  30. package/.merlin-core/commands/session/capture-feedback.md +74 -0
  31. package/.merlin-core/commands/session/capture-learning.md +155 -0
  32. package/.merlin-core/commands/session/check-objectives.md +85 -0
  33. package/.merlin-core/commands/session/conclude.md +125 -0
  34. package/.merlin-core/commands/session/create-handoff.md +88 -0
  35. package/.merlin-core/commands/session/create-objective.md +111 -0
  36. package/.merlin-core/commands/session/create-process.md +105 -0
  37. package/.merlin-core/commands/session/create-reminder.md +86 -0
  38. package/.merlin-core/commands/session/fast-start.md +261 -0
  39. package/.merlin-core/commands/session/recall-learnings.md +79 -0
  40. package/.merlin-core/commands/session/recall-processes.md +74 -0
  41. package/.merlin-core/commands/session/resume-handoff.md +51 -0
  42. package/.merlin-core/commands/session/run-process.md +53 -0
  43. package/.merlin-core/commands/special/beauty.md +89 -0
  44. package/.merlin-core/commands/special/common-ground.md +114 -0
  45. package/.merlin-core/commands/special/elicit.md +98 -0
  46. package/.merlin-core/commands/special/party.md +66 -0
  47. package/.merlin-core/commands/special/scrape.md +78 -0
  48. package/.merlin-core/commands/special/skill-audit.md +128 -0
  49. package/.merlin-core/commands/special/start-here.md +132 -0
  50. package/.merlin-core/constitution.md +442 -0
  51. package/.merlin-core/core/README.md +19 -0
  52. package/.merlin-core/core/alkimia/README.md +20 -0
  53. package/.merlin-core/core/alkimia/context/context-tracker.js +209 -0
  54. package/.merlin-core/core/alkimia/domain/domain-loader.js +215 -0
  55. package/.merlin-core/core/alkimia/engine.js +284 -0
  56. package/.merlin-core/core/alkimia/layers/l0-constitution.js +47 -0
  57. package/.merlin-core/core/alkimia/layers/l1-global.js +58 -0
  58. package/.merlin-core/core/alkimia/layers/l2-agent.js +58 -0
  59. package/.merlin-core/core/alkimia/layers/l3-workflow.js +54 -0
  60. package/.merlin-core/core/alkimia/layers/l4-task.js +45 -0
  61. package/.merlin-core/core/alkimia/layers/l5-squad.js +161 -0
  62. package/.merlin-core/core/alkimia/layers/l6-skill.js +520 -0
  63. package/.merlin-core/core/alkimia/layers/l7-star-command.js +87 -0
  64. package/.merlin-core/core/alkimia/layers/layer-processor.js +78 -0
  65. package/.merlin-core/core/alkimia/mandate.js +46 -0
  66. package/.merlin-core/core/alkimia/memory/doc-sync.js +201 -0
  67. package/.merlin-core/core/alkimia/memory/document-sharder.js +272 -0
  68. package/.merlin-core/core/alkimia/memory/git-history-retriever.js +225 -0
  69. package/.merlin-core/core/alkimia/memory/memory-bridge.js +97 -0
  70. package/.merlin-core/core/alkimia/memory/session-analyzer.js +400 -0
  71. package/.merlin-core/core/alkimia/memory/thoughts-indexer.js +477 -0
  72. package/.merlin-core/core/alkimia/memory/thoughts-provider.js +603 -0
  73. package/.merlin-core/core/alkimia/output/formatter.js +464 -0
  74. package/.merlin-core/core/alkimia/security/content-sanitizer.js +140 -0
  75. package/.merlin-core/core/alkimia/skill-importer.js +440 -0
  76. package/.merlin-core/core/alkimia/squads/default/.synapse/manifest +17 -0
  77. package/.merlin-core/core/alkimia/utils/frontmatter.js +321 -0
  78. package/.merlin-core/core/alkimia/utils/tokens.js +24 -0
  79. package/.merlin-core/core/approval/README.md +16 -0
  80. package/.merlin-core/core/approval/approval-engine.js +380 -0
  81. package/.merlin-core/core/approval/channels/cli-channel.js +50 -0
  82. package/.merlin-core/core/config/README.md +17 -0
  83. package/.merlin-core/core/config/config-cache.js +182 -0
  84. package/.merlin-core/core/config/config-loader.js +279 -0
  85. package/.merlin-core/core/config/config-resolver.js +411 -0
  86. package/.merlin-core/core/config/env-interpolator.js +123 -0
  87. package/.merlin-core/core/config/merge-utils.js +102 -0
  88. package/.merlin-core/core/config/schemas/core-config.schema.json +41 -0
  89. package/.merlin-core/core/config/schemas/framework-config.schema.json +24 -0
  90. package/.merlin-core/core/config/schemas/local-config.schema.json +23 -0
  91. package/.merlin-core/core/config/schemas/project-config.schema.json +189 -0
  92. package/.merlin-core/core/docs-consistency.js +140 -0
  93. package/.merlin-core/core/events/event-bus.js +344 -0
  94. package/.merlin-core/core/events/hook-handler.js +419 -0
  95. package/.merlin-core/core/execution/README.md +17 -0
  96. package/.merlin-core/core/execution/attempt-journal.js +380 -0
  97. package/.merlin-core/core/execution/autonomous-build-loop.js +637 -0
  98. package/.merlin-core/core/execution/build-orchestrator.js +296 -0
  99. package/.merlin-core/core/execution/build-state-manager.js +196 -0
  100. package/.merlin-core/core/execution/context-injector.js +204 -0
  101. package/.merlin-core/core/execution/cron-engine.js +247 -0
  102. package/.merlin-core/core/execution/cron-expression.js +148 -0
  103. package/.merlin-core/core/execution/env-preflight.js +423 -0
  104. package/.merlin-core/core/execution/guardrail-engine.js +745 -0
  105. package/.merlin-core/core/execution/heartbeat-engine.js +198 -0
  106. package/.merlin-core/core/execution/model-router.js +282 -0
  107. package/.merlin-core/core/execution/parallel-executor.js +378 -0
  108. package/.merlin-core/core/execution/parallel-monitor.js +201 -0
  109. package/.merlin-core/core/execution/party-session.js +311 -0
  110. package/.merlin-core/core/execution/rate-limit-manager.js +152 -0
  111. package/.merlin-core/core/execution/result-aggregator.js +215 -0
  112. package/.merlin-core/core/execution/semantic-merge-engine.js +320 -0
  113. package/.merlin-core/core/execution/subagent-dispatcher.js +721 -0
  114. package/.merlin-core/core/execution/success-verifier.js +227 -0
  115. package/.merlin-core/core/execution/task-metadata.js +105 -0
  116. package/.merlin-core/core/execution/team-executor.js +195 -0
  117. package/.merlin-core/core/execution/two-tier-editor.js +290 -0
  118. package/.merlin-core/core/execution/version-snapshot.js +294 -0
  119. package/.merlin-core/core/execution/wave-executor.js +224 -0
  120. package/.merlin-core/core/health-check/health-engine.js +415 -0
  121. package/.merlin-core/core/licensing/activation.js +281 -0
  122. package/.merlin-core/core/licensing/crc.js +103 -0
  123. package/.merlin-core/core/licensing/entitlement.js +99 -0
  124. package/.merlin-core/core/licensing/fingerprint.js +104 -0
  125. package/.merlin-core/core/licensing/gate.js +133 -0
  126. package/.merlin-core/core/licensing/hmac.js +42 -0
  127. package/.merlin-core/core/licensing/key.js +144 -0
  128. package/.merlin-core/core/licensing/license.js +212 -0
  129. package/.merlin-core/core/mcp/README.md +16 -0
  130. package/.merlin-core/core/mcp/browser-capability.js +191 -0
  131. package/.merlin-core/core/mcp/capability-mapper.js +92 -0
  132. package/.merlin-core/core/mcp/mcp-connector.js +278 -0
  133. package/.merlin-core/core/mcp/mcp-registry.js +101 -0
  134. package/.merlin-core/core/orchestration/README.md +17 -0
  135. package/.merlin-core/core/orchestration/agent-invoker.js +456 -0
  136. package/.merlin-core/core/orchestration/condition-evaluator.js +250 -0
  137. package/.merlin-core/core/orchestration/decision-tree.js +192 -0
  138. package/.merlin-core/core/orchestration/executor-assignment.js +372 -0
  139. package/.merlin-core/core/orchestration/gate-evaluator.js +653 -0
  140. package/.merlin-core/core/orchestration/intent-classifier.js +579 -0
  141. package/.merlin-core/core/orchestration/lock-manager.js +308 -0
  142. package/.merlin-core/core/orchestration/master-orchestrator.js +363 -0
  143. package/.merlin-core/core/orchestration/phase-tool-masks.js +194 -0
  144. package/.merlin-core/core/orchestration/recovery-handler.js +402 -0
  145. package/.merlin-core/core/orchestration/reflect-checkpoint.js +431 -0
  146. package/.merlin-core/core/orchestration/session-state.js +430 -0
  147. package/.merlin-core/core/orchestration/skill-dispatcher.js +255 -0
  148. package/.merlin-core/core/orchestration/step-loader.js +226 -0
  149. package/.merlin-core/core/orchestration/workflow-executor.js +864 -0
  150. package/.merlin-core/core/process/executor.js +231 -0
  151. package/.merlin-core/core/process/process-file.js +50 -0
  152. package/.merlin-core/core/process/secret-scan.js +86 -0
  153. package/.merlin-core/core/process/signature.js +77 -0
  154. package/.merlin-core/core/quality-gates/README.md +17 -0
  155. package/.merlin-core/core/quality-gates/layer1-precommit.js +110 -0
  156. package/.merlin-core/core/quality-gates/layer2-pr-automation.js +116 -0
  157. package/.merlin-core/core/quality-gates/layer3-human-review.js +133 -0
  158. package/.merlin-core/core/registry/service-registry.js +140 -0
  159. package/.merlin-core/core-config.yaml +159 -0
  160. package/.merlin-core/development/README.md +17 -0
  161. package/.merlin-core/development/agents/README.md +16 -0
  162. package/.merlin-core/development/agents/analyst.md +214 -0
  163. package/.merlin-core/development/agents/architect.md +166 -0
  164. package/.merlin-core/development/agents/data-engineer.md +154 -0
  165. package/.merlin-core/development/agents/dev.md +203 -0
  166. package/.merlin-core/development/agents/devops.md +236 -0
  167. package/.merlin-core/development/agents/grimorio.md +125 -0
  168. package/.merlin-core/development/agents/merlin-master.md +173 -0
  169. package/.merlin-core/development/agents/meta.md +190 -0
  170. package/.merlin-core/development/agents/pm.md +145 -0
  171. package/.merlin-core/development/agents/po.md +172 -0
  172. package/.merlin-core/development/agents/qa.md +275 -0
  173. package/.merlin-core/development/agents/researcher.md +218 -0
  174. package/.merlin-core/development/agents/scout.md +179 -0
  175. package/.merlin-core/development/agents/sm.md +148 -0
  176. package/.merlin-core/development/agents/ux.md +169 -0
  177. package/.merlin-core/development/agents/web-researcher.md +203 -0
  178. package/.merlin-core/development/checklists/adversarial-review-checklist.md +70 -0
  179. package/.merlin-core/development/checklists/operations-ci-checklist.md +40 -0
  180. package/.merlin-core/development/checklists/operations-deploy-checklist.md +54 -0
  181. package/.merlin-core/development/checklists/operations-publish-checklist.md +47 -0
  182. package/.merlin-core/development/checklists/source-verification-checklist.md +38 -0
  183. package/.merlin-core/development/templates/HEARTBEAT-template.md +46 -0
  184. package/.merlin-core/development/templates/ears-requirements-template.md +93 -0
  185. package/.merlin-core/development/templates/handoff-template.md +50 -0
  186. package/.merlin-core/development/templates/prd-template.md +62 -0
  187. package/.merlin-core/development/templates/research-template.md +53 -0
  188. package/.merlin-core/development/templates/spec-template.md +84 -0
  189. package/.merlin-core/development/workflows/brownfield-discovery.yaml +166 -0
  190. package/.merlin-core/development/workflows/brownfield-service.yaml +52 -0
  191. package/.merlin-core/development/workflows/development-cycle.yaml +57 -0
  192. package/.merlin-core/development/workflows/epic-orchestration.yaml +47 -0
  193. package/.merlin-core/development/workflows/folloni-funnel.yaml +177 -0
  194. package/.merlin-core/development/workflows/greenfield-fullstack.yaml +167 -0
  195. package/.merlin-core/development/workflows/greenfield-service.yaml +56 -0
  196. package/.merlin-core/development/workflows/qa-loop.yaml +115 -0
  197. package/.merlin-core/development/workflows/spec-pipeline.yaml +185 -0
  198. package/.merlin-core/development/workflows/steps/folloni-01-research.yaml +35 -0
  199. package/.merlin-core/development/workflows/steps/folloni-02-architecture.yaml +41 -0
  200. package/.merlin-core/development/workflows/steps/folloni-03-implementation.yaml +52 -0
  201. package/.merlin-core/development/workflows/story-development-cycle.yaml +67 -0
  202. package/.merlin-core/docs/GUIDE.md +413 -0
  203. package/.merlin-core/docs/merlin-commands-guide-pt.md +183 -0
  204. package/.merlin-core/framework-config.yaml +148 -0
  205. package/.merlin-core/hooks/README.md +16 -0
  206. package/.merlin-core/hooks/precompact-memory-flush.js +69 -0
  207. package/.merlin-core/hooks/pretooluse-remote-approve.js +113 -0
  208. package/.merlin-core/hooks/spikes/spike-b-hook.js +70 -0
  209. package/.merlin-core/hooks/spikes/spike-b-stub.js +70 -0
  210. package/.merlin-core/index.js +91 -0
  211. package/.merlin-core/local-config.yaml.template +31 -0
  212. package/.merlin-core/mcp-servers/lsp-bridge/index.js +397 -0
  213. package/.merlin-core/modules/scraping/module.json +23 -0
  214. package/.merlin-core/project-config.yaml +89 -0
  215. package/.merlin-core/schemas/README.md +18 -0
  216. package/.merlin-core/schemas/agent-hook-schema.json +152 -0
  217. package/.merlin-core/schemas/agent-schema.json +31 -0
  218. package/.merlin-core/schemas/command-schema.json +18 -0
  219. package/.merlin-core/schemas/feedback-schema.json +36 -0
  220. package/.merlin-core/schemas/handoff-schema.json +19 -0
  221. package/.merlin-core/schemas/learning-schema.json +51 -0
  222. package/.merlin-core/schemas/module.schema.json +124 -0
  223. package/.merlin-core/schemas/must-haves-schema.json +95 -0
  224. package/.merlin-core/schemas/objective-schema.json +23 -0
  225. package/.merlin-core/schemas/plan-schema.json +20 -0
  226. package/.merlin-core/schemas/process-schema.json +82 -0
  227. package/.merlin-core/schemas/reminder-schema.json +20 -0
  228. package/.merlin-core/schemas/skill-eval-schema.json +92 -0
  229. package/.merlin-core/schemas/skill-schema.json +77 -0
  230. package/.merlin-core/schemas/workflow-schema.json +38 -0
  231. package/.merlin-core/skills/README.md +16 -0
  232. package/.merlin-core/skills/domain/azure-cloud/SKILL.md +211 -0
  233. package/.merlin-core/skills/domain/azure-cloud/references/appinsights-instrumentation.md +63 -0
  234. package/.merlin-core/skills/domain/azure-cloud/references/azure-compliance.md +99 -0
  235. package/.merlin-core/skills/domain/azure-cloud/references/azure-cost-optimization.md +419 -0
  236. package/.merlin-core/skills/domain/azure-cloud/references/azure-deploy.md +82 -0
  237. package/.merlin-core/skills/domain/azure-cloud/references/azure-diagnostics.md +130 -0
  238. package/.merlin-core/skills/domain/azure-cloud/references/azure-prepare.md +134 -0
  239. package/.merlin-core/skills/domain/azure-cloud/references/azure-quotas.md +290 -0
  240. package/.merlin-core/skills/domain/azure-cloud/references/azure-rbac.md +11 -0
  241. package/.merlin-core/skills/domain/azure-cloud/references/azure-resource-lookup.md +97 -0
  242. package/.merlin-core/skills/domain/azure-cloud/references/azure-resource-visualizer.md +178 -0
  243. package/.merlin-core/skills/domain/azure-cloud/references/azure-storage.md +91 -0
  244. package/.merlin-core/skills/domain/azure-cloud/references/azure-validate.md +58 -0
  245. package/.merlin-core/skills/domain/azure-cloud/references/entra-app-registration.md +192 -0
  246. package/.merlin-core/skills/domain/browser-automation/SKILL.md +311 -0
  247. package/.merlin-core/skills/domain/browser-automation/references/agent-browser-skill.md +632 -0
  248. package/.merlin-core/skills/domain/browser-automation/references/authentication.md +308 -0
  249. package/.merlin-core/skills/domain/browser-automation/references/commands.md +266 -0
  250. package/.merlin-core/skills/domain/browser-automation/references/profiling.md +120 -0
  251. package/.merlin-core/skills/domain/browser-automation/references/proxy-support.md +194 -0
  252. package/.merlin-core/skills/domain/browser-automation/references/session-management.md +194 -0
  253. package/.merlin-core/skills/domain/browser-automation/references/snapshot-refs.md +196 -0
  254. package/.merlin-core/skills/domain/browser-automation/references/video-recording.md +173 -0
  255. package/.merlin-core/skills/domain/browser-automation/templates/authenticated-session.sh +105 -0
  256. package/.merlin-core/skills/domain/browser-automation/templates/capture-workflow.sh +69 -0
  257. package/.merlin-core/skills/domain/browser-automation/templates/form-automation.sh +62 -0
  258. package/.merlin-core/skills/domain/digital-marketing/SKILL.md +292 -0
  259. package/.merlin-core/skills/domain/digital-marketing/references/content-strategy.md +320 -0
  260. package/.merlin-core/skills/domain/digital-marketing/references/copy-formats.md +298 -0
  261. package/.merlin-core/skills/domain/digital-marketing/references/copy-methodology.md +180 -0
  262. package/.merlin-core/skills/domain/digital-marketing/references/email-sequences.md +135 -0
  263. package/.merlin-core/skills/domain/digital-marketing/references/launch-strategy.md +213 -0
  264. package/.merlin-core/skills/domain/digital-marketing/references/pricing-strategy.md +160 -0
  265. package/.merlin-core/skills/domain/digital-marketing/references/programmatic-seo.md +237 -0
  266. package/.merlin-core/skills/domain/digital-marketing/references/revops-lifecycle.md +170 -0
  267. package/.merlin-core/skills/domain/digital-marketing/references/revops-operations.md +167 -0
  268. package/.merlin-core/skills/domain/digital-marketing/references/schema-markup.md +190 -0
  269. package/.merlin-core/skills/domain/digital-marketing/references/strategy-frameworks.md +324 -0
  270. package/.merlin-core/skills/domain/digital-marketing/references/traffic-management.md +350 -0
  271. package/.merlin-core/skills/domain/expo-native-ui/SKILL.md +348 -0
  272. package/.merlin-core/skills/domain/expo-native-ui/references/animations.md +220 -0
  273. package/.merlin-core/skills/domain/expo-native-ui/references/api-routes.md +361 -0
  274. package/.merlin-core/skills/domain/expo-native-ui/references/cicd-workflows.md +84 -0
  275. package/.merlin-core/skills/domain/expo-native-ui/references/controls.md +266 -0
  276. package/.merlin-core/skills/domain/expo-native-ui/references/data-fetching.md +553 -0
  277. package/.merlin-core/skills/domain/expo-native-ui/references/deployment-stores.md +1353 -0
  278. package/.merlin-core/skills/domain/expo-native-ui/references/deployment.md +183 -0
  279. package/.merlin-core/skills/domain/expo-native-ui/references/dev-client.md +166 -0
  280. package/.merlin-core/skills/domain/expo-native-ui/references/dom-components.md +410 -0
  281. package/.merlin-core/skills/domain/expo-native-ui/references/form-sheet.md +253 -0
  282. package/.merlin-core/skills/domain/expo-native-ui/references/gradients.md +117 -0
  283. package/.merlin-core/skills/domain/expo-native-ui/references/icons.md +218 -0
  284. package/.merlin-core/skills/domain/expo-native-ui/references/media.md +245 -0
  285. package/.merlin-core/skills/domain/expo-native-ui/references/platform-native.md +75 -0
  286. package/.merlin-core/skills/domain/expo-native-ui/references/route-structure.md +229 -0
  287. package/.merlin-core/skills/domain/expo-native-ui/references/search.md +249 -0
  288. package/.merlin-core/skills/domain/expo-native-ui/references/storage.md +121 -0
  289. package/.merlin-core/skills/domain/expo-native-ui/references/tabs.md +433 -0
  290. package/.merlin-core/skills/domain/expo-native-ui/references/tailwind-native.md +473 -0
  291. package/.merlin-core/skills/domain/expo-native-ui/references/toolbar-and-headers.md +284 -0
  292. package/.merlin-core/skills/domain/expo-native-ui/references/upgrading-guides.md +674 -0
  293. package/.merlin-core/skills/domain/expo-native-ui/references/upgrading.md +127 -0
  294. package/.merlin-core/skills/domain/expo-native-ui/references/visual-effects.md +199 -0
  295. package/.merlin-core/skills/domain/expo-native-ui/references/webgpu-three.md +605 -0
  296. package/.merlin-core/skills/domain/expo-native-ui/references/zoom-transitions.md +161 -0
  297. package/.merlin-core/skills/domain/marketing-ops/SKILL.md +117 -0
  298. package/.merlin-core/skills/domain/marketing-ops/references/_index.md +78 -0
  299. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ad-creative/references/generative-tools.md +19 -0
  300. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ad-creative/references/platform-specs.md +19 -0
  301. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ad-creative.md +251 -0
  302. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ads/references/ad-copy-templates.md +19 -0
  303. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ads/references/audience-targeting.md +19 -0
  304. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ads/references/conversion-tracking.md +19 -0
  305. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ads/references/platform-setup-checklists.md +19 -0
  306. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ads.md +322 -0
  307. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ai-seo/references/content-patterns.md +19 -0
  308. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ai-seo/references/content-types.md +19 -0
  309. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ai-seo/references/platform-ranking-factors.md +19 -0
  310. package/.merlin-core/skills/domain/marketing-ops/references/acquire/ai-seo.md +388 -0
  311. package/.merlin-core/skills/domain/marketing-ops/references/acquire/aso/references/apple-specs.md +19 -0
  312. package/.merlin-core/skills/domain/marketing-ops/references/acquire/aso/references/benchmarks.md +19 -0
  313. package/.merlin-core/skills/domain/marketing-ops/references/acquire/aso/references/google-play-specs.md +19 -0
  314. package/.merlin-core/skills/domain/marketing-ops/references/acquire/aso/references/report-template.md +19 -0
  315. package/.merlin-core/skills/domain/marketing-ops/references/acquire/aso/references/scoring-criteria.md +19 -0
  316. package/.merlin-core/skills/domain/marketing-ops/references/acquire/aso.md +316 -0
  317. package/.merlin-core/skills/domain/marketing-ops/references/acquire/co-marketing.md +305 -0
  318. package/.merlin-core/skills/domain/marketing-ops/references/acquire/community-marketing.md +169 -0
  319. package/.merlin-core/skills/domain/marketing-ops/references/acquire/competitor-profiling/references/templates.md +19 -0
  320. package/.merlin-core/skills/domain/marketing-ops/references/acquire/competitor-profiling/references/tool-reference.md +19 -0
  321. package/.merlin-core/skills/domain/marketing-ops/references/acquire/competitor-profiling.md +442 -0
  322. package/.merlin-core/skills/domain/marketing-ops/references/acquire/competitors/references/content-architecture.md +19 -0
  323. package/.merlin-core/skills/domain/marketing-ops/references/acquire/competitors/references/templates.md +19 -0
  324. package/.merlin-core/skills/domain/marketing-ops/references/acquire/competitors.md +281 -0
  325. package/.merlin-core/skills/domain/marketing-ops/references/acquire/content-strategy.md +16 -0
  326. package/.merlin-core/skills/domain/marketing-ops/references/acquire/directory-submissions/references/directory-list.md +19 -0
  327. package/.merlin-core/skills/domain/marketing-ops/references/acquire/directory-submissions/references/positioning-variations.md +19 -0
  328. package/.merlin-core/skills/domain/marketing-ops/references/acquire/directory-submissions/references/submission-tracker-template.md +19 -0
  329. package/.merlin-core/skills/domain/marketing-ops/references/acquire/directory-submissions.md +396 -0
  330. package/.merlin-core/skills/domain/marketing-ops/references/acquire/free-tools/references/tool-types.md +19 -0
  331. package/.merlin-core/skills/domain/marketing-ops/references/acquire/free-tools.md +196 -0
  332. package/.merlin-core/skills/domain/marketing-ops/references/acquire/image/references/ai-image-prompting.md +19 -0
  333. package/.merlin-core/skills/domain/marketing-ops/references/acquire/image.md +352 -0
  334. package/.merlin-core/skills/domain/marketing-ops/references/acquire/launch.md +18 -0
  335. package/.merlin-core/skills/domain/marketing-ops/references/acquire/lead-magnets/references/benchmarks.md +19 -0
  336. package/.merlin-core/skills/domain/marketing-ops/references/acquire/lead-magnets/references/format-guide.md +19 -0
  337. package/.merlin-core/skills/domain/marketing-ops/references/acquire/lead-magnets.md +333 -0
  338. package/.merlin-core/skills/domain/marketing-ops/references/acquire/programmatic-seo.md +16 -0
  339. package/.merlin-core/skills/domain/marketing-ops/references/acquire/schema.md +16 -0
  340. package/.merlin-core/skills/domain/marketing-ops/references/acquire/seo-audit/references/ai-writing-detection.md +19 -0
  341. package/.merlin-core/skills/domain/marketing-ops/references/acquire/seo-audit/references/international-seo.md +19 -0
  342. package/.merlin-core/skills/domain/marketing-ops/references/acquire/seo-audit.md +546 -0
  343. package/.merlin-core/skills/domain/marketing-ops/references/acquire/site-architecture/references/mermaid-templates.md +19 -0
  344. package/.merlin-core/skills/domain/marketing-ops/references/acquire/site-architecture/references/navigation-patterns.md +19 -0
  345. package/.merlin-core/skills/domain/marketing-ops/references/acquire/site-architecture/references/site-type-templates.md +19 -0
  346. package/.merlin-core/skills/domain/marketing-ops/references/acquire/site-architecture.md +371 -0
  347. package/.merlin-core/skills/domain/marketing-ops/references/acquire/social/references/platform-limits.md +19 -0
  348. package/.merlin-core/skills/domain/marketing-ops/references/acquire/social/references/platforms.md +19 -0
  349. package/.merlin-core/skills/domain/marketing-ops/references/acquire/social/references/post-templates.md +19 -0
  350. package/.merlin-core/skills/domain/marketing-ops/references/acquire/social/references/reverse-engineering.md +19 -0
  351. package/.merlin-core/skills/domain/marketing-ops/references/acquire/social/references/short-form-video.md +19 -0
  352. package/.merlin-core/skills/domain/marketing-ops/references/acquire/social.md +431 -0
  353. package/.merlin-core/skills/domain/marketing-ops/references/acquire/video/references/ai-video-prompting.md +19 -0
  354. package/.merlin-core/skills/domain/marketing-ops/references/acquire/video.md +353 -0
  355. package/.merlin-core/skills/domain/marketing-ops/references/activate/ab-testing/references/sample-size-guide.md +19 -0
  356. package/.merlin-core/skills/domain/marketing-ops/references/activate/ab-testing/references/test-templates.md +19 -0
  357. package/.merlin-core/skills/domain/marketing-ops/references/activate/ab-testing.md +379 -0
  358. package/.merlin-core/skills/domain/marketing-ops/references/activate/analytics/references/event-library.md +19 -0
  359. package/.merlin-core/skills/domain/marketing-ops/references/activate/analytics/references/ga4-implementation.md +19 -0
  360. package/.merlin-core/skills/domain/marketing-ops/references/activate/analytics/references/gtm-implementation.md +19 -0
  361. package/.merlin-core/skills/domain/marketing-ops/references/activate/analytics.md +323 -0
  362. package/.merlin-core/skills/domain/marketing-ops/references/activate/copy-editing.md +18 -0
  363. package/.merlin-core/skills/domain/marketing-ops/references/activate/copywriting.md +18 -0
  364. package/.merlin-core/skills/domain/marketing-ops/references/activate/cro/references/experiments.md +19 -0
  365. package/.merlin-core/skills/domain/marketing-ops/references/activate/cro/references/form.md +19 -0
  366. package/.merlin-core/skills/domain/marketing-ops/references/activate/cro.md +211 -0
  367. package/.merlin-core/skills/domain/marketing-ops/references/activate/emails.md +18 -0
  368. package/.merlin-core/skills/domain/marketing-ops/references/activate/paywalls/references/experiments.md +19 -0
  369. package/.merlin-core/skills/domain/marketing-ops/references/activate/paywalls.md +255 -0
  370. package/.merlin-core/skills/domain/marketing-ops/references/activate/popups.md +518 -0
  371. package/.merlin-core/skills/domain/marketing-ops/references/activate/pricing.md +18 -0
  372. package/.merlin-core/skills/domain/marketing-ops/references/activate/sales-enablement/references/deck-frameworks.md +19 -0
  373. package/.merlin-core/skills/domain/marketing-ops/references/activate/sales-enablement/references/demo-scripts.md +19 -0
  374. package/.merlin-core/skills/domain/marketing-ops/references/activate/sales-enablement/references/objection-library.md +19 -0
  375. package/.merlin-core/skills/domain/marketing-ops/references/activate/sales-enablement/references/one-pager-templates.md +19 -0
  376. package/.merlin-core/skills/domain/marketing-ops/references/activate/sales-enablement.md +371 -0
  377. package/.merlin-core/skills/domain/marketing-ops/references/activate/signup.md +406 -0
  378. package/.merlin-core/skills/domain/marketing-ops/references/expand/co-marketing.md +18 -0
  379. package/.merlin-core/skills/domain/marketing-ops/references/expand/community-marketing.md +18 -0
  380. package/.merlin-core/skills/domain/marketing-ops/references/expand/referrals/references/affiliate-programs.md +19 -0
  381. package/.merlin-core/skills/domain/marketing-ops/references/expand/referrals/references/program-examples.md +19 -0
  382. package/.merlin-core/skills/domain/marketing-ops/references/expand/referrals.md +278 -0
  383. package/.merlin-core/skills/domain/marketing-ops/references/foundation/customer-research/references/source-guides.md +425 -0
  384. package/.merlin-core/skills/domain/marketing-ops/references/foundation/customer-research.md +284 -0
  385. package/.merlin-core/skills/domain/marketing-ops/references/foundation/marketing-ideas/references/ideas-by-category.md +216 -0
  386. package/.merlin-core/skills/domain/marketing-ops/references/foundation/marketing-ideas.md +188 -0
  387. package/.merlin-core/skills/domain/marketing-ops/references/foundation/marketing-psychology.md +532 -0
  388. package/.merlin-core/skills/domain/marketing-ops/references/foundation/product-marketing.md +276 -0
  389. package/.merlin-core/skills/domain/marketing-ops/references/retain/churn-prevention/references/cancel-flow-patterns.md +19 -0
  390. package/.merlin-core/skills/domain/marketing-ops/references/retain/churn-prevention/references/dunning-playbook.md +19 -0
  391. package/.merlin-core/skills/domain/marketing-ops/references/retain/churn-prevention.md +442 -0
  392. package/.merlin-core/skills/domain/marketing-ops/references/retain/onboarding/references/experiments.md +19 -0
  393. package/.merlin-core/skills/domain/marketing-ops/references/retain/onboarding.md +243 -0
  394. package/.merlin-core/skills/domain/marketing-ops/references/retain/revops-lifecycle.md +18 -0
  395. package/.merlin-core/skills/domain/marketing-ops/references/retain/revops-operations.md +18 -0
  396. package/.merlin-core/skills/domain/n8n-automation/SKILL.md +149 -0
  397. package/.merlin-core/skills/domain/n8n-automation/references/code-javascript.md +3744 -0
  398. package/.merlin-core/skills/domain/n8n-automation/references/code-python.md +3293 -0
  399. package/.merlin-core/skills/domain/n8n-automation/references/expression-syntax.md +1662 -0
  400. package/.merlin-core/skills/domain/n8n-automation/references/mcp-tools-expert.md +2111 -0
  401. package/.merlin-core/skills/domain/n8n-automation/references/node-configuration.md +2523 -0
  402. package/.merlin-core/skills/domain/n8n-automation/references/validation-expert.md +2491 -0
  403. package/.merlin-core/skills/domain/n8n-automation/references/workflow-patterns.md +4624 -0
  404. package/.merlin-core/skills/domain/ops-manual/SKILL.md +225 -0
  405. package/.merlin-core/skills/domain/ops-manual/references/elicitation-questions.md +141 -0
  406. package/.merlin-core/skills/domain/ops-manual/references/external-skills-registry.md +63 -0
  407. package/.merlin-core/skills/domain/ops-manual/references/operations-template.yaml +132 -0
  408. package/.merlin-core/skills/domain/remotion-best-practices/SKILL.md +99 -0
  409. package/.merlin-core/skills/domain/remotion-best-practices/rules/3d.md +86 -0
  410. package/.merlin-core/skills/domain/remotion-best-practices/rules/animations.md +27 -0
  411. package/.merlin-core/skills/domain/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
  412. package/.merlin-core/skills/domain/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
  413. package/.merlin-core/skills/domain/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +108 -0
  414. package/.merlin-core/skills/domain/remotion-best-practices/rules/assets.md +78 -0
  415. package/.merlin-core/skills/domain/remotion-best-practices/rules/audio.md +172 -0
  416. package/.merlin-core/skills/domain/remotion-best-practices/rules/calculate-metadata.md +131 -0
  417. package/.merlin-core/skills/domain/remotion-best-practices/rules/can-decode.md +75 -0
  418. package/.merlin-core/skills/domain/remotion-best-practices/rules/charts.md +68 -0
  419. package/.merlin-core/skills/domain/remotion-best-practices/rules/compositions.md +154 -0
  420. package/.merlin-core/skills/domain/remotion-best-practices/rules/display-captions.md +126 -0
  421. package/.merlin-core/skills/domain/remotion-best-practices/rules/extract-frames.md +229 -0
  422. package/.merlin-core/skills/domain/remotion-best-practices/rules/fonts.md +152 -0
  423. package/.merlin-core/skills/domain/remotion-best-practices/rules/get-audio-duration.md +58 -0
  424. package/.merlin-core/skills/domain/remotion-best-practices/rules/get-video-dimensions.md +68 -0
  425. package/.merlin-core/skills/domain/remotion-best-practices/rules/get-video-duration.md +58 -0
  426. package/.merlin-core/skills/domain/remotion-best-practices/rules/gifs.md +144 -0
  427. package/.merlin-core/skills/domain/remotion-best-practices/rules/images.md +134 -0
  428. package/.merlin-core/skills/domain/remotion-best-practices/rules/import-srt-captions.md +67 -0
  429. package/.merlin-core/skills/domain/remotion-best-practices/rules/lottie.md +70 -0
  430. package/.merlin-core/skills/domain/remotion-best-practices/rules/maps.md +414 -0
  431. package/.merlin-core/skills/domain/remotion-best-practices/rules/measuring-dom-nodes.md +34 -0
  432. package/.merlin-core/skills/domain/remotion-best-practices/rules/measuring-text.md +143 -0
  433. package/.merlin-core/skills/domain/remotion-best-practices/rules/parameters.md +109 -0
  434. package/.merlin-core/skills/domain/remotion-best-practices/rules/sequencing.md +118 -0
  435. package/.merlin-core/skills/domain/remotion-best-practices/rules/tailwind.md +11 -0
  436. package/.merlin-core/skills/domain/remotion-best-practices/rules/text-animations.md +20 -0
  437. package/.merlin-core/skills/domain/remotion-best-practices/rules/timing.md +179 -0
  438. package/.merlin-core/skills/domain/remotion-best-practices/rules/transcribe-captions.md +19 -0
  439. package/.merlin-core/skills/domain/remotion-best-practices/rules/transitions.md +137 -0
  440. package/.merlin-core/skills/domain/remotion-best-practices/rules/transparent-videos.md +106 -0
  441. package/.merlin-core/skills/domain/remotion-best-practices/rules/trimming.md +51 -0
  442. package/.merlin-core/skills/domain/remotion-best-practices/rules/videos.md +171 -0
  443. package/.merlin-core/skills/domain/resend-email/SKILL.md +377 -0
  444. package/.merlin-core/skills/general/adversarial-review/SKILL.md +144 -0
  445. package/.merlin-core/skills/general/api-design/SKILL.md +513 -0
  446. package/.merlin-core/skills/general/apify-scrape/SKILL.md +137 -0
  447. package/.merlin-core/skills/general/apify-scrape/scripts/apify-scrape.sh +68 -0
  448. package/.merlin-core/skills/general/backup/SKILL.md +87 -0
  449. package/.merlin-core/skills/general/blkskrn/SKILL.md +392 -0
  450. package/.merlin-core/skills/general/blkskrn/references/animation-patterns.md +521 -0
  451. package/.merlin-core/skills/general/blkskrn/references/design-system.md +637 -0
  452. package/.merlin-core/skills/general/blkskrn/references/html-templates.md +440 -0
  453. package/.merlin-core/skills/general/blkskrn/references/presenter-template.md +45 -0
  454. package/.merlin-core/skills/general/blkskrn/references/slide-types.md +424 -0
  455. package/.merlin-core/skills/general/blkskrn/scripts/canvas-manager.js +502 -0
  456. package/.merlin-core/skills/general/blkskrn/scripts/presenter.js +90 -0
  457. package/.merlin-core/skills/general/blkskrn/templates/presenter.html +273 -0
  458. package/.merlin-core/skills/general/blkskrn/templates/slide-base.html +277 -0
  459. package/.merlin-core/skills/general/blkskrn/templates/viewer.html +165 -0
  460. package/.merlin-core/skills/general/browser-takeover/SKILL.md +53 -0
  461. package/.merlin-core/skills/general/claude-api/SKILL.md +90 -0
  462. package/.merlin-core/skills/general/code-javascript/SKILL.md +268 -0
  463. package/.merlin-core/skills/general/code-python/SKILL.md +424 -0
  464. package/.merlin-core/skills/general/code-style/SKILL.md +97 -0
  465. package/.merlin-core/skills/general/code-typescript/SKILL.md +361 -0
  466. package/.merlin-core/skills/general/cold-email/SKILL.md +164 -0
  467. package/.merlin-core/skills/general/cold-email/references/benchmarks.md +18 -0
  468. package/.merlin-core/skills/general/cold-email/references/follow-up-sequences.md +18 -0
  469. package/.merlin-core/skills/general/cold-email/references/frameworks.md +18 -0
  470. package/.merlin-core/skills/general/cold-email/references/personalization.md +18 -0
  471. package/.merlin-core/skills/general/cold-email/references/subject-lines.md +18 -0
  472. package/.merlin-core/skills/general/container-security/SKILL.md +462 -0
  473. package/.merlin-core/skills/general/context-management/SKILL.md +79 -0
  474. package/.merlin-core/skills/general/copy-editing/SKILL.md +501 -0
  475. package/.merlin-core/skills/general/copy-editing/references/checklist.md +18 -0
  476. package/.merlin-core/skills/general/copy-editing/references/content-refresh.md +18 -0
  477. package/.merlin-core/skills/general/copy-editing/references/plain-english-alternatives.md +18 -0
  478. package/.merlin-core/skills/general/copywriting/SKILL.md +294 -0
  479. package/.merlin-core/skills/general/copywriting/references/copy-frameworks.md +392 -0
  480. package/.merlin-core/skills/general/copywriting/references/natural-transitions.md +276 -0
  481. package/.merlin-core/skills/general/database/SKILL.md +561 -0
  482. package/.merlin-core/skills/general/database/references/postgres-concurrency.md +182 -0
  483. package/.merlin-core/skills/general/database/references/postgres-connections.md +97 -0
  484. package/.merlin-core/skills/general/database/references/postgres-data-patterns.md +159 -0
  485. package/.merlin-core/skills/general/database/references/postgres-monitoring.md +136 -0
  486. package/.merlin-core/skills/general/database/references/postgres-rls.md +140 -0
  487. package/.merlin-core/skills/general/database-provision/SKILL.md +56 -0
  488. package/.merlin-core/skills/general/deploy/SKILL.md +65 -0
  489. package/.merlin-core/skills/general/design-inspiration/SKILL.md +146 -0
  490. package/.merlin-core/skills/general/design-palette/SKILL.md +99 -0
  491. package/.merlin-core/skills/general/design-palette/references/full-palettes.md +144 -0
  492. package/.merlin-core/skills/general/design-system/SKILL.md +94 -0
  493. package/.merlin-core/skills/general/design-typography/SKILL.md +115 -0
  494. package/.merlin-core/skills/general/design-typography/references/full-pairings.md +144 -0
  495. package/.merlin-core/skills/general/design-ux-patterns/SKILL.md +155 -0
  496. package/.merlin-core/skills/general/design-ux-patterns/references/charts-data-guidelines.md +197 -0
  497. package/.merlin-core/skills/general/design-ux-patterns/references/landing-patterns.md +199 -0
  498. package/.merlin-core/skills/general/design-ux-patterns/references/professional-ui-checklist.md +56 -0
  499. package/.merlin-core/skills/general/design-ux-patterns/references/style-catalog.md +89 -0
  500. package/.merlin-core/skills/general/design-ux-patterns/references/ux-guidelines.md +837 -0
  501. package/.merlin-core/skills/general/discover-cloud/SKILL.md +108 -0
  502. package/.merlin-core/skills/general/doc-sync/SKILL.md +52 -0
  503. package/.merlin-core/skills/general/document-sharding/SKILL.md +53 -0
  504. package/.merlin-core/skills/general/docx/SKILL.md +418 -0
  505. package/.merlin-core/skills/general/docx/references/windows-setup.md +27 -0
  506. package/.merlin-core/skills/general/docx/scripts/__init__.py +1 -0
  507. package/.merlin-core/skills/general/docx/scripts/accept_changes.py +135 -0
  508. package/.merlin-core/skills/general/docx/scripts/comment.py +318 -0
  509. package/.merlin-core/skills/general/docx/scripts/office/__init__.py +0 -0
  510. package/.merlin-core/skills/general/docx/scripts/office/helpers/__init__.py +0 -0
  511. package/.merlin-core/skills/general/docx/scripts/office/helpers/merge_runs.py +199 -0
  512. package/.merlin-core/skills/general/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  513. package/.merlin-core/skills/general/docx/scripts/office/pack.py +159 -0
  514. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  515. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  516. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  517. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  518. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  519. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  520. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  521. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  522. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  523. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  524. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  525. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  526. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  527. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  528. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  529. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  530. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  531. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  532. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  533. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  534. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  535. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  536. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  537. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  538. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  539. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  540. package/.merlin-core/skills/general/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  541. package/.merlin-core/skills/general/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  542. package/.merlin-core/skills/general/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  543. package/.merlin-core/skills/general/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  544. package/.merlin-core/skills/general/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  545. package/.merlin-core/skills/general/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  546. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  547. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  548. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  549. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  550. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  551. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  552. package/.merlin-core/skills/general/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  553. package/.merlin-core/skills/general/docx/scripts/office/soffice.py +183 -0
  554. package/.merlin-core/skills/general/docx/scripts/office/unpack.py +132 -0
  555. package/.merlin-core/skills/general/docx/scripts/office/validate.py +111 -0
  556. package/.merlin-core/skills/general/docx/scripts/office/validators/__init__.py +15 -0
  557. package/.merlin-core/skills/general/docx/scripts/office/validators/base.py +847 -0
  558. package/.merlin-core/skills/general/docx/scripts/office/validators/docx.py +446 -0
  559. package/.merlin-core/skills/general/docx/scripts/office/validators/pptx.py +275 -0
  560. package/.merlin-core/skills/general/docx/scripts/office/validators/redlining.py +247 -0
  561. package/.merlin-core/skills/general/docx/scripts/templates/comments.xml +3 -0
  562. package/.merlin-core/skills/general/docx/scripts/templates/commentsExtended.xml +3 -0
  563. package/.merlin-core/skills/general/docx/scripts/templates/commentsExtensible.xml +3 -0
  564. package/.merlin-core/skills/general/docx/scripts/templates/commentsIds.xml +3 -0
  565. package/.merlin-core/skills/general/docx/scripts/templates/people.xml +3 -0
  566. package/.merlin-core/skills/general/elicitation/SKILL.md +188 -0
  567. package/.merlin-core/skills/general/engineering-audit/SKILL.md +122 -0
  568. package/.merlin-core/skills/general/find-and-edit/SKILL.md +102 -0
  569. package/.merlin-core/skills/general/first-party-docs/SKILL.md +51 -0
  570. package/.merlin-core/skills/general/frontend-design/SKILL.md +204 -0
  571. package/.merlin-core/skills/general/guardrails/SKILL.md +144 -0
  572. package/.merlin-core/skills/general/image-gen/SKILL.md +49 -0
  573. package/.merlin-core/skills/general/learning-capture/SKILL.md +192 -0
  574. package/.merlin-core/skills/general/lgpd-compliance-audit/SKILL.md +448 -0
  575. package/.merlin-core/skills/general/load-testing/SKILL.md +114 -0
  576. package/.merlin-core/skills/general/load-testing/docker/Dockerfile.dashboard +21 -0
  577. package/.merlin-core/skills/general/load-testing/docker/docker-compose.locust.yml +39 -0
  578. package/.merlin-core/skills/general/load-testing/requirements.txt +1 -0
  579. package/.merlin-core/skills/general/load-testing/scripts/compare_baseline.py +172 -0
  580. package/.merlin-core/skills/general/load-testing/scripts/run_local.py +245 -0
  581. package/.merlin-core/skills/general/load-testing/templates/load_shape_stepped.py +35 -0
  582. package/.merlin-core/skills/general/load-testing/templates/locustfile_dashboard.py +47 -0
  583. package/.merlin-core/skills/general/load-testing/templates/threshold_hook.py +36 -0
  584. package/.merlin-core/skills/general/mage-beauty/SKILL.md +89 -0
  585. package/.merlin-core/skills/general/mage-beauty/references/anti-patterns.md +148 -0
  586. package/.merlin-core/skills/general/mage-beauty/references/color-and-contrast.md +87 -0
  587. package/.merlin-core/skills/general/mage-beauty/references/interaction-design.md +99 -0
  588. package/.merlin-core/skills/general/mage-beauty/references/motion-design.md +90 -0
  589. package/.merlin-core/skills/general/mage-beauty/references/remotion-bridge.md +187 -0
  590. package/.merlin-core/skills/general/mage-beauty/references/responsive-and-multi-format.md +98 -0
  591. package/.merlin-core/skills/general/mage-beauty/references/spatial-design.md +88 -0
  592. package/.merlin-core/skills/general/mage-beauty/references/typography.md +60 -0
  593. package/.merlin-core/skills/general/mage-beauty/references/verb-adapt.md +102 -0
  594. package/.merlin-core/skills/general/mage-beauty/references/verb-animate.md +97 -0
  595. package/.merlin-core/skills/general/mage-beauty/references/verb-audit.md +99 -0
  596. package/.merlin-core/skills/general/mage-beauty/references/verb-bolder.md +94 -0
  597. package/.merlin-core/skills/general/mage-beauty/references/verb-cinematic.md +128 -0
  598. package/.merlin-core/skills/general/mage-beauty/references/verb-clarify.md +107 -0
  599. package/.merlin-core/skills/general/mage-beauty/references/verb-colorize.md +106 -0
  600. package/.merlin-core/skills/general/mage-beauty/references/verb-critique.md +88 -0
  601. package/.merlin-core/skills/general/mage-beauty/references/verb-delight.md +98 -0
  602. package/.merlin-core/skills/general/mage-beauty/references/verb-distill.md +97 -0
  603. package/.merlin-core/skills/general/mage-beauty/references/verb-harden.md +79 -0
  604. package/.merlin-core/skills/general/mage-beauty/references/verb-layout.md +104 -0
  605. package/.merlin-core/skills/general/mage-beauty/references/verb-onboard.md +98 -0
  606. package/.merlin-core/skills/general/mage-beauty/references/verb-optimize.md +124 -0
  607. package/.merlin-core/skills/general/mage-beauty/references/verb-overdrive.md +105 -0
  608. package/.merlin-core/skills/general/mage-beauty/references/verb-polish.md +91 -0
  609. package/.merlin-core/skills/general/mage-beauty/references/verb-quieter.md +95 -0
  610. package/.merlin-core/skills/general/mage-beauty/references/verb-rebrand.md +127 -0
  611. package/.merlin-core/skills/general/mage-beauty/references/verb-shape.md +160 -0
  612. package/.merlin-core/skills/general/mage-beauty/references/verb-typeset.md +109 -0
  613. package/.merlin-core/skills/general/mage-beauty/references/voice-and-microcopy.md +137 -0
  614. package/.merlin-core/skills/general/mcp-builder/SKILL.md +92 -0
  615. package/.merlin-core/skills/general/network-debug/SKILL.md +51 -0
  616. package/.merlin-core/skills/general/next-best-practices/SKILL.md +177 -0
  617. package/.merlin-core/skills/general/next-best-practices/references/async-patterns.md +87 -0
  618. package/.merlin-core/skills/general/next-best-practices/references/bundling.md +182 -0
  619. package/.merlin-core/skills/general/next-best-practices/references/data-patterns.md +306 -0
  620. package/.merlin-core/skills/general/next-best-practices/references/debug-tricks.md +125 -0
  621. package/.merlin-core/skills/general/next-best-practices/references/directives.md +74 -0
  622. package/.merlin-core/skills/general/next-best-practices/references/error-handling.md +232 -0
  623. package/.merlin-core/skills/general/next-best-practices/references/file-conventions.md +141 -0
  624. package/.merlin-core/skills/general/next-best-practices/references/font.md +257 -0
  625. package/.merlin-core/skills/general/next-best-practices/references/functions.md +108 -0
  626. package/.merlin-core/skills/general/next-best-practices/references/hydration-error.md +88 -0
  627. package/.merlin-core/skills/general/next-best-practices/references/image.md +179 -0
  628. package/.merlin-core/skills/general/next-best-practices/references/metadata.md +296 -0
  629. package/.merlin-core/skills/general/next-best-practices/references/parallel-routes.md +298 -0
  630. package/.merlin-core/skills/general/next-best-practices/references/route-handlers.md +146 -0
  631. package/.merlin-core/skills/general/next-best-practices/references/rsc-boundaries.md +164 -0
  632. package/.merlin-core/skills/general/next-best-practices/references/runtime-selection.md +40 -0
  633. package/.merlin-core/skills/general/next-best-practices/references/scripts.md +141 -0
  634. package/.merlin-core/skills/general/next-best-practices/references/self-hosting.md +384 -0
  635. package/.merlin-core/skills/general/next-best-practices/references/suspense-boundaries.md +67 -0
  636. package/.merlin-core/skills/general/next-steps/SKILL.md +43 -0
  637. package/.merlin-core/skills/general/party-mode/SKILL.md +57 -0
  638. package/.merlin-core/skills/general/pdf/SKILL.md +298 -0
  639. package/.merlin-core/skills/general/pdf/references/forms.md +312 -0
  640. package/.merlin-core/skills/general/pdf/references/reference.md +640 -0
  641. package/.merlin-core/skills/general/pdf/references/windows-setup.md +40 -0
  642. package/.merlin-core/skills/general/pdf/scripts/check_bounding_boxes.py +65 -0
  643. package/.merlin-core/skills/general/pdf/scripts/check_fillable_fields.py +11 -0
  644. package/.merlin-core/skills/general/pdf/scripts/convert_pdf_to_images.py +33 -0
  645. package/.merlin-core/skills/general/pdf/scripts/create_validation_image.py +37 -0
  646. package/.merlin-core/skills/general/pdf/scripts/extract_form_field_info.py +122 -0
  647. package/.merlin-core/skills/general/pdf/scripts/extract_form_structure.py +115 -0
  648. package/.merlin-core/skills/general/pdf/scripts/fill_fillable_fields.py +98 -0
  649. package/.merlin-core/skills/general/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  650. package/.merlin-core/skills/general/pptx/SKILL.md +133 -0
  651. package/.merlin-core/skills/general/pptx/references/editing.md +213 -0
  652. package/.merlin-core/skills/general/pptx/references/pptxgenjs.md +581 -0
  653. package/.merlin-core/skills/general/pptx/references/windows-setup.md +27 -0
  654. package/.merlin-core/skills/general/pptx/scripts/__init__.py +0 -0
  655. package/.merlin-core/skills/general/pptx/scripts/add_slide.py +195 -0
  656. package/.merlin-core/skills/general/pptx/scripts/clean.py +286 -0
  657. package/.merlin-core/skills/general/pptx/scripts/thumbnail.py +289 -0
  658. package/.merlin-core/skills/general/property-testing/SKILL.md +214 -0
  659. package/.merlin-core/skills/general/purge-leaked-secret/SKILL.md +383 -0
  660. package/.merlin-core/skills/general/reflection/SKILL.md +100 -0
  661. package/.merlin-core/skills/general/secret-safe-commit/SKILL.md +246 -0
  662. package/.merlin-core/skills/general/secret-safe-commit/templates/.gitleaks.toml +91 -0
  663. package/.merlin-core/skills/general/secret-safe-commit/templates/.pre-commit-config.yaml +57 -0
  664. package/.merlin-core/skills/general/secret-safe-commit/templates/secret-scan.yml +48 -0
  665. package/.merlin-core/skills/general/semantic-search/SKILL.md +79 -0
  666. package/.merlin-core/skills/general/skill-creator/SKILL.md +342 -0
  667. package/.merlin-core/skills/general/skill-creator/agents/analyzer.md +283 -0
  668. package/.merlin-core/skills/general/skill-creator/agents/comparator.md +211 -0
  669. package/.merlin-core/skills/general/skill-creator/agents/grader.md +227 -0
  670. package/.merlin-core/skills/general/skill-creator/assets/eval_review.html +146 -0
  671. package/.merlin-core/skills/general/skill-creator/eval-viewer/generate_review.py +471 -0
  672. package/.merlin-core/skills/general/skill-creator/eval-viewer/viewer.html +1325 -0
  673. package/.merlin-core/skills/general/skill-creator/references/schemas.md +439 -0
  674. package/.merlin-core/skills/general/skill-creator/scripts/__init__.py +0 -0
  675. package/.merlin-core/skills/general/skill-creator/scripts/aggregate_benchmark.py +401 -0
  676. package/.merlin-core/skills/general/skill-creator/scripts/generate_report.py +326 -0
  677. package/.merlin-core/skills/general/skill-creator/scripts/improve_description.py +247 -0
  678. package/.merlin-core/skills/general/skill-creator/scripts/package_skill.py +136 -0
  679. package/.merlin-core/skills/general/skill-creator/scripts/quick_validate.py +103 -0
  680. package/.merlin-core/skills/general/skill-creator/scripts/run_eval.py +310 -0
  681. package/.merlin-core/skills/general/skill-creator/scripts/run_loop.py +328 -0
  682. package/.merlin-core/skills/general/skill-creator/scripts/utils.py +47 -0
  683. package/.merlin-core/skills/general/start-here/SKILL.md +63 -0
  684. package/.merlin-core/skills/general/start-here/recipes.json +758 -0
  685. package/.merlin-core/skills/general/start-here/recipes.schema.json +57 -0
  686. package/.merlin-core/skills/general/static-analysis/SKILL.md +151 -0
  687. package/.merlin-core/skills/general/tailwind-design-system/SKILL.md +201 -0
  688. package/.merlin-core/skills/general/tailwind-design-system/references/advanced-v4.md +152 -0
  689. package/.merlin-core/skills/general/tailwind-design-system/references/component-patterns.md +353 -0
  690. package/.merlin-core/skills/general/teach-method/SKILL.md +86 -0
  691. package/.merlin-core/skills/general/team-execution/SKILL.md +67 -0
  692. package/.merlin-core/skills/general/testing/SKILL.md +412 -0
  693. package/.merlin-core/skills/general/token-economy/SKILL.md +55 -0
  694. package/.merlin-core/skills/general/vps-security-hardening/SKILL.md +406 -0
  695. package/.merlin-core/skills/general/web-quality/SKILL.md +180 -0
  696. package/.merlin-core/skills/general/webapp-testing/SKILL.md +153 -0
  697. package/.merlin-core/skills/general/webapp-testing/scripts/screenshot_compare.py +72 -0
  698. package/.merlin-core/skills/general/webapp-testing/scripts/with_server.py +103 -0
  699. package/.merlin-core/skills/general/xlsx/SKILL.md +167 -0
  700. package/.merlin-core/skills/general/xlsx/references/nodejs-sheetjs-styled-reports.md +141 -0
  701. package/.merlin-core/skills/general/xlsx/references/windows-setup.md +17 -0
  702. package/.merlin-core/skills/general/xlsx/scripts/recalc.py +184 -0
  703. package/.merlin-core/skills/general/xlsx/scripts/styled-report.js +130 -0
  704. package/.merlin-core/skills/general/yolo-mode/SKILL.md +60 -0
  705. package/.merlin-core/skills/general/youtube-transcript/SKILL.md +177 -0
  706. package/.merlin-core/skills/general/youtube-transcript/scripts/fetch_transcript.py +188 -0
  707. package/.merlin-core/skills/general/youtube-transcript/scripts/gladia_transcribe.mjs +230 -0
  708. package/.merlin-core/tools/commands/activate.js +72 -0
  709. package/.merlin-core/tools/commands/archive-thoughts.js +181 -0
  710. package/.merlin-core/tools/commands/backup.js +156 -0
  711. package/.merlin-core/tools/commands/certify-process.js +196 -0
  712. package/.merlin-core/tools/commands/convert.js +87 -0
  713. package/.merlin-core/tools/commands/cron.js +147 -0
  714. package/.merlin-core/tools/commands/disable.js +73 -0
  715. package/.merlin-core/tools/commands/doc-sync.js +127 -0
  716. package/.merlin-core/tools/commands/eval-skill.js +193 -0
  717. package/.merlin-core/tools/commands/frontmatter.js +49 -0
  718. package/.merlin-core/tools/commands/heartbeat.js +43 -0
  719. package/.merlin-core/tools/commands/index-thoughts.js +35 -0
  720. package/.merlin-core/tools/commands/install-remote-approve.js +184 -0
  721. package/.merlin-core/tools/commands/install.js +81 -0
  722. package/.merlin-core/tools/commands/lib/__verify__/diff-reports.js +170 -0
  723. package/.merlin-core/tools/commands/lib/fs-safe.js +186 -0
  724. package/.merlin-core/tools/commands/lib/preflight.js +607 -0
  725. package/.merlin-core/tools/commands/lib/preserve.js +232 -0
  726. package/.merlin-core/tools/commands/lib/project-config.template.yaml +69 -0
  727. package/.merlin-core/tools/commands/lib/report.js +231 -0
  728. package/.merlin-core/tools/commands/lib/settings-merge.js +134 -0
  729. package/.merlin-core/tools/commands/license.js +52 -0
  730. package/.merlin-core/tools/commands/list.js +125 -0
  731. package/.merlin-core/tools/commands/migrate-alkimia.js +271 -0
  732. package/.merlin-core/tools/commands/modules.js +68 -0
  733. package/.merlin-core/tools/commands/provision.js +83 -0
  734. package/.merlin-core/tools/commands/prune-feedback.js +114 -0
  735. package/.merlin-core/tools/commands/run-process.js +28 -0
  736. package/.merlin-core/tools/commands/state.js +79 -0
  737. package/.merlin-core/tools/commands/sync-bridges.js +197 -0
  738. package/.merlin-core/tools/commands/upgrade.js +1135 -0
  739. package/.merlin-core/tools/commands/validate-recipes.js +218 -0
  740. package/.merlin-core/tools/commands/validate.js +159 -0
  741. package/.merlin-core/tools/commands/yolo.js +82 -0
  742. package/.merlin-core/tools/compose-rules.mjs +179 -0
  743. package/.merlin-core/tools/disable-module.mjs +150 -0
  744. package/.merlin-core/tools/lib/deployer.mjs +131 -0
  745. package/.merlin-core/tools/lib/modules-activation.mjs +225 -0
  746. package/.merlin-core/tools/merlin-tools.js +153 -0
  747. package/.merlin-core/tools/migrate-frontmatter-v3.js +192 -0
  748. package/.merlin-core/tools/modules-catalog.mjs +174 -0
  749. package/.merlin-core/tools/provision-module.mjs +191 -0
  750. package/.merlin-core/tools/verify-module.mjs +99 -0
  751. package/.merlin-core/tools/vps-security-audit.sh +234 -0
  752. package/INSTALL.md +312 -0
  753. package/LICENSE +118 -0
  754. package/PRIVACY-LICENSING.md +65 -0
  755. package/README.md +391 -0
  756. package/bin/README.md +15 -0
  757. package/bin/convert-to-merlin.sh +109 -0
  758. package/bin/fleet-patch-hooks.sh +144 -0
  759. package/bin/fleet-patch-v3-fixes.sh +127 -0
  760. package/bin/merlin-init.js +232 -0
  761. package/bin/merlin.js +321 -0
  762. package/package.json +127 -0
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: database-provision
3
+ description: Database provisioning and SQL execution skill. Handles creation, migrations, and queries with appropriate approval levels.
4
+ license: Apache-2.0
5
+ metadata:
6
+ author: merlin-framework
7
+ version: "3.0.0"
8
+ auto_activate:
9
+ [create-database, provision-db, run-sql, execute-query, database-setup]
10
+ tool_reminders:
11
+ [
12
+ Database creation requires HIGH approval — never auto-create databases,
13
+ Production database operations require ABSOLUTE approval (Constitution XI),
14
+ Always back up before destructive operations (DROP,
15
+ TRUNCATE,
16
+ ALTER),
17
+ ]
18
+ ---
19
+
20
+ ## Database Provisioning Protocol
21
+
22
+ ### 1. Approval Levels
23
+
24
+ | Operation | Environment | Approval Level |
25
+ | --------------------------- | ----------- | -------------- |
26
+ | Create database | Any | HIGH |
27
+ | Drop database | Staging | HIGH |
28
+ | Drop database | Production | ABSOLUTE |
29
+ | Execute SQL (SELECT) | Any | MEDIUM |
30
+ | Execute SQL (INSERT/UPDATE) | Staging | MEDIUM |
31
+ | Execute SQL (INSERT/UPDATE) | Production | HIGH |
32
+ | Run migration | Staging | MEDIUM |
33
+ | Run migration | Production | HIGH |
34
+ | ALTER TABLE | Any | HIGH |
35
+
36
+ ### 2. Safety Protocol
37
+
38
+ Before any database operation:
39
+
40
+ - [ ] Confirm the target environment (dev/staging/production)
41
+ - [ ] Verify connection string points to the correct database
42
+ - [ ] For destructive operations: create a backup first
43
+ - [ ] Review SQL for injection vulnerabilities
44
+
45
+ ### 3. Supported Databases
46
+
47
+ - PostgreSQL (via Supabase, Railway, or direct)
48
+ - SQLite (local development)
49
+ - MySQL/MariaDB
50
+
51
+ ### 4. Migration Best Practices
52
+
53
+ - Always create reversible migrations (up + down)
54
+ - Test migrations on staging before production
55
+ - Never modify existing migration files — create new ones
56
+ - Use transaction-wrapped migrations when possible
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: deploy
3
+ description: One-click deployment skill for Netlify, Vercel, and other platforms. Auto-detects framework and configures deployment.
4
+ license: Apache-2.0
5
+ metadata:
6
+ author: merlin-framework
7
+ version: "3.0.0"
8
+ auto_activate: [deploy, go-live, netlify, vercel, staging-deploy]
9
+ tool_reminders:
10
+ [
11
+ Deployment requires MEDIUM approval (HIGH for production) — use ApprovalEngine,
12
+ Auto-detect framework before deploying (Next.js,
13
+ Vite,
14
+ CRA,
15
+ static),
16
+ ]
17
+ ---
18
+
19
+ ## Operations Config Integration
20
+
21
+ **Before deploying, check `project-config.yaml → operations.deploy[]` first.** If the project has an operations config, use it — it overrides the detection below. The ops-manual domain skill provides the full routing logic and checklists.
22
+
23
+ If no operations config exists, fall back to auto-detection:
24
+
25
+ ## Deployment Protocol
26
+
27
+ ### 1. Framework Detection
28
+
29
+ Before deploying, identify the project framework:
30
+
31
+ - Check `package.json` for framework dependencies
32
+ - Check for framework-specific config files (next.config.js, vite.config.ts, etc.)
33
+ - Determine build command and output directory
34
+
35
+ ### 2. Platform Selection
36
+
37
+ | Framework | Recommended Platform | Build Command | Output Dir |
38
+ | ----------- | -------------------- | --------------------- | ---------- |
39
+ | Next.js | Vercel | `next build` | `.next/` |
40
+ | Vite/React | Netlify or Vercel | `vite build` | `dist/` |
41
+ | CRA | Netlify | `react-scripts build` | `build/` |
42
+ | Static HTML | Netlify | N/A | `./` |
43
+
44
+ ### 3. Approval Levels
45
+
46
+ - **Staging deploy**: MEDIUM approval (auto-approved in YOLO mode)
47
+ - **Production deploy**: HIGH approval (never auto-approved)
48
+ - **First-time deploy**: HIGH approval (creates new site/project)
49
+
50
+ ### 4. Pre-Deploy Checks
51
+
52
+ Before deploying, verify:
53
+
54
+ - [ ] Build passes locally (`npm run build`)
55
+ - [ ] No TypeScript/lint errors
56
+ - [ ] Environment variables are configured on the platform
57
+ - [ ] Branch is up-to-date with main
58
+
59
+ ### 5. Post-Deploy Verification
60
+
61
+ After deployment:
62
+
63
+ - [ ] Site loads successfully at the deployment URL
64
+ - [ ] No console errors
65
+ - [ ] Critical user flows work (if browser MCP available)
@@ -0,0 +1,146 @@
1
+ ---
2
+ name: design-inspiration
3
+ description: Generates binding design briefs before any visual work. The brief must be followed — no freestyle designing.
4
+ license: Apache-2.0
5
+ metadata:
6
+ author: merlin-framework
7
+ version: "3.0.0"
8
+ auto_activate: [wireframe, mockup, prototype, design-brief, visual-design]
9
+ file_triggers: [*.figma, *.svg]
10
+ tool_reminders: [Generate a design brief BEFORE any visual output — you MUST follow it, Brief must include: mood, palette, typography, layout grid, reference style, Always run the 4-phase reasoning engine: Analyze Request -> Match Product Type -> Apply Rules -> Generate Brief, Check anti-patterns for the target industry BEFORE finalizing the brief]
11
+ ---
12
+
13
+ ## Design Brief Protocol
14
+
15
+ Before producing ANY visual output (wireframes, mockups, component designs, landing pages), you MUST first generate a binding design brief. Once generated, you MUST follow it — no deviations without explicit user approval.
16
+
17
+ ## Mandatory Brief Sections
18
+
19
+ ### 1. Mood & Tone
20
+
21
+ - Describe the visual feeling in 3-5 adjectives (e.g., "clean, minimal, professional, warm")
22
+ - Reference a design style (e.g., "Swiss minimalism", "Material Design 3", "Glassmorphism")
23
+
24
+ ### 2. Color Palette
25
+
26
+ - Define 3-5 colors with hex values and semantic roles
27
+ - Include: primary, background, text, accent, error
28
+ - Specify light/dark mode approach if applicable
29
+
30
+ ### 3. Typography
31
+
32
+ - Select font family(ies) — max 2
33
+ - Define heading and body sizes using a type scale
34
+ - Specify font weights used (regular, medium, bold)
35
+
36
+ ### 4. Layout Grid
37
+
38
+ - Define the grid system: 12-column, max-width, gutters, margins
39
+ - Specify breakpoints: mobile (<640px), tablet (<1024px), desktop (>=1024px)
40
+ - Component spacing rhythm (e.g., 8px grid)
41
+
42
+ ### 5. Reference Style
43
+
44
+ - Describe 1-3 reference sites or designs that embody the target aesthetic
45
+ - Note what specifically to borrow: layout patterns, interaction styles, visual density
46
+
47
+ ## Binding Rule
48
+
49
+ Once the design brief is created:
50
+
51
+ - All subsequent visual output MUST conform to the brief
52
+ - Deviations require explicit user approval with rationale
53
+ - If the brief feels wrong during implementation, propose a brief amendment rather than silently diverging
54
+
55
+ ## Product-Type Reasoning Engine
56
+
57
+ Before generating a design brief, run this 4-phase workflow:
58
+
59
+ **Phase 1 — Analyze Request:** Extract product type, target industry, audience, and any style preferences from the user's prompt.
60
+
61
+ **Phase 2 — Match Product Type:** Look up the product type in the table below to get style, palette direction, and landing pattern recommendations.
62
+
63
+ **Phase 3 — Apply Reasoning Rules:** Cross-reference with industry anti-patterns. Apply decision conditionals (e.g., if luxury target, switch to Liquid Glass + dark palette).
64
+
65
+ **Phase 4 — Generate Brief:** Produce the binding design brief using the matched recommendations, filling all 5 mandatory sections.
66
+
67
+ ### Product-Type to Style Mapping (Top 20)
68
+
69
+ | Product Type | Primary Style | Secondary Style | Landing Pattern | Color Mood |
70
+ | --------------------- | --------------------- | --------------------- | ------------------------ | ------------------------------ |
71
+ | SaaS (General) | Glassmorphism | Flat Design | Hero + Features + CTA | Trust blue + orange CTA |
72
+ | Micro SaaS | Minimalism | Flat Design | Minimal Single Column | Clean neutral + single accent |
73
+ | E-commerce | Conversion-Optimized | Feature-Rich Showcase | Hero + Social Proof | Success green + urgency orange |
74
+ | E-commerce Luxury | Liquid Glass | Glassmorphism | Feature-Rich Showcase | Premium dark + gold accent |
75
+ | Fintech / Banking | Dark Mode | Glassmorphism | Trust & Authority | Dark bg + green indicators |
76
+ | Healthcare App | Accessible & Ethical | Neumorphism | Trust & Authority | Calming blue + white |
77
+ | AI / Chatbot Platform | AI-Native UI | Minimalism | Interactive Product Demo | AI purple + cyan |
78
+ | Portfolio / Agency | Brutalism | Motion-Driven | Hero-Centric | High contrast + accent |
79
+ | Blog / Content | Minimalism | Swiss Style | Storytelling-Driven | Neutral + readable |
80
+ | Dashboard / Analytics | Data-Dense | Dark Mode | Feature-Rich Showcase | Dark bg + data colors |
81
+ | Mobile App | Neumorphism | Soft UI Evolution | Hero + App Preview | Vibrant + accessible |
82
+ | EdTech | Accessible & Ethical | Flat Design | Feature-Rich Showcase | Friendly blue + warm accent |
83
+ | Restaurant / Food | Organic Biophilic | Skeuomorphism | Hero-Centric | Warm earth + appetite colors |
84
+ | Real Estate | Glassmorphism | Minimalism | Hero + Search | Trust blue + luxury gold |
85
+ | Gaming | Cyberpunk UI | Dark Mode | Interactive Product Demo | Neon purple + rose |
86
+ | Fitness / Wellness | Vibrant & Block-based | Neumorphism | Hero + Social Proof | Energy green + motivating |
87
+ | Legal / Consulting | Swiss Modernism 2.0 | Minimalism | Trust & Authority | Conservative navy + white |
88
+ | Travel / Hospitality | Glassmorphism | Parallax Storytelling | Storytelling-Driven | Sky blue + warm sunset |
89
+ | Developer Tools | Dark Mode | Brutalism | Feature-Rich Showcase | Terminal green + dark |
90
+ | Marketplace | Flat Design | Bento Grid | Hero + Categories | Neutral + category colors |
91
+
92
+ ## Style Recommendation Matrix (Top 25)
93
+
94
+ | Style | Best For | Complexity | Accessibility | Era |
95
+ | --------------------- | ------------------------------ | ---------- | ------------------ | ----------- |
96
+ | Minimalism & Swiss | Corporate, SaaS, content | Low | WCAG AAA | 1950s+ |
97
+ | Glassmorphism | SaaS, fintech, modern apps | Medium | Ensure 4.5:1 | 2020s |
98
+ | Flat Design | E-commerce, mobile, utilities | Low | WCAG AAA | 2010s |
99
+ | Dark Mode (OLED) | Dev tools, dashboards, media | Low | WCAG AAA | 2020s |
100
+ | Brutalism | Portfolios, agencies, creative | Low | WCAG AAA | 1950s+ |
101
+ | Neumorphism | Mobile, wellness, lifestyle | Medium | Low contrast risk | 2020s |
102
+ | AI-Native UI | AI products, chatbots | Low | WCAG AA | 2020s |
103
+ | Accessible & Ethical | Healthcare, education, gov | Low | WCAG AAA | Universal |
104
+ | Claymorphism | Children, casual, playful | Medium | Ensure contrast | 2020s |
105
+ | Cyberpunk UI | Gaming, crypto, entertainment | Medium | Custom focus | 2020s |
106
+ | Bento Grid | Apple-style, feature showcase | Low | WCAG AA | 2020s |
107
+ | Liquid Glass | Luxury, premium, high-end | High | Ensure contrast | 2020s |
108
+ | Soft UI Evolution | Lifestyle, wellness, social | Medium | Ensure 4.5:1 | 2020s |
109
+ | Motion-Driven | Portfolios, storytelling | High | Reduced-motion alt | 2020s |
110
+ | Organic Biophilic | Sustainability, food, nature | Low | WCAG AA | 2020s |
111
+ | Neubrutalism | Creative, startups, bold | Low | WCAG AAA | 2020s |
112
+ | Swiss Modernism 2.0 | Corporate, legal, consulting | Low | WCAG AAA | 1950s+2020s |
113
+ | Retro-Futurism | Entertainment, nostalgia | Medium | Custom | 1980s |
114
+ | Skeuomorphism | Food, luxury, tactile apps | High | Custom focus | 2007-2012 |
115
+ | Editorial Grid | Magazine, publishing, fashion | Low | WCAG AA | 2020s |
116
+ | Conversion-Optimized | Landing pages, SaaS, e-comm | Medium | WCAG AA | Universal |
117
+ | Data-Dense Dashboard | BI, analytics, monitoring | Medium | Custom focus | Universal |
118
+ | Parallax Storytelling | Travel, narrative, campaigns | High | Reduced-motion alt | 2020s |
119
+ | Hero-Centric | Launch pages, products | Medium | WCAG AA | Universal |
120
+ | Micro-interactions | SaaS, mobile, UX-forward | Medium | Reduced-motion alt | 2020s |
121
+
122
+ ## Anti-Pattern Enforcement
123
+
124
+ Before finalizing any design brief, verify NONE of these industry-specific anti-patterns are violated:
125
+
126
+ **Healthcare / Medical:** No neon or vibrant colors. No dark mode as default. No playful or novelty fonts. No complex animations. Accessibility is non-negotiable (WCAG AAA).
127
+
128
+ **Finance / Banking:** No playful or casual fonts. No bright saturated backgrounds. No excessive animation. No informal tone in UI copy. Trust signals required.
129
+
130
+ **E-commerce Luxury:** No flat design. No generic stock photography. No discount-red badges. No cluttered layouts. White space is mandatory.
131
+
132
+ **SaaS / B2B:** No complex decorative elements. No more than 2 CTAs per viewport. No autoplay video. Social proof must be present.
133
+
134
+ **Gaming / Entertainment:** No conservative corporate palette. No serif body fonts. No static layouts — motion expected. Performance budget: keep JS minimal despite visual complexity.
135
+
136
+ **Education / EdTech:** No small text (16px minimum body). No low-contrast color combos. No complex navigation. Reading level of UI copy must match audience.
137
+
138
+ **Legal / Consulting:** No trendy or novelty styles. No bright colors. No casual typography. Professional credibility must be the primary visual signal.
139
+
140
+ **General (All Industries):**
141
+
142
+ - Never use emoji as icons — SVG only (Heroicons, Lucide)
143
+ - Never rely on color alone to convey information
144
+ - Never skip loading states for async operations
145
+ - Never omit focus states on interactive elements
146
+ - Never use autoplay audio or video without user consent
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: design-palette
3
+ description: Industry-specific color intelligence — selects palettes by product type, maps hex values to semantic tokens, enforces contrast and dark mode rules.
4
+ license: Apache-2.0
5
+ metadata:
6
+ author: merlin-framework
7
+ version: "3.0.0"
8
+ auto_activate: [color-palette, brand-colors, color-scheme, dark-mode, light-mode]
9
+ file_triggers: [*.css, *.scss, tailwind.config.*]
10
+ tool_reminders: [Always verify color contrast meets WCAG AA (4.5:1 normal text, 3:1 large text) before finalizing palette, Map all hex values to semantic tokens from the design-system skill — never use raw hex in components]
11
+ ---
12
+
13
+ ## Color Selection Workflow
14
+
15
+ 1. **Identify product type** — What is the product? (SaaS, e-commerce, fintech, healthcare, etc.)
16
+ 2. **Select industry palette** — Use the quick reference table below to get the starting palette
17
+ 3. **Customize** — Adjust if the user specifies brand colors or preferences, keeping the semantic structure
18
+ 4. **Map to tokens** — Assign each color to a semantic token: primary, secondary, background, surface, text, CTA, error, success
19
+ 5. **Verify contrast** — Check all text/background pairs meet WCAG AA (4.5:1), CTA buttons meet 3:1
20
+ 6. **Define dark mode** — Same tokens, different values; ensure contrast holds in both modes
21
+
22
+ ## Quick Reference: Top 20 Industry Palettes
23
+
24
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Notes |
25
+ | --- | ------------------ | ------- | --------- | ------- | ---------- | ------- | -------------------------------- |
26
+ | 1 | SaaS (General) | #2563EB | #7C3AED | #F97316 | #F8FAFC | #0F172A | Trust blue + orange CTA contrast |
27
+ | 2 | SaaS Startup | #6366F1 | #EC4899 | #F59E0B | #FFFFFF | #1E293B | Indigo energy + amber urgency |
28
+ | 3 | E-commerce | #059669 | #0EA5E9 | #F97316 | #FFFFFF | #1E293B | Success green + urgency orange |
29
+ | 4 | E-commerce Luxury | #1C1917 | #78716C | #CA8A04 | #FAFAF9 | #1C1917 | Premium dark + gold accent |
30
+ | 5 | Fintech / Banking | #0F172A | #1E40AF | #22C55E | #020617 | #F8FAFC | Dark trust + green positive |
31
+ | 6 | Crypto / Web3 | #7C3AED | #06B6D4 | #F59E0B | #0F0B1A | #F8FAFC | Neon purple + cyan on dark |
32
+ | 7 | Healthcare | #0284C7 | #0D9488 | #2563EB | #F0F9FF | #0C4A6E | Calming blue + teal trust |
33
+ | 8 | AI / Chatbot | #7C3AED | #3B82F6 | #06B6D4 | #0F172A | #F8FAFC | AI purple + cyan interactions |
34
+ | 9 | EdTech | #2563EB | #F59E0B | #059669 | #FFFFFF | #1E293B | Friendly blue + warm accent |
35
+ | 10 | Portfolio | #0F172A | #6366F1 | #F97316 | #FFFFFF | #0F172A | High contrast + accent pop |
36
+ | 11 | Restaurant / Food | #B91C1C | #CA8A04 | #059669 | #FFFBEB | #1C1917 | Appetite red + warm earth |
37
+ | 12 | Gaming | #7C3AED | #F43F5E | #FACC15 | #0F0B1A | #F8FAFC | Neon purple + rose action |
38
+ | 13 | Fitness / Wellness | #059669 | #14B8A6 | #F97316 | #FFFFFF | #1E293B | Energy green + motivating |
39
+ | 14 | Real Estate | #1E40AF | #CA8A04 | #2563EB | #FFFFFF | #0F172A | Trust blue + luxury gold |
40
+ | 15 | Legal / Consulting | #1E3A5F | #475569 | #2563EB | #F8FAFC | #0F172A | Conservative navy + clean |
41
+ | 16 | Travel | #0EA5E9 | #F59E0B | #059669 | #FFFFFF | #1E293B | Sky blue + warm sunset |
42
+ | 17 | Developer Tools | #22C55E | #3B82F6 | #F59E0B | #0F172A | #E2E8F0 | Terminal green + dark |
43
+ | 18 | Marketplace | #2563EB | #059669 | #F97316 | #FFFFFF | #1E293B | Neutral + category colors |
44
+ | 19 | Beauty / Spa | #E8B4B8 | #A8D5BA | #D4AF37 | #FFF5F5 | #1C1917 | Soft pink + sage + gold |
45
+ | 20 | Music / Streaming | #EF4444 | #0F172A | #FACC15 | #0A0A0A | #F8FAFC | Bold red + dark + yellow |
46
+
47
+ For the complete 96-palette catalog, read `references/full-palettes.md`.
48
+
49
+ ## Semantic Token Mapping
50
+
51
+ Map every palette to these semantic tokens (bridges to the design-system skill):
52
+
53
+ | Token | Role | Example (SaaS) |
54
+ | ------------------ | --------------------------- | ------------------ |
55
+ | `primary` | Main brand, primary buttons | #2563EB |
56
+ | `primary-hover` | Primary hover state | Darken primary 10% |
57
+ | `secondary` | Secondary actions, accents | #7C3AED |
58
+ | `background` | Page background | #F8FAFC |
59
+ | `surface` | Card/panel background | #FFFFFF |
60
+ | `surface-elevated` | Modals, dropdowns | #FFFFFF + shadow |
61
+ | `text-primary` | Body text | #0F172A |
62
+ | `text-secondary` | Captions, labels | #475569 |
63
+ | `text-muted` | Placeholders, disabled | #94A3B8 |
64
+ | `border` | Input borders, dividers | #E2E8F0 |
65
+ | `cta` | Call-to-action buttons | #F97316 |
66
+ | `error` | Error states | #EF4444 |
67
+ | `warning` | Warning states | #F59E0B |
68
+ | `success` | Success states | #22C55E |
69
+ | `info` | Informational states | #3B82F6 |
70
+
71
+ ## Dark Mode Rules
72
+
73
+ - Use the SAME token names with DIFFERENT values — never branch on mode in components
74
+ - Background: use near-black (#0F172A or #020617), never pure black (#000000) — reduces eye strain
75
+ - Surface layers: increment lightness slightly (bg < surface < surface-elevated)
76
+ - Text: use near-white (#F8FAFC or #E2E8F0), never pure white (#FFFFFF) on dark bg
77
+ - CTA and accent colors may need lightness adjustments to maintain contrast on dark backgrounds
78
+ - Re-verify ALL contrast ratios after switching to dark mode values
79
+
80
+ ## Color Accessibility
81
+
82
+ **WCAG AA Minimums (mandatory):**
83
+
84
+ - Normal text (< 18px): 4.5:1 contrast ratio
85
+ - Large text (>= 18px or >= 14px bold): 3:1 contrast ratio
86
+ - UI components and graphical objects: 3:1 against adjacent colors
87
+
88
+ **WCAG AAA Targets (recommended for healthcare, education, government):**
89
+
90
+ - Normal text: 7:1 | Large text: 4.5:1
91
+
92
+ **Verification:** Use browser DevTools contrast checker, or calculate: `(L1 + 0.05) / (L2 + 0.05)` where L1 is lighter relative luminance.
93
+
94
+ **Common Pitfalls:**
95
+
96
+ - Light gray text on white background (fails AA)
97
+ - Colored text on colored background without checking (e.g., blue on purple)
98
+ - Placeholder text too low contrast (must still meet 4.5:1 or use alternative patterns)
99
+ - Dark mode inversions that break previously-passing contrast ratios
@@ -0,0 +1,144 @@
1
+ # Complete Color Palette Catalog (96 Palettes)
2
+
3
+ > Reference data for the design-palette skill. Agents should Read this file when they need the full palette catalog beyond the top 20 in SKILL.md.
4
+
5
+ ## SaaS & Technology (1-10)
6
+
7
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
8
+ | --- | --------------- | ------- | --------- | ------- | ---------- | ------- | ------- | -------------------------------- |
9
+ | 1 | SaaS (General) | #2563EB | #7C3AED | #F97316 | #F8FAFC | #0F172A | #E2E8F0 | Trust blue + orange CTA contrast |
10
+ | 2 | SaaS Startup | #6366F1 | #EC4899 | #F59E0B | #FFFFFF | #1E293B | #E2E8F0 | Indigo energy + amber urgency |
11
+ | 3 | Micro SaaS | #3B82F6 | #A78BFA | #10B981 | #FFFFFF | #1E293B | #E2E8F0 | Focused blue + green success |
12
+ | 4 | B2B Enterprise | #1E3A5F | #475569 | #2563EB | #F8FAFC | #0F172A | #CBD5E1 | Conservative navy + action blue |
13
+ | 5 | Developer Tools | #22C55E | #3B82F6 | #F59E0B | #0F172A | #E2E8F0 | #334155 | Terminal green + dark bg |
14
+ | 6 | AI / Chatbot | #7C3AED | #3B82F6 | #06B6D4 | #0F172A | #F8FAFC | #334155 | AI purple + cyan interactions |
15
+ | 7 | API Platform | #0F172A | #3B82F6 | #22C55E | #FFFFFF | #0F172A | #E2E8F0 | Documentation-friendly |
16
+ | 8 | DevOps / CI-CD | #F97316 | #3B82F6 | #22C55E | #0F172A | #F8FAFC | #334155 | Pipeline orange + status green |
17
+ | 9 | Cloud Platform | #0EA5E9 | #6366F1 | #F59E0B | #F0F9FF | #0F172A | #BAE6FD | Sky blue + cloud metaphor |
18
+ | 10 | Cybersecurity | #00FF41 | #EF4444 | #F59E0B | #0A0A0A | #00FF41 | #1A1A2E | Matrix green + alert red |
19
+
20
+ ## E-commerce (11-20)
21
+
22
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
23
+ | --- | -------------------- | ------- | --------- | ------- | ---------- | ------- | ------- | ------------------------------ |
24
+ | 11 | E-commerce (General) | #059669 | #0EA5E9 | #F97316 | #FFFFFF | #1E293B | #E2E8F0 | Success green + urgency orange |
25
+ | 12 | E-commerce Luxury | #1C1917 | #78716C | #CA8A04 | #FAFAF9 | #1C1917 | #D6D3D1 | Premium dark + gold accent |
26
+ | 13 | Marketplace | #2563EB | #059669 | #F97316 | #FFFFFF | #1E293B | #E2E8F0 | Neutral + category colors |
27
+ | 14 | Subscription Box | #EC4899 | #8B5CF6 | #F59E0B | #FFF1F2 | #1E293B | #FECDD3 | Playful pink + surprise |
28
+ | 15 | Dropshipping | #F97316 | #3B82F6 | #EF4444 | #FFFFFF | #1E293B | #E2E8F0 | Urgency orange + action red |
29
+ | 16 | Fashion | #0F172A | #EC4899 | #F59E0B | #FFFFFF | #0F172A | #F1F5F9 | Minimal dark + pink accent |
30
+ | 17 | Electronics | #3B82F6 | #0F172A | #F97316 | #F8FAFC | #0F172A | #E2E8F0 | Tech blue + clean |
31
+ | 18 | Food & Grocery | #059669 | #F59E0B | #EF4444 | #FFFFFF | #1E293B | #D1FAE5 | Fresh green + warm |
32
+ | 19 | Handmade / Artisan | #92400E | #78716C | #CA8A04 | #FFFBEB | #1C1917 | #D6D3D1 | Craft brown + artisan gold |
33
+ | 20 | Pet Products | #F59E0B | #059669 | #EF4444 | #FFFBEB | #1E293B | #FDE68A | Warm amber + friendly |
34
+
35
+ ## Finance (21-30)
36
+
37
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
38
+ | --- | ------------------- | ------- | --------- | ------- | ---------- | ------- | ------- | ---------------------------- |
39
+ | 21 | Fintech (General) | #0F172A | #1E40AF | #22C55E | #020617 | #F8FAFC | #1E293B | Dark trust + green positive |
40
+ | 22 | Banking | #1E3A5F | #0F172A | #2563EB | #F8FAFC | #0F172A | #CBD5E1 | Conservative navy + trust |
41
+ | 23 | Crypto / Web3 | #7C3AED | #06B6D4 | #F59E0B | #0F0B1A | #F8FAFC | #4C1D95 | Neon purple + cyan |
42
+ | 24 | Insurance | #1E40AF | #059669 | #F97316 | #FFFFFF | #0F172A | #BFDBFE | Stable blue + safety green |
43
+ | 25 | Trading Dashboard | #0F172A | #22C55E | #EF4444 | #020617 | #E2E8F0 | #1E293B | Green gain + red loss |
44
+ | 26 | Investment Platform | #1E3A5F | #CA8A04 | #059669 | #F8FAFC | #0F172A | #CBD5E1 | Navy trust + gold premium |
45
+ | 27 | Payment Gateway | #6366F1 | #0F172A | #22C55E | #FFFFFF | #0F172A | #E2E8F0 | Modern indigo + success |
46
+ | 28 | Accounting / Tax | #475569 | #1E40AF | #059669 | #F8FAFC | #0F172A | #CBD5E1 | Professional gray + trust |
47
+ | 29 | Personal Finance | #3B82F6 | #22C55E | #F97316 | #FFFFFF | #1E293B | #E2E8F0 | Friendly blue + growth |
48
+ | 30 | Neobank | #0F172A | #7C3AED | #06B6D4 | #020617 | #F8FAFC | #1E293B | Dark premium + modern accent |
49
+
50
+ ## Healthcare & Wellness (31-40)
51
+
52
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
53
+ | --- | -------------------- | ------- | --------- | ------- | ---------- | ------- | ------- | ------------------------- |
54
+ | 31 | Healthcare (General) | #0284C7 | #0D9488 | #2563EB | #F0F9FF | #0C4A6E | #BAE6FD | Calming blue + teal trust |
55
+ | 32 | Medical Clinic | #0369A1 | #FFFFFF | #059669 | #F0F9FF | #0C4A6E | #BAE6FD | Professional blue + clean |
56
+ | 33 | Pharmacy | #059669 | #0284C7 | #F97316 | #F0FDF4 | #14532D | #BBF7D0 | Health green + pharmacy |
57
+ | 34 | Mental Health | #7C3AED | #A78BFA | #059669 | #FAF5FF | #4C1D95 | #DDD6FE | Calming purple + gentle |
58
+ | 35 | Dental | #0EA5E9 | #FFFFFF | #2563EB | #F0F9FF | #0C4A6E | #BAE6FD | Clean blue + white |
59
+ | 36 | Fitness / Wellness | #059669 | #14B8A6 | #F97316 | #FFFFFF | #1E293B | #D1FAE5 | Energy green + motivating |
60
+ | 37 | Nutrition / Diet | #22C55E | #F59E0B | #EF4444 | #F0FDF4 | #14532D | #BBF7D0 | Fresh green + food warmth |
61
+ | 38 | Veterinary | #0EA5E9 | #F59E0B | #059669 | #F0F9FF | #0C4A6E | #BAE6FD | Friendly blue + warm |
62
+ | 39 | Meditation / Yoga | #7C3AED | #A78BFA | #14B8A6 | #FAF5FF | #4C1D95 | #DDD6FE | Serene purple + teal calm |
63
+ | 40 | Beauty / Spa | #E8B4B8 | #A8D5BA | #D4AF37 | #FFF5F5 | #1C1917 | #FECDD3 | Soft pink + sage + gold |
64
+
65
+ ## Education (41-46)
66
+
67
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
68
+ | --- | --------------------- | ------- | --------- | ------- | ---------- | ------- | ------- | ---------------------------- |
69
+ | 41 | EdTech | #2563EB | #F59E0B | #059669 | #FFFFFF | #1E293B | #BFDBFE | Friendly blue + warm |
70
+ | 42 | Online Course | #6366F1 | #EC4899 | #F59E0B | #FFFFFF | #1E293B | #C7D2FE | Modern indigo + engaging |
71
+ | 43 | LMS Platform | #1E40AF | #059669 | #F97316 | #F8FAFC | #0F172A | #BFDBFE | Stable blue + progress green |
72
+ | 44 | Kids Education | #F59E0B | #EC4899 | #059669 | #FFFBEB | #1E293B | #FDE68A | Playful warm + pink accent |
73
+ | 45 | University / Academic | #1E3A5F | #CA8A04 | #2563EB | #F8FAFC | #0F172A | #CBD5E1 | Traditional navy + gold |
74
+ | 46 | Tutoring Platform | #3B82F6 | #22C55E | #F97316 | #FFFFFF | #1E293B | #BFDBFE | Trust blue + success green |
75
+
76
+ ## Creative & Media (47-56)
77
+
78
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
79
+ | --- | ----------------- | ------- | --------- | ------- | ---------- | ------- | ------- | ---------------------------- |
80
+ | 47 | Portfolio | #0F172A | #6366F1 | #F97316 | #FFFFFF | #0F172A | #F1F5F9 | High contrast + accent pop |
81
+ | 48 | Agency | #0F172A | #EF4444 | #F59E0B | #FFFFFF | #0F172A | #E2E8F0 | Bold dark + red energy |
82
+ | 49 | Photography | #0F172A | #78716C | #FFFFFF | #0A0A0A | #FAFAF9 | #262626 | Minimal dark + gallery focus |
83
+ | 50 | Music / Streaming | #EF4444 | #0F172A | #FACC15 | #0A0A0A | #F8FAFC | #262626 | Bold red + dark + yellow |
84
+ | 51 | Video Platform | #EF4444 | #0F172A | #FFFFFF | #0F0F0F | #F8FAFC | #262626 | Video red + dark cinema |
85
+ | 52 | Podcast | #7C3AED | #F97316 | #22C55E | #0F172A | #F8FAFC | #334155 | Audio purple + warm |
86
+ | 53 | Gaming | #7C3AED | #F43F5E | #FACC15 | #0F0B1A | #F8FAFC | #4C1D95 | Neon purple + rose |
87
+ | 54 | Design Tool | #3B82F6 | #EC4899 | #F59E0B | #FFFFFF | #0F172A | #E2E8F0 | Creative blue + pink |
88
+ | 55 | Newsletter | #0F172A | #3B82F6 | #F97316 | #FFFFFF | #0F172A | #E2E8F0 | Clean + readable |
89
+ | 56 | Social Media | #6366F1 | #EC4899 | #F59E0B | #FFFFFF | #1E293B | #C7D2FE | Engaging indigo + pink |
90
+
91
+ ## Services & Professional (57-70)
92
+
93
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
94
+ | --- | ------------------- | ------- | --------- | ------- | ---------- | ------- | ------- | --------------------------- |
95
+ | 57 | Restaurant / Food | #B91C1C | #CA8A04 | #059669 | #FFFBEB | #1C1917 | #FDE68A | Appetite red + warm earth |
96
+ | 58 | Hotel / Hospitality | #1E3A5F | #CA8A04 | #2563EB | #FFFFFF | #0F172A | #CBD5E1 | Navy trust + gold luxury |
97
+ | 59 | Travel | #0EA5E9 | #F59E0B | #059669 | #FFFFFF | #1E293B | #BAE6FD | Sky blue + sunset warmth |
98
+ | 60 | Real Estate | #1E40AF | #CA8A04 | #2563EB | #FFFFFF | #0F172A | #BFDBFE | Trust blue + luxury gold |
99
+ | 61 | Legal | #1E3A5F | #475569 | #2563EB | #F8FAFC | #0F172A | #CBD5E1 | Conservative navy + clean |
100
+ | 62 | Consulting | #0F172A | #475569 | #3B82F6 | #F8FAFC | #0F172A | #CBD5E1 | Professional dark + blue |
101
+ | 63 | Automotive | #0F172A | #EF4444 | #F59E0B | #FFFFFF | #0F172A | #E2E8F0 | Bold dark + performance red |
102
+ | 64 | Construction | #F59E0B | #0F172A | #EF4444 | #FFFFFF | #1E293B | #FDE68A | Safety yellow + industrial |
103
+ | 65 | Logistics | #3B82F6 | #F97316 | #22C55E | #F8FAFC | #0F172A | #BFDBFE | Reliable blue + tracking |
104
+ | 66 | Recruitment | #6366F1 | #059669 | #F97316 | #FFFFFF | #1E293B | #C7D2FE | Modern indigo + success |
105
+ | 67 | Event Management | #EC4899 | #7C3AED | #F59E0B | #FFFFFF | #1E293B | #FECDD3 | Vibrant pink + purple |
106
+ | 68 | Wedding | #E8B4B8 | #CA8A04 | #D4AF37 | #FFF5F5 | #1C1917 | #FECDD3 | Romantic pink + gold |
107
+ | 69 | Non-Profit / NGO | #059669 | #0284C7 | #F97316 | #FFFFFF | #1E293B | #D1FAE5 | Hope green + action |
108
+ | 70 | Government / Civic | #1E40AF | #0F172A | #059669 | #F8FAFC | #0F172A | #BFDBFE | Official blue + trust |
109
+
110
+ ## Emerging & Specialized (71-86)
111
+
112
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
113
+ | --- | -------------------- | ------- | --------- | ------- | ---------- | ------- | ------- | ------------------------- |
114
+ | 71 | IoT Dashboard | #06B6D4 | #3B82F6 | #22C55E | #0F172A | #E2E8F0 | #164E63 | Connected cyan + data |
115
+ | 72 | AR / VR Platform | #7C3AED | #EC4899 | #06B6D4 | #0F0B1A | #F8FAFC | #4C1D95 | Immersive purple + cyan |
116
+ | 73 | Robotics | #3B82F6 | #475569 | #22C55E | #0F172A | #E2E8F0 | #1E293B | Technical blue + steel |
117
+ | 74 | Space Tech | #0F172A | #6366F1 | #06B6D4 | #020617 | #F8FAFC | #1E293B | Deep space + stellar |
118
+ | 75 | Climate / Green Tech | #059669 | #22C55E | #F59E0B | #F0FDF4 | #14532D | #BBF7D0 | Eco green + nature |
119
+ | 76 | Blockchain | #F59E0B | #7C3AED | #06B6D4 | #0F172A | #F8FAFC | #334155 | Gold chain + tech purple |
120
+ | 77 | NFT / Digital Art | #EC4899 | #7C3AED | #F59E0B | #0A0A0A | #F8FAFC | #4C1D95 | Bold pink + purple dark |
121
+ | 78 | Quantum Computing | #00FFFF | #FF00FF | #F59E0B | #0A0A0A | #E0FFFF | #1A1A2E | Quantum cyan + magenta |
122
+ | 79 | Autonomous Systems | #3B82F6 | #F97316 | #22C55E | #0F172A | #E2E8F0 | #1E293B | Navigation blue + alert |
123
+ | 80 | Biotech | #0D9488 | #7C3AED | #059669 | #F0FDFA | #134E4A | #99F6E4 | Bio teal + science purple |
124
+ | 81 | Spatial / VisionOS | #FFFFFF | #3B82F6 | #007AFF | #F2F2F7 | #1C1C1E | #C6C6C8 | Glass white + system blue |
125
+ | 82 | Sustainability | #059669 | #92400E | #F59E0B | #FFFFFF | #14532D | #D1FAE5 | Earth green + brown |
126
+ | 83 | 3D Printing | #F97316 | #3B82F6 | #22C55E | #FFFFFF | #0F172A | #FED7AA | Maker orange + tech |
127
+ | 84 | Drone / UAV | #0EA5E9 | #0F172A | #22C55E | #F0F9FF | #0C4A6E | #BAE6FD | Sky blue + flight |
128
+ | 85 | Energy / Utilities | #F59E0B | #059669 | #2563EB | #FFFFFF | #1E293B | #FDE68A | Energy amber + green |
129
+ | 86 | Cybersecurity | #00FF41 | #EF4444 | #F59E0B | #0A0A0A | #00FF41 | #1A1A2E | Matrix green + alert red |
130
+
131
+ ## Lifestyle & Consumer (87-96)
132
+
133
+ | # | Product Type | Primary | Secondary | CTA | Background | Text | Border | Notes |
134
+ | --- | ------------------ | ------- | --------- | ------- | ---------- | ------- | ------- | -------------------------- |
135
+ | 87 | Dating App | #EF4444 | #EC4899 | #F59E0B | #FFF1F2 | #1E293B | #FECDD3 | Love red + warm pink |
136
+ | 88 | Social Network | #3B82F6 | #059669 | #F97316 | #FFFFFF | #1E293B | #BFDBFE | Connect blue + social |
137
+ | 89 | News / Media | #0F172A | #EF4444 | #2563EB | #FFFFFF | #0F172A | #E2E8F0 | Serious dark + alert red |
138
+ | 90 | Weather App | #0EA5E9 | #F59E0B | #3B82F6 | #F0F9FF | #0C4A6E | #BAE6FD | Sky blue + sun amber |
139
+ | 91 | Productivity | #6366F1 | #059669 | #F59E0B | #FFFFFF | #1E293B | #C7D2FE | Focus indigo + success |
140
+ | 92 | CRM | #2563EB | #059669 | #F97316 | #F8FAFC | #0F172A | #BFDBFE | Relationship blue + growth |
141
+ | 93 | Project Management | #7C3AED | #3B82F6 | #22C55E | #FFFFFF | #1E293B | #DDD6FE | Task purple + status |
142
+ | 94 | Note-Taking | #F59E0B | #0F172A | #059669 | #FFFBEB | #1C1917 | #FDE68A | Paper amber + ink dark |
143
+ | 95 | Meditation App | #7C3AED | #A78BFA | #14B8A6 | #FAF5FF | #4C1D95 | #DDD6FE | Serene purple + teal |
144
+ | 96 | Kids App | #F59E0B | #EC4899 | #059669 | #FFF7ED | #1E293B | #FDE68A | Playful + safe + bright |
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: design-system
3
+ description: Enforces design system constraints — semantic tokens only, limited palette, consistent spacing. Prevents direct color/size classes.
4
+ license: Apache-2.0
5
+ metadata:
6
+ author: merlin-framework
7
+ version: "3.0.0"
8
+ auto_activate: [design-system, design-tokens, tailwind-config, component-library]
9
+ file_triggers: [*.css, *.scss, *.tsx, *.jsx, *.vue, *.svelte]
10
+ tool_reminders: [No direct color classes (bg-red-500) — use semantic tokens only (bg-primary, text-error), Maximum 3-5 colors total, max 2 font families, Spacing via design tokens only — no arbitrary pixel values, Run pre-delivery checklist before presenting any UI work to the user]
11
+ ---
12
+
13
+ ## Color System
14
+
15
+ Use semantic color tokens exclusively. Never reference raw color values or utility color classes directly.
16
+
17
+ **Semantic Tokens:**
18
+
19
+ - `primary`, `primary-hover`, `primary-active` — main brand actions
20
+ - `secondary` — secondary actions and accents
21
+ - `background`, `surface`, `surface-elevated` — layout layers
22
+ - `text-primary`, `text-secondary`, `text-muted` — typography hierarchy
23
+ - `border`, `border-subtle` — separators and outlines
24
+ - `error`, `warning`, `success`, `info` — semantic status colors
25
+
26
+ **Rules:**
27
+
28
+ - Maximum 3-5 base colors in the palette; derive shades programmatically
29
+ - Dark mode uses the same token names with different values — never branch on mode in components
30
+ - Contrast ratio: text on background must meet WCAG AA (4.5:1 normal, 3:1 large)
31
+
32
+ ## Typography
33
+
34
+ - Maximum 2 font families: one for headings, one for body (or a single family for both)
35
+ - Use a type scale with consistent ratios (e.g., 1.25 major third)
36
+ - Sizes via tokens: `text-xs`, `text-sm`, `text-base`, `text-lg`, `text-xl`, `text-2xl`
37
+ - Line height: 1.5 for body text, 1.2 for headings
38
+ - Never set font-size with arbitrary pixel values
39
+
40
+ ## Spacing
41
+
42
+ - Use a spacing scale based on a 4px or 8px grid: `space-1` (4px), `space-2` (8px), `space-3` (12px), `space-4` (16px), `space-6` (24px), `space-8` (32px)
43
+ - Never use arbitrary margin/padding values; always reference the spacing scale
44
+ - Component internal padding: `space-3` to `space-4`
45
+ - Section gaps: `space-6` to `space-8`
46
+
47
+ ## Component Patterns
48
+
49
+ - Buttons: primary, secondary, ghost, danger variants only
50
+ - Inputs: consistent border, focus ring, error state across all form elements
51
+ - Cards: uniform border-radius, shadow elevation, padding
52
+ - Icons: single icon library, consistent sizing (16px, 20px, 24px)
53
+
54
+ ## Icon Discipline
55
+
56
+ Enforce a single visual language for icons across the entire product:
57
+
58
+ - **One icon set** — Choose one library (Heroicons, Lucide, Phosphor, etc.) and use it exclusively
59
+ - **Consistent sizing** — Define tokens: `icon-sm` (16px), `icon-md` (20px), `icon-lg` (24px), `icon-xl` (32px)
60
+ - **Stroke consistency** — Use the same stroke width within the same visual layer (1.5px or 2px, never mixed)
61
+ - **Filled vs Outline** — Pick one style per hierarchy level. Don't mix filled and outline at the same level
62
+ - **No emoji as icons** — SVG only for structural UI elements (navigation, settings, controls)
63
+ - **Icon alignment** — Align icons to text baseline, maintain consistent padding around icons
64
+ - **Icon contrast** — WCAG 3:1 minimum for UI glyphs, 4.5:1 for small icon elements
65
+ - **Touch target** — Icons used as buttons must have ≥44px interactive area (use padding or `hitSlop`)
66
+
67
+ ## Pre-Delivery Validation Checklist
68
+
69
+ Before presenting ANY UI work to the user, verify all of the following:
70
+
71
+ 1. **No emoji icons** — use SVG icons only (Heroicons, Lucide, or project's chosen library)
72
+ 2. **cursor-pointer** on all clickable elements (buttons, links, interactive cards)
73
+ 3. **Smooth transitions** — 150-300ms duration on hover/focus/active state changes
74
+ 4. **WCAG AA contrast** — 4.5:1 ratio for normal text, 3:1 for large text (18px+ or 14px+ bold)
75
+ 5. **Keyboard focus states** — visible focus ring on all interactive elements, logical tab order
76
+ 6. **prefers-reduced-motion** — wrap animations in `@media (prefers-reduced-motion: no-preference)`
77
+ 7. **Responsive breakpoints** — test at 375px (mobile), 768px (tablet), 1024px (laptop), 1440px (desktop)
78
+ 8. **No layout shifts** — hover/focus/interaction must not cause surrounding elements to move
79
+
80
+ ## Design System Persistence
81
+
82
+ When generating a design system for a project, use the Master + Override pattern:
83
+
84
+ **Master file** — `design-system/MASTER.md`:
85
+
86
+ - Single source of truth for the entire project
87
+ - Contains: color palette (hex + token names), typography (fonts, scale, weights), spacing scale, component variants, icon library choice
88
+ - All pages inherit from MASTER by default
89
+
90
+ **Page overrides** — `design-system/pages/<page-name>.md`:
91
+
92
+ - Only declares deviations from MASTER (e.g., a landing page using a hero-specific accent color)
93
+ - Must explicitly reference which MASTER tokens are overridden and why
94
+ - Everything not overridden inherits from MASTER unchanged