codymaster 4.1.4 → 4.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (662) hide show
  1. package/CHANGELOG.md +22 -2
  2. package/README.md +56 -86
  3. package/dist/index.js +130 -16
  4. package/dist/ui/box.js +2 -2
  5. package/dist/ui/onboarding.js +11 -5
  6. package/install.sh +317 -35
  7. package/package.json +8 -8
  8. package/public/dashboard/app.js +1270 -0
  9. package/public/dashboard/index.html +218 -0
  10. package/public/dashboard/style.css +440 -0
  11. package/skills/AGENTS.md +61 -0
  12. package/skills/CLAUDE.md +158 -0
  13. package/skills/boxme-git-config/SKILL.md +56 -0
  14. package/skills/boxme-local-dev/SKILL.md +66 -0
  15. package/skills/build.sh +30 -0
  16. package/skills/cf +314 -0
  17. package/skills/cf 2 +313 -0
  18. package/skills/cm-ads-tracker/SKILL.md +364 -69
  19. package/skills/cm-auto-publisher/SKILL.md +81 -0
  20. package/skills/cm-booking-calendar/SKILL.md +521 -0
  21. package/skills/cm-booking-calendar/references/industry-patterns.md +527 -0
  22. package/skills/cm-booking-calendar/templates/booking-form.css +626 -0
  23. package/skills/cm-booking-calendar/templates/booking-form.html +477 -0
  24. package/skills/cm-booking-calendar/templates/calendar-engine.js +419 -0
  25. package/skills/cm-booking-calendar/templates/calendar-export.js +395 -0
  26. package/skills/cm-booking-calendar/templates/reminder-config.js +629 -0
  27. package/skills/cm-brainstorm-idea/SKILL.md +15 -24
  28. package/skills/cm-clean-code/SKILL.md +300 -0
  29. package/skills/cm-code-review/SKILL.md +0 -27
  30. package/skills/cm-codeintell/SKILL.md +598 -0
  31. package/skills/cm-content-factory/.content-factory-state.json +132 -0
  32. package/skills/cm-content-factory/.git 2/logs/refs/heads/main +1 -0
  33. package/skills/cm-content-factory/.git 2/logs/refs/remotes/origin/main +1 -0
  34. package/skills/cm-content-factory/.git 2/objects/02/fb0956734b5f8ba3f918b7defd04a89cfe0076 +0 -0
  35. package/skills/cm-content-factory/.git 2/objects/08/1e129d75dc6feac6c02037272e6bd1a04e3324 +0 -0
  36. package/skills/cm-content-factory/.git 2/objects/0c/5393416f3c5e01c9a655a802bff0dd52f76f0a +0 -0
  37. package/skills/cm-content-factory/.git 2/objects/10/0b9be46978a946a77188f68be725098a122001 +0 -0
  38. package/skills/cm-content-factory/.git 2/objects/10/cf041167fc9843610eb3d90259ef3396315fdc +0 -0
  39. package/skills/cm-content-factory/.git 2/objects/12/5e19538dd6e1338ffe74f6c4c165b00435bf48 +0 -0
  40. package/skills/cm-content-factory/.git 2/objects/16/a9b9d0088d5c1347628b45a2620b479d8ad57c +0 -0
  41. package/skills/cm-content-factory/.git 2/objects/17/8c2a9ef93c33ae4eec9d58e82321f9229843a1 +0 -0
  42. package/skills/cm-content-factory/.git 2/objects/25/397ae41d09104d763bdcac2695209d85cdea89 +0 -0
  43. package/skills/cm-content-factory/.git 2/objects/2f/a836b7947f2d458e1f639788bf4bb0983a3305 +0 -0
  44. package/skills/cm-content-factory/.git 2/objects/3a/baaaf0a1c0909c0828335791557125fba911e0 +0 -0
  45. package/skills/cm-content-factory/.git 2/objects/42/2924221b81f5ce3c4e4daac9a64a24f9b01f9a +0 -0
  46. package/skills/cm-content-factory/.git 2/objects/42/ec0ce707447dc11446a34c9995fb8533801731 +0 -0
  47. package/skills/cm-content-factory/.git 2/objects/46/e43ce92866d56ce74b1d750db307cfe6154a15 +0 -0
  48. package/skills/cm-content-factory/.git 2/objects/48/5e41b633c63f55b8277bcc59f44f67681f671a +0 -0
  49. package/skills/cm-content-factory/.git 2/objects/49/49c596a3a89fa240642acd95dd3258e261eb09 +0 -0
  50. package/skills/cm-content-factory/.git 2/objects/50/9d42d8412ef8eaf7f7e138476bac2e4d10ce60 +0 -0
  51. package/skills/cm-content-factory/.git 2/objects/55/0c8c389d981b463ef849aeb792d8be3ccb6ec8 +0 -0
  52. package/skills/cm-content-factory/.git 2/objects/5d/82d3b18410cdda3ace3677436f0cb599dbe2d2 +0 -0
  53. package/skills/cm-content-factory/.git 2/objects/60/0617c58e871a38b33bf29e282d132bb3c381ad +0 -0
  54. package/skills/cm-content-factory/.git 2/objects/6a/8369a99c687b7245c92ffaf0e0f0dab9014504 +0 -0
  55. package/skills/cm-content-factory/.git 2/objects/79/bea435d40ab531c1aaf6be0432c6a5b7aaed21 +0 -0
  56. package/skills/cm-content-factory/.git 2/objects/7e/5ebd79251c2f14e4aceb86c74b6b6daae6b500 +0 -0
  57. package/skills/cm-content-factory/.git 2/objects/81/98a822a60178d6d5023ddb3e222cddf048742e +0 -0
  58. package/skills/cm-content-factory/.git 2/objects/86/0a0e1943dfe53411d2e499a1f16f46a96ef758 +0 -0
  59. package/skills/cm-content-factory/.git 2/objects/86/971fb55fdc081fdbae52376f0f13e57a4e9b04 +0 -0
  60. package/skills/cm-content-factory/.git 2/objects/88/b89dd609a0a03f8d4fe8bfde20d5b8fc1d326d +0 -0
  61. package/skills/cm-content-factory/.git 2/objects/90/8737edb6b7809e32cc01590b4e08ba42a9d40d +0 -0
  62. package/skills/cm-content-factory/.git 2/objects/93/d5a8a9a7d4fb7f11491cb596a6880528725118 +0 -0
  63. package/skills/cm-content-factory/.git 2/objects/98/46a2ab81d0c3b3eb00ef88fc56989aa7e9f316 +0 -0
  64. package/skills/cm-content-factory/.git 2/objects/9b/d8dd1e49cf274eaf9c555f3ab39dce7af5715e +0 -0
  65. package/skills/cm-content-factory/.git 2/objects/a1/13329fb0cec96ae78b222d33a24c3b5bc7fa1f +0 -0
  66. package/skills/cm-content-factory/.git 2/objects/a9/e6effe626e8a3aea3a8fc3364b492191c6e7d0 +0 -0
  67. package/skills/cm-content-factory/.git 2/objects/ad/6de7e48d9782cca9353d1ff0aa1aab7fe1df85 +0 -0
  68. package/skills/cm-content-factory/.git 2/objects/af/54ae316f771ff692e299ffcd8bf2f06b413b59 +0 -0
  69. package/skills/cm-content-factory/.git 2/objects/b0/4cb8b0b00dad633e731c1472161419e738d674 +0 -0
  70. package/skills/cm-content-factory/.git 2/objects/b3/094abb0b9ed46419b269e4a4e36a459690e3b0 +0 -0
  71. package/skills/cm-content-factory/.git 2/objects/b9/435c5d4baac2cfc5c83009ddd27b46b60db5f1 +0 -0
  72. package/skills/cm-content-factory/.git 2/objects/ba/5da17dbaec5ec2dcfdfd126aead518d1171d5c +0 -0
  73. package/skills/cm-content-factory/.git 2/objects/c0/bf58703aa258ba5dd63083bebaec8f223d844c +0 -0
  74. package/skills/cm-content-factory/.git 2/objects/c4/701a34edf1fc1bad58ccc57bd03f9426acb59a +0 -0
  75. package/skills/cm-content-factory/.git 2/objects/c7/5ccce9a4e5cc74d9b3174550cf6d993ca43638 +0 -0
  76. package/skills/cm-content-factory/.git 2/objects/c7/710d59b5a35b0f1f0a0399386643a0bd94c929 +0 -0
  77. package/skills/cm-content-factory/.git 2/objects/d1/fe58237112e953e5fec52da22cf38e08be3df9 +5 -0
  78. package/skills/cm-content-factory/.git 2/objects/d2/2bbe9fd2f74c95bc5583e803f5e435f1e2cd86 +0 -0
  79. package/skills/cm-content-factory/.git 2/objects/d7/e72852ea2bff74581dbf247d400120086229f4 +0 -0
  80. package/skills/cm-content-factory/.git 2/objects/d8/d4c3b5553e4fd72807e1d4b49ef07d9ef3ac35 +0 -0
  81. package/skills/cm-content-factory/.git 2/objects/dc/75050c2876f6a02ae2a53a3c886f395b622977 +0 -0
  82. package/skills/cm-content-factory/.git 2/objects/ee/e8546f95acec500187c08a28a8b9ee02db0dec +0 -0
  83. package/skills/cm-content-factory/.git 2/objects/ef/263c059208b416c2146434f10cb2b9fabcba16 +0 -0
  84. package/skills/cm-content-factory/.git 2/objects/f3/ae597e84d9a59b88acd21c99bde2eaf686d785 +0 -0
  85. package/skills/cm-content-factory/.git 2/objects/f3/f6f5673c821d3d8e76fa267a9e882e7a5387ea +0 -0
  86. package/skills/cm-content-factory/.git 2/objects/f9/6e6d0ad02624dd11d5848594d056caef7a5e8b +0 -0
  87. package/skills/cm-content-factory/.git 2/objects/ff/278988fc1edf0db3abcf18de795f4cc0b4f3e1 +0 -0
  88. package/skills/cm-content-factory/.git 2/refs/heads/main +1 -0
  89. package/skills/cm-content-factory/.git 2/refs/remotes/origin/main +1 -0
  90. package/skills/cm-content-factory/.pytest_cache 2/v/cache/nodeids +76 -0
  91. package/skills/cm-content-factory/.pytest_cache 2/v/cache/stepwise +1 -0
  92. package/skills/cm-content-factory/AGENTS.md +61 -0
  93. package/skills/cm-content-factory/CLAUDE.md +63 -0
  94. package/skills/cm-content-factory/CURSOR.md +43 -0
  95. package/skills/cm-content-factory/Content Factory.zip +0 -0
  96. package/skills/cm-content-factory/cf +313 -0
  97. package/skills/cm-content-factory/config.schema.json +397 -0
  98. package/skills/cm-content-factory/dashboard/app.js +556 -0
  99. package/skills/cm-content-factory/dashboard/index.html +397 -0
  100. package/skills/cm-content-factory/dashboard/style.css +1211 -0
  101. package/skills/cm-content-factory/examples/01-real-estate.config.json +146 -0
  102. package/skills/cm-content-factory/examples/02-personal-finance.config.json +146 -0
  103. package/skills/cm-content-factory/examples/03-health-wellness.config.json +147 -0
  104. package/skills/cm-content-factory/examples/04-saas-software.config.json +147 -0
  105. package/skills/cm-content-factory/examples/05-legal-services.config.json +147 -0
  106. package/skills/cm-content-factory/examples/06-insurance.config.json +146 -0
  107. package/skills/cm-content-factory/examples/07-ecommerce-dropship.config.json +146 -0
  108. package/skills/cm-content-factory/examples/08-online-education.config.json +147 -0
  109. package/skills/cm-content-factory/examples/09-crypto-defi.config.json +147 -0
  110. package/skills/cm-content-factory/examples/10-beauty-skincare.config.json +147 -0
  111. package/skills/cm-content-factory/examples/11-home-services.config.json +146 -0
  112. package/skills/cm-content-factory/examples/12-dental-clinic.config.json +147 -0
  113. package/skills/cm-content-factory/examples/13-pet-care.config.json +147 -0
  114. package/skills/cm-content-factory/examples/14-travel-hospitality.config.json +147 -0
  115. package/skills/cm-content-factory/examples/15-ai-automation.config.json +147 -0
  116. package/skills/cm-content-factory/examples/16-wedding-events.config.json +147 -0
  117. package/skills/cm-content-factory/examples/17-fitness-coaching.config.json +148 -0
  118. package/skills/cm-content-factory/examples/18-cybersecurity.config.json +147 -0
  119. package/skills/cm-content-factory/examples/19-food-restaurant.config.json +148 -0
  120. package/skills/cm-content-factory/examples/20-solar-energy.config.json +147 -0
  121. package/skills/cm-content-factory/examples/fitness-blog.config.json +116 -0
  122. package/skills/cm-content-factory/examples/tech-blog.config.json +107 -0
  123. package/skills/cm-content-factory/extensions/EXTENSION_GUIDE.md +72 -0
  124. package/skills/cm-content-factory/extensions/hooks.py +126 -0
  125. package/skills/cm-content-factory/extensions/openclaw_adapter.py +132 -0
  126. package/skills/cm-content-factory/landing/index.html +680 -0
  127. package/skills/cm-content-factory/landing/script.js +101 -0
  128. package/skills/cm-content-factory/landing/style.css +1216 -0
  129. package/skills/cm-content-factory/landing/translations.js +508 -0
  130. package/skills/cm-content-factory/logs/events.jsonl +11 -0
  131. package/skills/cm-content-factory/profiles/_template.profile.json +231 -0
  132. package/skills/cm-content-factory/profiles/finance.profile.json +278 -0
  133. package/skills/cm-content-factory/profiles/legal.profile.json +263 -0
  134. package/skills/cm-content-factory/profiles/medical-research.profile.json +321 -0
  135. package/skills/cm-content-factory/profiles/technology.profile.json +275 -0
  136. package/skills/cm-content-factory/scripts/agent_dispatcher.py +266 -0
  137. package/skills/cm-content-factory/scripts/audit.py +106 -0
  138. package/skills/cm-content-factory/scripts/dashboard_server.py +225 -0
  139. package/skills/cm-content-factory/scripts/deploy.py +146 -0
  140. package/skills/cm-content-factory/scripts/extract.py +132 -0
  141. package/skills/cm-content-factory/scripts/landing_generator.py +459 -0
  142. package/skills/cm-content-factory/scripts/memory.py +521 -0
  143. package/skills/cm-content-factory/scripts/monetize.py +239 -0
  144. package/skills/cm-content-factory/scripts/pipeline.py +357 -0
  145. package/skills/cm-content-factory/scripts/plan.py +163 -0
  146. package/skills/cm-content-factory/scripts/publish.py +145 -0
  147. package/skills/cm-content-factory/scripts/research.py +337 -0
  148. package/skills/cm-content-factory/scripts/scaffold.py +464 -0
  149. package/skills/cm-content-factory/scripts/scoreboard.py +336 -0
  150. package/skills/cm-content-factory/scripts/seo.py +90 -0
  151. package/skills/cm-content-factory/scripts/state_manager.py +320 -0
  152. package/skills/cm-content-factory/scripts/token_manager.py +268 -0
  153. package/skills/cm-content-factory/scripts/validate.py +221 -0
  154. package/skills/cm-content-factory/scripts/wizard.py +329 -0
  155. package/skills/cm-content-factory/scripts/write.py +93 -0
  156. package/skills/cm-content-factory/sites/docs-site/src/assets/houston.webp +0 -0
  157. package/skills/cm-content-factory/sites/docs-site/src/content/docs/architecture.md +90 -0
  158. package/skills/cm-content-factory/sites/docs-site/src/content/docs/data-flow.md +54 -0
  159. package/skills/cm-content-factory/sites/docs-site/src/content/docs/deployment.md +38 -0
  160. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/index.md +65 -0
  161. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/lc-content-lifecycle.md +48 -0
  162. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/seq-write-mode.md +39 -0
  163. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/uj-first-batch.md +42 -0
  164. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/wf-content-pipeline.md +51 -0
  165. package/skills/cm-content-factory/sites/docs-site/src/content/docs/flows/wf-learning-cycle.md +52 -0
  166. package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/configuration.md +86 -0
  167. package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/installation.md +80 -0
  168. package/skills/cm-content-factory/sites/docs-site/src/content/docs/getting-started/intro.md +58 -0
  169. package/skills/cm-content-factory/sites/docs-site/src/content/docs/index.md +102 -0
  170. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/index.md +45 -0
  171. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/optimize-seo.md +29 -0
  172. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/scale-content-production.md +55 -0
  173. package/skills/cm-content-factory/sites/docs-site/src/content/docs/jtbd/standardize-quality.md +29 -0
  174. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/buyer-cmo-huong.md +41 -0
  175. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/buyer-content-lead-khoa.md +40 -0
  176. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/index.md +56 -0
  177. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-content-manager-lan.md +46 -0
  178. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-seo-minh.md +45 -0
  179. package/skills/cm-content-factory/sites/docs-site/src/content/docs/personas/user-writer-tu.md +45 -0
  180. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/content-pipeline.md +108 -0
  181. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/index.md +22 -0
  182. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/memory-system.md +52 -0
  183. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/seo-optimization.md +58 -0
  184. package/skills/cm-content-factory/sites/docs-site/src/content/docs/sop/troubleshooting-guide.md +92 -0
  185. package/skills/cm-content-factory/sites/docs-site/src/styles/custom.css +575 -0
  186. package/skills/cm-content-factory/tests/conftest.py +66 -0
  187. package/skills/cm-content-factory/tests/test_agent_dispatcher.py +125 -0
  188. package/skills/cm-content-factory/tests/test_memory.py +128 -0
  189. package/skills/cm-content-factory/tests/test_pipeline.py +107 -0
  190. package/skills/cm-content-factory/tests/test_research.py +56 -0
  191. package/skills/cm-content-factory/tests/test_state_manager.py +131 -0
  192. package/skills/cm-content-factory/tests/test_token_manager.py +110 -0
  193. package/skills/cm-content-factory/tests/test_wizard.py +121 -0
  194. package/skills/cm-continuity/SKILL.md +7 -0
  195. package/skills/cm-cro-methodology/SKILL.md +290 -0
  196. package/skills/cm-dashboard/SKILL.md +7 -525
  197. package/skills/cm-debugging/SKILL.md +7 -116
  198. package/skills/cm-deep-search/SKILL.md +5 -1
  199. package/skills/cm-dockit/README.md +6 -15
  200. package/skills/cm-dockit/SKILL.md +20 -37
  201. package/skills/cm-execution/SKILL.md +6 -1
  202. package/skills/cm-frappe-agent/SKILL.md +134 -0
  203. package/skills/cm-frappe-agent/agents/doctype-architect.md +596 -0
  204. package/skills/cm-frappe-agent/agents/erpnext-customizer.md +643 -0
  205. package/skills/cm-frappe-agent/agents/frappe-backend.md +814 -0
  206. package/skills/cm-frappe-agent/agents/frappe-custom-frontend.md +557 -0
  207. package/skills/cm-frappe-agent/agents/frappe-debugger.md +625 -0
  208. package/skills/cm-frappe-agent/agents/frappe-fixer.md +275 -0
  209. package/skills/cm-frappe-agent/agents/frappe-frontend.md +660 -0
  210. package/skills/cm-frappe-agent/agents/frappe-installer.md +158 -0
  211. package/skills/cm-frappe-agent/agents/frappe-performance.md +307 -0
  212. package/skills/cm-frappe-agent/agents/frappe-planner.md +419 -0
  213. package/skills/cm-frappe-agent/agents/frappe-remote-ops.md +153 -0
  214. package/skills/cm-frappe-agent/agents/github-workflow.md +286 -0
  215. package/skills/cm-frappe-agent/commands/frappe-app.md +351 -0
  216. package/skills/cm-frappe-agent/commands/frappe-backend.md +162 -0
  217. package/skills/cm-frappe-agent/commands/frappe-bench.md +254 -0
  218. package/skills/cm-frappe-agent/commands/frappe-debug.md +263 -0
  219. package/skills/cm-frappe-agent/commands/frappe-doctype-create.md +272 -0
  220. package/skills/cm-frappe-agent/commands/frappe-doctype-field.md +310 -0
  221. package/skills/cm-frappe-agent/commands/frappe-erpnext.md +210 -0
  222. package/skills/cm-frappe-agent/commands/frappe-fix.md +59 -0
  223. package/skills/cm-frappe-agent/commands/frappe-frontend.md +210 -0
  224. package/skills/cm-frappe-agent/commands/frappe-fullstack.md +243 -0
  225. package/skills/cm-frappe-agent/commands/frappe-github.md +57 -0
  226. package/skills/cm-frappe-agent/commands/frappe-install.md +52 -0
  227. package/skills/cm-frappe-agent/commands/frappe-plan.md +442 -0
  228. package/skills/cm-frappe-agent/commands/frappe-remote.md +58 -0
  229. package/skills/cm-frappe-agent/commands/frappe-test.md +356 -0
  230. package/skills/cm-frappe-agent/docs/README.md +51 -0
  231. package/skills/cm-frappe-agent/docs/agents-catalog.md +113 -0
  232. package/skills/cm-frappe-agent/docs/architecture.md +149 -0
  233. package/skills/cm-frappe-agent/docs/commands-catalog.md +82 -0
  234. package/skills/cm-frappe-agent/docs/resources-catalog.md +66 -0
  235. package/skills/cm-frappe-agent/docs/sitemap-urls.txt +52 -0
  236. package/skills/cm-frappe-agent/docs/sitemap.md +81 -0
  237. package/skills/cm-frappe-agent/docs/sop/user-guide.md +178 -0
  238. package/skills/cm-frappe-agent/docs/sop/vibe-coding-guide.md +122 -0
  239. package/skills/cm-frappe-agent/resources/7-layer-architecture.md +985 -0
  240. package/skills/cm-frappe-agent/resources/bench_commands.md +73 -0
  241. package/skills/cm-frappe-agent/resources/code-patterns-guide.md +948 -0
  242. package/skills/cm-frappe-agent/resources/common_pitfalls.md +266 -0
  243. package/skills/cm-frappe-agent/resources/doctype-registry.md +158 -0
  244. package/skills/cm-frappe-agent/resources/installation-guide.md +289 -0
  245. package/skills/cm-frappe-agent/resources/rest-api-patterns.md +182 -0
  246. package/skills/cm-frappe-agent/resources/scaffold_checklist.md +82 -0
  247. package/skills/cm-frappe-agent/resources/upgrade_patterns.md +113 -0
  248. package/skills/cm-frappe-agent/resources/web-form-patterns.md +252 -0
  249. package/skills/cm-frappe-agent/skills/bench-commands/SKILL.md +621 -0
  250. package/skills/cm-frappe-agent/skills/client-scripts/SKILL.md +642 -0
  251. package/skills/cm-frappe-agent/skills/doctype-patterns/SKILL.md +576 -0
  252. package/skills/cm-frappe-agent/skills/frappe-api/SKILL.md +740 -0
  253. package/skills/cm-frappe-agent/skills/remote-operations/SKILL.md +47 -0
  254. package/skills/cm-frappe-agent/skills/server-scripts/SKILL.md +608 -0
  255. package/skills/cm-frappe-agent/skills/web-forms/SKILL.md +46 -0
  256. package/skills/cm-git-worktrees/SKILL.md +0 -7
  257. package/skills/cm-google-form/SKILL.md +266 -0
  258. package/skills/cm-google-form/templates/apps-script.js +55 -0
  259. package/skills/cm-google-form/templates/form-markup.html +110 -0
  260. package/skills/cm-google-form/templates/form-submit.js +201 -0
  261. package/skills/cm-google-form/templates/toast.css +152 -0
  262. package/skills/cm-growth-hacking/SKILL.md +293 -0
  263. package/skills/cm-growth-hacking/bottom-sheet-engine.md +261 -0
  264. package/skills/cm-growth-hacking/calendar-integration.md +264 -0
  265. package/skills/cm-growth-hacking/references/engagement-patterns.md +346 -0
  266. package/skills/cm-growth-hacking/templates/bottom-sheet.css +528 -0
  267. package/skills/cm-growth-hacking/templates/bottom-sheet.js +269 -0
  268. package/skills/cm-growth-hacking/templates/calendar-cta.js +213 -0
  269. package/skills/cm-growth-hacking/templates/tracking-events.js +211 -0
  270. package/skills/cm-growth-hacking/templates/trigger-manager.js +254 -0
  271. package/skills/cm-growth-hacking/tracking-events.md +246 -0
  272. package/skills/cm-growth-hacking/trigger-system.md +342 -0
  273. package/skills/cm-how-it-work/SKILL.md +20 -4
  274. package/skills/cm-identity-guard/SKILL.md +0 -11
  275. package/skills/cm-jtbd/SKILL.md +1 -1
  276. package/skills/cm-notebooklm/SKILL.md +172 -0
  277. package/skills/cm-notebooklm/references/command_reference.md +94 -0
  278. package/skills/cm-notebooklm/references/workflows.md +60 -0
  279. package/skills/cm-notebooklm/resources/knowledge_sources.md +106 -0
  280. package/skills/cm-notebooklm/scripts/brain-sync.sh +453 -0
  281. package/skills/cm-notebooklm/scripts/graduate_wisdom.py +101 -0
  282. package/skills/cm-planning/SKILL.md +39 -52
  283. package/skills/cm-project-bootstrap/SKILL.md +1308 -99
  284. package/skills/cm-quality-gate/SKILL.md +13 -106
  285. package/skills/cm-reactor/SKILL.md +274 -0
  286. package/skills/cm-safe-deploy/SKILL.md +415 -52
  287. package/skills/cm-safe-i18n/SKILL.md +1 -22
  288. package/skills/cm-secret-shield/SKILL.md +2 -2
  289. package/skills/cm-security-gate/SKILL.md +114 -0
  290. package/skills/cm-skill-chain/SKILL.md +2 -2
  291. package/skills/cm-skill-index/SKILL.md +9 -6
  292. package/skills/cm-skill-mastery/SKILL.md +2 -15
  293. package/skills/cm-start/SKILL.md +9 -0
  294. package/skills/cm-tdd/SKILL.md +16 -49
  295. package/skills/cm-ui-preview/SKILL.md +35 -173
  296. package/skills/cm-ux-master/FEATURES-v4.md +305 -0
  297. package/skills/cm-ux-master/README-ru.md +135 -0
  298. package/skills/cm-ux-master/README-vi.md +135 -0
  299. package/skills/cm-ux-master/README-zh.md +135 -0
  300. package/skills/cm-ux-master/README.md +489 -0
  301. package/skills/cm-ux-master/SKILL.md +773 -62
  302. package/skills/cm-ux-master/cli/README.md +180 -0
  303. package/skills/cm-ux-master/cli/pyproject.toml +106 -0
  304. package/skills/cm-ux-master/cli/requirements.txt +21 -0
  305. package/skills/cm-ux-master/cli/templates/base/skill-core.md +262 -0
  306. package/skills/cm-ux-master/cli/templates/platforms/claude.yaml +21 -0
  307. package/skills/cm-ux-master/cli/templates/platforms/cursor.yaml +21 -0
  308. package/skills/cm-ux-master/cli/templates/platforms/figma.yaml +24 -0
  309. package/skills/cm-ux-master/cli/templates/platforms/vscode-mcp.yaml +28 -0
  310. package/skills/cm-ux-master/cli/templates/platforms/windsurf.yaml +21 -0
  311. package/skills/cm-ux-master/cli/uxmaster/__init__.py +10 -0
  312. package/skills/cm-ux-master/cli/uxmaster/__main__.py +19 -0
  313. package/skills/cm-ux-master/cli/uxmaster/cli.py +349 -0
  314. package/skills/cm-ux-master/cli/uxmaster/commands/__init__.py +8 -0
  315. package/skills/cm-ux-master/cli/uxmaster/commands/extract.py +18 -0
  316. package/skills/cm-ux-master/cli/uxmaster/commands/init.py +58 -0
  317. package/skills/cm-ux-master/cli/uxmaster/commands/mcp.py +194 -0
  318. package/skills/cm-ux-master/cli/uxmaster/commands/search.py +23 -0
  319. package/skills/cm-ux-master/cli/uxmaster/commands/validate.py +270 -0
  320. package/skills/cm-ux-master/cli/uxmaster/search_engine.py +532 -0
  321. package/skills/cm-ux-master/cli/uxmaster/template_engine.py +458 -0
  322. package/skills/cm-ux-master/cli/uxmaster/utils/__init__.py +9 -0
  323. package/skills/cm-ux-master/cli/uxmaster/utils/console.py +42 -0
  324. package/skills/cm-ux-master/cli/uxmaster/utils/detect.py +83 -0
  325. package/skills/cm-ux-master/data/accessibility-advanced.csv +26 -0
  326. package/skills/cm-ux-master/data/animation.csv +31 -0
  327. package/skills/cm-ux-master/data/charts.csv +26 -0
  328. package/skills/cm-ux-master/data/colors.csv +97 -0
  329. package/skills/cm-ux-master/data/design-tests.csv +37 -0
  330. package/skills/cm-ux-master/data/devices.csv +21 -0
  331. package/skills/cm-ux-master/data/icons.csv +101 -0
  332. package/skills/cm-ux-master/data/landing.csv +31 -0
  333. package/skills/cm-ux-master/data/products.csv +97 -0
  334. package/skills/cm-ux-master/data/react-performance.csv +45 -0
  335. package/skills/cm-ux-master/data/responsive.csv +26 -0
  336. package/skills/cm-ux-master/data/semi-tokens.csv +52 -0
  337. package/skills/cm-ux-master/data/stacks/angular.csv +34 -0
  338. package/skills/cm-ux-master/data/stacks/astro.csv +54 -0
  339. package/skills/cm-ux-master/data/stacks/electron.csv +32 -0
  340. package/skills/cm-ux-master/data/stacks/flutter.csv +53 -0
  341. package/skills/cm-ux-master/data/stacks/html-tailwind.csv +56 -0
  342. package/skills/cm-ux-master/data/stacks/htmx.csv +28 -0
  343. package/skills/cm-ux-master/data/stacks/jetpack-compose.csv +53 -0
  344. package/skills/cm-ux-master/data/stacks/nextjs.csv +53 -0
  345. package/skills/cm-ux-master/data/stacks/nuxt-ui.csv +51 -0
  346. package/skills/cm-ux-master/data/stacks/nuxtjs.csv +59 -0
  347. package/skills/cm-ux-master/data/stacks/react-native.csv +52 -0
  348. package/skills/cm-ux-master/data/stacks/react.csv +54 -0
  349. package/skills/cm-ux-master/data/stacks/shadcn.csv +61 -0
  350. package/skills/cm-ux-master/data/stacks/svelte.csv +54 -0
  351. package/skills/cm-ux-master/data/stacks/swiftui.csv +51 -0
  352. package/skills/cm-ux-master/data/stacks/tauri.csv +29 -0
  353. package/skills/cm-ux-master/data/stacks/vue.csv +50 -0
  354. package/skills/cm-ux-master/data/styles.csv +68 -0
  355. package/skills/cm-ux-master/data/typography.csv +58 -0
  356. package/skills/cm-ux-master/data/ui-reasoning.csv +101 -0
  357. package/skills/cm-ux-master/data/ux-guidelines.csv +100 -0
  358. package/skills/cm-ux-master/data/ux-laws.csv +49 -0
  359. package/skills/cm-ux-master/data/web-interface.csv +31 -0
  360. package/skills/cm-ux-master/docs/LANDING-PAGE.html +377 -0
  361. package/skills/cm-ux-master/docs/README.md +108 -0
  362. package/skills/cm-ux-master/docs/css/styles.css +573 -0
  363. package/skills/cm-ux-master/docs/examples/demo-script.md +319 -0
  364. package/skills/cm-ux-master/docs/guides/for-designers.md +692 -0
  365. package/skills/cm-ux-master/docs/guides/for-developers.md +778 -0
  366. package/skills/cm-ux-master/docs/guides/for-product-managers.md +693 -0
  367. package/skills/cm-ux-master/docs/guides/react-guide-vi.md +50 -0
  368. package/skills/cm-ux-master/docs/index.html +1062 -0
  369. package/skills/cm-ux-master/docs/js/i18n.js +84 -0
  370. package/skills/cm-ux-master/docs/js/lang/de.js +145 -0
  371. package/skills/cm-ux-master/docs/js/lang/en.js +145 -0
  372. package/skills/cm-ux-master/docs/js/lang/fr.js +145 -0
  373. package/skills/cm-ux-master/docs/js/lang/hi.js +145 -0
  374. package/skills/cm-ux-master/docs/js/lang/id.js +145 -0
  375. package/skills/cm-ux-master/docs/js/lang/ja.js +145 -0
  376. package/skills/cm-ux-master/docs/js/lang/ko.js +145 -0
  377. package/skills/cm-ux-master/docs/js/lang/ru.js +145 -0
  378. package/skills/cm-ux-master/docs/js/lang/vi.js +145 -0
  379. package/skills/cm-ux-master/docs/js/lang/zh.js +145 -0
  380. package/skills/cm-ux-master/docs/js/main.js +117 -0
  381. package/skills/cm-ux-master/docs/plan/PHASE1-COMPLETION.md +217 -0
  382. package/skills/cm-ux-master/docs/plan/PHASE2-COMPLETION.md +199 -0
  383. package/skills/cm-ux-master/docs/plan/PHASE2-ENHANCED-COMPLETION.md +352 -0
  384. package/skills/cm-ux-master/docs/plan/PHASE3-VALIDATION-COMPLETION.md +499 -0
  385. package/skills/cm-ux-master/docs/plan/PHASE4-TESTING-POLISH-COMPLETION.md +483 -0
  386. package/skills/cm-ux-master/docs/plan/UXM-2.0-ROADMAP.md +681 -0
  387. package/skills/cm-ux-master/docs/plan/WOW-PITCH.md +410 -0
  388. package/skills/cm-ux-master/docs/technical/api-reference.md +824 -0
  389. package/skills/cm-ux-master/docs/technical/harvester-v4.md +328 -0
  390. package/skills/cm-ux-master/docs/technical/how-it-works.md +1128 -0
  391. package/skills/cm-ux-master/docs/tutorials/quickstart.md +339 -0
  392. package/skills/cm-ux-master/docs/tutorials/tutorials.md +939 -0
  393. package/skills/cm-ux-master/docs/tutorials/user-guide.md +716 -0
  394. package/skills/cm-ux-master/examples/README.md +63 -0
  395. package/skills/cm-ux-master/mcp/__init__.py +3 -0
  396. package/skills/cm-ux-master/mcp/integrations/__init__.py +11 -0
  397. package/skills/cm-ux-master/mcp/integrations/figma/__init__.py +6 -0
  398. package/skills/cm-ux-master/mcp/integrations/figma/client.py +293 -0
  399. package/skills/cm-ux-master/mcp/integrations/figma/plugin/code.js +561 -0
  400. package/skills/cm-ux-master/mcp/integrations/figma/plugin/ui.html +334 -0
  401. package/skills/cm-ux-master/mcp/integrations/stitch/__init__.py +5 -0
  402. package/skills/cm-ux-master/mcp/integrations/stitch/client.py +410 -0
  403. package/skills/cm-ux-master/mcp/integrations/vscode/package.json +167 -0
  404. package/skills/cm-ux-master/mcp/integrations/vscode/src/extension.ts +81 -0
  405. package/skills/cm-ux-master/mcp/mcp-config.json +274 -0
  406. package/skills/cm-ux-master/mcp/server.py +771 -0
  407. package/skills/cm-ux-master/mcp/tools/__init__.py +13 -0
  408. package/skills/cm-ux-master/mcp-server/server.py +595 -0
  409. package/skills/cm-ux-master/output/fila/FilaDashboard.tsx +47 -0
  410. package/skills/cm-ux-master/output/fila/components/badge/component.tsx +35 -0
  411. package/skills/cm-ux-master/output/fila/components/badge/index.ts +1 -0
  412. package/skills/cm-ux-master/output/fila/components/button/component.tsx +53 -0
  413. package/skills/cm-ux-master/output/fila/components/button/index.ts +1 -0
  414. package/skills/cm-ux-master/output/fila/components/card/component.tsx +35 -0
  415. package/skills/cm-ux-master/output/fila/components/card/index.ts +1 -0
  416. package/skills/cm-ux-master/output/fila/components/input/component.tsx +41 -0
  417. package/skills/cm-ux-master/output/fila/components/input/index.ts +1 -0
  418. package/skills/cm-ux-master/output/fila/design-system.css +151 -0
  419. package/skills/cm-ux-master/output/fila/design-system.html +1596 -0
  420. package/skills/cm-ux-master/output/fila/design-system.json +168 -0
  421. package/skills/cm-ux-master/output/fila/figma-tokens.json +523 -0
  422. package/skills/cm-ux-master/output/fila/harvest-v4-raw.json +406 -0
  423. package/skills/cm-ux-master/output/fila/semi-theme-override.css +95 -0
  424. package/skills/cm-ux-master/output/haravan/HaravanDashboard.tsx +103 -0
  425. package/skills/cm-ux-master/output/haravan/design-system-v3-live.html +2716 -0
  426. package/skills/cm-ux-master/output/haravan/design-system-v3.html +1770 -0
  427. package/skills/cm-ux-master/output/haravan/design-system.html +914 -0
  428. package/skills/cm-ux-master/output/haravan/figma-tokens.json +84 -0
  429. package/skills/cm-ux-master/output/haravan/haravan-harvest.json +33 -0
  430. package/skills/cm-ux-master/output/haravan/harvest-v3-raw.json +167 -0
  431. package/skills/cm-ux-master/output/haravan/semi-theme-override.css +39 -0
  432. package/skills/cm-ux-master/references/audit-template.md +257 -0
  433. package/skills/cm-ux-master/references/cultural-ux.md +346 -0
  434. package/skills/cm-ux-master/references/dark-patterns.md +362 -0
  435. package/skills/cm-ux-master/references/heuristic-conflicts.md +296 -0
  436. package/skills/cm-ux-master/references/krug-principles.md +289 -0
  437. package/skills/cm-ux-master/references/nielsen-heuristics.md +360 -0
  438. package/skills/cm-ux-master/references/wcag-checklist.md +306 -0
  439. package/skills/cm-ux-master/scripts/component_generator.py +631 -0
  440. package/skills/cm-ux-master/scripts/core.py +305 -0
  441. package/skills/cm-ux-master/scripts/demo_validation.py +452 -0
  442. package/skills/cm-ux-master/scripts/design_doc_generator.py +1325 -0
  443. package/skills/cm-ux-master/scripts/design_system.py +1141 -0
  444. package/skills/cm-ux-master/scripts/design_system_indexer.py +889 -0
  445. package/skills/cm-ux-master/scripts/extract_i18n.py +251 -0
  446. package/skills/cm-ux-master/scripts/extractor.py +1437 -0
  447. package/skills/cm-ux-master/scripts/figma_bridge.py +406 -0
  448. package/skills/cm-ux-master/scripts/generate.py +147 -0
  449. package/skills/cm-ux-master/scripts/harvest_session.py +207 -0
  450. package/skills/cm-ux-master/scripts/harvester.js +240 -0
  451. package/skills/cm-ux-master/scripts/harvester_browser.py +717 -0
  452. package/skills/cm-ux-master/scripts/harvester_cli.py +431 -0
  453. package/skills/cm-ux-master/scripts/harvester_v1.js +275 -0
  454. package/skills/cm-ux-master/scripts/harvester_v3.js +620 -0
  455. package/skills/cm-ux-master/scripts/harvester_v4.js +1003 -0
  456. package/skills/cm-ux-master/scripts/install.py +528 -0
  457. package/skills/cm-ux-master/scripts/license.py +81 -0
  458. package/skills/cm-ux-master/scripts/media/qrpayment.png +0 -0
  459. package/skills/cm-ux-master/scripts/pro_stubs.py +120 -0
  460. package/skills/cm-ux-master/scripts/project_registry.py +217 -0
  461. package/skills/cm-ux-master/scripts/search.py +114 -0
  462. package/skills/cm-ux-master/scripts/semi_mcp_bridge.py +425 -0
  463. package/skills/cm-ux-master/scripts/stitch_integration.py +583 -0
  464. package/skills/cm-ux-master/scripts/test_harvester_v4.py +335 -0
  465. package/skills/cm-ux-master/scripts/token_mapper.py +626 -0
  466. package/skills/cm-ux-master/scripts/validation_engine.py +1571 -0
  467. package/skills/cm-ux-master/scripts/wizard.py +653 -0
  468. package/skills/cm-ux-master/setup.py +93 -0
  469. package/skills/cm-ux-master/templates/base/flutter-widget.dart +69 -0
  470. package/skills/cm-ux-master/templates/base/html-page.html +152 -0
  471. package/skills/cm-ux-master/templates/base/react-component.tsx +47 -0
  472. package/skills/cm-ux-master/templates/base/swiftui-view.swift +62 -0
  473. package/skills/cm-ux-master/templates/quick-start.sh +176 -0
  474. package/skills/cm-ux-master/tests/automation/batch-validate.sh +250 -0
  475. package/skills/cm-ux-master/tests/automation/generate-test-projects.sh +561 -0
  476. package/skills/cm-ux-master/tests/automation/run-all-tests.sh +315 -0
  477. package/skills/cm-ux-master/tests/test_design_doc.py +145 -0
  478. package/skills/cm-ux-master/tests/test_devices.py +74 -0
  479. package/skills/cm-ux-master/tests/test_generator.py +116 -0
  480. package/skills/cm-ux-master/tests/test_harvest_session.py +131 -0
  481. package/skills/cm-ux-master/tests/test_harvester.py +127 -0
  482. package/skills/cm-ux-master/tests/test_harvester_v3.py +324 -0
  483. package/skills/cm-ux-master/tests/test_mcp_server.py +496 -0
  484. package/skills/cm-ux-master/tests/test_new_domains.py +108 -0
  485. package/skills/cm-ux-master/tests/test_new_stacks.py +103 -0
  486. package/skills/cm-ux-master/tests/test_project_registry.py +146 -0
  487. package/skills/cm-ux-master/tests/test_semi_mcp_bridge.py +207 -0
  488. package/skills/cm-ux-master/tests/test_token_mapper.py +247 -0
  489. package/skills/cm-ux-master/tests/test_validation_engine.py +617 -0
  490. package/skills/config.schema.json +397 -0
  491. package/skills/frappe-app-builder.zip +0 -0
  492. package/skills/jobs-to-be-done/SKILL.md +266 -0
  493. package/skills/jobs-to-be-done/references/case-studies.md +154 -0
  494. package/skills/jobs-to-be-done/references/competitive-strategy.md +280 -0
  495. package/skills/jobs-to-be-done/references/diagnostics.md +158 -0
  496. package/skills/jobs-to-be-done/references/innovation-process.md +392 -0
  497. package/skills/jobs-to-be-done/references/organizational-change.md +328 -0
  498. package/skills/marketplace-report-crawler/SKILL.md +176 -0
  499. package/skills/marketplace-report-crawler/config/accounts.json +41 -0
  500. package/skills/marketplace-report-crawler/config/report-types.json +422 -0
  501. package/skills/marketplace-report-crawler/config/sessions.json +3 -0
  502. package/skills/marketplace-report-crawler/scripts/ab-wrapper.sh +102 -0
  503. package/skills/marketplace-report-crawler/scripts/browser-actions/lazada/lazada-actions.js +114 -0
  504. package/skills/marketplace-report-crawler/scripts/browser-actions/shopee/shopee-actions.js +94 -0
  505. package/skills/marketplace-report-crawler/scripts/browser-actions/tiktok/tiktok-actions.js +272 -0
  506. package/skills/marketplace-report-crawler/scripts/crawl-runner.js +281 -0
  507. package/skills/marketplace-report-crawler/scripts/session-check.sh +72 -0
  508. package/skills/marketplace-report-crawler/scripts/session-manager.sh +349 -0
  509. package/skills/marketplace-report-crawler/scripts/setup-folders.sh +83 -0
  510. package/skills/medical-research/SKILL.md +194 -0
  511. package/skills/medical-research/scripts/evidence_checker.py +288 -0
  512. package/skills/mom-test/SKILL.md +267 -0
  513. package/skills/mom-test/references/avoiding-bad-data.md +221 -0
  514. package/skills/mom-test/references/case-studies.md +306 -0
  515. package/skills/mom-test/references/commitment-advancement.md +219 -0
  516. package/skills/mom-test/references/finding-conversations.md +251 -0
  517. package/skills/mom-test/references/processing-learning.md +256 -0
  518. package/skills/mom-test/references/question-patterns.md +198 -0
  519. package/skills/pandasai-analytics/SKILL.md +251 -0
  520. package/skills/release-it/SKILL.md +235 -0
  521. package/skills/release-it/references/anti-patterns.md +279 -0
  522. package/skills/release-it/references/capacity-planning.md +285 -0
  523. package/skills/release-it/references/chaos-engineering.md +325 -0
  524. package/skills/release-it/references/deployment-strategies.md +331 -0
  525. package/skills/release-it/references/observability.md +301 -0
  526. package/skills/release-it/references/stability-patterns.md +355 -0
  527. package/skills/scripts/sync-ide-skills.sh +61 -0
  528. package/skills/skill-creator-ultra/.agents/workflows/skill-audit.md +37 -0
  529. package/skills/skill-creator-ultra/.agents/workflows/skill-compare.md +34 -0
  530. package/skills/skill-creator-ultra/.agents/workflows/skill-export.md +51 -0
  531. package/skills/skill-creator-ultra/.agents/workflows/skill-generate.md +39 -0
  532. package/skills/skill-creator-ultra/.agents/workflows/skill-scaffold.md +52 -0
  533. package/skills/skill-creator-ultra/.agents/workflows/skill-simulate.md +25 -0
  534. package/skills/skill-creator-ultra/.agents/workflows/skill-stats.md +31 -0
  535. package/skills/skill-creator-ultra/.agents/workflows/skill-validate.md +25 -0
  536. package/skills/skill-creator-ultra/README.md +1242 -0
  537. package/skills/skill-creator-ultra/SKILL.md +388 -0
  538. package/skills/skill-creator-ultra/agents/analyzer.md +274 -0
  539. package/skills/skill-creator-ultra/agents/comparator.md +202 -0
  540. package/skills/skill-creator-ultra/agents/grader.md +223 -0
  541. package/skills/skill-creator-ultra/assets/eval_review.html +146 -0
  542. package/skills/skill-creator-ultra/eval-viewer/generate_review.py +471 -0
  543. package/skills/skill-creator-ultra/eval-viewer/viewer.html +1325 -0
  544. package/skills/skill-creator-ultra/examples/example_anthropic_frontend.md +109 -0
  545. package/skills/skill-creator-ultra/examples/example_anthropic_pdf.md +116 -0
  546. package/skills/skill-creator-ultra/examples/example_api_docs.md +189 -0
  547. package/skills/skill-creator-ultra/examples/example_db_migration.md +253 -0
  548. package/skills/skill-creator-ultra/examples/example_git_commit.md +111 -0
  549. package/skills/skill-creator-ultra/install.ps1 +289 -0
  550. package/skills/skill-creator-ultra/install.sh +313 -0
  551. package/skills/skill-creator-ultra/phases/phase1_interview.md +202 -0
  552. package/skills/skill-creator-ultra/phases/phase2_extract.md +55 -0
  553. package/skills/skill-creator-ultra/phases/phase3_detect.md +57 -0
  554. package/skills/skill-creator-ultra/phases/phase4_generate.md +543 -0
  555. package/skills/skill-creator-ultra/phases/phase5_test.md +319 -0
  556. package/skills/skill-creator-ultra/phases/phase6_eval.md +301 -0
  557. package/skills/skill-creator-ultra/phases/phase7_iterate.md +103 -0
  558. package/skills/skill-creator-ultra/phases/phase8_optimize.md +113 -0
  559. package/skills/skill-creator-ultra/resources/advanced_patterns.md +499 -0
  560. package/skills/skill-creator-ultra/resources/anti_patterns.md +376 -0
  561. package/skills/skill-creator-ultra/resources/blueprints.md +498 -0
  562. package/skills/skill-creator-ultra/resources/checklist.md +243 -0
  563. package/skills/skill-creator-ultra/resources/composition_cookbook.md +291 -0
  564. package/skills/skill-creator-ultra/resources/description_optimization.md +90 -0
  565. package/skills/skill-creator-ultra/resources/eval_guide.md +133 -0
  566. package/skills/skill-creator-ultra/resources/industry_questions.md +189 -0
  567. package/skills/skill-creator-ultra/resources/interview_questions.md +200 -0
  568. package/skills/skill-creator-ultra/resources/pattern_detection.md +200 -0
  569. package/skills/skill-creator-ultra/resources/prompt_engineering.md +531 -0
  570. package/skills/skill-creator-ultra/resources/schemas.md +430 -0
  571. package/skills/skill-creator-ultra/resources/script_integration.md +593 -0
  572. package/skills/skill-creator-ultra/resources/scripts_guide.md +339 -0
  573. package/skills/skill-creator-ultra/resources/skill_template.md +124 -0
  574. package/skills/skill-creator-ultra/resources/skill_writing_guide.md +634 -0
  575. package/skills/skill-creator-ultra/resources/versioning_guide.md +193 -0
  576. package/skills/skill-creator-ultra/scripts/ci_eval.py +200 -0
  577. package/skills/skill-creator-ultra/scripts/package_skill.py +165 -0
  578. package/skills/skill-creator-ultra/scripts/simulate_skill.py +398 -0
  579. package/skills/skill-creator-ultra/scripts/skill_audit.py +611 -0
  580. package/skills/skill-creator-ultra/scripts/skill_compare.py +265 -0
  581. package/skills/skill-creator-ultra/scripts/skill_export.py +334 -0
  582. package/skills/skill-creator-ultra/scripts/skill_scaffold.py +403 -0
  583. package/skills/skill-creator-ultra/scripts/skill_stats.py +339 -0
  584. package/skills/skill-creator-ultra/scripts/validate_skill.py +411 -0
  585. package/skills/tailwind-mastery/SKILL.md +229 -0
  586. package/skills/vercel-react-best-practices/AGENTS.md +3373 -0
  587. package/skills/vercel-react-best-practices/README.md +123 -0
  588. package/skills/vercel-react-best-practices/SKILL.md +143 -0
  589. package/skills/vercel-react-best-practices/rules/_sections.md +46 -0
  590. package/skills/vercel-react-best-practices/rules/_template.md +28 -0
  591. package/skills/vercel-react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  592. package/skills/vercel-react-best-practices/rules/advanced-init-once.md +42 -0
  593. package/skills/vercel-react-best-practices/rules/advanced-use-latest.md +39 -0
  594. package/skills/vercel-react-best-practices/rules/async-api-routes.md +38 -0
  595. package/skills/vercel-react-best-practices/rules/async-defer-await.md +80 -0
  596. package/skills/vercel-react-best-practices/rules/async-dependencies.md +51 -0
  597. package/skills/vercel-react-best-practices/rules/async-parallel.md +28 -0
  598. package/skills/vercel-react-best-practices/rules/async-suspense-boundaries.md +99 -0
  599. package/skills/vercel-react-best-practices/rules/bundle-barrel-imports.md +59 -0
  600. package/skills/vercel-react-best-practices/rules/bundle-conditional.md +31 -0
  601. package/skills/vercel-react-best-practices/rules/bundle-defer-third-party.md +49 -0
  602. package/skills/vercel-react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  603. package/skills/vercel-react-best-practices/rules/bundle-preload.md +50 -0
  604. package/skills/vercel-react-best-practices/rules/client-event-listeners.md +74 -0
  605. package/skills/vercel-react-best-practices/rules/client-localstorage-schema.md +71 -0
  606. package/skills/vercel-react-best-practices/rules/client-passive-event-listeners.md +48 -0
  607. package/skills/vercel-react-best-practices/rules/client-swr-dedup.md +56 -0
  608. package/skills/vercel-react-best-practices/rules/js-batch-dom-css.md +107 -0
  609. package/skills/vercel-react-best-practices/rules/js-cache-function-results.md +80 -0
  610. package/skills/vercel-react-best-practices/rules/js-cache-property-access.md +28 -0
  611. package/skills/vercel-react-best-practices/rules/js-cache-storage.md +70 -0
  612. package/skills/vercel-react-best-practices/rules/js-combine-iterations.md +32 -0
  613. package/skills/vercel-react-best-practices/rules/js-early-exit.md +50 -0
  614. package/skills/vercel-react-best-practices/rules/js-flatmap-filter.md +60 -0
  615. package/skills/vercel-react-best-practices/rules/js-hoist-regexp.md +45 -0
  616. package/skills/vercel-react-best-practices/rules/js-index-maps.md +37 -0
  617. package/skills/vercel-react-best-practices/rules/js-length-check-first.md +49 -0
  618. package/skills/vercel-react-best-practices/rules/js-min-max-loop.md +82 -0
  619. package/skills/vercel-react-best-practices/rules/js-set-map-lookups.md +24 -0
  620. package/skills/vercel-react-best-practices/rules/js-tosorted-immutable.md +57 -0
  621. package/skills/vercel-react-best-practices/rules/rendering-activity.md +26 -0
  622. package/skills/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  623. package/skills/vercel-react-best-practices/rules/rendering-conditional-render.md +40 -0
  624. package/skills/vercel-react-best-practices/rules/rendering-content-visibility.md +38 -0
  625. package/skills/vercel-react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  626. package/skills/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  627. package/skills/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  628. package/skills/vercel-react-best-practices/rules/rendering-resource-hints.md +85 -0
  629. package/skills/vercel-react-best-practices/rules/rendering-script-defer-async.md +68 -0
  630. package/skills/vercel-react-best-practices/rules/rendering-svg-precision.md +28 -0
  631. package/skills/vercel-react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  632. package/skills/vercel-react-best-practices/rules/rerender-defer-reads.md +39 -0
  633. package/skills/vercel-react-best-practices/rules/rerender-dependencies.md +45 -0
  634. package/skills/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  635. package/skills/vercel-react-best-practices/rules/rerender-derived-state.md +29 -0
  636. package/skills/vercel-react-best-practices/rules/rerender-functional-setstate.md +74 -0
  637. package/skills/vercel-react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  638. package/skills/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  639. package/skills/vercel-react-best-practices/rules/rerender-memo.md +44 -0
  640. package/skills/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  641. package/skills/vercel-react-best-practices/rules/rerender-no-inline-components.md +82 -0
  642. package/skills/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  643. package/skills/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
  644. package/skills/vercel-react-best-practices/rules/rerender-transitions.md +40 -0
  645. package/skills/vercel-react-best-practices/rules/rerender-use-deferred-value.md +59 -0
  646. package/skills/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  647. package/skills/vercel-react-best-practices/rules/server-after-nonblocking.md +73 -0
  648. package/skills/vercel-react-best-practices/rules/server-auth-actions.md +96 -0
  649. package/skills/vercel-react-best-practices/rules/server-cache-lru.md +41 -0
  650. package/skills/vercel-react-best-practices/rules/server-cache-react.md +76 -0
  651. package/skills/vercel-react-best-practices/rules/server-dedup-props.md +65 -0
  652. package/skills/vercel-react-best-practices/rules/server-hoist-static-io.md +142 -0
  653. package/skills/vercel-react-best-practices/rules/server-parallel-fetching.md +83 -0
  654. package/skills/vercel-react-best-practices/rules/server-serialization.md +38 -0
  655. package/skills/web-design-guidelines/SKILL.md +39 -0
  656. package/skills/cro-methodology/SKILL.md +0 -98
  657. /package/skills/{cro-methodology → cm-cro-methodology}/references/COPYWRITING.md +0 -0
  658. /package/skills/{cro-methodology → cm-cro-methodology}/references/OBJECTIONS.md +0 -0
  659. /package/skills/{cro-methodology → cm-cro-methodology}/references/PERSUASION.md +0 -0
  660. /package/skills/{cro-methodology → cm-cro-methodology}/references/RESEARCH.md +0 -0
  661. /package/skills/{cro-methodology → cm-cro-methodology}/references/funnel-analysis.md +0 -0
  662. /package/skills/{cro-methodology → cm-cro-methodology}/references/testing-methodology.md +0 -0
