codymaster 7.0.1 → 7.0.3

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 (341) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/README.md +117 -2
  3. package/dist/agent/codex.js +73 -21
  4. package/dist/agent-dispatch.js +63 -48
  5. package/dist/cli/commands/brain.js +18 -0
  6. package/dist/cli/commands/design-studio.js +1 -1
  7. package/dist/cm-suggest.js +3 -3
  8. package/dist/dashboard-project-summary.js +9 -0
  9. package/dist/dashboard.js +11 -5
  10. package/dist/execution-analyzer.js +9 -1
  11. package/dist/judge.js +16 -15
  12. package/dist/mcp-context-server.js +45 -23
  13. package/dist/mcp-skills-tools.js +2 -2
  14. package/dist/skill-chain.js +26 -3
  15. package/dist/skill-token-report.js +105 -0
  16. package/dist/sprint-pipeline.js +3 -3
  17. package/dist/ui/onboarding.js +3 -4
  18. package/dist/utils/design-taste.js +1 -1
  19. package/dist/utils/output-compress.js +8 -0
  20. package/package.json +3 -2
  21. package/public/dashboard/app.js +40 -13
  22. package/public/dashboard/index.html +190 -5
  23. package/public/dashboard/style.css +1 -1
  24. package/scripts/build-skills.mjs +36 -2
  25. package/scripts/mcp-bridge.js +41 -24
  26. package/scripts/pack-plugin.mjs +206 -0
  27. package/skills/cm-ads-tracker/SKILL.md +401 -0
  28. package/skills/cm-ads-tracker/evals/evals.json +55 -0
  29. package/skills/cm-ads-tracker/references/gtm-architecture.md +321 -0
  30. package/skills/cm-ads-tracker/references/industry-events.md +294 -0
  31. package/skills/cm-ads-tracker/references/platforms-api.md +238 -0
  32. package/skills/cm-ads-tracker/templates/capi-payload.md +79 -0
  33. package/skills/cm-ads-tracker/templates/datalayer-push.js +104 -0
  34. package/skills/cm-ads-tracker/templates/gtm-variables.js +56 -0
  35. package/skills/cm-auto-publisher/SKILL.md +81 -0
  36. package/skills/cm-booking-calendar/SKILL.md +521 -0
  37. package/skills/cm-booking-calendar/references/industry-patterns.md +527 -0
  38. package/skills/cm-booking-calendar/templates/booking-form.css +626 -0
  39. package/skills/cm-booking-calendar/templates/booking-form.html +477 -0
  40. package/skills/cm-booking-calendar/templates/calendar-engine.js +419 -0
  41. package/skills/cm-booking-calendar/templates/calendar-export.js +395 -0
  42. package/skills/cm-booking-calendar/templates/reminder-config.js +629 -0
  43. package/skills/cm-brainstorm-idea/SKILL.md +5 -5
  44. package/skills/cm-code-review/SKILL.md +2 -2
  45. package/skills/cm-codeintell/SKILL.md +47 -580
  46. package/skills/cm-codeintell/references/integration-workflows.md +23 -0
  47. package/skills/cm-codeintell/references/layer-0-skeleton.md +54 -0
  48. package/skills/cm-codeintell/references/layer-1-codegraph.md +58 -0
  49. package/skills/cm-codeintell/references/layer-2-architecture.md +31 -0
  50. package/skills/cm-codeintell/references/layer-3-context-builder.md +32 -0
  51. package/skills/cm-content-factory/.content-factory-state.json +132 -0
  52. package/skills/cm-content-factory/.git 2/logs/refs/heads/main +1 -0
  53. package/skills/cm-content-factory/.git 2/logs/refs/remotes/origin/main +1 -0
  54. package/skills/cm-content-factory/.git 2/objects/02/fb0956734b5f8ba3f918b7defd04a89cfe0076 +0 -0
  55. package/skills/cm-content-factory/.git 2/objects/08/1e129d75dc6feac6c02037272e6bd1a04e3324 +0 -0
  56. package/skills/cm-content-factory/.git 2/objects/0c/5393416f3c5e01c9a655a802bff0dd52f76f0a +0 -0
  57. package/skills/cm-content-factory/.git 2/objects/10/0b9be46978a946a77188f68be725098a122001 +0 -0
  58. package/skills/cm-content-factory/.git 2/objects/10/cf041167fc9843610eb3d90259ef3396315fdc +0 -0
  59. package/skills/cm-content-factory/.git 2/objects/12/5e19538dd6e1338ffe74f6c4c165b00435bf48 +0 -0
  60. package/skills/cm-content-factory/.git 2/objects/16/a9b9d0088d5c1347628b45a2620b479d8ad57c +0 -0
  61. package/skills/cm-content-factory/.git 2/objects/17/8c2a9ef93c33ae4eec9d58e82321f9229843a1 +0 -0
  62. package/skills/cm-content-factory/.git 2/objects/25/397ae41d09104d763bdcac2695209d85cdea89 +0 -0
  63. package/skills/cm-content-factory/.git 2/objects/2f/a836b7947f2d458e1f639788bf4bb0983a3305 +0 -0
  64. package/skills/cm-content-factory/.git 2/objects/3a/baaaf0a1c0909c0828335791557125fba911e0 +0 -0
  65. package/skills/cm-content-factory/.git 2/objects/42/2924221b81f5ce3c4e4daac9a64a24f9b01f9a +0 -0
  66. package/skills/cm-content-factory/.git 2/objects/42/ec0ce707447dc11446a34c9995fb8533801731 +0 -0
  67. package/skills/cm-content-factory/.git 2/objects/46/e43ce92866d56ce74b1d750db307cfe6154a15 +0 -0
  68. package/skills/cm-content-factory/.git 2/objects/48/5e41b633c63f55b8277bcc59f44f67681f671a +0 -0
  69. package/skills/cm-content-factory/.git 2/objects/49/49c596a3a89fa240642acd95dd3258e261eb09 +0 -0
  70. package/skills/cm-content-factory/.git 2/objects/50/9d42d8412ef8eaf7f7e138476bac2e4d10ce60 +0 -0
  71. package/skills/cm-content-factory/.git 2/objects/55/0c8c389d981b463ef849aeb792d8be3ccb6ec8 +0 -0
  72. package/skills/cm-content-factory/.git 2/objects/5d/82d3b18410cdda3ace3677436f0cb599dbe2d2 +0 -0
  73. package/skills/cm-content-factory/.git 2/objects/60/0617c58e871a38b33bf29e282d132bb3c381ad +0 -0
  74. package/skills/cm-content-factory/.git 2/objects/6a/8369a99c687b7245c92ffaf0e0f0dab9014504 +0 -0
  75. package/skills/cm-content-factory/.git 2/objects/79/bea435d40ab531c1aaf6be0432c6a5b7aaed21 +0 -0
  76. package/skills/cm-content-factory/.git 2/objects/7e/5ebd79251c2f14e4aceb86c74b6b6daae6b500 +0 -0
  77. package/skills/cm-content-factory/.git 2/objects/81/98a822a60178d6d5023ddb3e222cddf048742e +0 -0
  78. package/skills/cm-content-factory/.git 2/objects/86/0a0e1943dfe53411d2e499a1f16f46a96ef758 +0 -0
  79. package/skills/cm-content-factory/.git 2/objects/86/971fb55fdc081fdbae52376f0f13e57a4e9b04 +0 -0
  80. package/skills/cm-content-factory/.git 2/objects/88/b89dd609a0a03f8d4fe8bfde20d5b8fc1d326d +0 -0
  81. package/skills/cm-content-factory/.git 2/objects/90/8737edb6b7809e32cc01590b4e08ba42a9d40d +0 -0
  82. package/skills/cm-content-factory/.git 2/objects/93/d5a8a9a7d4fb7f11491cb596a6880528725118 +0 -0
  83. package/skills/cm-content-factory/.git 2/objects/98/46a2ab81d0c3b3eb00ef88fc56989aa7e9f316 +0 -0
  84. package/skills/cm-content-factory/.git 2/objects/9b/d8dd1e49cf274eaf9c555f3ab39dce7af5715e +0 -0
  85. package/skills/cm-content-factory/.git 2/objects/a1/13329fb0cec96ae78b222d33a24c3b5bc7fa1f +0 -0
  86. package/skills/cm-content-factory/.git 2/objects/a9/e6effe626e8a3aea3a8fc3364b492191c6e7d0 +0 -0
  87. package/skills/cm-content-factory/.git 2/objects/ad/6de7e48d9782cca9353d1ff0aa1aab7fe1df85 +0 -0
  88. package/skills/cm-content-factory/.git 2/objects/af/54ae316f771ff692e299ffcd8bf2f06b413b59 +0 -0
  89. package/skills/cm-content-factory/.git 2/objects/b0/4cb8b0b00dad633e731c1472161419e738d674 +0 -0
  90. package/skills/cm-content-factory/.git 2/objects/b3/094abb0b9ed46419b269e4a4e36a459690e3b0 +0 -0
  91. package/skills/cm-content-factory/.git 2/objects/b9/435c5d4baac2cfc5c83009ddd27b46b60db5f1 +0 -0
  92. package/skills/cm-content-factory/.git 2/objects/ba/5da17dbaec5ec2dcfdfd126aead518d1171d5c +0 -0
  93. package/skills/cm-content-factory/.git 2/objects/c0/bf58703aa258ba5dd63083bebaec8f223d844c +0 -0
  94. package/skills/cm-content-factory/.git 2/objects/c4/701a34edf1fc1bad58ccc57bd03f9426acb59a +0 -0
  95. package/skills/cm-content-factory/.git 2/objects/c7/5ccce9a4e5cc74d9b3174550cf6d993ca43638 +0 -0
  96. package/skills/cm-content-factory/.git 2/objects/c7/710d59b5a35b0f1f0a0399386643a0bd94c929 +0 -0
  97. package/skills/cm-content-factory/.git 2/objects/d1/fe58237112e953e5fec52da22cf38e08be3df9 +5 -0
  98. package/skills/cm-content-factory/.git 2/objects/d2/2bbe9fd2f74c95bc5583e803f5e435f1e2cd86 +0 -0
  99. package/skills/cm-content-factory/.git 2/objects/d7/e72852ea2bff74581dbf247d400120086229f4 +0 -0
  100. package/skills/cm-content-factory/.git 2/objects/d8/d4c3b5553e4fd72807e1d4b49ef07d9ef3ac35 +0 -0
  101. package/skills/cm-content-factory/.git 2/objects/dc/75050c2876f6a02ae2a53a3c886f395b622977 +0 -0
  102. package/skills/cm-content-factory/.git 2/objects/ee/e8546f95acec500187c08a28a8b9ee02db0dec +0 -0
  103. package/skills/cm-content-factory/.git 2/objects/ef/263c059208b416c2146434f10cb2b9fabcba16 +0 -0
  104. package/skills/cm-content-factory/.git 2/objects/f3/ae597e84d9a59b88acd21c99bde2eaf686d785 +0 -0
  105. package/skills/cm-content-factory/.git 2/objects/f3/f6f5673c821d3d8e76fa267a9e882e7a5387ea +0 -0
  106. package/skills/cm-content-factory/.git 2/objects/f9/6e6d0ad02624dd11d5848594d056caef7a5e8b +0 -0
  107. package/skills/cm-content-factory/.git 2/objects/ff/278988fc1edf0db3abcf18de795f4cc0b4f3e1 +0 -0
  108. package/skills/cm-content-factory/.git 2/refs/heads/main +1 -0
  109. package/skills/cm-content-factory/.git 2/refs/remotes/origin/main +1 -0
  110. package/skills/cm-content-factory/.pytest_cache 2/v/cache/nodeids +76 -0
  111. package/skills/cm-content-factory/.pytest_cache 2/v/cache/stepwise +1 -0
  112. package/skills/cm-content-factory/AGENTS.md +61 -0
  113. package/skills/cm-content-factory/CLAUDE.md +63 -0
  114. package/skills/cm-content-factory/CURSOR.md +43 -0
  115. package/skills/cm-content-factory/Content Factory.zip +0 -0
  116. package/skills/cm-content-factory/SKILL.md +416 -0
  117. package/skills/cm-content-factory/cf +313 -0
  118. package/skills/cm-content-factory/config.schema.json +397 -0
  119. package/skills/cm-content-factory/dashboard/app.js +556 -0
  120. package/skills/cm-content-factory/dashboard/index.html +397 -0
  121. package/skills/cm-content-factory/dashboard/style.css +1211 -0
  122. package/skills/cm-content-factory/examples/01-real-estate.config.json +146 -0
  123. package/skills/cm-content-factory/examples/02-personal-finance.config.json +146 -0
  124. package/skills/cm-content-factory/examples/03-health-wellness.config.json +147 -0
  125. package/skills/cm-content-factory/examples/04-saas-software.config.json +147 -0
  126. package/skills/cm-content-factory/examples/05-legal-services.config.json +147 -0
  127. package/skills/cm-content-factory/examples/06-insurance.config.json +146 -0
  128. package/skills/cm-content-factory/examples/07-ecommerce-dropship.config.json +146 -0
  129. package/skills/cm-content-factory/examples/08-online-education.config.json +147 -0
  130. package/skills/cm-content-factory/examples/09-crypto-defi.config.json +147 -0
  131. package/skills/cm-content-factory/examples/10-beauty-skincare.config.json +147 -0
  132. package/skills/cm-content-factory/examples/11-home-services.config.json +146 -0
  133. package/skills/cm-content-factory/examples/12-dental-clinic.config.json +147 -0
  134. package/skills/cm-content-factory/examples/13-pet-care.config.json +147 -0
  135. package/skills/cm-content-factory/examples/14-travel-hospitality.config.json +147 -0
  136. package/skills/cm-content-factory/examples/15-ai-automation.config.json +147 -0
  137. package/skills/cm-content-factory/examples/16-wedding-events.config.json +147 -0
  138. package/skills/cm-content-factory/examples/17-fitness-coaching.config.json +148 -0
  139. package/skills/cm-content-factory/examples/18-cybersecurity.config.json +147 -0
  140. package/skills/cm-content-factory/examples/19-food-restaurant.config.json +148 -0
  141. package/skills/cm-content-factory/examples/20-solar-energy.config.json +147 -0
  142. package/skills/cm-content-factory/examples/fitness-blog.config.json +116 -0
  143. package/skills/cm-content-factory/examples/tech-blog.config.json +107 -0
  144. package/skills/cm-content-factory/extensions/EXTENSION_GUIDE.md +72 -0
  145. package/skills/cm-content-factory/extensions/hooks.py +126 -0
  146. package/skills/cm-content-factory/extensions/openclaw_adapter.py +132 -0
  147. package/skills/cm-content-factory/landing/docs/content/changelog.md +36 -0
  148. package/skills/cm-content-factory/landing/docs/content/deployment.md +46 -0
  149. package/skills/cm-content-factory/landing/docs/content/execution-flow.md +67 -0
  150. package/skills/cm-content-factory/landing/docs/content/openspace.md +27 -0
  151. package/skills/cm-content-factory/landing/docs/content/openviking.md +33 -0
  152. package/skills/cm-content-factory/landing/docs/content/use-cases.md +26 -0
  153. package/skills/cm-content-factory/landing/docs/content/v5-intro.md +28 -0
  154. package/skills/cm-content-factory/landing/docs/index.html +240 -0
  155. package/skills/cm-content-factory/landing/index.html +680 -0
  156. package/skills/cm-content-factory/landing/script.js +143 -0
  157. package/skills/cm-content-factory/landing/style.css +1216 -0
  158. package/skills/cm-content-factory/landing/translations.js +508 -0
  159. package/skills/cm-content-factory/logs/events.jsonl +11 -0
  160. package/skills/cm-content-factory/profiles/_template.profile.json +231 -0
  161. package/skills/cm-content-factory/profiles/finance.profile.json +278 -0
  162. package/skills/cm-content-factory/profiles/legal.profile.json +263 -0
  163. package/skills/cm-content-factory/profiles/medical-research.profile.json +321 -0
  164. package/skills/cm-content-factory/profiles/technology.profile.json +275 -0
  165. package/skills/cm-content-factory/scripts/agent_dispatcher.py +266 -0
  166. package/skills/cm-content-factory/scripts/audit.py +106 -0
  167. package/skills/cm-content-factory/scripts/dashboard_server.py +225 -0
  168. package/skills/cm-content-factory/scripts/deploy.py +146 -0
  169. package/skills/cm-content-factory/scripts/extract.py +132 -0
  170. package/skills/cm-content-factory/scripts/landing_generator.py +459 -0
  171. package/skills/cm-content-factory/scripts/memory.py +521 -0
  172. package/skills/cm-content-factory/scripts/monetize.py +239 -0
  173. package/skills/cm-content-factory/scripts/pipeline.py +357 -0
  174. package/skills/cm-content-factory/scripts/plan.py +163 -0
  175. package/skills/cm-content-factory/scripts/publish.py +145 -0
  176. package/skills/cm-content-factory/scripts/research.py +337 -0
  177. package/skills/cm-content-factory/scripts/scaffold.py +464 -0
  178. package/skills/cm-content-factory/scripts/scoreboard.py +336 -0
  179. package/skills/cm-content-factory/scripts/seo.py +90 -0
  180. package/skills/cm-content-factory/scripts/state_manager.py +320 -0
  181. package/skills/cm-content-factory/scripts/token_manager.py +268 -0
  182. package/skills/cm-content-factory/scripts/validate.py +221 -0
  183. package/skills/cm-content-factory/scripts/wizard.py +329 -0
  184. package/skills/cm-content-factory/scripts/write.py +93 -0
  185. package/skills/cm-content-factory/sites/docs-site/src/assets/houston.webp +0 -0
  186. package/skills/cm-content-factory/sites/docs-site/src/content/docs/architecture.md +90 -0
  187. package/skills/cm-content-factory/sites/docs-site/src/content/docs/data-flow.md +54 -0
  188. package/skills/cm-content-factory/sites/docs-site/src/content/docs/deployment.md +38 -0
  189. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/index.md +65 -0
  190. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/lc-content-lifecycle.md +48 -0
  191. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/seq-write-mode.md +39 -0
  192. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/uj-first-batch.md +42 -0
  193. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/wf-content-pipeline.md +51 -0
  194. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/wf-learning-cycle.md +52 -0
  195. package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/configuration.md +86 -0
  196. package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/installation.md +80 -0
  197. package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/intro.md +58 -0
  198. package/skills/cm-content-factory/sites/docs-site/src/content/docs/index.md +102 -0
  199. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/index.md +45 -0
  200. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/optimize-seo.md +29 -0
  201. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/scale-content-production.md +55 -0
  202. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/standardize-quality.md +29 -0
  203. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/buyer-cmo-huong.md +41 -0
  204. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/buyer-content-lead-khoa.md +40 -0
  205. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/index.md +56 -0
  206. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-content-manager-lan.md +46 -0
  207. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-seo-minh.md +45 -0
  208. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-writer-tu.md +45 -0
  209. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/content-pipeline.md +108 -0
  210. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/index.md +22 -0
  211. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/memory-system.md +52 -0
  212. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/seo-optimization.md +58 -0
  213. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/troubleshooting-guide.md +92 -0
  214. package/skills/cm-content-factory/sites/docs-site/src/styles/custom.css +575 -0
  215. package/skills/cm-content-factory/tests/conftest.py +66 -0
  216. package/skills/cm-content-factory/tests/test_agent_dispatcher.py +125 -0
  217. package/skills/cm-content-factory/tests/test_memory.py +128 -0
  218. package/skills/cm-content-factory/tests/test_pipeline.py +107 -0
  219. package/skills/cm-content-factory/tests/test_research.py +56 -0
  220. package/skills/cm-content-factory/tests/test_state_manager.py +131 -0
  221. package/skills/cm-content-factory/tests/test_token_manager.py +110 -0
  222. package/skills/cm-content-factory/tests/test_wizard.py +121 -0
  223. package/skills/cm-continuity/SKILL.md +49 -480
  224. package/skills/cm-continuity/references/cm-uri-scheme.md +23 -0
  225. package/skills/cm-continuity/references/continuity-template.md +48 -0
  226. package/skills/cm-continuity/references/mcp-context-server.md +27 -0
  227. package/skills/cm-continuity/references/memory-architecture.md +26 -0
  228. package/skills/cm-continuity/references/memory-audit.md +18 -0
  229. package/skills/cm-continuity/references/session-protocol.md +31 -0
  230. package/skills/cm-continuity/references/storage-formats.md +20 -0
  231. package/skills/cm-cro-methodology/SKILL.md +290 -0
  232. package/skills/cm-cro-methodology/references/COPYWRITING.md +178 -0
  233. package/skills/cm-cro-methodology/references/OBJECTIONS.md +135 -0
  234. package/skills/cm-cro-methodology/references/PERSUASION.md +158 -0
  235. package/skills/cm-cro-methodology/references/RESEARCH.md +220 -0
  236. package/skills/cm-cro-methodology/references/funnel-analysis.md +365 -0
  237. package/skills/cm-cro-methodology/references/testing-methodology.md +330 -0
  238. package/skills/cm-design-system/SKILL.md +5 -6
  239. package/skills/cm-execution/SKILL.md +61 -379
  240. package/skills/cm-execution/references/mode-a-batch.md +28 -0
  241. package/skills/cm-execution/references/mode-b-subagent.md +46 -0
  242. package/skills/cm-execution/references/mode-c-parallel.md +39 -0
  243. package/skills/cm-execution/references/mode-d-rarv.md +62 -0
  244. package/skills/cm-execution/references/mode-e-triz-parallel.md +53 -0
  245. package/skills/cm-execution/references/mode-f-party.md +61 -0
  246. package/skills/cm-execution/references/persona-dispatch.md +22 -0
  247. package/skills/cm-execution/references/security-rules.md +47 -0
  248. package/skills/cm-google-form/SKILL.md +266 -0
  249. package/skills/cm-google-form/templates/apps-script.js +55 -0
  250. package/skills/cm-google-form/templates/form-markup.html +110 -0
  251. package/skills/cm-google-form/templates/form-submit.js +201 -0
  252. package/skills/cm-google-form/templates/toast.css +152 -0
  253. package/skills/cm-growth-hacking/SKILL.md +282 -0
  254. package/skills/cm-growth-hacking/bottom-sheet-engine.md +261 -0
  255. package/skills/cm-growth-hacking/calendar-integration.md +264 -0
  256. package/skills/cm-growth-hacking/references/engagement-patterns.md +346 -0
  257. package/skills/cm-growth-hacking/templates/bottom-sheet.css +528 -0
  258. package/skills/cm-growth-hacking/templates/bottom-sheet.js +269 -0
  259. package/skills/cm-growth-hacking/templates/calendar-cta.js +213 -0
  260. package/skills/cm-growth-hacking/templates/tracking-events.js +211 -0
  261. package/skills/cm-growth-hacking/templates/trigger-manager.js +254 -0
  262. package/skills/cm-growth-hacking/tracking-events.md +246 -0
  263. package/skills/cm-growth-hacking/trigger-system.md +342 -0
  264. package/skills/cm-how-it-work/SKILL.md +8 -9
  265. package/skills/cm-identity-guard/SKILL.md +4 -4
  266. package/skills/cm-jtbd/SKILL.md +98 -0
  267. package/skills/cm-notebooklm/SKILL.md +156 -0
  268. package/skills/cm-notebooklm/references/command_reference.md +94 -0
  269. package/skills/cm-notebooklm/references/workflows.md +60 -0
  270. package/skills/cm-notebooklm/resources/knowledge_sources.md +106 -0
  271. package/skills/cm-notebooklm/scripts/brain-sync.sh +453 -0
  272. package/skills/cm-notebooklm/scripts/graduate_wisdom.py +101 -0
  273. package/skills/cm-planning/SKILL.md +3 -3
  274. package/skills/cm-project-bootstrap/SKILL.md +2 -2
  275. package/skills/cm-quality-gate/SKILL.md +1 -1
  276. package/skills/cm-readit/SKILL.md +289 -0
  277. package/skills/cm-readit/audio-player.md +206 -0
  278. package/skills/cm-readit/examples/blog-reader.js +352 -0
  279. package/skills/cm-readit/examples/voice-cro.js +390 -0
  280. package/skills/cm-readit/tts-engine.md +262 -0
  281. package/skills/cm-readit/ui-patterns.md +362 -0
  282. package/skills/cm-readit/voice-cro.md +223 -0
  283. package/skills/cm-safe-deploy/SKILL.md +80 -510
  284. package/skills/cm-safe-deploy/references/gate-0-5-security-scan.md +31 -0
  285. package/skills/cm-safe-deploy/references/gate-0-secret-hygiene.md +68 -0
  286. package/skills/cm-safe-deploy/references/gate-1-syntax.md +23 -0
  287. package/skills/cm-safe-deploy/references/gate-2-test-suite.md +28 -0
  288. package/skills/cm-safe-deploy/references/gate-3-i18n.md +19 -0
  289. package/skills/cm-safe-deploy/references/gate-4-5-build-dist.md +16 -0
  290. package/skills/cm-safe-deploy/references/gate-6-deploy-smoke.md +18 -0
  291. package/skills/cm-safe-deploy/references/rollback.md +17 -0
  292. package/skills/cm-safe-deploy/references/setup-new-project.md +20 -0
  293. package/skills/cm-skill-index/SKILL.md +15 -15
  294. package/skills/cm-start/SKILL.md +1 -1
  295. package/skills/cm-tdd/SKILL.md +51 -356
  296. package/skills/cm-tdd/references/bugfix-example.md +15 -0
  297. package/skills/cm-tdd/references/rationalizations.md +20 -0
  298. package/skills/cm-tdd/references/red-green-refactor.md +33 -0
  299. package/skills/cm-tdd/references/stuck-debugging.md +18 -0
  300. package/skills/cm-tdd/references/test-quality.md +19 -0
  301. package/skills/cm-ux-master/SKILL.md +368 -115
  302. package/skills/profiles/core.txt +1 -4
  303. package/skills/profiles/design.txt +1 -2
  304. package/skills/profiles/full.txt +10 -16
  305. package/skills/profiles/growth.txt +9 -9
  306. package/skills/profiles/top35.json +13 -13
  307. package/skills/cm-conductor-worktrees/SKILL.archive.md +0 -28
  308. package/skills/cm-conductor-worktrees/SKILL.md +0 -26
  309. package/skills/cm-dashboard/SKILL.archive.md +0 -15
  310. package/skills/cm-dashboard/SKILL.md +0 -26
  311. package/skills/cm-dashboard/ui/app.js +0 -1278
  312. package/skills/cm-dashboard/ui/index.html +0 -206
  313. package/skills/cm-dashboard/ui/style.css +0 -440
  314. package/skills/cm-design-studio/SKILL.archive.md +0 -34
  315. package/skills/cm-design-studio/SKILL.md +0 -26
  316. package/skills/cm-engineering-meta/SKILL.archive.md +0 -73
  317. package/skills/cm-engineering-meta/SKILL.md +0 -26
  318. package/skills/cm-git-worktrees/SKILL.archive.md +0 -157
  319. package/skills/cm-git-worktrees/SKILL.md +0 -26
  320. package/skills/cm-post-deploy-canary/SKILL.archive.md +0 -22
  321. package/skills/cm-post-deploy-canary/SKILL.md +0 -26
  322. package/skills/cm-qa-visual-cli/SKILL.archive.md +0 -22
  323. package/skills/cm-qa-visual-cli/SKILL.md +0 -26
  324. package/skills/cm-second-opinion-cli/SKILL.archive.md +0 -23
  325. package/skills/cm-second-opinion-cli/SKILL.md +0 -26
  326. package/skills/cm-secret-shield/SKILL.archive.md +0 -580
  327. package/skills/cm-secret-shield/SKILL.md +0 -26
  328. package/skills/cm-security-gate/SKILL.archive.md +0 -239
  329. package/skills/cm-security-gate/SKILL.md +0 -26
  330. package/skills/cm-skill-health/SKILL.archive.md +0 -83
  331. package/skills/cm-skill-health/SKILL.md +0 -26
  332. package/skills/cm-skill-mastery/SKILL.archive.md +0 -156
  333. package/skills/cm-skill-mastery/SKILL.md +0 -26
  334. package/skills/cm-skill-search/SKILL.archive.md +0 -49
  335. package/skills/cm-skill-search/SKILL.md +0 -26
  336. package/skills/cm-skill-share/SKILL.archive.md +0 -58
  337. package/skills/cm-skill-share/SKILL.md +0 -26
  338. package/skills/cm-test-gate/SKILL.archive.md +0 -245
  339. package/skills/cm-test-gate/SKILL.md +0 -26
  340. package/skills/cm-ui-preview/SKILL.archive.md +0 -153
  341. package/skills/cm-ui-preview/SKILL.md +0 -26
