@litfamily/litmuse 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1364) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/README.md +127 -2
  4. package/README_ko-KR.md +128 -0
  5. package/bin/litmuse.mjs +131 -0
  6. package/docs/assets/cover-motion-still.webp +0 -0
  7. package/docs/assets/cover-motion.webp +0 -0
  8. package/docs/hud-preset.md +34 -0
  9. package/lib/approvals.mjs +31 -0
  10. package/lib/bundle.mjs +128 -0
  11. package/lib/doctor.mjs +156 -0
  12. package/lib/guard.mjs +11 -0
  13. package/lib/install.mjs +168 -0
  14. package/lib/models.mjs +57 -0
  15. package/lib/muse.mjs +37 -0
  16. package/lib/paths.mjs +22 -0
  17. package/lib/runtime.mjs +73 -0
  18. package/lib/safe-write.mjs +72 -0
  19. package/lib/stage-card.mjs +102 -0
  20. package/lib/style.mjs +41 -0
  21. package/lib/uninstall.mjs +42 -0
  22. package/lib/update-check.mjs +30 -0
  23. package/package.json +57 -4
  24. package/plugin/.muse-plugin/plugin.json +347 -0
  25. package/plugin/agents/korean-prose-editor.md +68 -0
  26. package/plugin/agents/korean-style-analyzer.md +64 -0
  27. package/plugin/agents/librarian-researcher.md +66 -0
  28. package/plugin/agents/lit-executor.md +67 -0
  29. package/plugin/agents/lit-planner.md +80 -0
  30. package/plugin/agents/lit-verifier.md +64 -0
  31. package/plugin/agents/meaning-preservation-auditor.md +64 -0
  32. package/plugin/agents/native-flow-reviewer.md +63 -0
  33. package/plugin/agents/polish-orchestrator.md +66 -0
  34. package/plugin/agents/qa-runner.md +65 -0
  35. package/plugin/agents/quality-reviewer.md +67 -0
  36. package/plugin/commands/lit-hud.md +12 -0
  37. package/plugin/commands/lit-korean.md +10 -0
  38. package/plugin/commands/lit-status.md +15 -0
  39. package/plugin/commands/lit.md +12 -0
  40. package/plugin/context/child.md +5 -0
  41. package/plugin/context/session.md +21 -0
  42. package/plugin/context/style-asd-ste100.md +45 -0
  43. package/plugin/context/style-eli5.md +23 -0
  44. package/plugin/hooks/lib/added-comments.mjs +124 -0
  45. package/plugin/hooks/lib/common.mjs +176 -0
  46. package/plugin/hooks/lib/continuation.mjs +157 -0
  47. package/plugin/hooks/lib/digest.mjs +39 -0
  48. package/plugin/hooks/lib/handoff-snapshot.mjs +161 -0
  49. package/plugin/hooks/lib/hedge.mjs +64 -0
  50. package/plugin/hooks/lib/motion.mjs +156 -0
  51. package/plugin/hooks/lib/policy.mjs +103 -0
  52. package/plugin/hooks/lib/redact.mjs +38 -0
  53. package/plugin/hooks/lib/reentry.mjs +38 -0
  54. package/plugin/hooks/lib/routes.mjs +160 -0
  55. package/plugin/hooks/lib/stage.mjs +154 -0
  56. package/plugin/hooks/post-tool-use-failure.mjs +13 -0
  57. package/plugin/hooks/post-tool-use.mjs +112 -0
  58. package/plugin/hooks/pre-compact.mjs +9 -0
  59. package/plugin/hooks/pre-tool-use.mjs +164 -0
  60. package/plugin/hooks/session-end.mjs +10 -0
  61. package/plugin/hooks/session-start.mjs +75 -0
  62. package/plugin/hooks/stop.mjs +31 -0
  63. package/plugin/hooks/subagent-start.mjs +9 -0
  64. package/plugin/hooks/subagent-stop.mjs +9 -0
  65. package/plugin/hooks/user-prompt-submit.mjs +94 -0
  66. package/plugin/lib/host-process.mjs +184 -0
  67. package/plugin/lib/office-runtime-lock/package-lock.json +793 -0
  68. package/plugin/lib/office-runtime-lock/package.json +12 -0
  69. package/plugin/lib/office-runtime-lock/requirements.lock +15 -0
  70. package/plugin/lib/office-runtime.mjs +274 -0
  71. package/plugin/lib/office_data.py +493 -0
  72. package/plugin/lib/office_runtime_bootstrap.py +76 -0
  73. package/plugin/lib/ooxml_integrity.py +199 -0
  74. package/plugin/lib/pdf_fonts.py +91 -0
  75. package/plugin/lib/render_pages.py +105 -0
  76. package/plugin/lib/secret-shapes.mjs +59 -0
  77. package/plugin/lib/strict-json.mjs +143 -0
  78. package/plugin/skills/autoconference/LICENSE +21 -0
  79. package/plugin/skills/autoconference/PROVENANCE.md +19 -0
  80. package/plugin/skills/autoconference/SKILL.md +235 -0
  81. package/plugin/skills/autoconference/assets/conference_template.md +76 -0
  82. package/plugin/skills/autoconference/assets/report_template.md +53 -0
  83. package/plugin/skills/autoconference/assets/synthesis_template.md +39 -0
  84. package/plugin/skills/autoconference/modes/analyze.md +248 -0
  85. package/plugin/skills/autoconference/modes/core.md +339 -0
  86. package/plugin/skills/autoconference/modes/debate.md +361 -0
  87. package/plugin/skills/autoconference/modes/plan.md +285 -0
  88. package/plugin/skills/autoconference/modes/resume.md +284 -0
  89. package/plugin/skills/autoconference/modes/ship.md +383 -0
  90. package/plugin/skills/autoconference/modes/survey.md +353 -0
  91. package/plugin/skills/autoconference/references/agent-prompts.md +577 -0
  92. package/plugin/skills/autoconference/references/conference-protocol.md +593 -0
  93. package/plugin/skills/autoconference/references/convergence-guide.md +160 -0
  94. package/plugin/skills/autoconference/references/core-principles.md +76 -0
  95. package/plugin/skills/autoconference/references/crash-recovery.md +204 -0
  96. package/plugin/skills/autoconference/references/results-logging.md +163 -0
  97. package/plugin/skills/autoconference/references/visualization-guide.md +97 -0
  98. package/plugin/skills/autoconference/scripts/check_conference.sh +197 -0
  99. package/plugin/skills/autoconference/scripts/init_conference.py +473 -0
  100. package/plugin/skills/autoconference/scripts/style_presets.py +104 -0
  101. package/plugin/skills/autoconference/templates/code-performance.md +59 -0
  102. package/plugin/skills/autoconference/templates/debate-mode.md +50 -0
  103. package/plugin/skills/autoconference/templates/prompt-optimization.md +58 -0
  104. package/plugin/skills/autoconference/templates/quick-conference.md +48 -0
  105. package/plugin/skills/autoconference/templates/research-synthesis.md +56 -0
  106. package/plugin/skills/autoconference/templates/survey-mode.md +63 -0
  107. package/plugin/skills/autoresearch/LICENSE +21 -0
  108. package/plugin/skills/autoresearch/PROVENANCE.md +17 -0
  109. package/plugin/skills/autoresearch/SKILL.md +215 -0
  110. package/plugin/skills/autoresearch/assets/report_template.md +50 -0
  111. package/plugin/skills/autoresearch/assets/research_template.md +38 -0
  112. package/plugin/skills/autoresearch/assets/results_template.tsv +1 -0
  113. package/plugin/skills/autoresearch/modes/core.md +209 -0
  114. package/plugin/skills/autoresearch/modes/debug.md +228 -0
  115. package/plugin/skills/autoresearch/modes/fix.md +166 -0
  116. package/plugin/skills/autoresearch/modes/learn.md +86 -0
  117. package/plugin/skills/autoresearch/modes/plan.md +287 -0
  118. package/plugin/skills/autoresearch/modes/predict.md +259 -0
  119. package/plugin/skills/autoresearch/modes/reason.md +163 -0
  120. package/plugin/skills/autoresearch/modes/scenario.md +157 -0
  121. package/plugin/skills/autoresearch/modes/security.md +275 -0
  122. package/plugin/skills/autoresearch/modes/ship.md +49 -0
  123. package/plugin/skills/autoresearch/references/core-principles.md +80 -0
  124. package/plugin/skills/autoresearch/references/evaluator-contract.md +126 -0
  125. package/plugin/skills/autoresearch/references/investigation-techniques.md +205 -0
  126. package/plugin/skills/autoresearch/references/owasp-checklist.md +161 -0
  127. package/plugin/skills/autoresearch/references/persona-templates.md +232 -0
  128. package/plugin/skills/autoresearch/references/results-logging.md +96 -0
  129. package/plugin/skills/autoresearch/references/scenario-dimensions.md +178 -0
  130. package/plugin/skills/autoresearch/references/stride-model.md +196 -0
  131. package/plugin/skills/autoresearch/references/stuck-detection.md +107 -0
  132. package/plugin/skills/autoresearch/references/type-checklists.md +163 -0
  133. package/plugin/skills/autoresearch/references/upstream-family-contract.md +122 -0
  134. package/plugin/skills/autoresearch/references/visualization-guide.md +95 -0
  135. package/plugin/skills/autoresearch/scripts/check_progress.sh +272 -0
  136. package/plugin/skills/autoresearch/scripts/init_research.py +330 -0
  137. package/plugin/skills/autoresearch/scripts/run_with_deadline.py +164 -0
  138. package/plugin/skills/autoresearch/scripts/style_presets.py +104 -0
  139. package/plugin/skills/browser-drive/SKILL.md +140 -0
  140. package/plugin/skills/browser-drive/references/snapshot-act-loop.md +47 -0
  141. package/plugin/skills/browser-drive/scripts/capability-probe.mjs +481 -0
  142. package/plugin/skills/comment-checker/SKILL.md +139 -0
  143. package/plugin/skills/comment-checker/references/comment-policy.md +72 -0
  144. package/plugin/skills/debugging/SKILL.md +186 -0
  145. package/plugin/skills/debugging/references/methodology/00-setup.md +108 -0
  146. package/plugin/skills/debugging/references/methodology/02-investigate.md +123 -0
  147. package/plugin/skills/debugging/references/methodology/04-oracle-triple.md +129 -0
  148. package/plugin/skills/debugging/references/methodology/05-escalate.md +70 -0
  149. package/plugin/skills/debugging/references/methodology/06-fix.md +116 -0
  150. package/plugin/skills/debugging/references/methodology/08-qa.md +94 -0
  151. package/plugin/skills/debugging/references/methodology/09-cleanup.md +164 -0
  152. package/plugin/skills/debugging/references/methodology/partial-runtime-evidence.md +223 -0
  153. package/plugin/skills/debugging/references/runtimes/bundled-js-binary.md +415 -0
  154. package/plugin/skills/debugging/references/runtimes/go.md +252 -0
  155. package/plugin/skills/debugging/references/runtimes/native-binary.md +484 -0
  156. package/plugin/skills/debugging/references/runtimes/node.md +260 -0
  157. package/plugin/skills/debugging/references/runtimes/python.md +248 -0
  158. package/plugin/skills/debugging/references/runtimes/rust.md +234 -0
  159. package/plugin/skills/debugging/references/tools/ghidra.md +212 -0
  160. package/plugin/skills/debugging/references/tools/playwright-cli.md +194 -0
  161. package/plugin/skills/debugging/references/tools/pwndbg.md +263 -0
  162. package/plugin/skills/debugging/references/tools/pwntools.md +265 -0
  163. package/plugin/skills/deep-interview/SKILL.md +280 -0
  164. package/plugin/skills/deep-interview/scripts/render_progress.py +198 -0
  165. package/plugin/skills/deep-interview/templates/context.md +38 -0
  166. package/plugin/skills/deep-interview/templates/spec.md +68 -0
  167. package/plugin/skills/deep-interview/templates/state.json +34 -0
  168. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +23 -0
  169. package/plugin/skills/frontend-ui-ux/LICENSE +21 -0
  170. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +38 -0
  171. package/plugin/skills/frontend-ui-ux/SKILL.md +232 -0
  172. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +1060 -0
  173. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +14 -0
  174. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +1 -0
  175. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +186 -0
  176. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +9 -0
  177. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +217 -0
  178. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +201 -0
  179. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +21 -0
  180. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +873 -0
  181. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +92 -0
  182. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +93 -0
  183. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +578 -0
  184. package/plugin/skills/frontend-ui-ux/references/composition.md +85 -0
  185. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +259 -0
  186. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +80 -0
  187. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +27 -0
  188. package/plugin/skills/frontend-ui-ux/references/design/README.md +248 -0
  189. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +191 -0
  190. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +393 -0
  191. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +92 -0
  192. package/plugin/skills/frontend-ui-ux/references/design/apple.md +250 -0
  193. package/plugin/skills/frontend-ui-ux/references/design/aside.md +209 -0
  194. package/plugin/skills/frontend-ui-ux/references/design/binance.md +348 -0
  195. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +183 -0
  196. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +92 -0
  197. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +271 -0
  198. package/plugin/skills/frontend-ui-ux/references/design/cal.md +262 -0
  199. package/plugin/skills/frontend-ui-ux/references/design/claude.md +315 -0
  200. package/plugin/skills/frontend-ui-ux/references/design/clay.md +307 -0
  201. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +284 -0
  202. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +65 -0
  203. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +269 -0
  204. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +132 -0
  205. package/plugin/skills/frontend-ui-ux/references/design/composio.md +310 -0
  206. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +312 -0
  207. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +244 -0
  208. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +268 -0
  209. package/plugin/skills/frontend-ui-ux/references/design/expo.md +284 -0
  210. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +317 -0
  211. package/plugin/skills/frontend-ui-ux/references/design/figma.md +223 -0
  212. package/plugin/skills/frontend-ui-ux/references/design/framer.md +249 -0
  213. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +74 -0
  214. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +281 -0
  215. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +335 -0
  216. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +1228 -0
  217. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +798 -0
  218. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +1465 -0
  219. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +987 -0
  220. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +149 -0
  221. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +128 -0
  222. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +291 -0
  223. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +107 -0
  224. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +77 -0
  225. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +370 -0
  226. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +301 -0
  227. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +368 -0
  228. package/plugin/skills/frontend-ui-ux/references/design/meta.md +369 -0
  229. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +85 -0
  230. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +260 -0
  231. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +329 -0
  232. package/plugin/skills/frontend-ui-ux/references/design/miro.md +111 -0
  233. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +264 -0
  234. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +269 -0
  235. package/plugin/skills/frontend-ui-ux/references/design/nike.md +366 -0
  236. package/plugin/skills/frontend-ui-ux/references/design/notion.md +312 -0
  237. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +296 -0
  238. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +270 -0
  239. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +284 -0
  240. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +49 -0
  241. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +233 -0
  242. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +367 -0
  243. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +259 -0
  244. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +271 -0
  245. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +230 -0
  246. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +178 -0
  247. package/plugin/skills/frontend-ui-ux/references/design/renault.md +314 -0
  248. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +264 -0
  249. package/plugin/skills/frontend-ui-ux/references/design/resend.md +306 -0
  250. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +188 -0
  251. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +247 -0
  252. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +360 -0
  253. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +265 -0
  254. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +353 -0
  255. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +98 -0
  256. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +197 -0
  257. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +249 -0
  258. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +583 -0
  259. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +121 -0
  260. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +184 -0
  261. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +325 -0
  262. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +258 -0
  263. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +255 -0
  264. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +1206 -0
  265. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +289 -0
  266. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +342 -0
  267. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +266 -0
  268. package/plugin/skills/frontend-ui-ux/references/design/uber.md +298 -0
  269. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +313 -0
  270. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +426 -0
  271. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +326 -0
  272. package/plugin/skills/frontend-ui-ux/references/design/warp.md +256 -0
  273. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +95 -0
  274. package/plugin/skills/frontend-ui-ux/references/design/wired.md +281 -0
  275. package/plugin/skills/frontend-ui-ux/references/design/wise.md +176 -0
  276. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +260 -0
  277. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +331 -0
  278. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +97 -0
  279. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +48 -0
  280. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +80 -0
  281. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +64 -0
  282. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +65 -0
  283. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +65 -0
  284. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +83 -0
  285. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +80 -0
  286. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +79 -0
  287. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +21 -0
  288. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
  289. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +132 -0
  290. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +109 -0
  291. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +89 -0
  292. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +113 -0
  293. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +78 -0
  294. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +121 -0
  295. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
  296. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +107 -0
  297. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +120 -0
  298. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +101 -0
  299. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +109 -0
  300. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +107 -0
  301. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +199 -0
  302. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +174 -0
  303. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +125 -0
  304. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +106 -0
  305. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +266 -0
  306. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +123 -0
  307. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +120 -0
  308. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +164 -0
  309. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +85 -0
  310. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +98 -0
  311. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +165 -0
  312. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +122 -0
  313. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +81 -0
  314. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +96 -0
  315. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +77 -0
  316. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +192 -0
  317. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +165 -0
  318. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +78 -0
  319. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +75 -0
  320. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +117 -0
  321. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +78 -0
  322. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +125 -0
  323. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +79 -0
  324. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +119 -0
  325. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +126 -0
  326. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +109 -0
  327. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +92 -0
  328. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +47 -0
  329. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +130 -0
  330. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +92 -0
  331. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +160 -0
  332. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +127 -0
  333. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +93 -0
  334. package/plugin/skills/frontend-ui-ux/references/product-direction.md +84 -0
  335. package/plugin/skills/frontend-ui-ux/references/production-interview.md +17 -0
  336. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +97 -0
  337. package/plugin/skills/frontend-ui-ux/references/slop-register.md +150 -0
  338. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +84 -0
  339. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +86 -0
  340. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +659 -0
  341. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +26 -0
  342. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +162 -0
  343. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +106 -0
  344. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +35 -0
  345. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +162 -0
  346. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +45 -0
  347. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +54 -0
  348. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +53 -0
  349. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
  350. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
  351. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
  352. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
  353. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
  354. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +52 -0
  355. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +54 -0
  356. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
  357. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +54 -0
  358. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
  359. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +50 -0
  360. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +85 -0
  361. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +74 -0
  362. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +162 -0
  363. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +100 -0
  364. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +31 -0
  365. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +262 -0
  366. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +1148 -0
  367. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +114 -0
  368. package/plugin/skills/frontend-ui-ux/references/visual-language.md +84 -0
  369. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +51 -0
  370. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +306 -0
  371. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +291 -0
  372. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +311 -0
  373. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +201 -0
  374. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +286 -0
  375. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +354 -0
  376. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +361 -0
  377. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +313 -0
  378. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +68 -0
  379. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +12 -0
  380. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +124 -0
  381. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +1534 -0
  382. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +141 -0
  383. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +57 -0
  384. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +129 -0
  385. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +289 -0
  386. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +63 -0
  387. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +106 -0
  388. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +43 -0
  389. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +153 -0
  390. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +52 -0
  391. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +90 -0
  392. package/plugin/skills/lit-brainstorm/SKILL.md +210 -0
  393. package/plugin/skills/lit-brainstorm/references/convergence-matrices.md +41 -0
  394. package/plugin/skills/lit-brainstorm/references/lane-prompts.md +34 -0
  395. package/plugin/skills/lit-brainstorm/references/scoring-rubric.md +31 -0
  396. package/plugin/skills/lit-brainstorm/references/technique-catalog.md +41 -0
  397. package/plugin/skills/lit-brainstorm/references/techniques-generate.md +49 -0
  398. package/plugin/skills/lit-brainstorm/references/techniques-reframe.md +29 -0
  399. package/plugin/skills/lit-brainstorm/references/techniques-structure.md +35 -0
  400. package/plugin/skills/lit-brainstorm/templates/handoff-packet.md +23 -0
  401. package/plugin/skills/lit-brainstorm/templates/session-board.md +42 -0
  402. package/plugin/skills/lit-brainstorm/templates/shortlist.md +30 -0
  403. package/plugin/skills/lit-burnoff/SKILL.md +351 -0
  404. package/plugin/skills/lit-burnoff/references/behavior-preserving-cleanup.md +94 -0
  405. package/plugin/skills/lit-burnoff-file/SKILL.md +266 -0
  406. package/plugin/skills/lit-code/SKILL.md +628 -0
  407. package/plugin/skills/lit-code/references/engineering-risk-signals.md +123 -0
  408. package/plugin/skills/lit-code/references/go/README.md +90 -0
  409. package/plugin/skills/lit-code/references/go/backend-stack.md +641 -0
  410. package/plugin/skills/lit-code/references/go/bootstrap.md +328 -0
  411. package/plugin/skills/lit-code/references/go/bubbletea-v2.md +360 -0
  412. package/plugin/skills/lit-code/references/go/cobra-stack.md +468 -0
  413. package/plugin/skills/lit-code/references/go/concurrency.md +362 -0
  414. package/plugin/skills/lit-code/references/go/data-modeling.md +329 -0
  415. package/plugin/skills/lit-code/references/go/error-handling.md +359 -0
  416. package/plugin/skills/lit-code/references/go/golangci-strict.md +236 -0
  417. package/plugin/skills/lit-code/references/go/grpc-connect.md +375 -0
  418. package/plugin/skills/lit-code/references/go/libraries.md +337 -0
  419. package/plugin/skills/lit-code/references/go/one-liners.md +202 -0
  420. package/plugin/skills/lit-code/references/go/sqlc-pgx.md +471 -0
  421. package/plugin/skills/lit-code/references/go/testing.md +467 -0
  422. package/plugin/skills/lit-code/references/go/type-patterns.md +298 -0
  423. package/plugin/skills/lit-code/references/observability-contracts.md +124 -0
  424. package/plugin/skills/lit-code/references/python/README.md +314 -0
  425. package/plugin/skills/lit-code/references/python/async-anyio.md +442 -0
  426. package/plugin/skills/lit-code/references/python/data-modeling.md +233 -0
  427. package/plugin/skills/lit-code/references/python/data-processing.md +133 -0
  428. package/plugin/skills/lit-code/references/python/error-handling.md +218 -0
  429. package/plugin/skills/lit-code/references/python/fastapi-stack.md +316 -0
  430. package/plugin/skills/lit-code/references/python/httpx2-optimization.md +360 -0
  431. package/plugin/skills/lit-code/references/python/libraries.md +307 -0
  432. package/plugin/skills/lit-code/references/python/one-liners.md +268 -0
  433. package/plugin/skills/lit-code/references/python/orjson-stack.md +378 -0
  434. package/plugin/skills/lit-code/references/python/pydantic-ai.md +285 -0
  435. package/plugin/skills/lit-code/references/python/pyproject-strict.md +232 -0
  436. package/plugin/skills/lit-code/references/python/textual-tui.md +201 -0
  437. package/plugin/skills/lit-code/references/python/type-patterns.md +176 -0
  438. package/plugin/skills/lit-code/references/rust/README.md +317 -0
  439. package/plugin/skills/lit-code/references/rust/async-tokio.md +299 -0
  440. package/plugin/skills/lit-code/references/rust/axum-stack.md +467 -0
  441. package/plugin/skills/lit-code/references/rust/cargo-strict.md +317 -0
  442. package/plugin/skills/lit-code/references/rust/clap-stack.md +409 -0
  443. package/plugin/skills/lit-code/references/rust/concurrency.md +375 -0
  444. package/plugin/skills/lit-code/references/rust/libraries.md +439 -0
  445. package/plugin/skills/lit-code/references/rust/one-liners.md +291 -0
  446. package/plugin/skills/lit-code/references/rust/proptest-insta.md +429 -0
  447. package/plugin/skills/lit-code/references/rust/type-state.md +354 -0
  448. package/plugin/skills/lit-code/references/rust/unsafe-discipline.md +250 -0
  449. package/plugin/skills/lit-code/references/rust/zero-cost-safety.md +527 -0
  450. package/plugin/skills/lit-code/references/rust-ub/README.md +289 -0
  451. package/plugin/skills/lit-code/references/rust-ub/miri-sanitizers-loom.md +411 -0
  452. package/plugin/skills/lit-code/references/rust-ub/ub-taxonomy.md +269 -0
  453. package/plugin/skills/lit-code/references/typescript/README.md +195 -0
  454. package/plugin/skills/lit-code/references/typescript/backend-hono.md +672 -0
  455. package/plugin/skills/lit-code/references/typescript/bootstrap.md +199 -0
  456. package/plugin/skills/lit-code/references/typescript/data-modeling.md +202 -0
  457. package/plugin/skills/lit-code/references/typescript/error-handling.md +169 -0
  458. package/plugin/skills/lit-code/references/typescript/tsconfig-strict.md +152 -0
  459. package/plugin/skills/lit-code/references/typescript/type-patterns.md +196 -0
  460. package/plugin/skills/lit-code/scripts/go/check-no-excuse-rules.sh +173 -0
  461. package/plugin/skills/lit-code/scripts/go/new-project.py +138 -0
  462. package/plugin/skills/lit-code/scripts/go/templates/.editorconfig +13 -0
  463. package/plugin/skills/lit-code/scripts/go/templates/.golangci.yml +95 -0
  464. package/plugin/skills/lit-code/scripts/go/templates/AGENTS.md.tmpl +24 -0
  465. package/plugin/skills/lit-code/scripts/go/templates/README.md.tmpl +12 -0
  466. package/plugin/skills/lit-code/scripts/go/templates/Taskfile.yml +40 -0
  467. package/plugin/skills/lit-code/scripts/go/templates/ci.yml +37 -0
  468. package/plugin/skills/lit-code/scripts/go/templates/config.go +24 -0
  469. package/plugin/skills/lit-code/scripts/go/templates/gitignore +15 -0
  470. package/plugin/skills/lit-code/scripts/go/templates/main.go.tmpl +22 -0
  471. package/plugin/skills/lit-code/scripts/go/templates/run.go +15 -0
  472. package/plugin/skills/lit-code/scripts/python/check-no-excuse-rules.py +687 -0
  473. package/plugin/skills/lit-code/scripts/python/new-project.py +172 -0
  474. package/plugin/skills/lit-code/scripts/python/new-script.py +116 -0
  475. package/plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.py +296 -0
  476. package/plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.sh +158 -0
  477. package/plugin/skills/lit-code/scripts/rust/new-project.py +175 -0
  478. package/plugin/skills/lit-code/scripts/typescript/check-no-excuse-rules.ts +344 -0
  479. package/plugin/skills/lit-code/scripts/typescript/new-project.ts +174 -0
  480. package/plugin/skills/lit-commit/SKILL.md +151 -0
  481. package/plugin/skills/lit-commit/references/safe-git-operations.md +91 -0
  482. package/plugin/skills/lit-comprehend/SKILL.md +221 -0
  483. package/plugin/skills/lit-comprehend/assets/explainer-scaffold.html +231 -0
  484. package/plugin/skills/lit-comprehend/references/artifact-template.md +180 -0
  485. package/plugin/skills/lit-comprehend/references/micro-worlds.md +195 -0
  486. package/plugin/skills/lit-comprehend/scripts/verify-explainer.mjs +291 -0
  487. package/plugin/skills/lit-crucible/SKILL.md +159 -0
  488. package/plugin/skills/lit-crucible/references/adversarial-workflow.md +127 -0
  489. package/plugin/skills/lit-diagram-drawer/NOTICE +33 -0
  490. package/plugin/skills/lit-diagram-drawer/SKILL.md +229 -0
  491. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +1 -0
  492. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +1 -0
  493. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +1 -0
  494. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +1 -0
  495. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +1 -0
  496. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +1 -0
  497. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +1 -0
  498. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +1 -0
  499. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +1 -0
  500. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +1 -0
  501. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +1 -0
  502. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +1 -0
  503. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +1 -0
  504. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +1 -0
  505. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +1 -0
  506. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +1 -0
  507. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +1 -0
  508. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +1 -0
  509. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +1 -0
  510. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +1 -0
  511. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +1 -0
  512. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +1 -0
  513. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +1 -0
  514. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +1 -0
  515. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +1 -0
  516. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +1 -0
  517. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +1 -0
  518. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +1 -0
  519. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +1 -0
  520. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +1 -0
  521. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +1 -0
  522. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +1 -0
  523. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +1 -0
  524. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +1 -0
  525. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +1 -0
  526. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +1 -0
  527. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +1 -0
  528. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +1 -0
  529. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +1 -0
  530. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +1 -0
  531. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +1 -0
  532. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +1 -0
  533. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +1 -0
  534. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +1 -0
  535. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +1 -0
  536. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +1 -0
  537. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +1 -0
  538. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +1 -0
  539. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +1 -0
  540. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +1 -0
  541. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +1 -0
  542. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +1 -0
  543. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +1 -0
  544. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +1 -0
  545. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +1 -0
  546. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +1 -0
  547. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +1 -0
  548. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +1 -0
  549. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +1 -0
  550. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +1 -0
  551. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +1 -0
  552. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +1 -0
  553. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +1 -0
  554. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +1 -0
  555. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +1 -0
  556. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +1 -0
  557. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +1 -0
  558. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +1 -0
  559. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +1 -0
  560. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +1 -0
  561. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +1 -0
  562. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +1 -0
  563. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +1 -0
  564. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +1 -0
  565. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +1 -0
  566. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +1 -0
  567. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +1 -0
  568. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +1 -0
  569. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +1 -0
  570. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +1 -0
  571. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +1 -0
  572. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +1 -0
  573. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +1 -0
  574. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +1 -0
  575. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +1 -0
  576. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +1 -0
  577. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +1 -0
  578. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +1 -0
  579. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +1 -0
  580. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +1 -0
  581. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +1 -0
  582. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +1 -0
  583. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +1 -0
  584. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +1 -0
  585. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +1 -0
  586. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +1 -0
  587. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +1 -0
  588. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +1 -0
  589. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +1 -0
  590. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +1 -0
  591. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +1 -0
  592. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +1 -0
  593. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +1 -0
  594. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +1 -0
  595. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +1 -0
  596. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +1 -0
  597. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +1 -0
  598. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +1 -0
  599. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +1 -0
  600. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +1 -0
  601. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +1 -0
  602. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +1 -0
  603. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +1 -0
  604. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +1 -0
  605. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +1 -0
  606. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +1 -0
  607. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +1 -0
  608. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +1 -0
  609. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +1 -0
  610. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +1 -0
  611. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +1 -0
  612. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +1 -0
  613. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +1 -0
  614. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +1 -0
  615. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +1 -0
  616. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +1 -0
  617. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +1 -0
  618. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +1 -0
  619. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +1 -0
  620. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +1 -0
  621. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +1 -0
  622. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +1 -0
  623. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +1 -0
  624. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +1 -0
  625. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +1 -0
  626. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +1 -0
  627. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +1 -0
  628. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +1 -0
  629. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +1 -0
  630. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +1 -0
  631. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +1 -0
  632. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +1 -0
  633. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +1 -0
  634. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +1 -0
  635. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +1 -0
  636. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +1 -0
  637. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +1 -0
  638. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +1 -0
  639. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +1 -0
  640. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +1 -0
  641. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +1 -0
  642. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +1 -0
  643. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +1 -0
  644. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +1 -0
  645. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +1 -0
  646. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +1 -0
  647. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +1 -0
  648. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +1 -0
  649. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +1 -0
  650. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +1 -0
  651. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +1 -0
  652. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +1 -0
  653. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +1 -0
  654. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +1 -0
  655. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +1 -0
  656. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +1 -0
  657. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +1 -0
  658. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +1 -0
  659. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +1 -0
  660. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +1 -0
  661. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +1 -0
  662. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +1 -0
  663. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +1 -0
  664. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +1 -0
  665. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +1 -0
  666. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +1 -0
  667. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +1 -0
  668. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +1 -0
  669. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +1 -0
  670. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +1 -0
  671. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +1 -0
  672. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +1 -0
  673. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +1 -0
  674. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +94 -0
  675. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  676. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +22 -0
  677. package/plugin/skills/lit-diagram-drawer/assets/icons.html +231 -0
  678. package/plugin/skills/lit-diagram-drawer/assets/index.html +1 -0
  679. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +20 -0
  680. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +21 -0
  681. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +21 -0
  682. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +30 -0
  683. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +21 -0
  684. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +1 -0
  685. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +33 -0
  686. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +1 -0
  687. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +1 -0
  688. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +18 -0
  689. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +1 -0
  690. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +1 -0
  691. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +19 -0
  692. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +1 -0
  693. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +1 -0
  694. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +17 -0
  695. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +1 -0
  696. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +1 -0
  697. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +17 -0
  698. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +1 -0
  699. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +1 -0
  700. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +17 -0
  701. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +1 -0
  702. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +1 -0
  703. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +19 -0
  704. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +1 -0
  705. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +1 -0
  706. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +20 -0
  707. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +1 -0
  708. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +37 -0
  709. package/plugin/skills/lit-diagram-drawer/references/export.md +29 -0
  710. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +21 -0
  711. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +14 -0
  712. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +18 -0
  713. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +28 -0
  714. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +34 -0
  715. package/plugin/skills/lit-diagram-drawer/references/motion.md +29 -0
  716. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +42 -0
  717. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +48 -0
  718. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +12 -0
  719. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +21 -0
  720. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +11 -0
  721. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +11 -0
  722. package/plugin/skills/lit-diagram-drawer/references/profiles.md +24 -0
  723. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +27 -0
  724. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +67 -0
  725. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +51 -0
  726. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +51 -0
  727. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +49 -0
  728. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +49 -0
  729. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +49 -0
  730. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +1433 -0
  731. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +51 -0
  732. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +49 -0
  733. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +49 -0
  734. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +49 -0
  735. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +49 -0
  736. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +49 -0
  737. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +49 -0
  738. package/plugin/skills/lit-diagram-drawer/references/type-er.md +49 -0
  739. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +49 -0
  740. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +49 -0
  741. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +49 -0
  742. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +53 -0
  743. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +53 -0
  744. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +53 -0
  745. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +53 -0
  746. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +53 -0
  747. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +53 -0
  748. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +54 -0
  749. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +54 -0
  750. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +54 -0
  751. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +54 -0
  752. package/plugin/skills/lit-diagram-drawer/references/type-line.md +54 -0
  753. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +53 -0
  754. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +54 -0
  755. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +54 -0
  756. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +54 -0
  757. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +59 -0
  758. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +58 -0
  759. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +72 -0
  760. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +67 -0
  761. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +69 -0
  762. package/plugin/skills/lit-diagram-drawer/references/type-process.md +58 -0
  763. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +59 -0
  764. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +60 -0
  765. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +57 -0
  766. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +63 -0
  767. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +57 -0
  768. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +63 -0
  769. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +68 -0
  770. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +60 -0
  771. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +66 -0
  772. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +63 -0
  773. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +65 -0
  774. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +53 -0
  775. package/plugin/skills/lit-diagram-drawer/references/type-state.md +59 -0
  776. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +52 -0
  777. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +53 -0
  778. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +52 -0
  779. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +52 -0
  780. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +57 -0
  781. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +54 -0
  782. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +54 -0
  783. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +52 -0
  784. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +51 -0
  785. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +52 -0
  786. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +54 -0
  787. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +59 -0
  788. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +43 -0
  789. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +94 -0
  790. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +15 -0
  791. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +14 -0
  792. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +219 -0
  793. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +9 -0
  794. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +275 -0
  795. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +25 -0
  796. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +162 -0
  797. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +147 -0
  798. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +148 -0
  799. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +119 -0
  800. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +85 -0
  801. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +48 -0
  802. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +234 -0
  803. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +104 -0
  804. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +115 -0
  805. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +70 -0
  806. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +178 -0
  807. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +137 -0
  808. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +80 -0
  809. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +54 -0
  810. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +11 -0
  811. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +85 -0
  812. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +16 -0
  813. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +27 -0
  814. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +12 -0
  815. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +48 -0
  816. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +226 -0
  817. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +147 -0
  818. package/plugin/skills/lit-docx/NOTICE +33 -0
  819. package/plugin/skills/lit-docx/SKILL.md +258 -0
  820. package/plugin/skills/lit-docx/references/components.md +207 -0
  821. package/plugin/skills/lit-docx/references/direction-step.md +277 -0
  822. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +166 -0
  823. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +105 -0
  824. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +164 -0
  825. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +138 -0
  826. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +55 -0
  827. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +130 -0
  828. package/plugin/skills/lit-docx/references/examples/07-report-en.md +123 -0
  829. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +123 -0
  830. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +45 -0
  831. package/plugin/skills/lit-docx/references/frontmatter_schema.md +42 -0
  832. package/plugin/skills/lit-docx/references/journal_style_spec.md +17 -0
  833. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +37 -0
  834. package/plugin/skills/lit-docx/references/page-composition.md +221 -0
  835. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +58 -0
  836. package/plugin/skills/lit-docx/references/slop_rules.md +35 -0
  837. package/plugin/skills/lit-docx/references/tonalities/brief.md +143 -0
  838. package/plugin/skills/lit-docx/references/tonalities/journal.md +142 -0
  839. package/plugin/skills/lit-docx/references/tonalities/manual.md +148 -0
  840. package/plugin/skills/lit-docx/references/tonalities/memo.md +137 -0
  841. package/plugin/skills/lit-docx/references/tonalities/proposal.md +140 -0
  842. package/plugin/skills/lit-docx/references/tonalities/report.md +156 -0
  843. package/plugin/skills/lit-docx/scripts/clean_markdown.py +95 -0
  844. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +1395 -0
  845. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +302 -0
  846. package/plugin/skills/lit-docx/scripts/convert_pdf.py +139 -0
  847. package/plugin/skills/lit-docx/scripts/docx_design.py +2449 -0
  848. package/plugin/skills/lit-docx/scripts/docx_layout.py +959 -0
  849. package/plugin/skills/lit-docx/scripts/edit_docx.py +306 -0
  850. package/plugin/skills/lit-docx/scripts/embed_images.py +78 -0
  851. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +500 -0
  852. package/plugin/skills/lit-docx/scripts/qa_docx.py +234 -0
  853. package/plugin/skills/lit-docx/scripts/slop_lint.py +573 -0
  854. package/plugin/skills/lit-docx/scripts/visual_audit.py +48 -0
  855. package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
  856. package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  857. package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
  858. package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  859. package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
  860. package/plugin/skills/lit-docx/templates/latex/acs/README.md +5 -0
  861. package/plugin/skills/lit-docx/templates/latex/acs/template.tex +39 -0
  862. package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +5 -0
  863. package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +40 -0
  864. package/plugin/skills/lit-docx/templates/latex/ieee/README.md +5 -0
  865. package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +39 -0
  866. package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +5 -0
  867. package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +39 -0
  868. package/plugin/skills/lit-docx/templates/latex/nature/README.md +5 -0
  869. package/plugin/skills/lit-docx/templates/latex/nature/template.tex +39 -0
  870. package/plugin/skills/lit-docx/templates/registry.yaml +1366 -0
  871. package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +28 -0
  872. package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +25 -0
  873. package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +26 -0
  874. package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +26 -0
  875. package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +26 -0
  876. package/plugin/skills/lit-docx/templates/tonalities/report.yaml +26 -0
  877. package/plugin/skills/lit-handoff/LICENSE +21 -0
  878. package/plugin/skills/lit-handoff/SKILL.md +233 -0
  879. package/plugin/skills/lit-handoff/evals/evals.json +154 -0
  880. package/plugin/skills/lit-handoff/examples/HANDOFF-example-generic-auth-refactor.md +97 -0
  881. package/plugin/skills/lit-handoff/reference/PROVENANCE.md +20 -0
  882. package/plugin/skills/lit-handoff/reference/canonical-handoff.md +199 -0
  883. package/plugin/skills/lit-handoff/scripts/verify-closure.mjs +32 -0
  884. package/plugin/skills/lit-handoff/templates/HANDOFF.md +121 -0
  885. package/plugin/skills/lit-humanizer/NOTICE +160 -0
  886. package/plugin/skills/lit-humanizer/SKILL.md +210 -0
  887. package/plugin/skills/lit-humanizer/assets/always-on-rule.md +9 -0
  888. package/plugin/skills/lit-humanizer/assets/report-skeleton.md +25 -0
  889. package/plugin/skills/lit-humanizer/assets/slide-text-skeleton.md +28 -0
  890. package/plugin/skills/lit-humanizer/bench/prompts.md +73 -0
  891. package/plugin/skills/lit-humanizer/examples/accessibility-note/after.md +7 -0
  892. package/plugin/skills/lit-humanizer/examples/accessibility-note/before.md +7 -0
  893. package/plugin/skills/lit-humanizer/examples/api-reference/after.md +9 -0
  894. package/plugin/skills/lit-humanizer/examples/api-reference/before.md +15 -0
  895. package/plugin/skills/lit-humanizer/examples/changelog/after.md +5 -0
  896. package/plugin/skills/lit-humanizer/examples/changelog/before.md +12 -0
  897. package/plugin/skills/lit-humanizer/examples/code-comments/after.md +10 -0
  898. package/plugin/skills/lit-humanizer/examples/code-comments/before.md +19 -0
  899. package/plugin/skills/lit-humanizer/examples/commit/after.md +5 -0
  900. package/plugin/skills/lit-humanizer/examples/commit/before.md +7 -0
  901. package/plugin/skills/lit-humanizer/examples/data-release/after.md +7 -0
  902. package/plugin/skills/lit-humanizer/examples/data-release/before.md +9 -0
  903. package/plugin/skills/lit-humanizer/examples/english-essay/after.md +5 -0
  904. package/plugin/skills/lit-humanizer/examples/english-essay/before.md +5 -0
  905. package/plugin/skills/lit-humanizer/examples/incident-update/after.md +7 -0
  906. package/plugin/skills/lit-humanizer/examples/incident-update/before.md +7 -0
  907. package/plugin/skills/lit-humanizer/examples/ko-essay/after.md +7 -0
  908. package/plugin/skills/lit-humanizer/examples/ko-essay/before.md +9 -0
  909. package/plugin/skills/lit-humanizer/examples/ko-report/after.md +9 -0
  910. package/plugin/skills/lit-humanizer/examples/ko-report/before.md +13 -0
  911. package/plugin/skills/lit-humanizer/examples/ko-slide/after.md +19 -0
  912. package/plugin/skills/lit-humanizer/examples/ko-slide/before.md +21 -0
  913. package/plugin/skills/lit-humanizer/examples/meeting-brief/after.md +9 -0
  914. package/plugin/skills/lit-humanizer/examples/meeting-brief/before.md +11 -0
  915. package/plugin/skills/lit-humanizer/examples/policy-faq/after.md +9 -0
  916. package/plugin/skills/lit-humanizer/examples/policy-faq/before.md +9 -0
  917. package/plugin/skills/lit-humanizer/examples/pr/after.md +15 -0
  918. package/plugin/skills/lit-humanizer/examples/pr/before.md +17 -0
  919. package/plugin/skills/lit-humanizer/examples/project-update/after.md +7 -0
  920. package/plugin/skills/lit-humanizer/examples/project-update/before.md +9 -0
  921. package/plugin/skills/lit-humanizer/examples/readme/after.md +12 -0
  922. package/plugin/skills/lit-humanizer/examples/readme/before.md +14 -0
  923. package/plugin/skills/lit-humanizer/examples/report/after.md +13 -0
  924. package/plugin/skills/lit-humanizer/examples/report/before.md +11 -0
  925. package/plugin/skills/lit-humanizer/examples/research-abstract/after.md +5 -0
  926. package/plugin/skills/lit-humanizer/examples/research-abstract/before.md +5 -0
  927. package/plugin/skills/lit-humanizer/examples/slides/after.md +19 -0
  928. package/plugin/skills/lit-humanizer/examples/slides/before.md +19 -0
  929. package/plugin/skills/lit-humanizer/examples/troubleshooting/after.md +11 -0
  930. package/plugin/skills/lit-humanizer/examples/troubleshooting/before.md +11 -0
  931. package/plugin/skills/lit-humanizer/fixtures/ko-metrics-golden.json +51 -0
  932. package/plugin/skills/lit-humanizer/fixtures/office/minimal.docx +0 -0
  933. package/plugin/skills/lit-humanizer/fixtures/office/minimal.pptx +0 -0
  934. package/plugin/skills/lit-humanizer/fixtures/pledge-cases.json +1341 -0
  935. package/plugin/skills/lit-humanizer/fixtures/pos-real.txt +26 -0
  936. package/plugin/skills/lit-humanizer/fixtures/rule-cases.json +312 -0
  937. package/plugin/skills/lit-humanizer/motion-guide.md +123 -0
  938. package/plugin/skills/lit-humanizer/references/code-patterns.md +468 -0
  939. package/plugin/skills/lit-humanizer/references/deliverable-channels.md +113 -0
  940. package/plugin/skills/lit-humanizer/references/en-patterns-checklist.md +43 -0
  941. package/plugin/skills/lit-humanizer/references/en-patterns-content.md +243 -0
  942. package/plugin/skills/lit-humanizer/references/en-patterns-structure.md +375 -0
  943. package/plugin/skills/lit-humanizer/references/en-patterns.md +57 -0
  944. package/plugin/skills/lit-humanizer/references/ko-metrics.md +33 -0
  945. package/plugin/skills/lit-humanizer/references/ko-patterns-a-d.md +659 -0
  946. package/plugin/skills/lit-humanizer/references/ko-patterns-e-j.md +387 -0
  947. package/plugin/skills/lit-humanizer/references/ko-patterns.md +31 -0
  948. package/plugin/skills/lit-humanizer/references/litmuse-fidelity-checklist.md +78 -0
  949. package/plugin/skills/lit-humanizer/references/litmuse-rewrite-rules.md +71 -0
  950. package/plugin/skills/lit-humanizer/references/litmuse-style-patterns.md +53 -0
  951. package/plugin/skills/lit-humanizer/references/prompt-injection-handling.md +7 -0
  952. package/plugin/skills/lit-humanizer/references/rewrite-playbook.md +54 -0
  953. package/plugin/skills/lit-humanizer/references/taxonomy.md +154 -0
  954. package/plugin/skills/lit-humanizer/rules.json +938 -0
  955. package/plugin/skills/lit-humanizer/scripts/artifact-text.mjs +38 -0
  956. package/plugin/skills/lit-humanizer/scripts/core.mjs +311 -0
  957. package/plugin/skills/lit-humanizer/scripts/detect.mjs +65 -0
  958. package/plugin/skills/lit-humanizer/scripts/extract_office_text.py +112 -0
  959. package/plugin/skills/lit-humanizer/scripts/ko-metrics.mjs +124 -0
  960. package/plugin/skills/lit-humanizer/scripts/scan-input.mjs +54 -0
  961. package/plugin/skills/lit-humanizer/scripts/test-fixtures.mjs +158 -0
  962. package/plugin/skills/lit-humanizer/scripts/test-ko-metrics.mjs +27 -0
  963. package/plugin/skills/lit-init/SKILL.md +305 -0
  964. package/plugin/skills/lit-init/references/deep-repository-map.md +105 -0
  965. package/plugin/skills/lit-loop/SKILL.md +217 -0
  966. package/plugin/skills/lit-plan/SKILL.md +354 -0
  967. package/plugin/skills/lit-plan/references/intent-routes.md +118 -0
  968. package/plugin/skills/lit-plan/references/muse-surfaces.md +28 -0
  969. package/plugin/skills/lit-plan/references/start-work-handoff-contract.md +66 -0
  970. package/plugin/skills/lit-plan/scripts/check-plan.mjs +180 -0
  971. package/plugin/skills/lit-plan/templates/draft.md +41 -0
  972. package/plugin/skills/lit-plan/templates/plan.md +101 -0
  973. package/plugin/skills/lit-pptx/NOTICE +38 -0
  974. package/plugin/skills/lit-pptx/SKILL.md +289 -0
  975. package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  976. package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  977. package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  978. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  979. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  980. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  981. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  982. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  983. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +94 -0
  984. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +29 -0
  985. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +94 -0
  986. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  987. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  988. package/plugin/skills/lit-pptx/fonts/provenance.json +78 -0
  989. package/plugin/skills/lit-pptx/references/agents/analyst.md +49 -0
  990. package/plugin/skills/lit-pptx/references/agents/antithesis.md +59 -0
  991. package/plugin/skills/lit-pptx/references/agents/architect.md +44 -0
  992. package/plugin/skills/lit-pptx/references/agents/critic.md +42 -0
  993. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +47 -0
  994. package/plugin/skills/lit-pptx/references/agents/thesis.md +33 -0
  995. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +110 -0
  996. package/plugin/skills/lit-pptx/references/authoring-guide.md +250 -0
  997. package/plugin/skills/lit-pptx/references/consensus-protocol.md +125 -0
  998. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +52 -0
  999. package/plugin/skills/lit-pptx/references/density-and-fill.md +164 -0
  1000. package/plugin/skills/lit-pptx/references/design-system-azure.md +61 -0
  1001. package/plugin/skills/lit-pptx/references/direction-step.md +186 -0
  1002. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +210 -0
  1003. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +147 -0
  1004. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +199 -0
  1005. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +203 -0
  1006. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +178 -0
  1007. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +199 -0
  1008. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +194 -0
  1009. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +175 -0
  1010. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +204 -0
  1011. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +179 -0
  1012. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +164 -0
  1013. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +174 -0
  1014. package/plugin/skills/lit-pptx/references/interview-protocol.md +113 -0
  1015. package/plugin/skills/lit-pptx/references/layout-families.md +198 -0
  1016. package/plugin/skills/lit-pptx/references/stages/autopilot.md +48 -0
  1017. package/plugin/skills/lit-pptx/references/stages/interview.md +52 -0
  1018. package/plugin/skills/lit-pptx/references/stages/plan.md +42 -0
  1019. package/plugin/skills/lit-pptx/references/title-treatments.md +109 -0
  1020. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +139 -0
  1021. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +148 -0
  1022. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +149 -0
  1023. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +149 -0
  1024. package/plugin/skills/lit-pptx/references/tonalities/night.md +147 -0
  1025. package/plugin/skills/lit-pptx/references/tonalities/paper.md +151 -0
  1026. package/plugin/skills/lit-pptx/references/tonalities/signal.md +150 -0
  1027. package/plugin/skills/lit-pptx/references/tonalities/studio.md +132 -0
  1028. package/plugin/skills/lit-pptx/scripts/compile-deck.js +462 -0
  1029. package/plugin/skills/lit-pptx/scripts/craft_extras.py +1034 -0
  1030. package/plugin/skills/lit-pptx/scripts/deck_craft.py +363 -0
  1031. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +215 -0
  1032. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +55 -0
  1033. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +418 -0
  1034. package/plugin/skills/lit-pptx/scripts/learn_template.py +446 -0
  1035. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +176 -0
  1036. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +244 -0
  1037. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +79 -0
  1038. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +86 -0
  1039. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +37 -0
  1040. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +521 -0
  1041. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +1119 -0
  1042. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +138 -0
  1043. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +356 -0
  1044. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +2240 -0
  1045. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +3559 -0
  1046. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +28 -0
  1047. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +565 -0
  1048. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +94 -0
  1049. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +679 -0
  1050. package/plugin/skills/lit-pptx/scripts/package.json +4 -0
  1051. package/plugin/skills/lit-pptx/scripts/qa_deck.py +795 -0
  1052. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +230 -0
  1053. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +251 -0
  1054. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +214 -0
  1055. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +229 -0
  1056. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +144 -0
  1057. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +382 -0
  1058. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +146 -0
  1059. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +454 -0
  1060. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +40 -0
  1061. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +154 -0
  1062. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +475 -0
  1063. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +40 -0
  1064. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +179 -0
  1065. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +299 -0
  1066. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +45 -0
  1067. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +181 -0
  1068. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +299 -0
  1069. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +44 -0
  1070. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +92 -0
  1071. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +97 -0
  1072. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +93 -0
  1073. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +94 -0
  1074. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +93 -0
  1075. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +98 -0
  1076. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +94 -0
  1077. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +92 -0
  1078. package/plugin/skills/lit-recap/SKILL.md +229 -0
  1079. package/plugin/skills/lit-scientific-visualization/LICENSE +21 -0
  1080. package/plugin/skills/lit-scientific-visualization/SKILL.md +235 -0
  1081. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +197 -0
  1082. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +75 -0
  1083. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +74 -0
  1084. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +78 -0
  1085. package/plugin/skills/lit-scientific-visualization/evals/evals.json +158 -0
  1086. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +283 -0
  1087. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +380 -0
  1088. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +359 -0
  1089. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +608 -0
  1090. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +85 -0
  1091. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +217 -0
  1092. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +293 -0
  1093. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +238 -0
  1094. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +23 -0
  1095. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +225 -0
  1096. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +467 -0
  1097. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +51 -0
  1098. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +114 -0
  1099. package/plugin/skills/lit-team/SKILL.md +189 -0
  1100. package/plugin/skills/lit-team/references/team-orchestration.md +164 -0
  1101. package/plugin/skills/lit-team/scripts/owner-lock.mjs +330 -0
  1102. package/plugin/skills/lit-team/scripts/secure-path.mjs +24 -0
  1103. package/plugin/skills/lit-team/scripts/state-root.mjs +55 -0
  1104. package/plugin/skills/lit-team/scripts/team.mjs +628 -0
  1105. package/plugin/skills/lit-typographic-motion/SKILL.md +180 -0
  1106. package/plugin/skills/lit-typographic-motion/engine/NOTICE +23 -0
  1107. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +62 -0
  1108. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +56 -0
  1109. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +1084 -0
  1110. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +246 -0
  1111. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +90 -0
  1112. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +46 -0
  1113. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +211 -0
  1114. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +550 -0
  1115. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +123 -0
  1116. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +100 -0
  1117. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +142 -0
  1118. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +167 -0
  1119. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +19 -0
  1120. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +198 -0
  1121. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +108 -0
  1122. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +158 -0
  1123. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +330 -0
  1124. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +102 -0
  1125. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +213 -0
  1126. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +346 -0
  1127. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +141 -0
  1128. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +76 -0
  1129. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +106 -0
  1130. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +32 -0
  1131. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +373 -0
  1132. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +83 -0
  1133. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +170 -0
  1134. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +102 -0
  1135. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +36 -0
  1136. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +164 -0
  1137. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +592 -0
  1138. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +112 -0
  1139. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +66 -0
  1140. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +345 -0
  1141. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +145 -0
  1142. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +60 -0
  1143. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +641 -0
  1144. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +179 -0
  1145. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +122 -0
  1146. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +295 -0
  1147. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +283 -0
  1148. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +503 -0
  1149. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +100 -0
  1150. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +344 -0
  1151. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +145 -0
  1152. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +132 -0
  1153. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +25 -0
  1154. package/plugin/skills/lit-typographic-motion/engine/package.json +10 -0
  1155. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +37 -0
  1156. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +288 -0
  1157. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +106 -0
  1158. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +157 -0
  1159. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +701 -0
  1160. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +123 -0
  1161. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +281 -0
  1162. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +319 -0
  1163. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +78 -0
  1164. package/plugin/skills/lit-typographic-motion/engine/web/index.html +6 -0
  1165. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +112 -0
  1166. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +98 -0
  1167. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +49 -0
  1168. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +77 -0
  1169. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +61 -0
  1170. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +88 -0
  1171. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +86 -0
  1172. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +165 -0
  1173. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +15 -0
  1174. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +82 -0
  1175. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +30 -0
  1176. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +16 -0
  1177. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +47 -0
  1178. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +45 -0
  1179. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +29 -0
  1180. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +73 -0
  1181. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +73 -0
  1182. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +236 -0
  1183. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +180 -0
  1184. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  1185. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  1186. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  1187. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  1188. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  1189. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  1190. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  1191. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  1192. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  1193. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +93 -0
  1194. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  1195. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +93 -0
  1196. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +455 -0
  1197. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +93 -0
  1198. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  1199. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  1200. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +42 -0
  1201. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +216 -0
  1202. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +216 -0
  1203. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +216 -0
  1204. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +216 -0
  1205. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +217 -0
  1206. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +91 -0
  1207. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +93 -0
  1208. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  1209. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +16 -0
  1210. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +27 -0
  1211. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +16 -0
  1212. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +17 -0
  1213. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +17 -0
  1214. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +18 -0
  1215. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +17 -0
  1216. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +30 -0
  1217. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +67 -0
  1218. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +152 -0
  1219. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +95 -0
  1220. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +202 -0
  1221. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +67 -0
  1222. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +100 -0
  1223. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +119 -0
  1224. package/plugin/skills/lit-typographic-motion/references/cover.md +475 -0
  1225. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +100 -0
  1226. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +124 -0
  1227. package/plugin/skills/lit-typographic-motion/references/look.md +157 -0
  1228. package/plugin/skills/lit-typographic-motion/references/runtime.md +98 -0
  1229. package/plugin/skills/lit-typographic-motion/references/sound.md +123 -0
  1230. package/plugin/skills/lit-typographic-motion/references/stage.md +239 -0
  1231. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +130 -0
  1232. package/plugin/skills/lit-typographic-motion/references/treatment.md +166 -0
  1233. package/plugin/skills/lit-typographic-motion/references/type-craft.md +87 -0
  1234. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +99 -0
  1235. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +95 -0
  1236. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +165 -0
  1237. package/plugin/skills/litgoal/SKILL.md +263 -0
  1238. package/plugin/skills/litgoal/scripts/check-goal.mjs +99 -0
  1239. package/plugin/skills/litgoal/templates/goal.json +23 -0
  1240. package/plugin/skills/litresearch/ATTRIBUTION.md +57 -0
  1241. package/plugin/skills/litresearch/SKILL.md +771 -0
  1242. package/plugin/skills/litresearch/references/lane-operations.md +54 -0
  1243. package/plugin/skills/litresearch/references/source-verdict-checklist.md +37 -0
  1244. package/plugin/skills/litwork/SKILL.md +527 -0
  1245. package/plugin/skills/litwork/references/qa-channel-recipes.md +88 -0
  1246. package/plugin/skills/litwork/templates/notes.md +26 -0
  1247. package/plugin/skills/lsp/SKILL.md +241 -0
  1248. package/plugin/skills/lsp/references/cli-recipes.md +136 -0
  1249. package/plugin/skills/lsp/references/runtime-triage.md +128 -0
  1250. package/plugin/skills/lsp/scripts/diagnostics.mjs +327 -0
  1251. package/plugin/skills/lsp/scripts/tsserver-query.mjs +83 -0
  1252. package/plugin/skills/lsp-setup/SKILL.md +263 -0
  1253. package/plugin/skills/lsp-setup/references/bash/README.md +54 -0
  1254. package/plugin/skills/lsp-setup/references/c-cpp/README.md +57 -0
  1255. package/plugin/skills/lsp-setup/references/csharp/README.md +53 -0
  1256. package/plugin/skills/lsp-setup/references/dart/README.md +53 -0
  1257. package/plugin/skills/lsp-setup/references/elixir/README.md +54 -0
  1258. package/plugin/skills/lsp-setup/references/go/README.md +54 -0
  1259. package/plugin/skills/lsp-setup/references/haskell/README.md +52 -0
  1260. package/plugin/skills/lsp-setup/references/java/README.md +51 -0
  1261. package/plugin/skills/lsp-setup/references/julia/README.md +51 -0
  1262. package/plugin/skills/lsp-setup/references/kotlin/README.md +50 -0
  1263. package/plugin/skills/lsp-setup/references/lua/README.md +50 -0
  1264. package/plugin/skills/lsp-setup/references/php/README.md +52 -0
  1265. package/plugin/skills/lsp-setup/references/python/README.md +57 -0
  1266. package/plugin/skills/lsp-setup/references/ruby/README.md +56 -0
  1267. package/plugin/skills/lsp-setup/references/rust/README.md +56 -0
  1268. package/plugin/skills/lsp-setup/references/swift/README.md +52 -0
  1269. package/plugin/skills/lsp-setup/references/terraform/README.md +56 -0
  1270. package/plugin/skills/lsp-setup/references/typescript/README.md +61 -0
  1271. package/plugin/skills/lsp-setup/references/yaml/README.md +53 -0
  1272. package/plugin/skills/lsp-setup/references/zig/README.md +49 -0
  1273. package/plugin/skills/lsp-setup/scripts/detect-lsp.mjs +90 -0
  1274. package/plugin/skills/lsp-setup/scripts/lsp-server-table.mjs +58 -0
  1275. package/plugin/skills/lsp-setup/scripts/verify-lsp.mjs +118 -0
  1276. package/plugin/skills/readme-studio/SKILL.md +117 -0
  1277. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +55 -0
  1278. package/plugin/skills/readme-studio/references/facts-and-assembly.md +19 -0
  1279. package/plugin/skills/readme-studio/references/production-interview.md +11 -0
  1280. package/plugin/skills/readme-studio/references/render-and-deliver.md +44 -0
  1281. package/plugin/skills/readme-studio/references/type-and-background.md +23 -0
  1282. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +133 -0
  1283. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +6 -0
  1284. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +77 -0
  1285. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +28 -0
  1286. package/plugin/skills/readme-studio/templates/cover-source.json +21 -0
  1287. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +30 -0
  1288. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +1 -0
  1289. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +2017 -0
  1290. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +8 -0
  1291. package/plugin/skills/readme-studio/templates/readme-cover-section.md +75 -0
  1292. package/plugin/skills/readme-studio/templates/readme-facts.json +4 -0
  1293. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +3783 -0
  1294. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +7 -0
  1295. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +36 -0
  1296. package/plugin/skills/readme-studio/templates/typography/package-lock.json +133 -0
  1297. package/plugin/skills/readme-studio/templates/typography/package.json +6 -0
  1298. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +57 -0
  1299. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +63 -0
  1300. package/plugin/skills/refactor/SKILL.md +766 -0
  1301. package/plugin/skills/refactor/references/safe-change-playbook.md +155 -0
  1302. package/plugin/skills/review-work/SKILL.md +539 -0
  1303. package/plugin/skills/review-work/references/lane-context.md +77 -0
  1304. package/plugin/skills/review-work/references/lane-goal.md +82 -0
  1305. package/plugin/skills/review-work/references/lane-qa.md +97 -0
  1306. package/plugin/skills/review-work/references/lane-quality.md +81 -0
  1307. package/plugin/skills/review-work/references/lane-security.md +73 -0
  1308. package/plugin/skills/review-work/references/plan-review-checklist.md +169 -0
  1309. package/plugin/skills/review-work/references/verdict-templates.md +161 -0
  1310. package/plugin/skills/review-work/scripts/check-lanes.mjs +104 -0
  1311. package/plugin/skills/rules/SKILL.md +239 -0
  1312. package/plugin/skills/start-work/SKILL.md +564 -0
  1313. package/plugin/skills/start-work/references/execution-templates.md +113 -0
  1314. package/plugin/skills/start-work/scripts/ledger-append.mjs +47 -0
  1315. package/plugin/skills/start-work/scripts/next-row.mjs +96 -0
  1316. package/plugin/skills/structural-search/SKILL.md +222 -0
  1317. package/plugin/skills/structural-search/references/diagnostics.md +307 -0
  1318. package/plugin/skills/structural-search/references/patterns-and-rules.md +381 -0
  1319. package/plugin/skills/structural-search/references/rewrite-safety.md +266 -0
  1320. package/plugin/skills/visual-qa/SKILL.md +192 -0
  1321. package/plugin/skills/visual-qa/references/capture-playbook.md +126 -0
  1322. package/plugin/skills/visual-qa/references/complete-contract.md +677 -0
  1323. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +305 -0
  1324. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +291 -0
  1325. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +311 -0
  1326. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +235 -0
  1327. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +208 -0
  1328. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +66 -0
  1329. package/plugin/skills/visual-qa/scripts/ansi.ts +17 -0
  1330. package/plugin/skills/visual-qa/scripts/cli.mjs +101 -0
  1331. package/plugin/skills/visual-qa/scripts/cli.ts +96 -0
  1332. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +448 -0
  1333. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +72 -0
  1334. package/plugin/skills/visual-qa/scripts/errors.mjs +12 -0
  1335. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +184 -0
  1336. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +95 -0
  1337. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +163 -0
  1338. package/plugin/skills/visual-qa/scripts/evidence.mjs +421 -0
  1339. package/plugin/skills/visual-qa/scripts/image-diff.mjs +89 -0
  1340. package/plugin/skills/visual-qa/scripts/image-diff.ts +109 -0
  1341. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +107 -0
  1342. package/plugin/skills/visual-qa/scripts/png-crc.ts +27 -0
  1343. package/plugin/skills/visual-qa/scripts/png-decode.mjs +143 -0
  1344. package/plugin/skills/visual-qa/scripts/png-decode.ts +206 -0
  1345. package/plugin/skills/visual-qa/scripts/png-synth.ts +57 -0
  1346. package/plugin/skills/visual-qa/scripts/review-rules.mjs +137 -0
  1347. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +117 -0
  1348. package/plugin/skills/visual-qa/scripts/tui-check.mjs +74 -0
  1349. package/plugin/skills/visual-qa/scripts/tui-grid.ts +88 -0
  1350. package/plugin/skills/visual-qa/scripts/types.ts +54 -0
  1351. package/plugin/skills/wikify/LICENSE +21 -0
  1352. package/plugin/skills/wikify/PROVENANCE.md +15 -0
  1353. package/plugin/skills/wikify/SKILL.md +630 -0
  1354. package/plugin/skills/wikify/assets/home-template.md +44 -0
  1355. package/plugin/skills/wikify/assets/maintenance-report-template.md +46 -0
  1356. package/plugin/skills/wikify/assets/paper-source-note-template.md +137 -0
  1357. package/plugin/skills/wikify/assets/source-note-template.md +45 -0
  1358. package/plugin/skills/wikify/assets/wiki-rules-template.md +117 -0
  1359. package/plugin/skills/wikify/modes/ingest.md +44 -0
  1360. package/plugin/skills/wikify/modes/init.md +40 -0
  1361. package/plugin/skills/wikify/modes/lint.md +47 -0
  1362. package/plugin/skills/wikify/modes/query.md +32 -0
  1363. package/plugin/skills/wikify/modes/save.md +42 -0
  1364. package/plugin/skills/wikify/scripts/wikify-knowledge.mjs +473 -0