@@ -1,114 +1,825 @@
1
1
  ---
2
2
  name: cm-ux-master
3
- description: "Ultimate UI/UX design intelligence with Harvester (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. All features are free and included. No paid tiers."
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
- # CM UX Master — Ultimate Design Intelligence
6
+ # 🚀 CM UX Master v4 — Ultimate Design Intelligence Platform
7
7
 
8
- **AI-powered design system platform:** Harvester extraction, MCP integration (Stitch + Pencil.dev), 48 UX Laws, 37 Design Tests, 1032+ design rules across 16 domains.
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
17
+
18
+ **One command = Complete design system. 10x productivity. Zero manual work.**
9
19
 
10
20
  ## System Persona
11
21
 
12
- You are **"The MasterDesign Agent"** — Elite Principal Product Designer and Frontend Architect. You design complex, functional UIs for Web Apps, Mobile Apps, and SaaS Dashboards. **Form follows function.** No excessive glassmorphism, no useless infinite animations.
22
+ You are **"The MasterDesign Agent"** — an Elite Principal Product Designer and Frontend Architect.
23
+
24
+ Your core expertise is designing and developing complex, highly functional user interfaces for **Web Applications, Native-feel Mobile Apps, and Enterprise SaaS Dashboards**.
25
+
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)
60
+
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
13
67
 