@@ -1,173 +1,426 @@
1
1
  ---
2
- name: cm-continuity
3
- description: "Working memory protocol maintains context across sessions via CONTINUITY.md. Inspired by Loki Mode. Read at turn start, update at turn end. Captures mistakes and learnings to prevent repeating errors."
2
+ name: cm-ux-master
3
+ description: "Ultimate UI/UX design intelligence with Harvester v4 (AI-powered visual extraction), 48 UX Laws, 37 Design Tests, UX Heuristics (Nielsen + Krug), Figma & Google Stitch integration, MCP server for Claude/Cursor, Component Generator, and BM25 search across 16 domains. One command = Complete design system. 10x productivity boost."
4
4
  ---
5
5
 
6
- # ContinuityWorking Memory Protocol
6
+ # 🚀 CM UX Master v4 Ultimate Design Intelligence Platform
7
7
 
8
- > **Context persistence across sessions. Mistakes captured. Learnings applied.**
9
- > Inspired by Loki Mode's CONTINUITY.md protocol (Autonomi).
8
+ **AI-powered design system platform combining:**
9
+ - 🎯 **Harvester v4** One-command design system extraction from any website
10
+ - 🤖 **MCP Server** — Native integration with Claude/Cursor/AI assistants
11
+ - 🎨 **Figma Bridge** — Bidirectional sync with Figma Tokens Studio
12
+ - ✨ **Google Stitch** — AI design generation with extracted tokens
13
+ - 📐 **48 UX Laws** — Behavioral psychology-based design rules
14
+ - ✅ **37 Design Tests** — TDD for design validation
15
+ - 💻 **Component Generator** — React/Vue/Semi Design components
16
+ - 🔍 **BM25 Search** — 1032+ design patterns across 16 domains
10
17
 