@@ -0,0 +1,1148 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ """
4
+ Design System Generator - Aggregates search results and applies reasoning
5
+ to generate comprehensive design system recommendations.
6
+
7
+ Usage:
8
+ from design_system import generate_design_system
9
+ result = generate_design_system("SaaS dashboard", "My Project")
10
+
11
+ # With persistence (Master + Overrides pattern)
12
+ result = generate_design_system("SaaS dashboard", "My Project", persist=True)
13
+ result = generate_design_system("SaaS dashboard", "My Project", persist=True, page="dashboard")
14
+ """
15
+
16
+ import csv
17
+ import json
18
+ import os
19
+ from datetime import datetime
20
+ from pathlib import Path
21
+ from core import search, DATA_DIR
22
+
23
+
24
+ # ============ CONFIGURATION ============
25
+ REASONING_FILE = "ui-reasoning.csv"
26
+
27
+ SEARCH_CONFIG = {
28
+ "product": {"max_results": 1},
29
+ "style": {"max_results": 3},
30
+ "color": {"max_results": 2},
31
+ "landing": {"max_results": 2},
32
+ "typography": {"max_results": 2}
33
+ }
34
+
35
+
36
+ # ============ DESIGN SYSTEM GENERATOR ============
37
+ class DesignSystemGenerator:
38
+ """Generates design system recommendations from aggregated searches."""
39
+
40
+ def __init__(self):
41
+ self.reasoning_data = self._load_reasoning()
42
+
43
+ def _load_reasoning(self) -> list:
44
+ """Load reasoning rules from CSV."""
45
+ filepath = DATA_DIR / REASONING_FILE
46
+ if not filepath.exists():
47
+ return []
48
+ with open(filepath, 'r', encoding='utf-8') as f:
49
+ return list(csv.DictReader(f))
50
+
51
+ def _multi_domain_search(self, query: str, style_priority: list = None) -> dict:
52
+ """Execute searches across multiple domains."""
53
+ results = {}
54
+ for domain, config in SEARCH_CONFIG.items():
55
+ if domain == "style" and style_priority:
56
+ # For style, also search with priority keywords
57
+ priority_query = " ".join(style_priority[:2]) if style_priority else query
58
+ combined_query = f"{query} {priority_query}"
59
+ results[domain] = search(combined_query, domain, config["max_results"])
60
+ else:
61
+ results[domain] = search(query, domain, config["max_results"])
62
+ return results
63
+
64
+ def _find_reasoning_rule(self, category: str) -> dict:
65
+ """Find matching reasoning rule for a category."""
66
+ category_lower = category.lower()
67
+
68
+ # Try exact match first
69
+ for rule in self.reasoning_data:
70
+ if rule.get("UI_Category", "").lower() == category_lower:
71
+ return rule
72
+
73
+ # Try partial match
74
+ for rule in self.reasoning_data:
75
+ ui_cat = rule.get("UI_Category", "").lower()
76
+ if ui_cat in category_lower or category_lower in ui_cat:
77
+ return rule
78
+
79
+ # Try keyword match
80
+ for rule in self.reasoning_data:
81
+ ui_cat = rule.get("UI_Category", "").lower()
82
+ keywords = ui_cat.replace("/", " ").replace("-", " ").split()
83
+ if any(kw in category_lower for kw in keywords):
84
+ return rule
85
+
86
+ return {}
87
+
88
+ def _apply_reasoning(self, category: str, search_results: dict) -> dict:
89
+ """Apply reasoning rules to search results."""
90
+ rule = self._find_reasoning_rule(category)
91
+
92
+ if not rule:
93
+ return {
94
+ "pattern": "Hero + Features + CTA",
95
+ "style_priority": ["Minimalism", "Flat Design"],
96
+ "color_mood": "Professional",
97
+ "typography_mood": "Clean",
98
+ "key_effects": "Subtle hover transitions",
99
+ "anti_patterns": "",
100
+ "decision_rules": {},
101
+ "severity": "MEDIUM"
102
+ }
103
+
104
+ # Parse decision rules JSON
105
+ decision_rules = {}
106
+ try:
107
+ decision_rules = json.loads(rule.get("Decision_Rules", "{}"))
108
+ except json.JSONDecodeError:
109
+ pass
110
+
111
+ return {
112
+ "pattern": rule.get("Recommended_Pattern", ""),
113
+ "style_priority": [s.strip() for s in rule.get("Style_Priority", "").split("+")],
114
+ "color_mood": rule.get("Color_Mood", ""),
115
+ "typography_mood": rule.get("Typography_Mood", ""),
116
+ "key_effects": rule.get("Key_Effects", ""),
117
+ "anti_patterns": rule.get("Anti_Patterns", ""),
118
+ "decision_rules": decision_rules,
119
+ "severity": rule.get("Severity", "MEDIUM")
120
+ }
121
+
122
+ def _select_best_match(self, results: list, priority_keywords: list) -> dict:
123
+ """Select best matching result based on priority keywords."""
124
+ if not results:
125
+ return {}
126
+
127
+ if not priority_keywords:
128
+ return results[0]
129
+
130
+ # First: try exact style name match
131
+ for priority in priority_keywords:
132
+ priority_lower = priority.lower().strip()
133
+ for result in results:
134
+ style_name = result.get("Style Category", "").lower()
135
+ if priority_lower in style_name or style_name in priority_lower:
136
+ return result
137
+
138
+ # Second: score by keyword match in all fields
139
+ scored = []
140
+ for result in results:
141
+ result_str = str(result).lower()
142
+ score = 0
143
+ for kw in priority_keywords:
144
+ kw_lower = kw.lower().strip()
145
+ # Higher score for style name match
146
+ if kw_lower in result.get("Style Category", "").lower():
147
+ score += 10
148
+ # Lower score for keyword field match
149
+ elif kw_lower in result.get("Keywords", "").lower():
150
+ score += 3
151
+ # Even lower for other field matches
152
+ elif kw_lower in result_str:
153
+ score += 1
154
+ scored.append((score, result))
155
+
156
+ scored.sort(key=lambda x: x[0], reverse=True)
157
+ return scored[0][1] if scored and scored[0][0] > 0 else results[0]
158
+
159
+ def _extract_results(self, search_result: dict) -> list:
160
+ """Extract results list from search result dict."""
161
+ return search_result.get("results", [])
162
+
163
+ def generate(self, query: str, project_name: str = None) -> dict:
164
+ """Generate complete design system recommendation."""
165
+ # Step 1: First search product to get category
166
+ product_result = search(query, "product", 1)
167
+ product_results = product_result.get("results", [])
168
+ category = "General"
169
+ if product_results:
170
+ category = product_results[0].get("Product Type", "General")
171
+
172
+ # Step 2: Get reasoning rules for this category
173
+ reasoning = self._apply_reasoning(category, {})
174
+ style_priority = reasoning.get("style_priority", [])
175
+
176
+ # Step 3: Multi-domain search with style priority hints
177
+ search_results = self._multi_domain_search(query, style_priority)
178
+ search_results["product"] = product_result # Reuse product search
179
+
180
+ # Step 4: Select best matches from each domain using priority
181
+ style_results = self._extract_results(search_results.get("style", {}))
182
+ color_results = self._extract_results(search_results.get("color", {}))
183
+ typography_results = self._extract_results(search_results.get("typography", {}))
184
+ landing_results = self._extract_results(search_results.get("landing", {}))
185
+
186
+ best_style = self._select_best_match(style_results, reasoning.get("style_priority", []))
187
+ best_color = color_results[0] if color_results else {}
188
+ best_typography = typography_results[0] if typography_results else {}
189
+ best_landing = landing_results[0] if landing_results else {}
190
+
191
+ # Step 5: Build final recommendation
192
+ # Combine effects from both reasoning and style search
193
+ style_effects = best_style.get("Effects & Animation", "")
194
+ reasoning_effects = reasoning.get("key_effects", "")
195
+ combined_effects = style_effects if style_effects else reasoning_effects
196
+
197
+ return {
198
+ "project_name": project_name or query.upper(),
199
+ "category": category,
200
+ "pattern": {
201
+ "name": best_landing.get("Pattern Name", reasoning.get("pattern", "Hero + Features + CTA")),
202
+ "sections": best_landing.get("Section Order", "Hero > Features > CTA"),
203
+ "cta_placement": best_landing.get("Primary CTA Placement", "Above fold"),
204
+ "color_strategy": best_landing.get("Color Strategy", ""),
205
+ "conversion": best_landing.get("Conversion Optimization", "")
206
+ },
207
+ "style": {
208
+ "name": best_style.get("Style Category", "Minimalism"),
209
+ "type": best_style.get("Type", "General"),
210
+ "effects": style_effects,
211
+ "keywords": best_style.get("Keywords", ""),
212
+ "best_for": best_style.get("Best For", ""),
213
+ "performance": best_style.get("Performance", ""),
214
+ "accessibility": best_style.get("Accessibility", ""),
215
+ "light_mode": best_style.get("Light Mode ✓", ""),
216
+ "dark_mode": best_style.get("Dark Mode ✓", ""),
217
+ },
218
+ "colors": {
219
+ "primary": best_color.get("Primary", "#2563EB"),
220
+ "on_primary": best_color.get("On Primary", ""),
221
+ "secondary": best_color.get("Secondary", "#3B82F6"),
222
+ "accent": best_color.get("Accent", "#F97316"),
223
+ "background": best_color.get("Background", "#F8FAFC"),
224
+ "foreground": best_color.get("Foreground", "#1E293B"),
225
+ "muted": best_color.get("Muted", ""),
226
+ "border": best_color.get("Border", ""),
227
+ "destructive": best_color.get("Destructive", ""),
228
+ "ring": best_color.get("Ring", ""),
229
+ "notes": best_color.get("Notes", ""),
230
+ # Keep legacy keys for backward compat in MASTER.md
231
+ "cta": best_color.get("Accent", "#F97316"),
232
+ "text": best_color.get("Foreground", "#1E293B"),
233
+ },
234
+ "typography": {
235
+ "heading": best_typography.get("Heading Font", "Inter"),
236
+ "body": best_typography.get("Body Font", "Inter"),
237
+ "mood": best_typography.get("Mood/Style Keywords", reasoning.get("typography_mood", "")),
238
+ "best_for": best_typography.get("Best For", ""),
239
+ "google_fonts_url": best_typography.get("Google Fonts URL", ""),
240
+ "css_import": best_typography.get("CSS Import", "")
241
+ },
242
+ "key_effects": combined_effects,
243
+ "anti_patterns": reasoning.get("anti_patterns", ""),
244
+ "decision_rules": reasoning.get("decision_rules", {}),
245
+ "severity": reasoning.get("severity", "MEDIUM")
246
+ }
247
+
248
+
249
+ # ============ OUTPUT FORMATTERS ============
250
+ BOX_WIDTH = 90 # Wider box for more content
251
+
252
+
253
+ def hex_to_ansi(hex_color: str) -> str:
254
+ """Convert hex color to ANSI True Color swatch (██) with fallback."""
255
+ if not hex_color or not hex_color.startswith('#'):
256
+ return ""
257
+ colorterm = os.environ.get('COLORTERM', '')
258
+ if colorterm not in ('truecolor', '24bit'):
259
+ return ""
260
+ hex_color = hex_color.lstrip('#')
261
+ if len(hex_color) != 6:
262
+ return ""
263
+ r, g, b = int(hex_color[0:2], 16), int(hex_color[2:4], 16), int(hex_color[4:6], 16)
264
+ return f"\033[38;2;{r};{g};{b}m██\033[0m "
265
+
266
+
267
+ def ansi_ljust(s: str, width: int) -> str:
268
+ """Like str.ljust but accounts for zero-width ANSI escape sequences."""
269
+ import re
270
+ visible_len = len(re.sub(r'\033\[[0-9;]*m', '', s))
271
+ pad = width - visible_len
272
+ return s + (" " * max(0, pad))
273
+
274
+
275
+ def section_header(name: str, width: int) -> str:
276
+ """Create a Unicode section separator: ├─── NAME ───...┤"""
277
+ label = f"─── {name} "
278
+ fill = "─" * (width - len(label) - 1)
279
+ return f"├{label}{fill}┤"
280
+
281
+
282
+ def format_ascii_box(design_system: dict) -> str:
283
+ """Format design system as Unicode box with ANSI color swatches."""
284
+ project = design_system.get("project_name", "PROJECT")
285
+ pattern = design_system.get("pattern", {})
286
+ style = design_system.get("style", {})
287
+ colors = design_system.get("colors", {})
288
+ typography = design_system.get("typography", {})
289
+ effects = design_system.get("key_effects", "")
290
+ anti_patterns = design_system.get("anti_patterns", "")
291
+
292
+ def wrap_text(text: str, prefix: str, width: int) -> list:
293
+ """Wrap long text into multiple lines."""
294
+ if not text:
295
+ return []
296
+ words = text.split()
297
+ lines = []
298
+ current_line = prefix
299
+ for word in words:
300
+ if len(current_line) + len(word) + 1 <= width - 2:
301
+ current_line += (" " if current_line != prefix else "") + word
302
+ else:
303
+ if current_line != prefix:
304
+ lines.append(current_line)
305
+ current_line = prefix + word
306
+ if current_line != prefix:
307
+ lines.append(current_line)
308
+ return lines
309
+
310
+ # Build sections from pattern
311
+ sections = pattern.get("sections", "").split(">")
312
+ sections = [s.strip() for s in sections if s.strip()]
313
+
314
+ # Build output lines
315
+ lines = []
316
+ w = BOX_WIDTH - 1
317
+
318
+ # Header with double-line box
319
+ lines.append("╔" + "═" * w + "╗")
320
+ lines.append(ansi_ljust(f"║ TARGET: {project} - RECOMMENDED DESIGN SYSTEM", BOX_WIDTH) + "║")
321
+ lines.append("╚" + "═" * w + "╝")
322
+ lines.append("┌" + "─" * w + "┐")
323
+
324
+ # Pattern section
325
+ lines.append(section_header("PATTERN", BOX_WIDTH + 1))
326
+ lines.append(f"│ Name: {pattern.get('name', '')}".ljust(BOX_WIDTH) + "│")
327
+ if pattern.get('conversion'):
328
+ lines.append(f"│ Conversion: {pattern.get('conversion', '')}".ljust(BOX_WIDTH) + "│")
329
+ if pattern.get('cta_placement'):
330
+ lines.append(f"│ CTA: {pattern.get('cta_placement', '')}".ljust(BOX_WIDTH) + "│")
331
+ lines.append("│ Sections:".ljust(BOX_WIDTH) + "│")
332
+ for i, section in enumerate(sections, 1):
333
+ lines.append(f"│ {i}. {section}".ljust(BOX_WIDTH) + "│")
334
+
335
+ # Style section
336
+ lines.append(section_header("STYLE", BOX_WIDTH + 1))
337
+ lines.append(f"│ Name: {style.get('name', '')}".ljust(BOX_WIDTH) + "│")
338
+ light = style.get("light_mode", "")
339
+ dark = style.get("dark_mode", "")
340
+ if light or dark:
341
+ lines.append(f"│ Mode Support: Light {light} Dark {dark}".ljust(BOX_WIDTH) + "│")
342
+ if style.get("keywords"):
343
+ for line in wrap_text(f"Keywords: {style.get('keywords', '')}", "│ ", BOX_WIDTH):
344
+ lines.append(line.ljust(BOX_WIDTH) + "│")
345
+ if style.get("best_for"):
346
+ for line in wrap_text(f"Best For: {style.get('best_for', '')}", "│ ", BOX_WIDTH):
347
+ lines.append(line.ljust(BOX_WIDTH) + "│")
348
+ if style.get("performance") or style.get("accessibility"):
349
+ perf_a11y = f"Performance: {style.get('performance', '')} | Accessibility: {style.get('accessibility', '')}"
350
+ lines.append(f"│ {perf_a11y}".ljust(BOX_WIDTH) + "│")
351
+
352
+ # Colors section (extended palette with ANSI swatches)
353
+ lines.append(section_header("COLORS", BOX_WIDTH + 1))
354
+ color_entries = [
355
+ ("Primary", "primary", "--color-primary"),
356
+ ("On Primary", "on_primary", "--color-on-primary"),
357
+ ("Secondary", "secondary", "--color-secondary"),
358
+ ("Accent/CTA", "accent", "--color-accent"),
359
+ ("Background", "background", "--color-background"),
360
+ ("Foreground", "foreground", "--color-foreground"),
361
+ ("Muted", "muted", "--color-muted"),
362
+ ("Border", "border", "--color-border"),
363
+ ("Destructive", "destructive", "--color-destructive"),
364
+ ("Ring", "ring", "--color-ring"),
365
+ ]
366
+ for label, key, css_var in color_entries:
367
+ hex_val = colors.get(key, "")
368
+ if not hex_val:
369
+ continue
370
+ swatch = hex_to_ansi(hex_val)
371
+ content = f"│ {swatch}{label + ':':14s} {hex_val:10s} ({css_var})"
372
+ lines.append(ansi_ljust(content, BOX_WIDTH) + "│")
373
+ if colors.get("notes"):
374
+ for line in wrap_text(f"Notes: {colors.get('notes', '')}", "│ ", BOX_WIDTH):
375
+ lines.append(line.ljust(BOX_WIDTH) + "│")
376
+
377
+ # Typography section
378
+ lines.append(section_header("TYPOGRAPHY", BOX_WIDTH + 1))
379
+ lines.append(f"│ {typography.get('heading', '')} / {typography.get('body', '')}".ljust(BOX_WIDTH) + "│")
380
+ if typography.get("mood"):
381
+ for line in wrap_text(f"Mood: {typography.get('mood', '')}", "│ ", BOX_WIDTH):
382
+ lines.append(line.ljust(BOX_WIDTH) + "│")
383
+ if typography.get("best_for"):
384
+ for line in wrap_text(f"Best For: {typography.get('best_for', '')}", "│ ", BOX_WIDTH):
385
+ lines.append(line.ljust(BOX_WIDTH) + "│")
386
+ if typography.get("google_fonts_url"):
387
+ lines.append(f"│ Google Fonts: {typography.get('google_fonts_url', '')}".ljust(BOX_WIDTH) + "│")
388
+ if typography.get("css_import"):
389
+ lines.append(f"│ CSS Import: {typography.get('css_import', '')[:70]}...".ljust(BOX_WIDTH) + "│")
390
+
391
+ # Key Effects section
392
+ if effects:
393
+ lines.append(section_header("KEY EFFECTS", BOX_WIDTH + 1))
394
+ for line in wrap_text(effects, "│ ", BOX_WIDTH):
395
+ lines.append(line.ljust(BOX_WIDTH) + "│")
396
+
397
+ # Anti-patterns section
398
+ if anti_patterns:
399
+ lines.append(section_header("AVOID", BOX_WIDTH + 1))
400
+ for line in wrap_text(anti_patterns, "│ ", BOX_WIDTH):
401
+ lines.append(line.ljust(BOX_WIDTH) + "│")
402
+
403
+ # Pre-Delivery Checklist section
404
+ lines.append(section_header("PRE-DELIVERY CHECKLIST", BOX_WIDTH + 1))
405
+ checklist_items = [
406
+ "[ ] No emojis as icons (use SVG: Heroicons/Lucide)",
407
+ "[ ] cursor-pointer on all clickable elements",
408
+ "[ ] Hover states with smooth transitions (150-300ms)",
409
+ "[ ] Light mode: text contrast 4.5:1 minimum",
410
+ "[ ] Focus states visible for keyboard nav",
411
+ "[ ] prefers-reduced-motion respected",
412
+ "[ ] Responsive: 375px, 768px, 1024px, 1440px"
413
+ ]
414
+ for item in checklist_items:
415
+ lines.append(f"│ {item}".ljust(BOX_WIDTH) + "│")
416
+
417
+ lines.append("└" + "─" * w + "┘")
418
+
419
+ return "\n".join(lines)
420
+
421
+
422
+ def format_markdown(design_system: dict) -> str:
423
+ """Format design system as markdown."""
424
+ project = design_system.get("project_name", "PROJECT")
425
+ pattern = design_system.get("pattern", {})
426
+ style = design_system.get("style", {})
427
+ colors = design_system.get("colors", {})
428
+ typography = design_system.get("typography", {})
429
+ effects = design_system.get("key_effects", "")
430
+ anti_patterns = design_system.get("anti_patterns", "")
431
+
432
+ lines = []
433
+ lines.append(f"## Design System: {project}")
434
+ lines.append("")
435
+
436
+ # Pattern section
437
+ lines.append("### Pattern")
438
+ lines.append(f"- **Name:** {pattern.get('name', '')}")
439
+ if pattern.get('conversion'):
440
+ lines.append(f"- **Conversion Focus:** {pattern.get('conversion', '')}")
441
+ if pattern.get('cta_placement'):
442
+ lines.append(f"- **CTA Placement:** {pattern.get('cta_placement', '')}")
443
+ if pattern.get('color_strategy'):
444
+ lines.append(f"- **Color Strategy:** {pattern.get('color_strategy', '')}")
445
+ lines.append(f"- **Sections:** {pattern.get('sections', '')}")
446
+ lines.append("")
447
+
448
+ # Style section
449
+ lines.append("### Style")
450
+ lines.append(f"- **Name:** {style.get('name', '')}")
451
+ light = style.get("light_mode", "")
452
+ dark = style.get("dark_mode", "")
453
+ if light or dark:
454
+ lines.append(f"- **Mode Support:** Light {light} | Dark {dark}")
455
+ if style.get('keywords'):
456
+ lines.append(f"- **Keywords:** {style.get('keywords', '')}")
457
+ if style.get('best_for'):
458
+ lines.append(f"- **Best For:** {style.get('best_for', '')}")
459
+ if style.get('performance') or style.get('accessibility'):
460
+ lines.append(f"- **Performance:** {style.get('performance', '')} | **Accessibility:** {style.get('accessibility', '')}")
461
+ lines.append("")
462
+
463
+ # Colors section (extended palette)
464
+ lines.append("### Colors")
465
+ lines.append("| Role | Hex | CSS Variable |")
466
+ lines.append("|------|-----|--------------|")
467
+ md_color_entries = [
468
+ ("Primary", "primary", "--color-primary"),
469
+ ("On Primary", "on_primary", "--color-on-primary"),
470
+ ("Secondary", "secondary", "--color-secondary"),
471
+ ("Accent/CTA", "accent", "--color-accent"),
472
+ ("Background", "background", "--color-background"),
473
+ ("Foreground", "foreground", "--color-foreground"),
474
+ ("Muted", "muted", "--color-muted"),
475
+ ("Border", "border", "--color-border"),
476
+ ("Destructive", "destructive", "--color-destructive"),
477
+ ("Ring", "ring", "--color-ring"),
478
+ ]
479
+ for label, key, css_var in md_color_entries:
480
+ hex_val = colors.get(key, "")
481
+ if hex_val:
482
+ lines.append(f"| {label} | `{hex_val}` | `{css_var}` |")
483
+ if colors.get("notes"):
484
+ lines.append(f"\n*Notes: {colors.get('notes', '')}*")
485
+ lines.append("")
486
+
487
+ # Typography section
488
+ lines.append("### Typography")
489
+ lines.append(f"- **Heading:** {typography.get('heading', '')}")
490
+ lines.append(f"- **Body:** {typography.get('body', '')}")
491
+ if typography.get("mood"):
492
+ lines.append(f"- **Mood:** {typography.get('mood', '')}")
493
+ if typography.get("best_for"):
494
+ lines.append(f"- **Best For:** {typography.get('best_for', '')}")
495
+ if typography.get("google_fonts_url"):
496
+ lines.append(f"- **Google Fonts:** {typography.get('google_fonts_url', '')}")
497
+ if typography.get("css_import"):
498
+ lines.append(f"- **CSS Import:**")
499
+ lines.append(f"```css")
500
+ lines.append(f"{typography.get('css_import', '')}")
501
+ lines.append(f"```")
502
+ lines.append("")
503
+
504
+ # Key Effects section
505
+ if effects:
506
+ lines.append("### Key Effects")
507
+ lines.append(f"{effects}")
508
+ lines.append("")
509
+
510
+ # Anti-patterns section
511
+ if anti_patterns:
512
+ lines.append("### Avoid (Anti-patterns)")
513
+ newline_bullet = '\n- '
514
+ lines.append(f"- {anti_patterns.replace(' + ', newline_bullet)}")
515
+ lines.append("")
516
+
517
+ # Pre-Delivery Checklist section
518
+ lines.append("### Pre-Delivery Checklist")
519
+ lines.append("- [ ] No emojis as icons (use SVG: Heroicons/Lucide)")
520
+ lines.append("- [ ] cursor-pointer on all clickable elements")
521
+ lines.append("- [ ] Hover states with smooth transitions (150-300ms)")
522
+ lines.append("- [ ] Light mode: text contrast 4.5:1 minimum")
523
+ lines.append("- [ ] Focus states visible for keyboard nav")
524
+ lines.append("- [ ] prefers-reduced-motion respected")
525
+ lines.append("- [ ] Responsive: 375px, 768px, 1024px, 1440px")
526
+ lines.append("")
527
+
528
+ return "\n".join(lines)
529
+
530
+
531
+ # ============ MAIN ENTRY POINT ============
532
+ def generate_design_system(query: str, project_name: str = None, output_format: str = "ascii",
533
+ persist: bool = False, page: str = None, output_dir: str = None) -> str:
534
+ """
535
+ Main entry point for design system generation.
536
+
537
+ Args:
538
+ query: Search query (e.g., "SaaS dashboard", "e-commerce luxury")
539
+ project_name: Optional project name for output header
540
+ output_format: "ascii" (default) or "markdown"
541
+ persist: If True, save design system to design-system/ folder
542
+ page: Optional page name for page-specific override file
543
+ output_dir: Optional output directory (defaults to current working directory)
544
+
545
+ Returns:
546
+ Formatted design system string
547
+ """
548
+ generator = DesignSystemGenerator()
549
+ design_system = generator.generate(query, project_name)
550
+
551
+ # Persist to files if requested
552
+ if persist:
553
+ persist_design_system(design_system, page, output_dir, query)
554
+
555
+ if output_format == "markdown":
556
+ return format_markdown(design_system)
557
+ return format_ascii_box(design_system)
558
+
559
+
560
+ # ============ PERSISTENCE FUNCTIONS ============
561
+ def persist_design_system(design_system: dict, page: str = None, output_dir: str = None, page_query: str = None) -> dict:
562
+ """
563
+ Persist design system to design-system/<project>/ folder using Master + Overrides pattern.
564
+
565
+ Args:
566
+ design_system: The generated design system dictionary
567
+ page: Optional page name for page-specific override file
568
+ output_dir: Optional output directory (defaults to current working directory)
569
+ page_query: Optional query string for intelligent page override generation
570
+
571
+ Returns:
572
+ dict with created file paths and status
573
+ """
574
+ base_dir = Path(output_dir) if output_dir else Path.cwd()
575
+
576
+ # Use project name for project-specific folder
577
+ project_name = design_system.get("project_name", "default")
578
+ project_slug = project_name.lower().replace(' ', '-')
579
+
580
+ design_system_dir = base_dir / "design-system" / project_slug
581
+ pages_dir = design_system_dir / "pages"
582
+
583
+ created_files = []
584
+
585
+ # Create directories
586
+ design_system_dir.mkdir(parents=True, exist_ok=True)
587
+ pages_dir.mkdir(parents=True, exist_ok=True)
588
+
589
+ master_file = design_system_dir / "MASTER.md"
590
+
591
+ # Generate and write MASTER.md
592
+ master_content = format_master_md(design_system)
593
+ with open(master_file, 'w', encoding='utf-8') as f:
594
+ f.write(master_content)
595
+ created_files.append(str(master_file))
596
+
597
+ # If page is specified, create page override file with intelligent content
598
+ if page:
599
+ page_file = pages_dir / f"{page.lower().replace(' ', '-')}.md"
600
+ page_content = format_page_override_md(design_system, page, page_query)
601
+ with open(page_file, 'w', encoding='utf-8') as f:
602
+ f.write(page_content)
603
+ created_files.append(str(page_file))
604
+
605
+ return {
606
+ "status": "success",
607
+ "design_system_dir": str(design_system_dir),
608
+ "created_files": created_files
609
+ }
610
+
611
+
612
+ def format_master_md(design_system: dict) -> str:
613
+ """Format design system as MASTER.md with hierarchical override logic."""
614
+ project = design_system.get("project_name", "PROJECT")
615
+ pattern = design_system.get("pattern", {})
616
+ style = design_system.get("style", {})
617
+ colors = design_system.get("colors", {})
618
+ typography = design_system.get("typography", {})
619
+ effects = design_system.get("key_effects", "")
620
+ anti_patterns = design_system.get("anti_patterns", "")
621
+
622
+ timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
623
+
624
+ lines = []
625
+
626
+ # Logic header
627
+ lines.append("# Design System Master File")
628
+ lines.append("")
629
+ lines.append("> **LOGIC:** When building a specific page, first check `design-system/pages/[page-name].md`.")
630
+ lines.append("> If that file exists, its rules **override** this Master file.")
631
+ lines.append("> If not, strictly follow the rules below.")
632
+ lines.append("")
633
+ lines.append("---")
634
+ lines.append("")
635
+ lines.append(f"**Project:** {project}")
636
+ lines.append(f"**Generated:** {timestamp}")
637
+ lines.append(f"**Category:** {design_system.get('category', 'General')}")
638
+ lines.append("")
639
+ lines.append("---")
640
+ lines.append("")
641
+
642
+ # Global Rules section
643
+ lines.append("## Global Rules")
644
+ lines.append("")
645
+
646
+ # Color Palette
647
+ lines.append("### Color Palette")
648
+ lines.append("")
649
+ lines.append("| Role | Hex | CSS Variable |")
650
+ lines.append("|------|-----|--------------|")
651
+ master_color_entries = [
652
+ ("Primary", "primary", "--color-primary"),
653
+ ("On Primary", "on_primary", "--color-on-primary"),
654
+ ("Secondary", "secondary", "--color-secondary"),
655
+ ("Accent/CTA", "accent", "--color-accent"),
656
+ ("Background", "background", "--color-background"),
657
+ ("Foreground", "foreground", "--color-foreground"),
658
+ ("Muted", "muted", "--color-muted"),
659
+ ("Border", "border", "--color-border"),
660
+ ("Destructive", "destructive", "--color-destructive"),
661
+ ("Ring", "ring", "--color-ring"),
662
+ ]
663
+ for label, key, css_var in master_color_entries:
664
+ hex_val = colors.get(key, "")
665
+ if hex_val:
666
+ lines.append(f"| {label} | `{hex_val}` | `{css_var}` |")
667
+ lines.append("")
668
+ if colors.get("notes"):
669
+ lines.append(f"**Color Notes:** {colors.get('notes', '')}")
670
+ lines.append("")
671
+
672
+ # Typography
673
+ lines.append("### Typography")
674
+ lines.append("")
675
+ lines.append(f"- **Heading Font:** {typography.get('heading', 'Inter')}")
676
+ lines.append(f"- **Body Font:** {typography.get('body', 'Inter')}")
677
+ if typography.get("mood"):
678
+ lines.append(f"- **Mood:** {typography.get('mood', '')}")
679
+ if typography.get("google_fonts_url"):
680
+ lines.append(f"- **Google Fonts:** [{typography.get('heading', '')} + {typography.get('body', '')}]({typography.get('google_fonts_url', '')})")
681
+ lines.append("")
682
+ if typography.get("css_import"):
683
+ lines.append("**CSS Import:**")
684
+ lines.append("```css")
685
+ lines.append(typography.get("css_import", ""))
686
+ lines.append("```")
687
+ lines.append("")
688
+
689
+ # Spacing Variables
690
+ lines.append("### Spacing Variables")
691
+ lines.append("")
692
+ lines.append("| Token | Value | Usage |")
693
+ lines.append("|-------|-------|-------|")
694
+ lines.append("| `--space-xs` | `4px` / `0.25rem` | Tight gaps |")
695
+ lines.append("| `--space-sm` | `8px` / `0.5rem` | Icon gaps, inline spacing |")
696
+ lines.append("| `--space-md` | `16px` / `1rem` | Standard padding |")
697
+ lines.append("| `--space-lg` | `24px` / `1.5rem` | Section padding |")
698
+ lines.append("| `--space-xl` | `32px` / `2rem` | Large gaps |")
699
+ lines.append("| `--space-2xl` | `48px` / `3rem` | Section margins |")
700
+ lines.append("| `--space-3xl` | `64px` / `4rem` | Hero padding |")
701
+ lines.append("")
702
+
703
+ # Shadow Depths
704
+ lines.append("### Shadow Depths")
705
+ lines.append("")
706
+ lines.append("| Level | Value | Usage |")
707
+ lines.append("|-------|-------|-------|")
708
+ lines.append("| `--shadow-sm` | `0 1px 2px rgba(0,0,0,0.05)` | Subtle lift |")
709
+ lines.append("| `--shadow-md` | `0 4px 6px rgba(0,0,0,0.1)` | Cards, buttons |")
710
+ lines.append("| `--shadow-lg` | `0 10px 15px rgba(0,0,0,0.1)` | Modals, dropdowns |")
711
+ lines.append("| `--shadow-xl` | `0 20px 25px rgba(0,0,0,0.15)` | Hero images, featured cards |")
712
+ lines.append("")
713
+
714
+ # Component Specs section
715
+ lines.append("---")
716
+ lines.append("")
717
+ lines.append("## Component Specs")
718
+ lines.append("")
719
+
720
+ # Buttons
721
+ lines.append("### Buttons")
722
+ lines.append("")
723
+ lines.append("```css")
724
+ lines.append("/* Primary Button */")
725
+ lines.append(".btn-primary {")
726
+ lines.append(f" background: {colors.get('cta', '#F97316')};")
727
+ lines.append(" color: white;")
728
+ lines.append(" padding: 12px 24px;")
729
+ lines.append(" border-radius: 8px;")
730
+ lines.append(" font-weight: 600;")
731
+ lines.append(" transition: all 200ms ease;")
732
+ lines.append(" cursor: pointer;")
733
+ lines.append("}")
734
+ lines.append("")
735
+ lines.append(".btn-primary:hover {")
736
+ lines.append(" opacity: 0.9;")
737
+ lines.append(" transform: translateY(-1px);")
738
+ lines.append("}")
739
+ lines.append("")
740
+ lines.append("/* Secondary Button */")
741
+ lines.append(".btn-secondary {")
742
+ lines.append(f" background: transparent;")
743
+ lines.append(f" color: {colors.get('primary', '#2563EB')};")
744
+ lines.append(f" border: 2px solid {colors.get('primary', '#2563EB')};")
745
+ lines.append(" padding: 12px 24px;")
746
+ lines.append(" border-radius: 8px;")
747
+ lines.append(" font-weight: 600;")
748
+ lines.append(" transition: all 200ms ease;")
749
+ lines.append(" cursor: pointer;")
750
+ lines.append("}")
751
+ lines.append("```")
752
+ lines.append("")
753
+
754
+ # Cards
755
+ lines.append("### Cards")
756
+ lines.append("")
757
+ lines.append("```css")
758
+ lines.append(".card {")
759
+ lines.append(f" background: {colors.get('background', '#FFFFFF')};")
760
+ lines.append(" border-radius: 12px;")
761
+ lines.append(" padding: 24px;")
762
+ lines.append(" box-shadow: var(--shadow-md);")
763
+ lines.append(" transition: all 200ms ease;")
764
+ lines.append(" cursor: pointer;")
765
+ lines.append("}")
766
+ lines.append("")
767
+ lines.append(".card:hover {")
768
+ lines.append(" box-shadow: var(--shadow-lg);")
769
+ lines.append(" transform: translateY(-2px);")
770
+ lines.append("}")
771
+ lines.append("```")
772
+ lines.append("")
773
+
774
+ # Inputs
775
+ lines.append("### Inputs")
776
+ lines.append("")
777
+ lines.append("```css")
778
+ lines.append(".input {")
779
+ lines.append(" padding: 12px 16px;")
780
+ lines.append(" border: 1px solid #E2E8F0;")
781
+ lines.append(" border-radius: 8px;")
782
+ lines.append(" font-size: 16px;")
783
+ lines.append(" transition: border-color 200ms ease;")
784
+ lines.append("}")
785
+ lines.append("")
786
+ lines.append(".input:focus {")
787
+ lines.append(f" border-color: {colors.get('primary', '#2563EB')};")
788
+ lines.append(" outline: none;")
789
+ lines.append(f" box-shadow: 0 0 0 3px {colors.get('primary', '#2563EB')}20;")
790
+ lines.append("}")
791
+ lines.append("```")
792
+ lines.append("")
793
+
794
+ # Modals
795
+ lines.append("### Modals")
796
+ lines.append("")
797
+ lines.append("```css")
798
+ lines.append(".modal-overlay {")
799
+ lines.append(" background: rgba(0, 0, 0, 0.5);")
800
+ lines.append(" backdrop-filter: blur(4px);")
801
+ lines.append("}")
802
+ lines.append("")
803
+ lines.append(".modal {")
804
+ lines.append(" background: white;")
805
+ lines.append(" border-radius: 16px;")
806
+ lines.append(" padding: 32px;")
807
+ lines.append(" box-shadow: var(--shadow-xl);")
808
+ lines.append(" max-width: 500px;")
809
+ lines.append(" width: 90%;")
810
+ lines.append("}")
811
+ lines.append("```")
812
+ lines.append("")
813
+
814
+ # Style section
815
+ lines.append("---")
816
+ lines.append("")
817
+ lines.append("## Style Guidelines")
818
+ lines.append("")
819
+ lines.append(f"**Style:** {style.get('name', 'Minimalism')}")
820
+ lines.append("")
821
+ if style.get("keywords"):
822
+ lines.append(f"**Keywords:** {style.get('keywords', '')}")
823
+ lines.append("")
824
+ if style.get("best_for"):
825
+ lines.append(f"**Best For:** {style.get('best_for', '')}")
826
+ lines.append("")
827
+ if effects:
828
+ lines.append(f"**Key Effects:** {effects}")
829
+ lines.append("")
830
+
831
+ # Layout Pattern
832
+ lines.append("### Page Pattern")
833
+ lines.append("")
834
+ lines.append(f"**Pattern Name:** {pattern.get('name', '')}")
835
+ lines.append("")
836
+ if pattern.get('conversion'):
837
+ lines.append(f"- **Conversion Strategy:** {pattern.get('conversion', '')}")
838
+ if pattern.get('cta_placement'):
839
+ lines.append(f"- **CTA Placement:** {pattern.get('cta_placement', '')}")
840
+ lines.append(f"- **Section Order:** {pattern.get('sections', '')}")
841
+ lines.append("")
842
+
843
+ # Anti-Patterns section
844
+ lines.append("---")
845
+ lines.append("")
846
+ lines.append("## Anti-Patterns (Do NOT Use)")
847
+ lines.append("")
848
+ if anti_patterns:
849
+ anti_list = [a.strip() for a in anti_patterns.split("+")]
850
+ for anti in anti_list:
851
+ if anti:
852
+ lines.append(f"- ❌ {anti}")
853
+ lines.append("")
854
+ lines.append("### Additional Forbidden Patterns")
855
+ lines.append("")
856
+ lines.append("- ❌ **Emojis as icons** — Use SVG icons (Heroicons, Lucide, Simple Icons)")
857
+ lines.append("- ❌ **Missing cursor:pointer** — All clickable elements must have cursor:pointer")
858
+ lines.append("- ❌ **Layout-shifting hovers** — Avoid scale transforms that shift layout")
859
+ lines.append("- ❌ **Low contrast text** — Maintain 4.5:1 minimum contrast ratio")
860
+ lines.append("- ❌ **Instant state changes** — Always use transitions (150-300ms)")
861
+ lines.append("- ❌ **Invisible focus states** — Focus states must be visible for a11y")
862
+ lines.append("")
863
+
864
+ # Pre-Delivery Checklist
865
+ lines.append("---")
866
+ lines.append("")
867
+ lines.append("## Pre-Delivery Checklist")
868
+ lines.append("")
869
+ lines.append("Before delivering any UI code, verify:")
870
+ lines.append("")
871
+ lines.append("- [ ] No emojis used as icons (use SVG instead)")
872
+ lines.append("- [ ] All icons from consistent icon set (Heroicons/Lucide)")
873
+ lines.append("- [ ] `cursor-pointer` on all clickable elements")
874
+ lines.append("- [ ] Hover states with smooth transitions (150-300ms)")
875
+ lines.append("- [ ] Light mode: text contrast 4.5:1 minimum")
876
+ lines.append("- [ ] Focus states visible for keyboard navigation")
877
+ lines.append("- [ ] `prefers-reduced-motion` respected")
878
+ lines.append("- [ ] Responsive: 375px, 768px, 1024px, 1440px")
879
+ lines.append("- [ ] No content hidden behind fixed navbars")
880
+ lines.append("- [ ] No horizontal scroll on mobile")
881
+ lines.append("")
882
+
883
+ return "\n".join(lines)
884
+
885
+
886
+ def format_page_override_md(design_system: dict, page_name: str, page_query: str = None) -> str:
887
+ """Format a page-specific override file with intelligent AI-generated content."""
888
+ project = design_system.get("project_name", "PROJECT")
889
+ timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
890
+ page_title = page_name.replace("-", " ").replace("_", " ").title()
891
+
892
+ # Detect page type and generate intelligent overrides
893
+ page_overrides = _generate_intelligent_overrides(page_name, page_query, design_system)
894
+
895
+ lines = []
896
+
897
+ lines.append(f"# {page_title} Page Overrides")
898
+ lines.append("")
899
+ lines.append(f"> **PROJECT:** {project}")
900
+ lines.append(f"> **Generated:** {timestamp}")
901
+ lines.append(f"> **Page Type:** {page_overrides.get('page_type', 'General')}")
902
+ lines.append("")
903
+ lines.append("> ⚠️ **IMPORTANT:** Rules in this file **override** the Master file (`design-system/MASTER.md`).")
904
+ lines.append("> Only deviations from the Master are documented here. For all other rules, refer to the Master.")
905
+ lines.append("")
906
+ lines.append("---")
907
+ lines.append("")
908
+
909
+ # Page-specific rules with actual content
910
+ lines.append("## Page-Specific Rules")
911
+ lines.append("")
912
+
913
+ # Layout Overrides
914
+ lines.append("### Layout Overrides")
915
+ lines.append("")
916
+ layout = page_overrides.get("layout", {})
917
+ if layout:
918
+ for key, value in layout.items():
919
+ lines.append(f"- **{key}:** {value}")
920
+ else:
921
+ lines.append("- No overrides — use Master layout")
922
+ lines.append("")
923
+
924
+ # Spacing Overrides
925
+ lines.append("### Spacing Overrides")
926
+ lines.append("")
927
+ spacing = page_overrides.get("spacing", {})
928
+ if spacing:
929
+ for key, value in spacing.items():
930
+ lines.append(f"- **{key}:** {value}")
931
+ else:
932
+ lines.append("- No overrides — use Master spacing")
933
+ lines.append("")
934
+
935
+ # Typography Overrides
936
+ lines.append("### Typography Overrides")
937
+ lines.append("")
938
+ typography = page_overrides.get("typography", {})
939
+ if typography:
940
+ for key, value in typography.items():
941
+ lines.append(f"- **{key}:** {value}")
942
+ else:
943
+ lines.append("- No overrides — use Master typography")
944
+ lines.append("")
945
+
946
+ # Color Overrides
947
+ lines.append("### Color Overrides")
948
+ lines.append("")
949
+ colors = page_overrides.get("colors", {})
950
+ if colors:
951
+ for key, value in colors.items():
952
+ lines.append(f"- **{key}:** {value}")
953
+ else:
954
+ lines.append("- No overrides — use Master colors")
955
+ lines.append("")
956
+
957
+ # Component Overrides
958
+ lines.append("### Component Overrides")
959
+ lines.append("")
960
+ components = page_overrides.get("components", [])
961
+ if components:
962
+ for comp in components:
963
+ lines.append(f"- {comp}")
964
+ else:
965
+ lines.append("- No overrides — use Master component specs")
966
+ lines.append("")
967
+
968
+ # Page-Specific Components
969
+ lines.append("---")
970
+ lines.append("")
971
+ lines.append("## Page-Specific Components")
972
+ lines.append("")
973
+ unique_components = page_overrides.get("unique_components", [])
974
+ if unique_components:
975
+ for comp in unique_components:
976
+ lines.append(f"- {comp}")
977
+ else:
978
+ lines.append("- No unique components for this page")
979
+ lines.append("")
980
+
981
+ # Recommendations
982
+ lines.append("---")
983
+ lines.append("")
984
+ lines.append("## Recommendations")
985
+ lines.append("")
986
+ recommendations = page_overrides.get("recommendations", [])
987
+ if recommendations:
988
+ for rec in recommendations:
989
+ lines.append(f"- {rec}")
990
+ lines.append("")
991
+
992
+ return "\n".join(lines)
993
+
994
+
995
+ def _generate_intelligent_overrides(page_name: str, page_query: str, design_system: dict) -> dict:
996
+ """
997
+ Generate intelligent overrides based on page type using layered search.
998
+
999
+ Uses the existing search infrastructure to find relevant style, UX, and layout
1000
+ data instead of hardcoded page types.
1001
+ """
1002
+ from core import search
1003
+
1004
+ page_lower = page_name.lower()
1005
+ query_lower = (page_query or "").lower()
1006
+ combined_context = f"{page_lower} {query_lower}"
1007
+
1008
+ # Search across multiple domains for page-specific guidance
1009
+ style_search = search(combined_context, "style", max_results=1)
1010
+ ux_search = search(combined_context, "ux", max_results=3)
1011
+ landing_search = search(combined_context, "landing", max_results=1)
1012
+
1013
+ # Extract results from search response
1014
+ style_results = style_search.get("results", [])
1015
+ ux_results = ux_search.get("results", [])
1016
+ landing_results = landing_search.get("results", [])
1017
+
1018
+ # Detect page type from search results or context
1019
+ page_type = _detect_page_type(combined_context, style_results)
1020
+
1021
+ # Build overrides from search results
1022
+ layout = {}
1023
+ spacing = {}
1024
+ typography = {}
1025
+ colors = {}
1026
+ components = []
1027
+ unique_components = []
1028
+ recommendations = []
1029
+
1030
+ # Extract style-based overrides
1031
+ if style_results:
1032
+ style = style_results[0]
1033
+ style_name = style.get("Style Category", "")
1034
+ keywords = style.get("Keywords", "")
1035
+ best_for = style.get("Best For", "")
1036
+ effects = style.get("Effects & Animation", "")
1037
+
1038
+ # Infer layout from style keywords
1039
+ if any(kw in keywords.lower() for kw in ["data", "dense", "dashboard", "grid"]):
1040
+ layout["Max Width"] = "1400px or full-width"
1041
+ layout["Grid"] = "12-column grid for data flexibility"
1042
+ spacing["Content Density"] = "High — optimize for information display"
1043
+ elif any(kw in keywords.lower() for kw in ["minimal", "simple", "clean", "single"]):
1044
+ layout["Max Width"] = "800px (narrow, focused)"
1045
+ layout["Layout"] = "Single column, centered"
1046
+ spacing["Content Density"] = "Low — focus on clarity"
1047
+ else:
1048
+ layout["Max Width"] = "1200px (standard)"
1049
+ layout["Layout"] = "Full-width sections, centered content"
1050
+
1051
+ if effects:
1052
+ recommendations.append(f"Effects: {effects}")
1053
+
1054
+ # Extract UX guidelines as recommendations
1055
+ for ux in ux_results:
1056
+ category = ux.get("Category", "")
1057
+ do_text = ux.get("Do", "")
1058
+ dont_text = ux.get("Don't", "")
1059
+ if do_text:
1060
+ recommendations.append(f"{category}: {do_text}")
1061
+ if dont_text:
1062
+ components.append(f"Avoid: {dont_text}")
1063
+
1064
+ # Extract landing pattern info for section structure
1065
+ if landing_results:
1066
+ landing = landing_results[0]
1067
+ sections = landing.get("Section Order", "")
1068
+ cta_placement = landing.get("Primary CTA Placement", "")
1069
+ color_strategy = landing.get("Color Strategy", "")
1070
+
1071
+ if sections:
1072
+ layout["Sections"] = sections
1073
+ if cta_placement:
1074
+ recommendations.append(f"CTA Placement: {cta_placement}")
1075
+ if color_strategy:
1076
+ colors["Strategy"] = color_strategy
1077
+
1078
+ # Add page-type specific defaults if no search results
1079
+ if not layout:
1080
+ layout["Max Width"] = "1200px"
1081
+ layout["Layout"] = "Responsive grid"
1082
+
1083
+ if not recommendations:
1084
+ recommendations = [
1085
+ "Refer to MASTER.md for all design rules",
1086
+ "Add specific overrides as needed for this page"
1087
+ ]
1088
+
1089
+ return {
1090
+ "page_type": page_type,
1091
+ "layout": layout,
1092
+ "spacing": spacing,
1093
+ "typography": typography,
1094
+ "colors": colors,
1095
+ "components": components,
1096
+ "unique_components": unique_components,
1097
+ "recommendations": recommendations
1098
+ }
1099
+
1100
+
1101
+ def _detect_page_type(context: str, style_results: list) -> str:
1102
+ """Detect page type from context and search results."""
1103
+ context_lower = context.lower()
1104
+
1105
+ # Check for common page type patterns
1106
+ page_patterns = [
1107
+ (["dashboard", "admin", "analytics", "data", "metrics", "stats", "monitor", "overview"], "Dashboard / Data View"),
1108
+ (["checkout", "payment", "cart", "purchase", "order", "billing"], "Checkout / Payment"),
1109
+ (["settings", "profile", "account", "preferences", "config"], "Settings / Profile"),
1110
+ (["landing", "marketing", "homepage", "hero", "home", "promo"], "Landing / Marketing"),
1111
+ (["login", "signin", "signup", "register", "auth", "password"], "Authentication"),
1112
+ (["pricing", "plans", "subscription", "tiers", "packages"], "Pricing / Plans"),
1113
+ (["blog", "article", "post", "news", "content", "story"], "Blog / Article"),
1114
+ (["product", "item", "detail", "pdp", "shop", "store"], "Product Detail"),
1115
+ (["search", "results", "browse", "filter", "catalog", "list"], "Search Results"),
1116
+ (["empty", "404", "error", "not found", "zero"], "Empty State"),
1117
+ ]
1118
+
1119
+ for keywords, page_type in page_patterns:
1120
+ if any(kw in context_lower for kw in keywords):
1121
+ return page_type
1122
+
1123
+ # Fallback: try to infer from style results
1124
+ if style_results:
1125
+ style_name = style_results[0].get("Style Category", "").lower()
1126
+ best_for = style_results[0].get("Best For", "").lower()
1127
+
1128
+ if "dashboard" in best_for or "data" in best_for:
1129
+ return "Dashboard / Data View"
1130
+ elif "landing" in best_for or "marketing" in best_for:
1131
+ return "Landing / Marketing"
1132
+
1133
+ return "General"
1134
+
1135
+
1136
+ # ============ CLI SUPPORT ============
1137
+ if __name__ == "__main__":
1138
+ import argparse
1139
+
1140
+ parser = argparse.ArgumentParser(description="Generate Design System")
1141
+ parser.add_argument("query", help="Search query (e.g., 'SaaS dashboard')")
1142
+ parser.add_argument("--project-name", "-p", type=str, default=None, help="Project name")
1143
+ parser.add_argument("--format", "-f", choices=["ascii", "markdown"], default="ascii", help="Output format")
1144
+
1145
+ args = parser.parse_args()
1146
+
1147
+ result = generate_design_system(args.query, args.project_name, args.format)
1148
+ print(result)