14
- ## Core Directives (MANDATORY)
68
+ ### Directive 5: Accessibility & Error Prevention (A11y + Poka-Yoke)
15
69
 
16
- ### 1. Mobile & Touch (Fitts's Law)
17
- - ALL touch targets ≥ 44×44px. Primary actions in **Thumb Zone** (bottom 1/3).
18
- - Use sticky bottom bars, bottom-sheet modals, swipe actions for lists.
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
19
75
 
20
- ### 2. Decision Architecture (Hick's Law)
21
- - Use **Progressive Disclosure**. Limit primary CTAs to 1-2 per view.
22
- - Hide advanced settings behind accordions or `...` menus.
76
+ ### Directive 6: i18n & Multi-Locale Design
23
77
 
24
- ### 3. Data Density (Miller's Law)
25
- - Chunk information into groups of 5-9. Use whitespace and subtle separators.
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.
26
80
 
27
- ### 4. Perceived Performance (Doherty Threshold)
28
- - All UI lifecycle states: Skeleton Loader, Empty State, Error State, Interactive states (`hover:`, `active:`, `disabled:`, `focus-visible:`).
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.
29
87
 
30
- ### 5. Accessibility (A11y + Poka-Yoke)
31
- - WCAG 2.1 AA contrast. `focus-visible:ring-2` on all interactive elements.
32
- - Destructive actions visually distinct + separated from safe actions.
33
- - Semantic HTML + ARIA attributes.
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
34
94
 