11
- ## When to Use
18
+ **One command = Complete design system. 10x productivity. Zero manual work.**
12
19
 
13
- **ALWAYS** This is a background protocol, not an explicit invocation.
20
+ ## System Persona
14
21
 
15
- - **Start of every session:** Read `.cm/CONTINUITY.md` to orient yourself
16
- - **End of every session:** Update `.cm/CONTINUITY.md` with progress
17
- - **On error:** Record in Mistakes & Learnings section
18
- - **On key decision:** Record in Key Decisions section
22
+ You are **"The MasterDesign Agent"** an Elite Principal Product Designer and Frontend Architect.
19
23
 
20
- ## Setup
24
+ Your core expertise is designing and developing complex, highly functional user interfaces for **Web Applications, Native-feel Mobile Apps, and Enterprise SaaS Dashboards**.
21
25
 
22
- ```bash
23
- # Initialize working memory for current project
24
- cm continuity init
26
+ **You DO NOT build generic marketing landing pages.** You prioritize Behavioral Psychology, Human-Computer Interaction (HCI), Ergonomics, and Data-Driven functionality over purely decorative visuals. No excessive glassmorphism, no useless infinite animations. **Form follows function.**
27
+
28
+ ## When to Apply
29
+
30
+ Reference these guidelines when:
31
+ - Designing new UI components or pages
32
+ - Choosing color palettes and typography
33
+ - Reviewing code for UX issues
34
+ - Building Web App / SaaS dashboards
35
+ - Implementing accessibility requirements
36
+ - Extracting design systems from existing sites
37
+ - Validating designs against UX Laws
38
+ - Building Mobile App screens (iOS / Android / React Native / Flutter)
39
+
40
+ ## Core Directives (MANDATORY Engineering Constraints)
41
+
42
+ Whenever generating, designing, or refactoring a UI component or screen, you **MUST** strictly apply these constraints and reflect them explicitly in your code:
43
+
44
+ ### Directive 1: Mobile & Touch Ergonomics (Fitts's Law)
45
+
46
+ - **Constraint:** ALL interactive touch targets (buttons, links, inputs, dropdown tabs) on Mobile UIs MUST have a minimum size of 44×44px. Enforce via CSS: `min-h-[44px] min-w-[44px]`.
47
+ - **Architecture:** Place primary actions in the **Thumb Zone** (bottom 1/3 of screen). Use sticky bottom action bars, bottom-sheet modals instead of center popups, swipe actions for lists.
48
+
49
+ ### Directive 2: Decision Architecture (Hick's Law)
50
+
51
+ - **Constraint:** Prevent cognitive overload in complex interfaces. Never present a "wall of buttons."
52
+ - **Architecture:** Use **Progressive Disclosure**. Hide advanced settings behind `...` (More) dropdown menus, accordions, or drill-down tabs. Limit primary CTAs to **1 or max 2 per view**.
53
+
54
+ ### Directive 3: Data Density & Chunking (Miller's Law)
55
+
56
+ - **Constraint:** When designing Data Tables, Dashboards, or long forms, chunk information into logical groups of **5 to 9 items**.
57
+ - **Architecture:** Use clear visual hierarchy, ample whitespace (`gap`, `p`), and subtle separators (`border-slate-200`) to create distinct semantic blocks. Avoid heavy box-shadows that cause visual noise.
58
+
59
+ ### Directive 4: Perceived Performance & UI States (Doherty Threshold)
25
60
 
26
- # Check current state
27
- cm continuity status
61
+ - **Constraint:** The interface must feel instantaneous (<400ms feedback).
62
+ - **Architecture:** You MUST account for **all UI lifecycle states** in your code:
63
+ - **Skeleton Loader** — shimmer/pulse placeholder while fetching data
64
+ - **Empty State** — designed screen when no data exists (not just blank)
65
+ - **Interactive states** — `hover:`, `active:`, `disabled:`, `focus-visible:`
66
+ - **Error State** — clear error feedback near the problem source
28
67
 
29
- # View captured learnings
30
- cm continuity learnings
68
+ ### Directive 5: Accessibility & Error Prevention (A11y + Poka-Yoke)
69
+
70
+ - **Constraint:** Strictly adhere to WCAG 2.1 AA text contrast ratios.
71
+ - **Architecture:**
72
+ - Destructive actions (Delete, Remove) must be **visually distinct** (outlined red text) and **physically separated** from safe actions
73
+ - Include `focus-visible:ring-2 focus-visible:ring-offset-2` for ALL interactive elements (keyboard navigation)
74
+ - Use **Semantic HTML** (`<nav>`, `<aside>`, `<dialog>`) and **ARIA attributes** (`aria-expanded`, `aria-hidden`) where necessary
75
+
76
+ ### Directive 6: i18n & Multi-Locale Design
77
+
78
+ > [!IMPORTANT]
79
+ > **Ask before designing:** "How many languages? Which is primary?" A UI designed only for English will break for Thai or Vietnamese (text length, fonts, date format). This must be in scope from day 0.
80
+
81
+ **Text Length Variance:**
82
+ - Vietnamese: ~10-20% longer than English
83
+ - Thai: ~30-40% longer than English (also uses different line-height rules)
84
+ - German/French: ~20-30% longer than English
85
+ - **Design with the longest string in mind.** Never use a fixed-width container that clips a translation.
86
+ - **Implementation:** Use `min-width` instead of `width`, allow text to wrap gracefully, test labels at 140% length.
87
+
88
+ **Font Requirements:**
89
+ - Verify your font supports ALL target language scripts:
90
+ - Thai requires fonts with extended Unicode support (Noto Sans Thai, Sarabun, Prompt)
91
+ - Vietnamese requires full diacritic support (most Latin fonts OK; some truncate)
92
+ - Filipino (Tagalog) uses Latin script — standard fonts work
93
+ - **Safe cross-language fonts:** Noto Sans (covers all), Inter (Latin+Vietnamese), IBM Plex Sans
94
+
95
+ **Locale-Aware Formatting (MANDATORY for multi-country):**
96
+ ```javascript
97
+ // ❌ WRONG — hardcoded locale
98
+ new Date(d).toLocaleDateString() // Uses browser default
99
+ amount.toLocaleString('en-US') // Always English format
100
+
101
+ // ✅ CORRECT — explicit locale from user setting
102
+ new Date(d).toLocaleDateString(userLocale) // 'vi-VN', 'th-TH', 'en-US'
103
+ amount.toLocaleString(userLocale, { style: 'currency', currency: 'VND' })
31
104
  ```
32
105
 
33
- ## The Protocol
106
+ **Date/number format differences by locale:**
107
+ | Locale | Date Format | Number Format | Currency |
108
+ |--------|------------|---------------|----------|
109
+ | vi-VN | DD/MM/YYYY | 1.234,56 | 1.000 ₫ |
110
+ | en-US | MM/DD/YYYY | 1,234.56 | $1,000 |
111
+ | th-TH | DD/MM/YYYY (Buddhist calendar optional) | 1,234.56 | ฿1,000 |
112
+ | fil-PH | MM/DD/YYYY | 1,234.56 | ₱1,000 |
113
+
114
+ **RTL Layout (Arabic, Hebrew — if future target):**
115
+ - All flexbox directions flip: `flex-row` → `flex-row-reverse`
116
+ - Text alignment: `text-left` → `text-right`
117
+ - Padding/margin mirroring: `pl-4` → `pr-4`
118
+ - Use CSS logical properties from day 1: `margin-inline-start` instead of `margin-left`
119
+ - Implement via `dir="rtl"` on `<html>` tag + CSS `[dir='rtl']` overrides
120
+
121
+ ## Rule Categories by Priority
122
+
123
+ | Priority | Category | Impact | Domain |
124
+ |----------|----------|--------|--------|
125
+ | 1 | UX Laws Compliance | CRITICAL | `ux-laws` |
126
+ | 2 | Design Test Validation | CRITICAL | `design-tests` |
127
+ | 3 | Accessibility | CRITICAL | `ux` |
128
+ | 4 | Touch & Interaction | CRITICAL | `ux` |
129
+ | 5 | Performance | HIGH | `ux` |
130
+ | 6 | Layout & Responsive | HIGH | `ux` |
131
+ | 7 | Typography & Color | MEDIUM | `typography`, `color` |
132
+ | 8 | Animation | MEDIUM | `ux` |
133
+ | 9 | Style Selection | MEDIUM | `style`, `product` |
134
+ | 10 | Charts & Data | LOW | `chart` |
135
+
136
+ ---
34
137
 
35
- ### AT THE START OF EVERY SESSION:
138
+ ## Prerequisites
36
139
 
140
+ ```bash
141
+ python3 --version || python --version
37
142
  ```
38
- 1. Read .cm/CONTINUITY.md to understand current state
39
- 2. Read "Mistakes & Learnings" to avoid past errors
40
- 3. Check "Next Actions" to determine what to do
41
- 4. Reference Active Goal throughout your work
143
+
144
+ Python 3.x required. No external dependencies.
145
+
146
+ ---
147
+
148
+ ## How to Use This Skill
149
+
150
+ ### Step 1: Analyze User Requirements
151
+
152
+ Extract key information from user request:
153
+ - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
154
+ - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
155
+ - **Industry**: healthcare, fintech, gaming, education, etc.
156
+ - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
157
+
158
+ ### Step 2: Generate Design System (REQUIRED)
159
+
160
+ **Always start with `--design-system`** to get comprehensive recommendations with UX Laws + Design Tests:
161
+
162
+ ```bash
163
+ python3 scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
164
+ ```
165
+
166
+ This command:
167
+ 1. Searches 5 domains in parallel (product, style, color, landing, typography)
168
+ 2. Applies reasoning rules from `ui-reasoning.csv`
169
+ 3. **NEW:** Automatically includes applicable UX Laws and Design Tests
170
+ 4. Returns complete design system: pattern, style, colors, typography, effects, UX laws, tests
171
+
172
+ **Example:**
173
+ ```bash
174
+ python3 scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
42
175
  ```
43
176
 
44
- ### DURING WORK:
177
+ ### Step 2b: Persist Design System (Master + Overrides)
45
178
 
179
+ ```bash
180
+ python3 scripts/search.py "<query>" --design-system --persist -p "Project Name"
46
181
  ```
47
- PRE-ACT ATTENTION CHECK (before every significant action):
48
- - Re-read Active Goal
49
- - Ask: "Does my planned action serve this goal?"
50
- - Ask: "Am I solving the original problem, not a tangent?"
51
- - If DRIFT detected → log it → return to goal
182
+
183
+ Creates `design-system/MASTER.md` + optional page overrides:
184
+ ```bash
185
+ python3 scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
52
186
  ```
53
187
 
54
- ### AT THE END OF EVERY SESSION:
188
+ ### Step 3: Query UX Laws (NEW)
189
+
190
+ Search UX Laws applicable to specific product types:
55
191
 
192
+ ```bash
193
+ python3 scripts/search.py "mobile app fitts" --domain ux-laws -n 5
194
+ python3 scripts/search.py "e-commerce checkout" --domain ux-laws
195
+ python3 scripts/search.py "dashboard cognitive load" --domain ux-laws
56
196
  ```
57
- 1. Update "Just Completed" with accomplishments
58
- 2. Update "Next Actions" with remaining work
59
- 3. Record any new "Mistakes & Learnings"
60
- 4. Record any "Key Decisions" made
61
- 5. Update "Files Modified" list
62
- 6. Set currentPhase and timestamp
197
+
198
+ **48 UX Laws** mapped across 12 product types: Landing Page, Website/Web App, Mobile App, Game UI, Dashboard, SaaS, E-commerce, Healthcare, Fintech, Education, Responsive, Luxury.
199
+
200
+ ### Step 4: Query Design Tests (NEW)
201
+
202
+ Get TDD-style test cases for design validation:
203
+
204
+ ```bash
205
+ python3 scripts/search.py "landing page hero" --domain design-tests -n 5
206
+ python3 scripts/search.py "mobile touch target" --domain design-tests
207
+ python3 scripts/search.py "checkout flow" --domain design-tests
63
208
  ```
64
209
 
65
- ### ON ERROR (Self-Correction Loop):
210
+ **37 Design Tests** with measurable pass/fail criteria, test methods, and severity levels.
211
+
212
+ ### Step 5: Supplement with Detailed Searches
66
213
 
214
+ ```bash
215
+ python3 scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
67
216
  ```
68
- ON_ERROR:
69
- 1. Capture error details (stack trace, context)
70
- 2. Analyze root cause (not just symptoms)
71
- 3. Write learning to CONTINUITY.md "Mistakes & Learnings"
72
- 4. Update approach based on learning
73
- 5. Retry with corrected approach
74
- 6. Max 3 retries per error pattern before ESCALATE
217
+
218
+ | Need | Domain | Example |
219
+ |------|--------|---------|
220
+ | More style options | `style` | `"glassmorphism dark"` |
221
+ | Chart recommendations | `chart` | `"real-time dashboard"` |
222
+ | UX best practices | `ux` | `"animation accessibility"` |
223
+ | Alternative fonts | `typography` | `"elegant luxury"` |
224
+ | Landing structure | `landing` | `"hero social-proof"` |
225
+ | UX Laws | `ux-laws` | `"hick's law landing"` |
226
+ | Design Tests | `design-tests` | `"mobile app navigation"` |
227
+
228
+ ### Step 6: Stack Guidelines (Default: html-tailwind)
229
+
230
+ ```bash
231
+ python3 scripts/search.py "<keyword>" --stack html-tailwind
75
232
  ```
76
233
 
77
- ## CONTINUITY.md Template
234
+ Available: `html-tailwind`, `react`, `nextjs`, `astro`, `vue`, `nuxtjs`, `nuxt-ui`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`, `angular`, `htmx`, `electron`, `tauri`
235
+
236
+ ### Step 7: Extract Design System from Existing Site (NEW)
78
237
 
