@litfamily/litmuse 0.1.11 → 0.1.13

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 (1036) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +260 -105
  3. package/README_ko-KR.md +260 -105
  4. package/bin/litmuse.mjs +10 -4
  5. package/lib/bundle.mjs +1 -1
  6. package/lib/doctor.mjs +31 -31
  7. package/lib/extensions.mjs +504 -0
  8. package/lib/install.mjs +38 -1
  9. package/lib/paths.mjs +1 -0
  10. package/lib/safe-write.mjs +1 -1
  11. package/package.json +2 -2
  12. package/plugin/.muse-plugin/plugin.json +11 -11
  13. package/plugin/hooks/lib/digest.mjs +4 -7
  14. package/plugin/hooks/lib/extensions.mjs +80 -0
  15. package/plugin/hooks/lib/moved.mjs +42 -0
  16. package/plugin/hooks/post-tool-use.mjs +0 -4
  17. package/plugin/hooks/session-start.mjs +6 -1
  18. package/plugin/hooks/stop.mjs +1 -7
  19. package/plugin/hooks/user-prompt-submit.mjs +4 -4
  20. package/plugin/skills/frontend-ui-ux/SKILL.md +85 -234
  21. package/plugin/skills/lit-diagram-drawer/SKILL.md +69 -200
  22. package/plugin/skills/lit-docx/SKILL.md +65 -225
  23. package/plugin/skills/lit-pptx/SKILL.md +64 -266
  24. package/plugin/skills/lit-schematic/SKILL.md +69 -212
  25. package/plugin/skills/lit-scientific-visualization/SKILL.md +90 -229
  26. package/plugin/skills/lit-typographic-motion/SKILL.md +76 -162
  27. package/plugin/skills/readme-studio/SKILL.md +94 -113
  28. package/plugin/skills/visual-qa/SKILL.md +94 -188
  29. package/lib/runtime.mjs +0 -73
  30. package/plugin/hooks/lib/motion.mjs +0 -156
  31. package/plugin/lib/office-runtime-lock/package-lock.json +0 -793
  32. package/plugin/lib/office-runtime-lock/package.json +0 -12
  33. package/plugin/lib/office-runtime-lock/requirements.lock +0 -15
  34. package/plugin/lib/office-runtime.mjs +0 -274
  35. package/plugin/lib/office_data.py +0 -493
  36. package/plugin/lib/office_runtime_bootstrap.py +0 -76
  37. package/plugin/lib/ooxml_integrity.py +0 -199
  38. package/plugin/lib/pdf_fonts.py +0 -91
  39. package/plugin/lib/render_pages.py +0 -133
  40. package/plugin/lib/strict-json.mjs +0 -143
  41. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
  42. package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
  43. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
  44. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
  45. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
  46. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
  47. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
  48. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
  49. package/plugin/skills/frontend-ui-ux/kit/components.css +0 -414
  50. package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
  51. package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  52. package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  53. package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  54. package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  55. package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  56. package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  57. package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  58. package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  59. package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
  60. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
  61. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
  62. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
  63. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
  64. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -92
  65. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -93
  66. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -579
  67. package/plugin/skills/frontend-ui-ux/references/composition.md +0 -85
  68. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -264
  69. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -80
  70. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -79
  71. package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
  72. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
  73. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
  74. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
  75. package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
  76. package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
  77. package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
  78. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
  79. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
  80. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
  81. package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
  82. package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
  83. package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
  84. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
  85. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
  86. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
  87. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
  88. package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
  89. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
  90. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
  91. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
  92. package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
  93. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
  94. package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
  95. package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
  96. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
  97. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
  98. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
  99. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
  100. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
  101. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
  102. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
  103. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
  104. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
  105. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
  106. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
  107. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
  108. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
  109. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
  110. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
  111. package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
  112. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
  113. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
  114. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
  115. package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
  116. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
  117. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
  118. package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
  119. package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
  120. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
  121. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
  122. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
  123. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
  124. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
  125. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
  126. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
  127. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
  128. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
  129. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
  130. package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
  131. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
  132. package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
  133. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
  134. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
  135. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
  136. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
  137. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
  138. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
  139. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
  140. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
  141. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
  142. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
  143. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
  144. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
  145. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
  146. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
  147. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
  148. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
  149. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
  150. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
  151. package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
  152. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
  153. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
  154. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
  155. package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
  156. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
  157. package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
  158. package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
  159. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
  160. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
  161. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
  162. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
  163. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
  164. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
  165. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
  166. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
  167. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
  168. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
  169. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
  170. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
  171. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  172. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
  173. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
  174. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
  175. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
  176. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
  177. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
  178. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  179. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
  180. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
  181. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  182. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  183. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  184. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
  185. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  186. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  187. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
  188. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  189. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
  190. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  191. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  192. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  193. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  194. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  195. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  196. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  197. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
  198. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  199. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  200. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  201. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
  202. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  203. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  204. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  205. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  206. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  207. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  208. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -126
  209. package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
  210. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -109
  211. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -92
  212. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -47
  213. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -130
  214. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -92
  215. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
  216. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
  217. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -93
  218. package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -84
  219. package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -17
  220. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -97
  221. package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -150
  222. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -84
  223. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -86
  224. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
  225. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
  226. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
  227. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
  228. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
  229. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
  230. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
  231. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
  232. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
  233. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  234. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  235. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
  236. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  237. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  238. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
  239. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
  240. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
  241. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
  242. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
  243. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
  244. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
  245. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
  246. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
  247. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
  248. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
  249. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
  250. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
  251. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
  252. package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -84
  253. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -51
  254. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
  255. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
  256. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
  257. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -202
  258. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
  259. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
  260. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
  261. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
  262. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
  263. package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  264. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
  265. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
  266. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
  267. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
  268. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
  269. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
  270. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -133
  271. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -341
  272. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
  273. package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  274. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
  275. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
  276. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
  277. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
  278. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
  279. package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
  280. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  281. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  282. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  283. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  284. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  285. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  286. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  287. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  288. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  289. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  290. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  291. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  292. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  293. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  294. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  295. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  296. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  297. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  298. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  299. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  300. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  301. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  302. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  303. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  304. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  305. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  306. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  307. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  308. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  309. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  310. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  311. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  312. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  313. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  314. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  315. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  316. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  317. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  318. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  319. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  320. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  321. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  322. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  323. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  324. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  325. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  326. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  327. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  328. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  329. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  330. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  331. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  332. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  333. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  334. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  335. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  336. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  337. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  338. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  339. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  340. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  341. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  342. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  343. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  344. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  345. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  346. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  347. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  348. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  349. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  350. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  351. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  352. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  353. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  354. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  355. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  356. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  357. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  358. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  359. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  360. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  361. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  362. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  363. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  364. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  365. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  366. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  367. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  368. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  369. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  370. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  371. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  372. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  373. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  374. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  375. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  376. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  377. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  378. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  379. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  380. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  381. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  382. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  383. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  384. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  385. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  386. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  387. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  388. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  389. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  390. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  391. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  392. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  393. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  394. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  395. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  396. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  397. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  398. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  399. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  400. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  401. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  402. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  403. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  404. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  405. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  406. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  407. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  408. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  409. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  410. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  411. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  412. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  413. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  414. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  415. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  416. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  417. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  418. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  419. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  420. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  421. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  422. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  423. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  424. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  425. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  426. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  427. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  428. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  429. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  430. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  431. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  432. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  433. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  434. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  435. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  436. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  437. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  438. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  439. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  440. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  441. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  442. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  443. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  444. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  445. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  446. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  447. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  448. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  449. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  450. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  451. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  452. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  453. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  454. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  455. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  456. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  457. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  458. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  459. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  460. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  461. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  462. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  463. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  464. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  465. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  466. package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
  467. package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
  468. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  469. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  470. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  471. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  472. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  473. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  474. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  475. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  476. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  477. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  478. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  479. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  480. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  481. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  482. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  483. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  484. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  485. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  486. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  487. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  488. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  489. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  490. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  491. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  492. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  493. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  494. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  495. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  496. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  497. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  498. package/plugin/skills/lit-diagram-drawer/references/export.md +0 -29
  499. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  500. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  501. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  502. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  503. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  504. package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
  505. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  506. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  507. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  508. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  509. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  510. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  511. package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
  512. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  513. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -67
  514. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  515. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  516. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  517. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  518. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  519. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  520. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  521. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  522. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  523. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  524. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  525. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  526. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  527. package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
  528. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  529. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  530. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  531. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  532. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  533. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  534. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  535. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  536. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  537. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  538. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  539. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  540. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  541. package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
  542. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  543. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  544. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  545. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  546. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  547. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  548. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  549. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  550. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  551. package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
  552. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  553. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  554. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  555. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  556. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  557. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  558. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  559. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  560. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  561. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  562. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  563. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  564. package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
  565. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  566. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  567. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  568. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  569. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  570. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  571. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  572. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  573. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  574. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  575. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  576. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -59
  577. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  578. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  579. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  580. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  581. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  582. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
  583. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -275
  584. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
  585. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  586. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  587. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  588. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
  589. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  590. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  591. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  592. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  593. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  594. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  595. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  596. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  597. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  598. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  599. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
  600. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  601. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  602. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  603. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  604. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  605. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  606. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  607. package/plugin/skills/lit-docx/NOTICE +0 -33
  608. package/plugin/skills/lit-docx/references/components.md +0 -207
  609. package/plugin/skills/lit-docx/references/direction-step.md +0 -277
  610. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
  611. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -105
  612. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -164
  613. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -138
  614. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -55
  615. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -130
  616. package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
  617. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -123
  618. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -45
  619. package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -42
  620. package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -17
  621. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -37
  622. package/plugin/skills/lit-docx/references/page-composition.md +0 -221
  623. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  624. package/plugin/skills/lit-docx/references/slop_rules.md +0 -35
  625. package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -143
  626. package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -142
  627. package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -148
  628. package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -137
  629. package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -140
  630. package/plugin/skills/lit-docx/references/tonalities/report.md +0 -156
  631. package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
  632. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
  633. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -302
  634. package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
  635. package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
  636. package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
  637. package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
  638. package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
  639. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
  640. package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
  641. package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
  642. package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
  643. package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
  644. package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  645. package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
  646. package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  647. package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
  648. package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
  649. package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -39
  650. package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
  651. package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -40
  652. package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
  653. package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -39
  654. package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
  655. package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -39
  656. package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
  657. package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -39
  658. package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
  659. package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
  660. package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
  661. package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
  662. package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
  663. package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
  664. package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
  665. package/plugin/skills/lit-pptx/NOTICE +0 -38
  666. package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  667. package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  668. package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  669. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  670. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  671. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  672. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  673. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  674. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
  675. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
  676. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  677. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  678. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  679. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
  680. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  681. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  682. package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
  683. package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
  684. package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
  685. package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
  686. package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
  687. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
  688. package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
  689. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -110
  690. package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
  691. package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
  692. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
  693. package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -164
  694. package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
  695. package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
  696. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
  697. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
  698. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
  699. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
  700. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
  701. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
  702. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
  703. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
  704. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
  705. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
  706. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
  707. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
  708. package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
  709. package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
  710. package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
  711. package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
  712. package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
  713. package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
  714. package/plugin/skills/lit-pptx/references/layout-families.md +0 -198
  715. package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
  716. package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
  717. package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
  718. package/plugin/skills/lit-pptx/references/title-treatments.md +0 -109
  719. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
  720. package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -112
  721. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
  722. package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -118
  723. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
  724. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
  725. package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -125
  726. package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -115
  727. package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
  728. package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
  729. package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -109
  730. package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
  731. package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -132
  732. package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
  733. package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1078
  734. package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
  735. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
  736. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
  737. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
  738. package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
  739. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  740. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  741. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  742. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
  743. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
  744. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -510
  745. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  746. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  747. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
  748. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
  749. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
  750. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
  751. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  752. package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  753. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  754. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  755. package/plugin/skills/lit-pptx/scripts/package.json +0 -4
  756. package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
  757. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
  758. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  759. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
  760. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  761. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  762. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
  763. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  764. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  765. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  766. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  767. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
  768. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  769. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  770. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  771. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  772. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  773. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  774. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  775. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  776. package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  777. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  778. package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
  779. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
  780. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
  781. package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  782. package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  783. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  784. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  785. package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  786. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  787. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  788. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -14
  789. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -8
  790. package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -22
  791. package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -81
  792. package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -25
  793. package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -24
  794. package/plugin/skills/lit-schematic/references/journal-figures.md +0 -19
  795. package/plugin/skills/lit-schematic/references/kit-api.md +0 -42
  796. package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -20
  797. package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -30
  798. package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -35
  799. package/plugin/skills/lit-schematic/references/verification.md +0 -31
  800. package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -13
  801. package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -49
  802. package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -18
  803. package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -58
  804. package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -10
  805. package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -349
  806. package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -497
  807. package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -39
  808. package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -25
  809. package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -8
  810. package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -21
  811. package/plugin/skills/lit-schematic/scripts/render.mjs +0 -38
  812. package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -73
  813. package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
  814. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
  815. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
  816. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
  817. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
  818. package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
  819. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -283
  820. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
  821. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
  822. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
  823. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  824. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
  825. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
  826. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
  827. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
  828. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -225
  829. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
  830. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
  831. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
  832. package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
  833. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
  834. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
  835. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
  836. package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
  837. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
  838. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
  839. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
  840. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
  841. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
  842. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
  843. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
  844. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
  845. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
  846. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
  847. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
  848. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -108
  849. package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -218
  850. package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -144
  851. package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
  852. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -158
  853. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -330
  854. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -102
  855. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -213
  856. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -346
  857. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
  858. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
  859. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -106
  860. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
  861. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -373
  862. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
  863. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
  864. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -102
  865. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -36
  866. package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -120
  867. package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
  868. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -164
  869. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
  870. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
  871. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
  872. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -348
  873. package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
  874. package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
  875. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
  876. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
  877. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
  878. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -179
  879. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -123
  880. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -295
  881. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -430
  882. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
  883. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
  884. package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -214
  885. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
  886. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -145
  887. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
  888. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
  889. package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
  890. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -37
  891. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -288
  892. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
  893. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -157
  894. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -741
  895. package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  896. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  897. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  898. package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  899. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
  900. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
  901. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
  902. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
  903. package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
  904. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
  905. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
  906. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
  907. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
  908. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
  909. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
  910. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
  911. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
  912. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
  913. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
  914. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
  915. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
  916. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
  917. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
  918. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
  919. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
  920. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
  921. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
  922. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
  923. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  924. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  925. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  926. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  927. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  928. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  929. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  930. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  931. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  932. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  933. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  934. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  935. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
  936. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
  937. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  938. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  939. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
  940. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  941. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  942. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  943. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  944. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  945. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
  946. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  947. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  948. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
  949. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  950. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  951. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
  952. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  953. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
  954. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  955. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
  956. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  957. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
  958. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -67
  959. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
  960. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -95
  961. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
  962. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -67
  963. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
  964. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
  965. package/plugin/skills/lit-typographic-motion/references/cover.md +0 -475
  966. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -100
  967. package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
  968. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
  969. package/plugin/skills/lit-typographic-motion/references/look.md +0 -157
  970. package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -98
  971. package/plugin/skills/lit-typographic-motion/references/sound.md +0 -181
  972. package/plugin/skills/lit-typographic-motion/references/stage.md +0 -310
  973. package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
  974. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -130
  975. package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -189
  976. package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
  977. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -99
  978. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
  979. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -206
  980. package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
  981. package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
  982. package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
  983. package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
  984. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
  985. package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
  986. package/plugin/skills/readme-studio/references/production-interview.md +0 -11
  987. package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
  988. package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
  989. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
  990. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
  991. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
  992. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
  993. package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
  994. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
  995. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
  996. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  997. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
  998. package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
  999. package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
  1000. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1001. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
  1002. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
  1003. package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1004. package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
  1005. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
  1006. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
  1007. package/plugin/skills/visual-qa/references/capture-playbook.md +0 -126
  1008. package/plugin/skills/visual-qa/references/complete-contract.md +0 -677
  1009. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
  1010. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
  1011. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
  1012. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
  1013. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
  1014. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
  1015. package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
  1016. package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
  1017. package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
  1018. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
  1019. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
  1020. package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
  1021. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
  1022. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
  1023. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
  1024. package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
  1025. package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
  1026. package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
  1027. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
  1028. package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
  1029. package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
  1030. package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
  1031. package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
  1032. package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
  1033. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
  1034. package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
  1035. package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
  1036. package/plugin/skills/visual-qa/scripts/types.ts +0 -54
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env node
2
- import fs from 'node:fs';
3
- import path from 'node:path';
4
- import { analyzeFile, root } from './diagram-metrics.mjs';
5
- import { buildBlockRegistry } from './block-registry.mjs';
6
- import { sequenceQuality } from './visual-quality.mjs';
7
-
8
- const args=process.argv.slice(2);
9
- const typeArg=args.find((x)=>x.startsWith('--type='));
10
- const type=typeArg?.slice('--type='.length);
11
- const file=args.find((x)=>!x.startsWith('--'));
12
- if(!type||!file){console.error('Usage: node scripts/verify-type.mjs --type=<catalog-id> <file.html|file.svg>');process.exit(2);}
13
- const catalog=JSON.parse(fs.readFileSync(path.join(root,'references/type-catalog.json'),'utf8'));
14
- const entry=catalog.entries.find((x)=>x.id===type);
15
- if(!entry){console.error('TYPE_UNKNOWN '+type);process.exit(2);}
16
- const source=fs.readFileSync(file,'utf8');
17
- const result=analyzeFile(file);
18
- const issues=[];
19
- if(!source.includes('data-type="'+type+'"')&&!source.includes('id="diagram-'+type+'-')) issues.push('TYPE_ID_MISMATCH');
20
- if(!fs.existsSync(path.join(root,'references',entry.reference))) issues.push('TYPE_GUIDE_MISSING');
21
- if(!/data-variant\s*=\s*["'](?:light|dark|full)["']/i.test(source)&&!/id="diagram-[a-z0-9-]+-(?:light|dark|full)"/i.test(source)) issues.push('VARIANT_MISSING');
22
- if(entry.family==='quantitative'&&result.textCount<3) issues.push('QUANTITATIVE_LABELS_MISSING');
23
- if(type==='heatmap'&&(source.match(/<rect\b/gi)||[]).length<16) issues.push('HEATMAP_GRID_TOO_SMALL');
24
- if(type==='treemap'&&(source.match(/<rect\b/gi)||[]).length<6) issues.push('TREEMAP_TILES_TOO_FEW');
25
- if(type==='sankey'&&!/<path\b[^>]*stroke-width\s*=\s*["'][1-9]/i.test(source)) issues.push('SANKEY_RIBBON_WIDTH_MISSING');
26
- if(type==='waterfall'&&(source.match(/<rect\b/gi)||[]).length<5) issues.push('WATERFALL_STEPS_TOO_FEW');
27
- if(type==='beeswarm'&&(source.match(/<circle\b/gi)||[]).length<20) issues.push('BEESWARM_MARKS_TOO_FEW');
28
- if(type==='bubble'&&(source.match(/<circle\b/gi)||[]).length<6) issues.push('BUBBLE_MARKS_TOO_FEW');
29
- if(type==='polar'&&!/<polygon\b/i.test(source)) issues.push('POLAR_SHAPE_MISSING');
30
- if(type==='radar'&&!/<polygon\b/i.test(source)) issues.push('RADAR_SHAPE_MISSING');
31
- if(type==='sequence'||type==='sequence-oauth')issues.push(...sequenceQuality(source).map((issue)=>'SEQUENCE '+issue));
32
- if(type==='tree-block-decomposition'){
33
- try{
34
- const svg=source.match(/<svg\b[^>]*>[\s\S]*?<\/svg>/i)?.[0]||'';
35
- const registry=buildBlockRegistry(svg,path.basename(file));
36
- const visible=[...svg.matchAll(/<text\b[^>]*>([\s\S]*?)<\/text>/gi)].map((match)=>match[1].replace(/<[^>]*>/g,'').trim());
37
- for(const block of registry.blocks){
38
- for(const field of ['name','input','output','constraint','assumption','impl']) if(!block[field])issues.push('BLOCK_FIELD_MISSING '+block.id+'.'+field);
39
- if(!visible.includes(block.id))issues.push('BLOCK_BADGE_MISSING '+block.id);
40
- if(block.name&&!visible.includes(block.name))issues.push('BLOCK_NAME_MISSING '+block.id);
41
- }
42
- }catch(error){issues.push('BLOCK_REGISTRY_INVALID '+error.message);}
43
- }
44
- if(type==='policy-trace-animated'&&!/(rule|policy|allow|deny)/i.test(source)) issues.push('POLICY_TRACE_SEMANTIC_MISSING');
45
- if(type==='queue-animated'&&!/(queue|buffer|drain|fan-in)/i.test(source)) issues.push('QUEUE_SEMANTIC_MISSING');
46
- if(type==='paved-road-animated'&&!/(boundary|guardrail|secure|policy)/i.test(source)) issues.push('PAVED_ROAD_SEMANTIC_MISSING');
47
- if(issues.length){console.error('TYPE_FAIL '+type+' '+file);for(const issue of issues)console.error('- '+issue);process.exitCode=1;}
48
- else console.log('TYPE_PASS '+type+' family='+entry.family);
@@ -1,226 +0,0 @@
1
- const BOUNDARY_EDGE_PADDING=4;
2
- const BOUNDARY_EDGE_MIN_OVERLAP=12;
3
- const ARROWHEAD_TARGET_TOLERANCE=2;
4
-
5
- const decode=(s)=>s.replaceAll('&amp;','&').replaceAll('&lt;','<').replaceAll('&gt;','>').replaceAll('&quot;','"').replaceAll('&apos;',"'").replaceAll('&#39;',"'");
6
- const attributes=(s)=>Object.fromEntries([...s.matchAll(/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g)].map((m)=>[m[1],decode(m[2]??m[3]??'')]));
7
- const clean=(s)=>decode(s.replace(/<[^>]*>/g,' ').replace(/\s+/g,' ').trim());
8
- const widthOf=(text,size)=>[...text].reduce((n,c)=>n+(/\s/.test(c)?.28:/[\u1100-\u11ff\u3130-\u318f\uac00-\ud7af]/.test(c)?.98:/[ilI.,:;!|]/.test(c)?.32:/[MW@#%]/.test(c)?.82:.56),0)*size;
9
-
10
-
11
- function visibleSvgText(svg){
12
- return [...svg.matchAll(/<text\b([^>]*)>([\s\S]*?)<\/text>/gi)].map((m)=>{
13
- const a=attributes(m[1]),label=clean(m[2]),size=Number(a['font-size']||16),textAnchor=a['text-anchor']||'start',anchor={x:Number(a.x||0),y:Number(a.y||0)},w=widthOf(label,size),x=anchor.x-(textAnchor==='middle'?w/2:textAnchor==='end'?w:0),y=anchor.y-size*.82;
14
- return {label,size,role:a['data-role']||'',anchor,edgeFor:a['data-edge-for']||'',boundaryFor:a['data-boundary-for']||a['data-group-for']||'',nodeFor:a['data-node-id']||'',x,y,w,h:size*1.22};
15
- }).filter((t)=>t.label);
16
- }
17
- function svgContent(source){return [...source.matchAll(/<svg\b[^>]*>[\s\S]*?<\/svg>/gi)].map((m)=>m[0]).join('\n');}
18
- function parseRoutes(svg){
19
- const routes=[];
20
- for(const m of svg.matchAll(/<(line|path)\b([^>]*)>/gi)){
21
- const a=attributes(m[2]); if(!a['data-from']||!a['data-to'])continue;
22
- let segments=[];
23
- if(m[1].toLowerCase()==='line'){
24
- const v=['x1','y1','x2','y2'].map((k)=>Number(a[k])); if(v.every(Number.isFinite))segments=[[v[0],v[1],v[2],v[3]]];
25
- }else if(a.d){
26
- const parts=a.d.match(/[a-zA-Z]|[-+]?(?:\d*\.\d+|\d+\.?\d*)(?:e[-+]?\d+)?/gi)||[];let i=0,cmd='',x=0,y=0,px=0,py=0;
27
- while(i<parts.length){if(/^[a-z]$/i.test(parts[i]))cmd=parts[i++];if(!cmd)break;const rel=cmd===cmd.toLowerCase(),up=cmd.toUpperCase();
28
- if(up==='M'||up==='L'){if(i+1>=parts.length||/^[a-z]$/i.test(parts[i])){cmd='';continue;}const nx=Number(parts[i++])+(rel?x:0),ny=Number(parts[i++])+(rel?y:0);if(up==='L')segments.push([x,y,nx,ny]);x=nx;y=ny;}
29
- else if(up==='H'){if(i>=parts.length||/^[a-z]$/i.test(parts[i])){cmd='';continue;}const nx=Number(parts[i++])+(rel?x:0);segments.push([x,y,nx,y]);x=nx;}
30
- else if(up==='V'){if(i>=parts.length||/^[a-z]$/i.test(parts[i])){cmd='';continue;}const ny=Number(parts[i++])+(rel?y:0);segments.push([x,y,x,ny]);y=ny;}
31
- else if(up==='C'){if(i+5>=parts.length||/^[a-z]$/i.test(parts[i])){cmd='';continue;}const p=(n)=>[Number(parts[n])+(rel?x:0),Number(parts[n+1])+(rel?y:0)],start=[x,y],c1=p(i),c2=p(i+2),end=p(i+4);i+=6;let previous=start;for(let step=1;step<=16;step++){const t=step/16,u=1-t,next=[u*u*u*start[0]+3*u*u*t*c1[0]+3*u*t*t*c2[0]+t*t*t*end[0],u*u*u*start[1]+3*u*u*t*c1[1]+3*u*t*t*c2[1]+t*t*t*end[1]];segments.push([previous[0],previous[1],next[0],next[1]]);previous=next;}x=end[0];y=end[1];}
32
- else {cmd='';while(i<parts.length&&!/^[a-z]$/i.test(parts[i]))i++;}
33
- }
34
- }
35
- if(segments.length)routes.push({from:a['data-from'],to:a['data-to'],label:a['data-label']||'',segments,markerStart:a['marker-start']||'',markerEnd:a['marker-end']||'',strokeWidth:Number(a['stroke-width']||1)});
36
- }
37
- return routes;
38
- }
39
- function rectangles(svg){
40
- const nodes=[];
41
- for(const m of svg.matchAll(/<rect\b([^>]*)\/?\s*>/gi)){
42
- const a=attributes(m[1]);if(!a['data-node-id'])continue;
43
- const box={id:a['data-node-id'],type:a['data-node-type']||'',outcomes:(a['data-outcomes']||'').split('|').map((value)=>value.trim()).filter(Boolean),fill:a.fill||'',display:a.display||'',x:Number(a.x||0),y:Number(a.y||0),w:Number(a.width||0),h:Number(a.height||0)};
44
- if(box.w>0&&box.h>0)nodes.push(box);
45
- }
46
- return nodes;
47
- }
48
- function segmentHitsBox(s,b,pad=0){
49
- const [x1,y1,x2,y2]=s,loX=Math.min(x1,x2),hiX=Math.max(x1,x2),loY=Math.min(y1,y2),hiY=Math.max(y1,y2),left=b.x-pad,right=b.x+b.w+pad,top=b.y-pad,bottom=b.y+b.h+pad;
50
- if(x1===x2)return x1>=left&&x1<=right&&hiY>=top&&loY<=bottom;
51
- if(y1===y2)return y1>=top&&y1<=bottom&&hiX>=left&&loX<=right;
52
- const steps=24;for(let i=0;i<=steps;i++){const t=i/steps,x=x1+(x2-x1)*t,y=y1+(y2-y1)*t;if(x>=left&&x<=right&&y>=top&&y<=bottom)return true;}return false;
53
- }
54
- function segmentHitsText(s,t,pad=1){
55
- const b={x:t.x-pad,y:t.y-pad,w:t.w+pad*2,h:t.h+pad*2};return segmentHitsBox(s,b,0);
56
- }
57
- function textOverlapsNode(text,node,pad=1){return text.x<node.x+node.w+pad&&text.x+text.w>node.x-pad&&text.y<node.y+node.h+pad&&text.y+text.h>node.y-pad;}
58
- function gap(a,b){const dx=Math.max(0,a.x-(b.x+b.w),b.x-(a.x+a.w)),dy=Math.max(0,a.y-(b.y+b.h),b.y-(a.y+a.h));return Math.hypot(dx,dy);}
59
-
60
- function boundaryOutlines(svg){
61
- const outlines=[];
62
- const add=(a)=>{
63
- const markers=['data-trust-boundary','data-boundary','data-boundary-name','data-group-boundary','data-group-name','data-group-label','data-group-id'];
64
- const classMarker=/\b(?:boundary|group)(?:[-_][\w-]+)?\b/i.test(a.class||'');
65
- if(!markers.some((key)=>Object.hasOwn(a,key))&&!classMarker)return;
66
- const labels=[a['data-trust-boundary'],a['data-boundary-name'],a['data-group-boundary'],a['data-group-name'],a['data-group-label']].filter((value)=>value&&value!=='true');
67
- const x=Number(a.x||0),y=Number(a.y||0),w=Number(a.width||0),h=Number(a.height||0);
68
- if(w>0&&h>0)outlines.push({id:a['data-group-id']||a.id||(a['data-boundary']!=='true'&&a['data-boundary'])||labels[0]||'outline',labels,x,y,w,h,strokeWidth:Number(a['stroke-width']||1)});
69
- };
70
- for(const match of svg.matchAll(/<rect\b([^>]*)\/?\s*>/gi))add(attributes(match[1]));
71
- for(const match of svg.matchAll(/<g\b([^>]*)>([\s\S]*?)<\/g>/gi)){
72
- const group=attributes(match[1]);
73
- if(!['data-trust-boundary','data-boundary','data-boundary-name','data-group-boundary','data-group-name','data-group-label','data-group-id'].some((key)=>Object.hasOwn(group,key)))continue;
74
- const rect=match[2].match(/<rect\b([^>]*)\/?\s*>/i);
75
- if(rect)add({...attributes(rect[1]),...group});
76
- }
77
- return outlines;
78
- }
79
-
80
- function pointSegmentDistance(point,segment){
81
- const [x1,y1,x2,y2]=segment,dx=x2-x1,dy=y2-y1,length=dx*dx+dy*dy;
82
- const t=length?Math.max(0,Math.min(1,((point.x-x1)*dx+(point.y-y1)*dy)/length)):0;
83
- return Math.hypot(point.x-(x1+t*dx),point.y-(y1+t*dy));
84
- }
85
- function routeDistance(point,route){return Math.min(...route.segments.map((segment)=>pointSegmentDistance(point,segment)));}
86
- function isBoundaryLabel(text,outlines){return text.role==='boundary'||text.boundaryFor||outlines.some((outline)=>outline.labels.includes(text.label)||outline.id===text.boundaryFor);}
87
- function outlineEdges(outline){return [[outline.x,outline.y,outline.x+outline.w,outline.y],[outline.x+outline.w,outline.y,outline.x+outline.w,outline.y+outline.h],[outline.x+outline.w,outline.y+outline.h,outline.x,outline.y+outline.h],[outline.x,outline.y+outline.h,outline.x,outline.y]];}
88
- function textHitsOutline(text,outline){return outlineEdges(outline).some((edge)=>segmentHitsText(edge,text,outline.strokeWidth/2+.5));}
89
- function segmentAlongOutline(segment,outline){
90
- const [x1,y1,x2,y2]=segment,loX=Math.min(x1,x2),hiX=Math.max(x1,x2),loY=Math.min(y1,y2),hiY=Math.max(y1,y2),right=outline.x+outline.w,bottom=outline.y+outline.h;
91
- if(Math.abs(y1-y2)<=1){const overlap=Math.min(hiX,right)-Math.max(loX,outline.x);return overlap>BOUNDARY_EDGE_MIN_OVERLAP&&(Math.abs(y1-outline.y)<=BOUNDARY_EDGE_PADDING||Math.abs(y1-bottom)<=BOUNDARY_EDGE_PADDING);}
92
- if(Math.abs(x1-x2)<=1){const overlap=Math.min(hiY,bottom)-Math.max(loY,outline.y);return overlap>BOUNDARY_EDGE_MIN_OVERLAP&&(Math.abs(x1-outline.x)<=BOUNDARY_EDGE_PADDING||Math.abs(x1-right)<=BOUNDARY_EDGE_PADDING);}
93
- return false;
94
- }
95
- function markerPathPoints(d){
96
- const parts=d.match(/[a-zA-Z]|[-+]?(?:\d*\.\d+|\d+\.?\d*)(?:e[-+]?\d+)?/gi)||[],points=[];let i=0,cmd='',x=0,y=0;
97
- while(i<parts.length){if(/^[a-z]$/i.test(parts[i]))cmd=parts[i++];if(!cmd)break;const upper=cmd.toUpperCase(),relative=cmd===cmd.toLowerCase();
98
- if(upper==='M'||upper==='L'){if(i+1>=parts.length||/^[a-z]$/i.test(parts[i]))break;let nx=Number(parts[i++]),ny=Number(parts[i++]);if(relative){nx+=x;ny+=y;}x=nx;y=ny;points.push([x,y]);}
99
- else if(upper==='H'){if(i>=parts.length||/^[a-z]$/i.test(parts[i]))break;x=Number(parts[i++])+(relative?x:0);points.push([x,y]);}
100
- else if(upper==='V'){if(i>=parts.length||/^[a-z]$/i.test(parts[i]))break;y=Number(parts[i++])+(relative?y:0);points.push([x,y]);}
101
- else if(upper==='Z')cmd='';
102
- else {while(i<parts.length&&!/^[a-z]$/i.test(parts[i]))i++;cmd='';}
103
- }
104
- return points;
105
- }
106
- function markerDefinitions(svg){
107
- const markers=new Map();
108
- for(const match of svg.matchAll(/<marker\b([^>]*)>([\s\S]*?)<\/marker>/gi)){
109
- const a=attributes(match[1]),id=a.id;if(!id)continue;
110
- const points=[];
111
- for(const shape of match[2].matchAll(/<(path|polygon)\b([^>]*)>/gi)){
112
- const attrsForShape=attributes(shape[2]);
113
- if(shape[1].toLowerCase()==='polygon'){
114
- const values=(attrsForShape.points||'').match(/[-+]?(?:\d*\.\d+|\d+\.?\d*)(?:e[-+]?\d+)?/gi)||[];
115
- for(let i=0;i+1<values.length;i+=2)points.push([Number(values[i]),Number(values[i+1])]);
116
- }else if(attrsForShape.d){
117
- points.push(...markerPathPoints(attrsForShape.d));
118
- }
119
- }
120
- markers.set(id,{refX:Number(a.refX||0),refY:Number(a.refY||0),units:a.markerUnits||'strokeWidth',width:Number(a.markerWidth||0),height:Number(a.markerHeight||0),points,closed:/\bz\b/i.test(match[2])||/<polygon\b/i.test(match[2])});
121
- }
122
- return markers;
123
- }
124
- function markerOverlapsTarget(route,target,markers){
125
- const match=route.markerEnd.match(/url\(\s*["']?#([^\s)'"`]+)["']?\s*\)/i),marker=match&&markers.get(match[1]),segment=route.segments.at(-1);
126
- if(!segment)return false;
127
- const [x1,y1,x2,y2]=segment,length=Math.hypot(x2-x1,y2-y1)||1,ux=(x2-x1)/length,uy=(y2-y1)/length,nx=-uy,ny=ux;
128
- if(!marker?.points.length){const reach=route.strokeWidth;return segmentHitsBox([x2+ux*reach,y2+uy*reach,x2+ux*reach,y2+uy*reach],target,-1);}
129
- const scale=marker.units==='userSpaceOnUse'?1:route.strokeWidth;
130
- const points=marker.points.map(([x,y])=>[x2+ux*(x-marker.refX)*scale+nx*(y-marker.refY)*scale,y2+uy*(x-marker.refX)*scale+ny*(y-marker.refY)*scale]);
131
- if(points.some(([x,y])=>x>target.x+1&&x<target.x+target.w-1&&y>target.y+1&&y<target.y+target.h-1))return true;
132
- const segments=points.slice(1).map((point,index)=>[points[index][0],points[index][1],point[0],point[1]]);
133
- if(marker.closed&&points.length>2)segments.push([points.at(-1)[0],points.at(-1)[1],points[0][0],points[0][1]]);
134
- return segments.some((line)=>segmentHitsBox(line,target,-1));
135
- }
136
- function markerFor(route,edge,markers){
137
- const value=edge==='end'?route.markerEnd:route.markerStart,match=value.match(/url\(\s*["']?#([^\s)'"`]+)["']?\s*\)/i);
138
- return match?markers.get(match[1]):null;
139
- }
140
- function markerScale(marker,route){return marker.units==='userSpaceOnUse'?1:route.strokeWidth;}
141
- function markerHeadLength(marker){
142
- if(!marker?.points.length)return 0;
143
- const xs=marker.points.map(([x])=>x);
144
- return Math.max(...xs)-Math.min(...xs);
145
- }
146
- function markerTip(route,marker,edge){
147
- const segment=edge==='end'?route.segments.at(-1):route.segments[0];
148
- if(!segment)return null;
149
- const [x1,y1,x2,y2]=segment,dx=x2-x1,dy=y2-y1,length=Math.hypot(dx,dy)||1,ux=dx/length,uy=dy/length;
150
- const anchor=edge==='end'?[x2,y2]:[x1,y1],direction=edge==='end'?1:-1;
151
- const forward=marker?.points.length?Math.max(...marker.points.map(([x])=>direction*(x-marker.refX)))*markerScale(marker,route):0;
152
- return [anchor[0]+direction*ux*forward,anchor[1]+direction*uy*forward];
153
- }
154
- function distanceToBoxBoundary(point,box){
155
- const [x,y]=point,candidates=[];
156
- if(y>=box.y-ARROWHEAD_TARGET_TOLERANCE&&y<=box.y+box.h+ARROWHEAD_TARGET_TOLERANCE)candidates.push(Math.abs(x-box.x),Math.abs(x-(box.x+box.w)));
157
- if(x>=box.x-ARROWHEAD_TARGET_TOLERANCE&&x<=box.x+box.w+ARROWHEAD_TARGET_TOLERANCE)candidates.push(Math.abs(y-box.y),Math.abs(y-(box.y+box.h)));
158
- if(candidates.length)return Math.min(...candidates);
159
- return Math.hypot(Math.max(box.x-x,0,x-(box.x+box.w)),Math.max(box.y-y,0,y-(box.y+box.h)));
160
- }
161
- function decisionBranchQuality(nodes,routes){
162
- const issues=[];
163
- for(const node of nodes.filter((item)=>item.type==='decision')){
164
- if(node.outcomes.length<2){issues.push('DECISION_OUTCOMES_MISSING '+node.id+' must name at least two outcomes');continue;}
165
- const labels=new Set(routes.filter((route)=>route.from===node.id).map((route)=>route.label).filter(Boolean));
166
- for(const outcome of node.outcomes)if(!labels.has(outcome))issues.push('DECISION_OUTCOME_MISSING '+node.id+' '+outcome);
167
- for(const label of labels)if(!node.outcomes.includes(label))issues.push('DECISION_OUTCOME_UNDECLARED '+node.id+' '+label);
168
- }
169
- return issues;
170
- }
171
-
172
- function routeLength(route){return route.segments.reduce((sum,[x1,y1,x2,y2])=>sum+Math.hypot(x2-x1,y2-y1),0);}
173
- function routeBends(route){
174
- const directions=route.segments.map(([x1,y1,x2,y2])=>{const dx=x2-x1,dy=y2-y1,length=Math.hypot(dx,dy);return length?{x:dx/length,y:dy/length}:null;}).filter(Boolean);
175
- let bends=0;
176
- for(let i=1;i<directions.length;i++)if(directions[i-1].x*directions[i].x+directions[i-1].y*directions[i].y<Math.SQRT1_2)bends++;
177
- return bends;
178
- }
179
- function routeManhattanDistance(route){
180
- const start=route.segments[0]?.slice(0,2),end=route.segments.at(-1)?.slice(2,4);
181
- return start&&end?Math.abs(start[0]-end[0])+Math.abs(start[1]-end[1])||null:null;
182
- }
183
- function alignedRouteKind(route,nodes){
184
- const from=nodes.find((node)=>node.id===route.from),to=nodes.find((node)=>node.id===route.to);
185
- if(!from||!to)return null;
186
- const sameRow=Math.abs(from.y+from.h/2-(to.y+to.h/2))<=1,sameColumn=Math.abs(from.x+from.w/2-(to.x+to.w/2))<=1;
187
- const horizontal=route.segments.every(([x1,y1,x2,y2])=>Math.abs(y1-y2)<=1),vertical=route.segments.every(([x1,y1,x2,y2])=>Math.abs(x1-x2)<=1);
188
- if(sameRow&&nodes.every((node)=>node===from||node===to||Math.abs(node.y+node.h/2-(from.y+from.h/2))>1||node.x+node.w/2<=Math.min(from.x+from.w/2,to.x+to.w/2)||node.x+node.w/2>=Math.max(from.x+from.w/2,to.x+to.w/2))&&!horizontal)return 'same-row';
189
- if(sameColumn&&nodes.every((node)=>node===from||node===to||Math.abs(node.x+node.w/2-(from.x+from.w/2))>1||node.y+node.h/2<=Math.min(from.y+from.h/2,to.y+to.h/2)||node.y+node.h/2>=Math.max(from.y+from.h/2,to.y+to.h/2))&&!vertical)return 'same-column';
190
- return null;
191
- }
192
- function routeCrossesBoundary(route,outline){
193
- const points=route.segments.flatMap(([x1,y1,x2,y2])=>[[x1,y1],[x2,y2],[(x1+x2)/2,(y1+y2)/2]]);
194
- const inside=points.some(([x,y])=>x>outline.x&&x<outline.x+outline.w&&y>outline.y&&y<outline.y+outline.h);
195
- const outside=points.some(([x,y])=>x<outline.x||x>outline.x+outline.w||y<outline.y||y>outline.y+outline.h);
196
- return inside&&outside;
197
- }
198
- function collinearOverlap(a,b){
199
- for(const [ax1,ay1,ax2,ay2] of a.segments)for(const [bx1,by1,bx2,by2] of b.segments){
200
- if(Math.abs(ay1-ay2)<=.5&&Math.abs(by1-by2)<=.5&&Math.abs(ay1-by1)<12){if(Math.min(Math.max(ax1,ax2),Math.max(bx1,bx2))-Math.max(Math.min(ax1,ax2),Math.min(bx1,bx2))>=12)return true;}
201
- if(Math.abs(ax1-ax2)<=.5&&Math.abs(bx1-bx2)<=.5&&Math.abs(ax1-bx1)<12){if(Math.min(Math.max(ay1,ay2),Math.max(by1,by2))-Math.max(Math.min(ay1,ay2),Math.min(by1,by2))>=12)return true;}
202
- }
203
- return false;
204
- }
205
- function segmentIntersectionPoint(a,b){
206
- const rx=a[2]-a[0],ry=a[3]-a[1],sx=b[2]-b[0],sy=b[3]-b[1],denominator=rx*sy-ry*sx;
207
- if(Math.abs(denominator)<1e-8)return null;
208
- const qx=b[0]-a[0],qy=b[1]-a[1],t=(qx*sy-qy*sx)/denominator,u=(qx*ry-qy*rx)/denominator;
209
- if(t< -1e-8||t>1+1e-8||u< -1e-8||u>1+1e-8)return null;
210
- return [a[0]+t*rx,a[1]+t*ry];
211
- }
212
- function routeEndpoints(route){
213
- return [{id:route.from,point:route.segments[0].slice(0,2)},{id:route.to,point:route.segments.at(-1).slice(2,4)}];
214
- }
215
- function routeCrossingPoints(a,b){
216
- const aEnds=routeEndpoints(a),bEnds=routeEndpoints(b),points=[];
217
- for(const first of a.segments)for(const second of b.segments){
218
- const point=segmentIntersectionPoint(first,second);
219
- if(!point)continue;
220
- const sharedNodeEndpoint=aEnds.some((left)=>bEnds.some((right)=>left.id===right.id&&Math.hypot(left.point[0]-right.point[0],left.point[1]-right.point[1])<=.5&&Math.hypot(left.point[0]-point[0],left.point[1]-point[1])<=.5));
221
- if(sharedNodeEndpoint||points.some((prior)=>Math.hypot(prior[0]-point[0],prior[1]-point[1])<=.5))continue;
222
- points.push(point);
223
- }
224
- return points;
225
- }
226
- export { BOUNDARY_EDGE_PADDING, ARROWHEAD_TARGET_TOLERANCE, attributes, widthOf, visibleSvgText, svgContent, parseRoutes, rectangles, boundaryOutlines, segmentHitsBox, segmentHitsText, textOverlapsNode, gap, routeDistance, isBoundaryLabel, textHitsOutline, segmentAlongOutline, markerDefinitions, markerOverlapsTarget, markerFor, markerScale, markerHeadLength, markerTip, distanceToBoxBoundary, decisionBranchQuality, routeLength, routeBends, routeManhattanDistance, alignedRouteKind, routeCrossesBoundary, collinearOverlap, routeCrossingPoints };
@@ -1,146 +0,0 @@
1
- import { sourceMetrics } from './diagram-metrics.mjs';
2
- import { OF_LIMITS } from './diagram-craft-rules.mjs';
3
-
4
- const MAX_EDGE_LABEL_ANCHOR_DISTANCE=24;
5
- const ARROWHEAD_CANVAS_FLOOR=12/1080;
6
- const ARROWHEAD_STROKE_MULTIPLE=5;
7
-
8
- const contamination=[
9
- /\blitfamily\b/i, /\b(?:generator|generated by|template|prototype)\b/i,
10
- /\bsource\s*:/i, /\bnotes?\s*:/i, /\bstatic\s+first\b/i,
11
- /\baccessible\s+labels\b/i, /\bone\s+accent\b/i, /\bfocal\b/i,
12
- /\b(?:light|dark|full)\s*[·|/]\s*static\b/i, /\bdesign\s+rules?\b/i,
13
- /^\s*show\b/i,
14
- ];
15
-
16
- import { BOUNDARY_EDGE_PADDING, ARROWHEAD_TARGET_TOLERANCE, attributes, widthOf, visibleSvgText, svgContent, parseRoutes, rectangles, boundaryOutlines, segmentHitsBox, segmentHitsText, textOverlapsNode, gap, routeDistance, isBoundaryLabel, textHitsOutline, segmentAlongOutline, markerDefinitions, markerOverlapsTarget, markerFor, markerScale, markerHeadLength, markerTip, distanceToBoxBoundary, decisionBranchQuality, routeLength, routeBends, routeManhattanDistance, alignedRouteKind, routeCrossesBoundary, collinearOverlap, routeCrossingPoints } from './visual-quality-geometry.mjs';
17
-
18
- function officeDiagramChecks(texts, nodes, outlines, viewBox) {
19
- const issues = [], advisories = [];
20
- if (outlines.length >= 2) {
21
- const group = (node) => outlines.filter((outline) => node.x + node.w / 2 >= outline.x && node.x + node.w / 2 <= outline.x + outline.w && node.y + node.h / 2 >= outline.y && node.y + node.h / 2 <= outline.y + outline.h).sort((a,b)=>a.w*a.h-b.w*b.h)[0] ?? 'ungrouped';
22
- const same = [], different = [];
23
- for (let i=0;i<nodes.length;i++) for (let j=i+1;j<nodes.length;j++) (group(nodes[i])===group(nodes[j]) ? same : different).push(gap(nodes[i],nodes[j]));
24
- if (same.length && different.length) {
25
- const intra = Math.max(...same), inter = Math.min(...different);
26
- if (intra > 0 && inter < OF_LIMITS.groupGapRatio * intra) issues.push(`OF-201 CLUSTER_GAP_RATIO inter=${inter.toFixed(1)} intra=${intra.toFixed(1)} required=${OF_LIMITS.groupGapRatio}`);
27
- }
28
- }
29
- const hues = [];
30
- const canvasArea = viewBox ? viewBox.w * viewBox.h : Infinity;
31
- for (const node of nodes) {
32
- if (node.display === 'none' || node.w * node.h >= canvasArea * OF_LIMITS.fullBleedFraction) continue;
33
- const hex = /^#([0-9a-f]{6}|[0-9a-f]{3})$/i.exec(node.fill);
34
- if (!hex) continue;
35
- const raw = hex[1].length === 3 ? [...hex[1]].map((digit)=>digit+digit).join('') : hex[1];
36
- const [r,g,b]=[0,2,4].map((offset)=>parseInt(raw.slice(offset,offset+2),16)/255),high=Math.max(r,g,b),low=Math.min(r,g,b),delta=high-low,lightness=(high+low)/2;
37
- const saturation = delta === 0 ? 0 : delta / (1-Math.abs(2*lightness-1));
38
- if (lightness < OF_LIMITS.accentLightnessMin || lightness > OF_LIMITS.accentLightnessMax || saturation < OF_LIMITS.accentSaturationMin) continue;
39
- const hue = ((high===r?((g-b)/delta)%6:high===g?(b-r)/delta+2:(r-g)/delta+4)*60+360)%360;
40
- if (!hues.some((prior)=>Math.min(Math.abs(prior-hue),360-Math.abs(prior-hue))<=OF_LIMITS.hueFamilyDegrees)) hues.push(hue);
41
- }
42
- if (hues.length >= OF_LIMITS.accentHighFamilies) issues.push(`OF-202 ACCENT_COUNT families=${hues.length} max=${OF_LIMITS.accentHighFamilies-1}`);
43
- for (const text of texts) {
44
- const chars=[...text.label],latin=chars.filter((char)=>/[A-Za-z0-9]/.test(char)).length/Math.max(1,chars.filter((char)=>/\S/.test(char)).length);
45
- if (latin >= OF_LIMITS.latinShareMin && text.label !== text.label.toUpperCase()) {
46
- const words=text.label.match(/[A-Za-z]+/g)??[],long=words.filter((word)=>word.length>=OF_LIMITS.titleCaseWordLength),capitalized=long.filter((word)=>/^[A-Z][a-z]+$/.test(word));
47
- if (capitalized.length>=OF_LIMITS.titleCaseMinWords && capitalized.length/Math.max(1,long.length)>OF_LIMITS.titleCaseShareMin && words.some((word)=>/^(Of|And|The|To|For|In)$/.test(word))) advisories.push(`OF-203 LABEL_CASE ${text.label}`);
48
- }
49
- const box = text.nodeFor ? nodes.find((node)=>node.id===text.nodeFor) : text.boundaryFor ? outlines.find((outline)=>outline.id===text.boundaryFor) : null;
50
- if (box) {
51
- const measured = widthOf(text.label,text.size),available=box.w-2*BOUNDARY_EDGE_PADDING;
52
- if (measured>available) issues.push(`OF-204 LABEL_OVERFLOW ${text.label} width=${measured.toFixed(1)} available=${available.toFixed(1)}`);
53
- }
54
- }
55
- return { issues, advisories };
56
- }
57
-
58
- function sequenceQuality(source,svg=svgContent(source),nodes=rectangles(svg),routes=parseRoutes(svg)){
59
- if(!/\bdata-type\s*=\s*["']sequence(?:-oauth)?["']/i.test(source)&&!/\bid\s*=\s*["']diagram-sequence(?:-oauth)?-[^"']+["']/i.test(svg))return [];
60
- const lifelines=new Map();
61
- for(const match of svg.matchAll(/<line\b([^>]*)>/gi)){
62
- const a=attributes(match[1]),name=a['data-lifeline-for'];
63
- if(name&&a['stroke-dasharray']&&Number(a.x1)===Number(a.x2)&&Number(a.y2)>Number(a.y1))lifelines.set(name,{x:Number(a.x1),top:Number(a.y1),bottom:Number(a.y2)});
64
- }
65
- const issues=[],messages=routes.map((route)=>({route,start:route.segments[0].slice(0,2),end:route.segments.at(-1).slice(2,4),y:(route.segments[0][1]+route.segments.at(-1)[3])/2}));
66
- const lastMessageY=Math.max(0,...messages.map((message)=>message.y));
67
- for(const node of nodes){
68
- const line=lifelines.get(node.id);
69
- if(!line){issues.push('SEQUENCE_LIFELINE_MISSING '+node.id);continue;}
70
- if(Math.abs(line.x-(node.x+node.w/2))>1||Math.abs(line.top-(node.y+node.h))>1)issues.push('SEQUENCE_LIFELINE_ALIGNMENT '+node.id);
71
- if(line.bottom+1<lastMessageY)issues.push('SEQUENCE_LIFELINE_SHORT '+node.id+' ends before last message');
72
- }
73
- let previousY=-Infinity;
74
- for(const message of messages){
75
- const from=lifelines.get(message.route.from),to=lifelines.get(message.route.to);
76
- if(!from||!to)continue;
77
- if(Math.abs(message.start[0]-from.x)>1||Math.abs(message.end[0]-to.x)>1)issues.push('SEQUENCE_MESSAGE_OFF_LIFELINE '+message.route.from+'->'+message.route.to);
78
- if(message.y<=previousY)issues.push('SEQUENCE_MESSAGE_ORDER '+message.route.from+'->'+message.route.to+' is not top-to-bottom');
79
- previousY=message.y;
80
- }
81
- return issues;
82
- }
83
-
84
- function visualQuality(source,{enforceCanvas=false,scale=null}={}){
85
- const svg=svgContent(source),texts=visibleSvgText(svg),nodes=rectangles(svg),routes=parseRoutes(svg),outlines=boundaryOutlines(svg),markers=markerDefinitions(svg),metrics=sourceMetrics(source),issues=[],advisories=[],sequenceDiagram=/\bdata-type\s*=\s*["']sequence(?:-oauth)?["']/i.test(source);
86
- const contaminated=texts.filter((t)=>contamination.some((rule)=>rule.test(t.label))).map((t)=>t.label);
87
- if(contaminated.length)issues.push('PROCESS_TEXT '+[...new Set(contaminated)].join(' | '));
88
- for(const text of texts.filter((item)=>item.role==='edge'||item.edgeFor)){
89
- const matches=routes.filter((route)=>route.from+'|'+route.to===text.edgeFor&&(!route.label||route.label===text.label));
90
- if(!text.edgeFor||matches.length!==1){issues.push('EDGE_LABEL_UNBOUND '+(text.edgeFor||text.label));continue;}
91
- const own=matches[0],distance=routeDistance(text.anchor,own),nearestOther=Math.min(Infinity,...routes.filter((route)=>route!==own).map((route)=>routeDistance(text.anchor,route)));
92
- if(distance>MAX_EDGE_LABEL_ANCHOR_DISTANCE)issues.push('EDGE_LABEL_TOO_FAR '+text.label+' own='+distance.toFixed(1)+'px max='+MAX_EDGE_LABEL_ANCHOR_DISTANCE+'px');
93
- if(Number.isFinite(nearestOther)&&distance>=nearestOther)issues.push('EDGE_LABEL_NEAREST_PATH '+text.label+' own='+distance.toFixed(1)+'px other='+nearestOther.toFixed(1)+'px');
94
- for(const node of nodes)if(textOverlapsNode(text,node))issues.push('EDGE_LABEL_NODE_COLLISION '+text.label+' overlaps '+node.id);
95
- }
96
- for(const route of routes){
97
- const facing=routeManhattanDistance(route),ratio=facing?routeLength(route)/facing:null,aligned=alignedRouteKind(route,nodes);
98
- if(ratio>1.4)issues.push('ROUTE_DETOUR '+route.from+'->'+route.to+' ratio='+ratio.toFixed(2)+' max=1.40');
99
- if(aligned)issues.push('ROUTE_ALIGNED_PATH '+route.from+'->'+route.to+' '+aligned+' neighbors require one straight segment');
100
- const crossesBoundary=outlines.some((outline)=>routeCrossesBoundary(route,outline)),bendLimit=crossesBoundary?3:2,bends=routeBends(route);
101
- if(bends>bendLimit)issues.push('ROUTE_BENDS '+route.from+'->'+route.to+' bends='+bends+' max='+bendLimit);
102
- if(route.markerStart&&route.markerEnd)issues.push('ROUTE_OPPOSED_HEADS '+route.from+'->'+route.to);
103
- for(const text of texts)for(const segment of route.segments)if(segmentHitsText(segment,text)){issues.push('EDGE_TEXT_COLLISION '+route.from+'->'+route.to+': '+text.label);break;}
104
- for(const node of nodes)if(node.id!==route.from&&node.id!==route.to&&route.segments.some((s)=>segmentHitsBox(s,node,8)))issues.push('ROUTE_THROUGH_NODE '+route.from+'->'+route.to+' via '+node.id);
105
- for(const outline of outlines)if(route.segments.some((segment)=>segmentAlongOutline(segment,outline))){issues.push('ROUTE_ALONG_BOUNDARY '+route.from+'->'+route.to+' along '+outline.id);break;}
106
- const target=nodes.find((node)=>node.id===route.to);
107
- for(const edge of ['start','end'])if(edge==='end'?route.markerEnd:route.markerStart){
108
- const marker=markerFor(route,edge,markers),minimum=Math.max(ARROWHEAD_STROKE_MULTIPLE*route.strokeWidth,ARROWHEAD_CANVAS_FLOOR*(metrics.viewBox?.w||1080));
109
- const length=markerHeadLength(marker)*markerScale(marker||{units:'userSpaceOnUse'},route);
110
- if(!marker)issues.push('ARROWHEAD_GEOMETRY_MISSING '+route.from+'->'+route.to+' '+edge);
111
- else if(length+0.01<minimum)issues.push('ARROWHEAD_SIZE_FLOOR '+route.from+'->'+route.to+' '+edge+'='+length.toFixed(1)+'px min='+minimum.toFixed(1)+'px (12/1080 canvas, 5x stroke)');
112
- }
113
- if(route.markerEnd&&target&&!sequenceDiagram){
114
- const marker=markerFor(route,'end',markers),tip=markerTip(route,marker,'end');
115
- if(tip&&distanceToBoxBoundary(tip,target)>ARROWHEAD_TARGET_TOLERANCE)issues.push('ARROWHEAD_TIP_MISSED_TARGET '+route.from+'->'+route.to+' gap='+distanceToBoxBoundary(tip,target).toFixed(1)+'px max='+ARROWHEAD_TARGET_TOLERANCE+'px');
116
- }
117
- if(route.markerEnd&&target&&markerOverlapsTarget(route,target,markers))issues.push('ARROWHEAD_TARGET_OVERLAP '+route.from+'->'+route.to+' marker intersects target '+target.id);
118
- }
119
- issues.push(...decisionBranchQuality(nodes,routes));
120
- for(let i=0;i<routes.length;i++)for(let j=i+1;j<routes.length;j++){
121
- if(collinearOverlap(routes[i],routes[j]))issues.push('ROUTE_COLLINEAR_OVERLAP '+routes[i].from+'->'+routes[i].to+' / '+routes[j].from+'->'+routes[j].to+' shared within 12px');
122
- for(const point of routeCrossingPoints(routes[i],routes[j]))issues.push('ROUTE_CROSSING '+routes[i].from+'->'+routes[i].to+' / '+routes[j].from+'->'+routes[j].to+' at '+point[0].toFixed(1)+','+point[1].toFixed(1));
123
- }
124
- issues.push(...sequenceQuality(source,svg,nodes,routes));
125
- for(const text of texts)for(const outline of outlines)if(textHitsOutline(text,outline)){issues.push('OUTLINE_TEXT_COLLISION '+text.label+' crosses '+outline.id);break;}
126
- const boundaryTexts=texts.filter((text)=>isBoundaryLabel(text,outlines));
127
- const boundaryContrastFailures=boundaryTexts.filter((text)=>metrics.contrastFailures.some((failure)=>failure.text===text.label));
128
- for(const text of boundaryContrastFailures)issues.push('BOUNDARY_CONTRAST_FLOOR '+text.label+' below 4.5:1');
129
- for(let i=0;i<nodes.length;i++)for(let j=i+1;j<nodes.length;j++)if(gap(nodes[i],nodes[j])<12)issues.push('NODE_GAP '+nodes[i].id+'/'+nodes[j].id+' below 12px');
130
- const fontFailures=[];
131
- if(enforceCanvas){
132
- const ratio=scale??(metrics.viewBox?Math.min(metrics.viewBox.w/1080,metrics.viewBox.h/640):1);
133
- if(!texts.some((t)=>t.role==='title'))issues.push('TITLE_ROLE_MISSING visible title must use data-role="title"');
134
- for(const t of texts){const boundary=isBoundaryLabel(t,outlines),minimum=t.role==='title'?28:t.role==='edge'||boundary?13:t.role==='node'?15:0;if(minimum&&t.size+0.01<minimum*ratio){const failure=(boundary?'boundary':t.role)+':'+t.label+'='+t.size+'px (min '+(minimum*ratio).toFixed(1)+'px)';if(boundary)issues.push('BOUNDARY_FONT_FLOOR '+failure);else fontFailures.push(failure);}}
135
- if(fontFailures.length)issues.push('FONT_FLOOR '+fontFailures.join(' | '));
136
- const points=nodes.flatMap((n)=>[[n.x,n.y],[n.x+n.w,n.y+n.h]]).concat(routes.flatMap((r)=>r.segments.flatMap((s)=>[[s[0],s[1]],[s[2],s[3]]])));
137
- const box=points.reduce((b,p)=>({left:Math.min(b.left,p[0]),top:Math.min(b.top,p[1]),right:Math.max(b.right,p[0]),bottom:Math.max(b.bottom,p[1])}),{left:Infinity,top:Infinity,right:-Infinity,bottom:-Infinity});
138
- if(nodes.length&&metrics.viewBox){const safeWidth=metrics.viewBox.w*.90,safeHeight=metrics.viewBox.h*.74,width=(box.right-box.left)/safeWidth,height=(box.bottom-box.top)/safeHeight;if(width<.75||height<.54)issues.push('CONTENT_FILL safe-area-width='+width.toFixed(3)+' safe-area-height='+height.toFixed(3)+' minimum=.75/.54');}
139
- if(!nodes.length)issues.push('CONTENT_NODES_MISSING');
140
- }
141
- const office = officeDiagramChecks(texts,nodes,outlines,metrics.viewBox);
142
- issues.push(...office.issues);
143
- advisories.push(...office.advisories);
144
- return {issues,advisories,contaminated,fonts:fontFailures,nodes:nodes.length,edges:routes.length,edgeLabelMaxAnchorDistance:MAX_EDGE_LABEL_ANCHOR_DISTANCE,arrowheadFloor:{canvas:ARROWHEAD_CANVAS_FLOOR,strokeMultiple:ARROWHEAD_STROKE_MULTIPLE,targetTolerance:ARROWHEAD_TARGET_TOLERANCE},boundaryTexts:boundaryTexts.length};
145
- }
146
- export { visualQuality, visibleSvgText, parseRoutes, rectangles, boundaryOutlines, sequenceQuality };
@@ -1,33 +0,0 @@
1
- lit-docx — LitMuse document skill
2
-
3
- Converters, publisher registry and templates, slop lint, visual audit and
4
- references are ported from the author's MIT-licensed "publisher-docx-skill".
5
- Written for this port: scripts/qa_docx.py, the --kind option of
6
- scripts/slop_lint.py, the PNG pages in scripts/visual_audit.py, and the
7
- shared helpers in ../../lib (ooxml_integrity.py, render_pages.py,
8
- office-runtime.mjs, office_runtime_bootstrap.py).
9
-
10
- MIT License
11
-
12
- Copyright (c) 2026 wjgoarxiv
13
-
14
- Permission is hereby granted, free of charge, to any person obtaining a copy
15
- of this software and associated documentation files (the "Software"), to deal
16
- in the Software without restriction, including without limitation the rights
17
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
- copies of the Software, and to permit persons to whom the Software is
19
- furnished to do so, subject to the following conditions:
20
-
21
- The above copyright notice and this permission notice shall be included in all
22
- copies or substantial portions of the Software.
23
-
24
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
- SOFTWARE.
31
-
32
- Runtime dependencies are not bundled; they install on first use from
33
- ../../lib/office-runtime-lock/requirements.lock, each under its own licence.