35
- ### 6. i18n & Multi-Locale
36
- - Design with longest string in mind (Thai ~30-40% longer than English).
37
- - Use `min-width` not fixed `width`. Verify font supports all target scripts.
38
- - Locale-aware formatting: `toLocaleDateString(userLocale)`, never hardcode locale.
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
39
100
 
40
- ## How to Use
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' })
104
+ ```
105
+
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
+ ---
137
+
138
+ ## Prerequisites
139
+
140
+ ```bash
141
+ python3 --version || python --version
142
+ ```
143
+
144
+ Python 3.x required. No external dependencies.
145
+
146
+ ---
41
147
 
42
- ### Step 1: Analyze Requirements
43
- Extract: product type, style keywords, industry, stack.
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`
44
157
 
45
158
  ### Step 2: Generate Design System (REQUIRED)
159
+
160
+ **Always start with `--design-system`** to get comprehensive recommendations with UX Laws + Design Tests:
161
+
46
162
  ```bash
47
163
  python3 scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
48
164
  ```
49
- Searches 5 domains in parallel, applies UX Laws + Design Tests, returns complete design system.
50
165
 
51
- ### Step 3: Query UX Laws
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"
175
+ ```
176
+
177
+ ### Step 2b: Persist Design System (Master + Overrides)
178
+
179
+ ```bash
180
+ python3 scripts/search.py "<query>" --design-system --persist -p "Project Name"
181
+ ```
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"
186
+ ```
187
+
188
+ ### Step 3: Query UX Laws (NEW)
189
+
190
+ Search UX Laws applicable to specific product types:
191
+
52
192
  ```bash
53
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
54
196
  ```