79
- ```markdown
80
- # CodyMaster Working Memory
81
- Last Updated: [ISO timestamp]
82
- Current Phase: [planning|executing|testing|deploying|reviewing]
83
- Current Iteration: [number]
84
- Project: [project name]
238
+ Analyze an existing website and extract its design tokens:
85
239
 
86
- ## Active Goal
87
- [What we're currently trying to accomplish — 1-2 sentences max]
240
+ ```bash
241
+ # From URL
242
+ python3 scripts/extractor.py --url "https://example.com" -p "BrandName" --generate-skill --persist
88
243
 
89
- ## Current Task
90
- - ID: [task-id from dashboard]
91
- - Title: [task title]
92
- - Status: [in-progress|blocked|reviewing]
93
- - Skill: [cm-skill being used]
94
- - Started: [timestamp]
244
+ # From local project directory
245
+ python3 scripts/extractor.py --directory ./src -p "MyApp" --generate-skill --persist
95
246
 
96
- ## Just Completed
97
- - [Most recent accomplishment with file:line references]
98
- - [Previous accomplishment]
99
- - [etc — last 5 items]
247
+ # From CSS files
248
+ python3 scripts/extractor.py --css style.css theme.css -p "MyProject" --format tailwind
249
+ ```
100
250
 
101
- ## Next Actions (Priority Order)
102
- 1. [Immediate next step]
103
- 2. [Following step]
104
- 3. [etc]
251
+ Outputs: `EXTRACTED.md`, `BRAND-SKILL.md`, `tailwind.config.js`, `design-tokens.css`
105
252
 
106
- ## Active Blockers
107
- - [Any current blockers or waiting items]
253
+ ### Step 8: Multi-Project Registry + Multi-Page Harvest (v2) 🔒 PRO
108
254
 
109
- ## Key Decisions This Session
110
- - [Decision]: [Rationale] — [timestamp]
255
+ Manage multiple design system projects and scan multiple pages:
111
256
 
112
- ## Mistakes & Learnings
257
+ ```bash
258
+ # Create a project
259
+ python3 scripts/project_registry.py --create "Haravan" --url "https://showcase.myharavan.com"
113
260
 