55
- 48 UX Laws mapped across 12 product types.
56
197
 
57
- ### Step 4: Query Design Tests
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
+
58
204
  ```bash
59
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
208
+ ```
209
+
210
+ **37 Design Tests** with measurable pass/fail criteria, test methods, and severity levels.
211
+
212
+ ### Step 5: Supplement with Detailed Searches
213
+
214
+ ```bash
215
+ python3 scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
60
216
  ```
61
- 37 Design Tests with pass/fail criteria.
62
217
 
63
- ### Step 5: Supplement with Domain Searches
64
218
  | Need | Domain | Example |
65
219
  |------|--------|---------|
66
- | Style options | `style` | `"glassmorphism dark"` |
67
- | Charts | `chart` | `"real-time dashboard"` |
68
- | UX practices | `ux` | `"animation accessibility"` |
69
- | Fonts | `typography` | `"elegant luxury"` |
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"` |
70
225
  | UX Laws | `ux-laws` | `"hick's law landing"` |
71
226
  | Design Tests | `design-tests` | `"mobile app navigation"` |
72
227
 
73
- ### Step 6: Stack Guidelines
228
+ ### Step 6: Stack Guidelines (Default: html-tailwind)
229
+
230
+ ```bash
231
+ python3 scripts/search.py "<keyword>" --stack html-tailwind
232
+ ```
233
+
74
234
  Available: `html-tailwind`, `react`, `nextjs`, `astro`, `vue`, `nuxtjs`, `nuxt-ui`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`, `angular`, `htmx`, `electron`, `tauri`
75
235
 
76
- ### Step 7: Extract Design System
77
- > Harvester extraction has been moved to **`cm-design-system`**. Delegate extraction tasks there.
236
+ ### Step 7: Extract Design System from Existing Site (NEW)
237
+
238
+ Analyze an existing website and extract its design tokens:
239
+
240
+ ```bash
241
+ # From URL
242
+ python3 scripts/extractor.py --url "https://example.com" -p "BrandName" --generate-skill --persist
243
+
244
+ # From local project directory
245
+ python3 scripts/extractor.py --directory ./src -p "MyApp" --generate-skill --persist
246
+
247
+ # From CSS files
248
+ python3 scripts/extractor.py --css style.css theme.css -p "MyProject" --format tailwind
249
+ ```
250
+
251
+ Outputs: `EXTRACTED.md`, `BRAND-SKILL.md`, `tailwind.config.js`, `design-tokens.css`
252
+
253
+ ### Step 8: Multi-Project Registry + Multi-Page Harvest (v2) 🔒 PRO
254
+
255
+ Manage multiple design system projects and scan multiple pages:
256
+
257
+ ```bash
258
+ # Create a project
259
+ python3 scripts/project_registry.py --create "Haravan" --url "https://showcase.myharavan.com"
260
+
261
+ # List all projects
262
+ python3 scripts/project_registry.py --list
263
+
264
+ # Get project info
265
+ python3 scripts/project_registry.py --get haravan
266
+
267
+ # Add page harvest to project
268
+ python3 scripts/project_registry.py --add-harvest haravan -i harvest.json
269
+
270
+ # Token mapper with project (auto-saves to output/<slug>/)
271
+ python3 scripts/token_mapper.py -i harvest.json --project haravan
272
+
273
+ # Merge multiple harvest files
274
+ python3 scripts/harvest_session.py page1.json page2.json page3.json -o merged.json --confidence
275
+ ```
276
+
277
+ ### Step 9: Design System Documentation Site (v2) 🔒 PRO
278
+
279
+ Generate a self-contained HTML documentation page:
280
+
281
+ ```bash
282
+ # From project
283
+ python3 scripts/design_doc_generator.py --project haravan --open
284
+
285
+ # From harvest file directly
286
+ python3 scripts/design_doc_generator.py -i harvest.json -o design-system.html
287
+ ```
288
+
289
+ Output includes: color palette swatches, typography specimens, geometry preview, component samples, token reference table, usage instructions, dark mode toggle.
290
+
291
+ ### Step 10: Harvester v3 — Comprehensive Design System Extraction 🔒 PRO
292
+
293
+ Upgrade from basic extraction (~20 tokens) to comprehensive design system capture (50-80+ tokens):
294
+
295
+ ```bash
296
+ # 1. Inject harvester_v3.js in browser console on target page
297
+ # Copy-paste scripts/harvester_v3.js → browser DevTools console → Enter
298
+ # Copy the JSON output
299
+
300
+ # 2. Save raw harvest
301
+ # Paste JSON into output/<project>/harvest-v3-raw.json
302
+
303
+ # 3. Map to Semi tokens (auto-detects v3 format)
304
+ python3 scripts/token_mapper.py -i output/<project>/harvest-v3-raw.json --project <slug>
305
+
306
+ # 4. Generate design system doc with all 9 sections
307
+ python3 scripts/design_doc_generator.py --project <slug> --open
308
+ ```
309
+
310
+ **v3 extracts:**
311
+ - Color histogram + semantic colors (primary, success, warning, danger, info, link, disabled)
312
+ - Neutral scale (10-shade gray ramp: 50→900)
313
+ - Expanded surfaces (app, card, sidebar, header, modal, hover, selected, input)
314
+ - Typography scale (heading+body families, 5-8 sizes, 4 weights)
315
+ - Spacing system (padding/margin/gap → 8-step scale)
316
+ - Border system (width, color, radius sm/md/lg/xl/full)
317
+ - Shadow system (sm/md/lg classified by blur depth)
318
+ - Layout metrics (sidebar width, header height, content max-width, grid gap)
319
+ - Component blueprints (button, input, card, table, nav_item, tag)
320
+ - Page type detection (dashboard/settings/report/orders)
321
+
322
+ ---
323
+
324
+ ## Free vs Pro
325
+
326
+ | Feature | Free | Pro |
327
+ |---------|------|-----|
328
+ | Design Rules | 1032+ ✅ | 1032+ ✅ |
329
+ | UX Laws | 48 ✅ | 48 ✅ |
330
+ | Design Tests | 37 ✅ | 37 ✅ |
331
+ | UI Styles | 67 ✅ | 67 ✅ |
332
+ | Platform Support | 6 ✅ | 6 ✅ |
333
+ | Framework Stacks | 17 ✅ | 17 ✅ |
334
+ | Animation Patterns | 30 ✅ | 30 ✅ |
335
+ | Responsive Patterns | 25 ✅ | 25 ✅ |
336
+ | Accessibility (WCAG 2.2) | 25 ✅ | 25 ✅ |
337
+ | Device Profiles | 20 ✅ | 20 ✅ |
338
+ | Code Templates | 4 ✅ | 4 ✅ |
339
+ | **Harvester** | **v3 (80+ tokens)** | **v4 (120+ tokens)** 🔥 |
340
+ | Color Histogram | ❌ | ✅ |
341
+ | Semantic Colors | ❌ | ✅ |
342
+ | Neutral Scale | ❌ | ✅ |
343
+ | Component Blueprints | ❌ | ✅ |
344
+ | Typography Scale | ❌ | ✅ |
345
+ | Shadow/Border System | ❌ | ✅ |
346
+ | Layout Metrics | ❌ | ✅ |
347
+ | Token Mapper | ❌ | ✅ 🔥 |
348
+ | Design Doc Generator | ❌ | ✅ |
349
+ | Project Registry | ❌ | ✅ |
350
+ | Multi-harvest Merge | ❌ | ✅ |
351
+ | Semi MCP Bridge | ❌ | ✅ |
352
+
353
+ ---
354
+
355
+ ## 🚀 NEW: Harvester v4 — AI-Powered Visual Extraction
356
+
357
+ **Harvester v4** is a comprehensive upgrade with automatic design system extraction via browser automation and Semi Design architecture reconstruction.
78
358
 
79
- ## DESIGN.md Standard
359
+ ### New Features in v4
80
360
 
81
- Output `DESIGN.md` as Absolute Source of Truth. Must include: Overview, Colors, Typography, Spacing, Components, Do's/Don'ts, and hidden JSON tokens wrapped in `<!-- STITCH_TOKENS_START -->` / `<!-- STITCH_TOKENS_END -->`.
361
+ | Feature | v3 | v4 |
362
+ |---------|----|----|
363
+ | Tokens | ~80 | **~120+** |
364
+ | Browser Automation | ❌ | ✅ Auto-open |
365
+ | Multi-page Crawl | ❌ | ✅ |
366
+ | AI Visual Analysis | ❌ | ✅ Psychology |
367
+ | Component Blueprints | Basic | ✅ Advanced |
368
+ | Auto Component Gen | ❌ | ✅ React/Semi/Vue |
369
+ | Design System Index | ❌ | ✅ Semi-architecture |
370
+ | CLI Integration | ❌ | ✅ Unified CLI |
82
371
 
83
- ## Execution Output Format (MANDATORY)
372
+ ### Quick Start v4
84
373
 
85
- ### 🧠 UX Reasoning (2-3 bullets: which UX Laws applied and why)
86
- ### 💻 Production Code (with inline `<!-- UX: Law Name -->` comments)
87
- ### ✅ Validation Checklist (confirm Core Directives compliance)
374
+ ```bash
375
+ # 1. Quick workflow - Extract + Index + Generate
376
+ cd /path/to/your/ux-master-project
377
+ python3 scripts/harvester_cli.py quick https://example.com --framework semi
378
+
379
+ # 2. Multi-page harvest with component generation
380
+ python3 scripts/harvester_cli.py extract \
381
+ --url https://example.com \
382
+ --crawl --max-pages 5 \
383
+ --generate --framework react-tailwind
384
+
385
+ # 3. Index existing harvest
386
+ python3 scripts/harvester_cli.py index \
387
+ --input output/harvest.json \
388
+ --name "MyApp" --figma
389
+
390
+ # 4. Generate components from design system
391
+ python3 scripts/harvester_cli.py generate \
392
+ --input output/design-system.json \
393
+ --all --framework semi
394
+ ```
395
+
396
+ ### Harvester v4 Architecture
397
+
398
+ ```
399
+ ┌─────────────────────────────────────────────────────────────┐
400
+ │ Harvester v4 Workflow │
401
+ ├─────────────────────────────────────────────────────────────┤
402
+ │ │
403
+ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
404
+ │ │ Extract │───→│ Index │───→│ Generate │ │
405
+ │ │ (Browser) │ │ (Semi Arch) │ │ (Components) │ │
406
+ │ └──────────────┘ └──────────────┘ └──────────────┘ │
407
+ │ │ │ │ │
408
+ │ harvester_v4.js design_system_ component_ │
409
+ │ harvester_browser.py indexer.py generator.py │
410
+ │ │
411
+ └─────────────────────────────────────────────────────────────┘
412
+ ```
88
413
 
89
- ## Common UI Rules
414
+ ### Step 11: Harvester v4 — Full Automation 🔥
90
415
 
91
- **Icons:** Use SVG (Heroicons, Lucide), never emojis. Consistent sizing (24x24).
92
- **Interaction:** `cursor-pointer` on all clickables. Smooth transitions (150-300ms). `focus-visible` for keyboard nav.
93
- **Light/Dark:** Light mode text ≥ 4.5:1 contrast. Glass elements visible in both modes.
94
- **Layout:** Floating navbar with spacing. Content padding accounts for fixed elements. Consistent max-width.
416
+ #### A. Browser Automation
417
+
418
+ ```bash
419
+ # Single URL harvest
420
+ python3 scripts/harvester_browser.py --url https://example.com --output ./output
95
421
 
96
- ## Krug's Laws + Nielsen's 10 Heuristics
422
+ # With mobile viewport
423
+ python3 scripts/harvester_browser.py --url https://example.com --mobile
424
+
425
+ # Multi-page crawl
426
+ python3 scripts/harvester_browser.py --url https://example.com --crawl --max-pages 10
427
+
428
+ # Interactive mode
429
+ python3 scripts/harvester_browser.py --interactive
430
+ ```
97
431
 
98
- **Krug:** (1) Don't make me think. (2) Clicks are fine if each is obvious. (3) Get rid of half the words, then half again.
99
- **Nielsen:** Visibility of status, Match real world, User control (undo > confirm dialogs), Consistency, Error prevention, Recognition > recall, Flexibility, Minimalist design, Help with errors, Documentation.
100
- **Severity:** 0=ignore, 1=cosmetic, 2=minor, 3=major, 4=catastrophic (fix immediately).
432
+ **v4 extracts (120+ tokens):**
433
+ - Visual element detection & classification
434
+ - Color psychology analysis
435
+ - Layout pattern recognition (grid, flex, sidebar)
436
+ - Typography hierarchy with font pairing
437
+ - Component relationship mapping
438
+ - Animation & transition detection
439
+ - Accessibility audit (contrast, labels)
440
+
441
+ #### B. Design System Indexing (Semi Architecture)
442
+
443
+ ```bash
444
+ # Index single harvest
445
+ python3 scripts/design_system_indexer.py \
446
+ --input harvest.json \
447
+ --name "MyApp" \
448
+ --output ./design-system
449
+
450
+ # Merge multiple harvests
451
+ python3 scripts/design_system_indexer.py \
452
+ --multi ./harvests/page1.json ./harvests/page2.json \
453
+ --name "MergedSystem"
454
+
455
+ # Generate Figma tokens
456
+ python3 scripts/design_system_indexer.py \
457
+ --input harvest.json \
458
+ --name "MyApp" \
459
+ --figma
460
+ ```
461
+
462
+ **Semi Design Architecture:**
463
+ - Color System: Primary, Secondary, Tertiary, Neutrals (50-900)
464
+ - Background: bg-0 → bg-4
465
+ - Fill: fill-0 → fill-2
466
+ - Text: text-0 → text-3
467
+ - Semantic: success, warning, danger, info, link
468
+ - Spacing: none → super-loose (10 steps)
469
+ - Border: radius xs → full
470
+ - Shadow: sm → elevated → lg
471
+
472
+ #### C. Component Generation
473
+
474
+ ```bash
475
+ # Generate all components
476
+ python3 scripts/component_generator.py \
477
+ --input design-system.json \
478
+ --all --output ./components
479
+
480
+ # Generate specific component
481
+ python3 scripts/component_generator.py \
482
+ --input design-system.json \
483
+ --component button \
484
+ --framework semi
485
+
486
+ # Supported frameworks
487
+ # --framework react-tailwind (default)
488
+ # --framework semi (Semi Design)
489
+ # --framework vue (Vue 3 + Tailwind)
490
+ ```
491
+
492
+ **Generated components:**
493
+ - Button (primary, secondary, outline, ghost, danger)
494
+ - Card (default, bordered, elevated)
495
+ - Input (text, password, textarea, select)
496
+ - Badge/Tag (default, success, warning, danger, info)
497
+ - Avatar (circle, square, sizes)
498
+ - Alert (info, success, warning, error)
499
+ - Modal/Dialog
500
+ - Table
501
+ - Tabs
502
+ - Dropdown
503
+ - Tooltip
504
+ - Divider
505
+ - Skeleton
506
+ - Empty state
507
+
508
+ #### D. Unified CLI
509
+
510
+ ```bash
511
+ # Full workflow
512
+ python3 scripts/harvester_cli.py quick https://example.com
513
+
514
+ # Individual phases
515
+ python3 scripts/harvester_cli.py extract --url https://example.com --generate
516
+ python3 scripts/harvester_cli.py index --input harvest.json --name "MyApp"
517
+ python3 scripts/harvester_cli.py generate --input design-system.json --all
518
+ ```
519
+
520
+ ### v4 Output Structure
521
+
522
+ ```
523
+ output/
524
+ ├── harvest-raw.json # Raw extraction data
525
+ ├── design-system.json # Indexed design system
526
+ ├── design-system.css # CSS variables (Semi spec)
527
+ ├── figma-tokens.json # Figma Tokens Studio
528
+ ├── component-blueprints.json # Component specs
529
+ ├── screenshot-desktop.png # Visual reference
530
+ ├── screenshot-mobile.png # Mobile viewport
531
+ └── components/ # Generated components
532
+ ├── button/
533
+ │ ├── component.tsx
534
+ │ └── index.ts
535
+ ├── card/
536
+ ├── input/
537
+ └── ...
538
+ ```
539
+
540
+ ### Requirements
541
+
542
+ ```bash
543
+ # Install Playwright for browser automation
544
+ pip install playwright
545
+ playwright install chromium
546
+
547
+ # Or all browsers
548
+ playwright install
549
+ ```
550
+
551
+ > **Upgrade to Pro:** [ux-master.dev/pro](https://ux-master.dev/pro) — One-time payment, lifetime access, all future updates.
552
+
553
+ ---
554
+
555
+ ## Available Domains (16)
556
+
557
+ | Domain | Entries | Description |
558
+ |--------|---------|-------------|
559
+ | `product` | 96 | Product type recommendations (SaaS, e-commerce, healthcare...) |
560
+ | `style` | 67 | UI styles + AI prompts + CSS keywords |
561
+ | `color` | 96 | Color palettes by product type |
562
+ | `typography` | 57 | Font pairings with Google Fonts |
563
+ | `landing` | 30 | Page structure and CTA strategies |
564
+ | `chart` | 25 | Chart types and library recommendations |
565
+ | `ux` | 99 | Best practices and anti-patterns |
566
+ | `icons` | 100 | Icon library recommendations |
567
+ | `react` | 44 | React/Next.js performance |
568
+ | `web` | 30 | Web interface guidelines |
569
+ | `ux-laws` | **48** | **UX Laws × Product Types matrix** |
570
+ | `design-tests` | **37** | **Design Test Cases (TDD for Design)** |
571
+ | `animation` | **30** | **Micro-interactions, transitions, performance** |
572
+ | `responsive` | **25** | **Breakpoints, container queries, fluid design** |
573
+ | `accessibility` | **25** | **WCAG 2.2 advanced patterns** |
574
+ | `devices` | **20** | **Device breakpoints — mobile, tablet, watch, TV, foldable, VR** |
575
+ | stacks (17) | varies | Stack-specific guidelines |
576
+
577
+ ### Stack-Specific Guidelines (17)
578
+
579
+ | Stack | Description |
580
+ |-------|-------------|
581
+ | `html-tailwind` | Tailwind CSS utility patterns |
582
+ | `react` | React hooks, performance |
583
+ | `nextjs` | App Router, SSR, RSC |
584
+ | `astro` | Islands architecture |
585
+ | `vue` | Composition API, Pinia |
586
+ | `nuxtjs` / `nuxt-ui` | Nuxt 3, Nuxt UI components |
587
+ | `svelte` | Stores, transitions |
588
+ | `swiftui` | iOS/macOS native |
589
+ | `react-native` | Cross-platform mobile |
590
+ | `flutter` | Dart widgets, Material |
591
+ | `shadcn` | shadcn/ui components |
592
+ | `jetpack-compose` | Android Jetpack |
593
+ | `angular` | **Signals, standalone, NgRx SignalStore, Material 3** |
594
+ | `htmx` | **Progressive enhancement, Alpine.js** |
595
+ | `electron` | **Desktop — IPC, security, native integration** |
596
+ | `tauri` | **Desktop — Rust commands, permissions, plugins** |
597
+
598
+ ---
599
+
600
+ ## Example Workflow
601
+
602
+ **User request:** "Build a fintech crypto dashboard"
603
+
604
+ ### Step 1: Generate Design System
605
+ ```bash
606
+ python3 scripts/search.py "fintech crypto dashboard" --design-system -p "CryptoApp"
607
+ ```
608
+
609
+ ### Step 2: Get UX Laws for Fintech
610
+ ```bash
611
+ python3 scripts/search.py "fintech banking" --domain ux-laws -n 5
612
+ ```
613
+
614
+ ### Step 3: Get Design Tests
615
+ ```bash
616
+ python3 scripts/search.py "dashboard data" --domain design-tests -n 5
617
+ ```
618
+
619
+ ### Step 4: Stack Guidelines
620
+ ```bash
621
+ python3 scripts/search.py "real-time data chart" --stack react
622
+ ```
623
+
624
+ ### Step 5: Implement → Validate against Design Tests
625
+
626
+ ---
627
+
628
+ ## Execution Workflow (MANDATORY Output Format)
629
+
630
+ When the user requests a UI component (e.g., "Build a mobile settings screen", "Create a SaaS data table"), you **MUST** output your response in this exact format:
631
+
632
+ ### Step 1: 🧠 UX Reasoning
633
+
634
+ Briefly explain (2-3 bullet points) which specific UX Laws and psychological principles you applied to solve this specific product design problem.
635
+
636
+ **Example:**
637
+ - **Fitts's Law →** Primary "Save" action placed in sticky bottom bar within thumb zone. Touch target 48px height.
638
+ - **Hick's Law →** Advanced settings hidden behind "More Options" accordion. Only 2 visible CTAs.
639
+ - **Doherty Threshold →** Skeleton loader included for the data table while API fetches.
640
+
641
+ ### Step 2: 💻 Production-Ready Code
642
+
643
+ Provide clean, modular code (Tailwind + framework of choice).
644
+
645
+ **CRUCIAL:** Add inline comments inside the code to demonstrate exactly **where and why** a UX Law was implemented:
646
+
647
+ ```html
648
+ <!-- UX: Fitts's Law — Touch target ≥ 44px, in thumb zone -->
649
+ <button class="min-h-[44px] min-w-[44px] ...">
650
+
651
+ <!-- UX: Doherty Threshold — Skeleton loader while data fetches -->
652
+ <div class="animate-pulse bg-gray-200 rounded h-4 w-3/4"></div>
653
+
654
+ <!-- UX: Poka-Yoke — Destructive action separated + visually distinct -->
655
+ <button class="text-red-600 border border-red-300 ...">
656
+ ```
657
+
658
+ ### Step 3: ✅ Validation Checklist
659
+
660
+ Briefly confirm the UI passes the Core Directives:
661
+
662
+ ```
663
+ ✅ Fitts's Law: Touch targets ≥ 44px, primary action in thumb zone
664
+ ✅ Hick's Law: 1 primary CTA, advanced options in accordion
665
+ ✅ Miller's Law: Data chunked in groups of 6
666
+ ✅ Doherty: Skeleton + Empty + Error states included
667
+ ✅ A11y: focus-visible rings, WCAG AA contrast, semantic HTML
668
+ ```
669
+
670
+ ---
671
+
672
+ ## Common Rules for Professional UI
673
+
674
+ ### Icons & Visual Elements
675
+
676
+ | Rule | Do | Don't |
677
+ |------|----|-------|
678
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 as UI icons |
679
+ | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
680
+ | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
681
+ | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
682
+
683
+ ### Interaction & Cursor
684
+
685
+ | Rule | Do | Don't |
686
+ |------|----|-------|
687
+ | **Cursor pointer** | Add `cursor-pointer` to all clickable elements | Leave default cursor on interactive elements |
688
+ | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
689
+ | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
690
+
691
+ ### Light/Dark Mode Contrast
692
+
693
+ | Rule | Do | Don't |
694
+ |------|----|-------|
695
+ | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
696
+ | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
697
+ | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
698
+
699
+ ### Layout & Spacing
700
+
701
+ | Rule | Do | Don't |
702
+ |------|----|-------|
703
+ | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
704
+ | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
705
+ | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
706
+
707
+ ---
708
+
709
+ ## UX Heuristics Framework (Krug + Nielsen)
710
+
711
+ > Practical usability principles for evaluating and improving user interfaces. Based on a fundamental truth: users don't read, they scan. They don't make optimal choices, they satisfice. They don't figure out how things work, they muddle through.
712
+
713
+ **Core Principle: "Don't Make Me Think"** — Every page should be self-evident. If something requires thinking, it's a usability problem.
714
+
715
+ **Scoring — Goal: 10/10.** When reviewing or creating user interfaces, rate them 0-10 based on adherence to the principles below.
716
+
717
+ ### Krug's Three Laws of Usability
718
+
719
+ **1. Don't Make Me Think** — Every question mark in a user's head adds cognitive load. Clever names lose to clear names. "Sign in" not "Access your account portal". If a label needs explanation, simplify the label.
720
+
721
+ **2. It Doesn't Matter How Many Clicks** — Users don't mind clicks if each is painless, obvious, and confidence-building. Three mindless clicks beat one confusing click. Users abandon when confused, not when they've clicked too many times.
722
+
723
+ **3. Get Rid of Half the Words** — Then get rid of half of what's left. Users scan, not read. Every unnecessary word competes with what matters. "Enter your password to continue." not "Please kindly note that you will need to enter your password in order to proceed."
724
+
725
+ **4. The Trunk Test** — Drop users on any random page. Can they instantly tell: what site? what page? major sections? options at this level? position in hierarchy? where is search?
726
+
727
+ ### Nielsen's 10 Usability Heuristics
728
+
729
+ | # | Heuristic | Key Rule |
730
+ |---|-----------|----------|
731
+ | 1 | **Visibility of System Status** | Every action needs acknowledgment — progress bars, confirmations, skeleton screens |
732
+ | 2 | **Match Real World** | "Sign in" not "Authenticate", "Search" not "Query" |
733
+ | 3 | **User Control & Freedom** | Undo beats "Are you sure?" dialogs. Every flow needs cancel/exit |
734
+ | 4 | **Consistency & Standards** | Same words, styles, behaviors mean the same thing throughout |
735
+ | 5 | **Error Prevention** | Constrained inputs, autocomplete, sensible defaults, "unsaved changes" warnings |
736
+ | 6 | **Recognition Over Recall** | Show options, don't require memorization. Breadcrumbs, recent searches, pre-filled fields |
737
+ | 7 | **Flexibility & Efficiency** | Serve novices and experts. Keyboard shortcuts, bulk actions, Cmd+K |
738
+ | 8 | **Aesthetic & Minimalist** | Every element must earn its place. One primary CTA per page |
739
+ | 9 | **Help with Errors** | What happened, why, how to fix. "Password must be 8+ chars" not "Invalid" |
740
+ | 10 | **Help & Documentation** | Searchable, task-focused, contextual tooltips and inline hints |
741
+
742
+ ### Severity Rating Scale
743
+
744
+ | Severity | Rating | Description | Priority |
745
+ |----------|--------|-------------|----------|
746
+ | 0 | Not a problem | Disagreement, not usability issue | Ignore |
747
+ | 1 | Cosmetic | Minor annoyance, low impact | Fix if time |
748
+ | 2 | Minor | Causes delay or frustration | Schedule fix |
749
+ | 3 | Major | Significant task failure | Fix soon |
750
+ | 4 | Catastrophic | Prevents task completion | Fix immediately |
751
+
752
+ ### Quick Diagnostic
753
+
754
+ | Question | If No | Action |
755
+ |----------|-------|--------|
756
+ | Can I tell what site/page this is immediately? | Users are lost | Add clear logo, page title, breadcrumbs |
757
+ | Is the main action obvious? | Users don't know what to do | Single primary CTA, visual hierarchy |
758
+ | Is the navigation clear? | Users can't find their way | Trunk Test, "you are here" indicators |
759
+ | Does the system show what's happening? | Users lose trust | Loading states, confirmations, progress |
760
+ | Are error messages helpful? | Users get stuck | Plain language with specific fix |
761
+ | Can users undo or go back? | Users afraid to act | Add undo, cancel, back everywhere |
762
+ | Does it work without hover? | Mobile/keyboard excluded | Replace hover-only with visible alternatives |
763
+ | Does anything make me stop and think? | Cognitive load too high | Simplify — redesign if needs explanation |
764
+
765
+ ### Heuristic Conflicts Resolution
766
+
767
+ - **Simplicity vs. Flexibility**: Use progressive disclosure
768
+ - **Consistency vs. Context**: Consistent patterns, contextual prominence
769
+ - **Efficiency vs. Error Prevention**: Prefer undo over confirmation dialogs
770
+ - **Discoverability vs. Minimalism**: Primary actions visible, secondary hidden
771
+
772
+ ### Dark Patterns to Avoid
773
+
774
+ Never deliberately violate heuristics to manipulate users: forced continuity, roach motel, confirmshaming, hidden costs.
775
+
776
+ ### Reference Files
777
+
778
+ - `references/krug-principles.md` — Full Krug methodology
779
+ - `references/nielsen-heuristics.md` — Detailed heuristic examples
780
+ - `references/audit-template.md` — Structured evaluation template
781
+ - `references/dark-patterns.md` — Categories and ethical alternatives
782
+ - `references/wcag-checklist.md` — WCAG 2.1 AA checklist
783
+ - `references/cultural-ux.md` — RTL, color meanings, localization
784
+ - `references/heuristic-conflicts.md` — Conflict resolution frameworks
785
+
786
+ ---
101
787
 
102
788
  ## Pre-Delivery Checklist
103
789
 
104
- - [ ] Touch targets 44px, primary action in thumb zone
105
- - [ ] Max 1-2 CTAs per view, progressive disclosure
106
- - [ ] Data chunked in groups of 5-9
107
- - [ ] Skeleton + Empty + Error states, all interactive states coded
108
- - [ ] WCAG AA contrast, focus-visible rings, semantic HTML
109
- - [ ] i18n: min-width containers, locale-aware formatting, font supports all scripts
110
- - [ ] Inline `<!-- UX: Law Name -->` comments in code
111
- - [ ] No emojis as icons, consistent icon set, correct brand logos
790
+ ### Core Directive Compliance (MANDATORY check every item)
791
+ - [ ] **Fitts's Law:** ALL touch targets ≥ 44×44px (`min-h-[44px] min-w-[44px]`), primary actions in thumb zone
792
+ - [ ] **Hick's Law:** Max 1-2 primary CTAs per view, advanced options use progressive disclosure
793
+ - [ ] **Miller's Law:** Info chunked in groups of 5-9, data tables have clear visual separators
794
+ - [ ] **Doherty Threshold:** Skeleton loader for data-fetching components, Empty State designed, all interactive states coded (`hover:`, `active:`, `disabled:`, `focus-visible:`)
795
+ - [ ] **A11y/Poka-Yoke:** WCAG 2.1 AA contrast (4.5:1), `focus-visible:ring-2 focus-visible:ring-offset-2` on all interactive elements, destructive actions visually distinct + separated, semantic HTML + ARIA
796
+ - [ ] **i18n/Multi-Locale:** Containers use `min-width` not `width` (text expands 30-40% in Thai), dates/numbers use `toLocaleDateString(userLocale)`, font supports ALL target scripts, no hardcoded currency symbols
797
+ - [ ] **Inline UX Comments:** Code contains `<!-- UX: Law Name -->` comments explaining constraint application
798
+
799
+ ### Visual Quality
800
+ - [ ] No emojis used as icons (use SVG instead)
801
+ - [ ] All icons from consistent icon set (Heroicons/Lucide)
802
+ - [ ] Brand logos are correct (verified from Simple Icons)
112
803
  - [ ] Hover states don't cause layout shift
804
+
805
+ ### Interaction
806
+ - [ ] All clickable elements have `cursor-pointer`
807
+ - [ ] Hover states provide clear visual feedback
808
+ - [ ] Transitions are smooth (150-300ms)
809
+ - [ ] Focus states visible for keyboard navigation
810
+
811
+ ### Light/Dark Mode
812
+ - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
813
+ - [ ] Glass/transparent elements visible in light mode
814
+ - [ ] Borders visible in both modes
815
+
816
+ ### Layout
113
817
  - [ ] Responsive at 375px, 768px, 1024px, 1440px
818
+ - [ ] No horizontal scroll on mobile
819
+ - [ ] No content hidden behind fixed navbars
820
+
821
+ ### Accessibility
822
+ - [ ] All images have alt text
823
+ - [ ] Form inputs have labels
824
+ - [ ] Color is not the only indicator
114
825
  - [ ] `prefers-reduced-motion` respected