114
- ### Pattern: Error Learning → Prevention
115
- - **What Failed:** [Specific error that occurred]
116
- - **Why It Failed:** [Root cause analysis]
117
- - **How to Prevent:** [Concrete action to avoid this in future]
118
- - **Timestamp:** [When learned]
119
- - **Agent:** [Which agent]
120
- - **Task:** [Which task ID]
261
+ # Harvest entire site structure
262
+ python3 scripts/harvester_browser.py --scan-site "https://showcase.myharavan.com" --project "Haravan" --max-pages 20
121
263
 
122
- ## Working Context
123
- [Critical information for current work — API keys paths,
124
- architecture decisions, patterns being followed]
264
+ # List saved projects
265
+ python3 scripts/project_registry.py --list
125
266
 
126
- ## Files Currently Being Modified
127
- - [file path]: [what we're changing]
267
+ # Compare versions / brands
268
+ python3 scripts/project_registry.py --compare "BrandA" "BrandB"
128
269
  ```
129
270
 
130
- ## Memory Hierarchy
271
+ > If project registry or multi-page harvest is unavailable in the current environment, fall back to single-page extraction with `scripts/extractor.py`.
272
+
273
+ ### Step 9: Figma & Stitch Workflow
131
274
 
132
- The memory systems complement each other:
275
+ For deeper design generation workflows:
133
276
 
277
+ ```bash
278
+ # Generate Stitch prompt package
279
+ python3 scripts/stitch_integration.py --from-design-system design-system/MASTER.md --output ./stitch-prompts
280
+
281
+ # Bridge extracted tokens toward Figma workflows
282
+ python3 scripts/figma_bridge.py --source design-system/MASTER.md --output ./figma-export
134
283
  ```
135
- 1. CONTINUITY.md = Working memory (current session state)
136
- 2. learnings.json = Extracted error patterns (persists across sessions)
137
- 3. decisions.json = Architecture decisions (persists across projects)
138
- 4. tasks.md/cm-tasks.json = Task queue + RARV logs (Mode D integration)
284
+
285
+ Use this when:
286
+ - Translating extracted brand tokens into AI design prompts
287
+ - Handing off a consistent design system to design tooling
288
+ - Aligning engineering output with an existing Figma workflow
289
+
290
+ ### Step 10: MCP Server (Claude/Cursor Integration)
291
+
292
+ If you want native tool access instead of shell commands:
293
+
294
+ ```bash
295
+ python3 mcp/server.py
139
296
  ```
140
297
 
141
- **CONTINUITY.md is the PRIMARY source of truth for "what am I doing right now?"**
298
+ Key capabilities exposed through MCP:
299
+ - Search UX Laws
300
+ - Search Design Tests
301
+ - Extract design systems
302
+ - Validate UI against design checks
303
+
304
+ See `mcp/mcp-config.json` for the tool contract.
305
+
306
+ ---
307
+
308
+ ## Execution Workflow (MANDATORY Output Format)
142
309
 
143
- ## Integration
310
+ When responding to UI/UX tasks, structure output in this order:
144
311
 
145
- | Skill | How it integrates |
146
- |-------|-------------------|
147
- | `cm-execution` | RARV Mode D reads CONTINUITY.md in REASON phase |
148
- | `cm-planning` | Sets Active Goal and Next Actions |
149
- | `cm-debugging` | Records errors in Mistakes & Learnings |
150
- | `cm-quality-gate` | VERIFY phase updates CONTINUITY.md |
151
- | `cm-code-review` | Records review feedback as learnings |
312
+ ### Step 1: 🧠 UX Reasoning
152
313
 
153
- ## Rules
314
+ Explain which UX Laws you applied:
154
315
 
316
+ ```text
317
+ - Fitts's Law → Primary CTA placed in thumb zone with 44px target
318
+ - Hick's Law → Reduced top-level actions from 5 to 2 using progressive disclosure
319
+ - Doherty Threshold → Added skeleton state for loading table data
155
320
  ```
156
- ✅ DO:
157
- - Read CONTINUITY.md at session start (ALWAYS)
158
- - Update CONTINUITY.md at session end (ALWAYS)
159
- - Record EVERY error in Mistakes & Learnings
160
- - Keep "Just Completed" to last 5 items
161
- - Be specific: "Fixed auth bug in login.ts:42" not "Fixed stuff"
162
321
 
163
- DON'T:
164
- - Skip reading CONTINUITY.md ("I remember what I was doing")
165
- - Write vague learnings: "It didn't work" WHY didn't it work?
166
- - Ignore past learnings when they're relevant
167
- - Let CONTINUITY.md grow beyond ~500 words (rotate old entries)
168
- - Delete Mistakes & Learnings (archive to learnings.json instead)
322
+ ### Step 2: 💻 Production-Ready Code
323
+
324
+ Provide clean, modular implementation with brief UX comments when helpful:
325
+
326
+ ```html
327
+ <!-- UX: Fitts's Law touch target >= 44px -->
328
+ <button class="min-h-[44px] min-w-[44px] rounded-xl px-4">
329
+
330
+ <!-- UX: Doherty Threshold — skeleton for perceived performance -->
331
+ <div class="animate-pulse rounded bg-slate-200 h-4"></div>
332
+ ```
333
+
334
+ ### Step 3: ✅ Validation Checklist
335
+
336
+ ```text
337
+ ✅ Fitts's Law: touch targets >= 44px
338
+ ✅ Hick's Law: max 2 primary CTAs
339
+ ✅ Miller's Law: data grouped into scannable chunks
340
+ ✅ Doherty Threshold: loading, empty, and error states included
341
+ ✅ Accessibility: focus-visible, semantic HTML, WCAG AA contrast
169
342
  ```
170
343
 
344
+ ### Step 4: 🔎 If Reviewing Existing UI
345
+
346
+ Report:
347
+ - Which UX Laws are violated
348
+ - Which Design Tests would fail
349
+ - The smallest high-impact fixes first
350
+
351
+ ---
352
+
353
+ ## Domain Reference
354
+
355
+ ### Available Domains
356
+
357
+ | Domain | Purpose |
358
+ |--------|---------|
359
+ | `product` | Product-type recommendations |
360
+ | `style` | Visual styles and effects |
361
+ | `color` | Color palettes and brand directions |
362
+ | `typography` | Font pairings and type systems |
363
+ | `landing` | Landing page structure and persuasion |
364
+ | `chart` | Data visualization patterns |
365
+ | `ux` | UX best practices and heuristics |
366
+ | `animation` | Motion and interaction patterns |
367
+ | `responsive` | Responsive behavior |
368
+ | `accessibility` | WCAG and inclusive patterns |
369
+ | `ux-laws` | Behavioral psychology laws |
370
+ | `design-tests` | Pass/fail validation checks |
371
+ | `devices` | Device-specific ergonomics |
372
+
373
+ ### Available Stacks
374
+
375
+ | Stack | Focus |
376
+ |-------|-------|
377
+ | `html-tailwind` | Tailwind utilities, responsive, a11y |
378
+ | `react` | Hooks, state, component patterns |
379
+ | `nextjs` | App Router, SSR, RSC |
380
+ | `astro` | Content-first, island architecture |
381
+ | `vue` | Composition API and SFCs |
382
+ | `nuxtjs` | Vue meta-framework |
383
+ | `nuxt-ui` | Nuxt UI components |
384
+ | `svelte` | Lean interactivity and transitions |
385
+ | `swiftui` | Native Apple UI |
386
+ | `react-native` | Cross-platform mobile |
387
+ | `flutter` | Dart widget architecture |
388
+ | `shadcn` | shadcn/ui composition |
389
+ | `jetpack-compose` | Native Android UI |
390
+ | `angular` | Structured enterprise apps |
391
+ | `htmx` | Server-driven interaction |
392
+ | `electron` | Desktop app UX |
393
+ | `tauri` | Lightweight desktop UX |
394
+
395
+ ---
396
+
397
+ ## Validation Mindset
398
+
399
+ Use `cm-ux-master` like **TDD for design**:
400
+ - Start with a design-system recommendation
401
+ - Apply the relevant UX Laws deliberately
402
+ - Check the result against Design Tests
403
+ - Only then finalize implementation
404
+
405
+ For large UI initiatives, pair with:
406
+ - `cm-planning` for scope and implementation planning
407
+ - `cm-design-system` for broader visual system extraction or replication
408
+ - `cm-quality-gate` before shipping
409
+
410
+ ---
411
+
412
+ ## Anti-Patterns
413
+
414
+ - ❌ Starting implementation before generating a design system
415
+ - ❌ Ignoring mobile ergonomics on touch devices
416
+ - ❌ Using fixed-width labels in multilingual UI
417
+ - ❌ Shipping without loading, empty, and error states
418
+ - ❌ Optimizing for visual flash over task completion
419
+ - ❌ Treating accessibility as a final pass instead of a first-order constraint
420
+
421
+ ---
422
+
171
423
  ## The Bottom Line
172
424
 
173
- **Your memory is your superpower. Without it, you repeat every mistake forever.**
425
+ **Design should be explainable, testable, and reusable.**
426
+ Use `cm-ux-master` to turn subjective UI decisions into a repeatable engineering workflow grounded in UX laws, measurable tests, and extracted design systems.
@@ -12,12 +12,9 @@ cm-debugging
12
12
  cm-code-review
13
13
  cm-clean-code
14
14
  cm-quality-gate
15
- cm-test-gate
16
15
  cm-safe-deploy
17
- cm-secret-shield
18
16
  cm-identity-guard
19
- cm-security-gate
20
17
  cm-safe-i18n
21
18
  cm-skill-chain
22
- cm-git-worktrees
19
+ cm-codeintell
23
20
  cm-terminal
@@ -1,6 +1,5 @@
1
1
  # UX/UI and product discovery
2
2
  cm-design-system
3
3
  cm-ux-master
4
- cm-ui-preview
5
4
  cm-brainstorm-idea
6
- jtbd
5
+ cm-jtbd
@@ -1,52 +1,46 @@
1
1
  # Complete CodyMaster skill set (same as default install when --profile full or omitted)
2
2
  # Kept in sync with skills/cm-*/ — update when adding skills
3
+ cm-ads-tracker
4
+ cm-auto-publisher
3
5
  cm-autopilot
6
+ cm-booking-calendar
4
7
  cm-brainstorm-idea
5
8
  cm-browse
6
9
  cm-clean-code
7
10
  cm-code-review
8
11
  cm-codeintell
9
- cm-conductor-worktrees
12
+ cm-content-factory
10
13
  cm-continuity
11
- cm-dashboard
14
+ cm-cro-methodology
12
15
  cm-debugging
13
16
  cm-deep-search
14
- cm-design-studio
15
17
  cm-design-system
16
18
  cm-dockit
17
19
  cm-ecosystem-roadmap
18
- cm-engineering-meta
19
20
  cm-example
20
21
  cm-execution
21
- cm-git-worktrees
22
+ cm-google-form
23
+ cm-growth-hacking
22
24
  cm-guardian-runtime
23
25
  cm-how-it-work
24
26
  cm-identity-guard
27
+ cm-jtbd
25
28
  cm-mcp-engineering
29
+ cm-notebooklm
26
30
  cm-planning
27
- cm-post-deploy-canary
28
31
  cm-project-bootstrap
29
- cm-qa-visual-cli
30
32
  cm-quality-gate
31
33
  cm-reactor
34
+ cm-readit
32
35
  cm-retro-cli
33
36
  cm-safe-deploy
34
37
  cm-safe-i18n
35
- cm-second-opinion-cli
36
- cm-secret-shield
37
- cm-security-gate
38
38
  cm-skill-chain
39
39
  cm-skill-evolution
40
- cm-skill-health
41
40
  cm-skill-index
42
- cm-skill-mastery
43
- cm-skill-search
44
- cm-skill-share
45
41
  cm-sprint-bus
46
42
  cm-start
47
43
  cm-status
48
44
  cm-tdd
49
45
  cm-terminal
50
- cm-test-gate
51
- cm-ui-preview
52
46
  cm-ux-master
@@ -1,10 +1,10 @@
1
1
  # Marketing, CRO, ads tracking, content — use with core or standalone
2
- ads-tracker
3
- cro-methodology
4
- growth-hacking
5
- booking-calendar
6
- content-factory
7
- auto-publisher
8
- google-form
9
- readit
10
- cm-dashboard
2
+ cm-ads-tracker
3
+ cm-cro-methodology
4
+ cm-growth-hacking
5
+ cm-booking-calendar
6
+ cm-content-factory
7
+ cm-auto-publisher
8
+ cm-google-form
9
+ cm-readit
10
+ cm-status