@litfamily/litgravity 0.1.8 → 0.1.10

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 (1066) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +185 -97
  3. package/README_ko-KR.md +186 -98
  4. package/bin/litgravity.mjs +19 -8
  5. package/lib/agent-file.mjs +9 -7
  6. package/lib/doctor.mjs +31 -19
  7. package/lib/extension-manager.mjs +641 -0
  8. package/lib/host-tools.mjs +9 -36
  9. package/lib/install.mjs +21 -5
  10. package/lib/list.mjs +11 -16
  11. package/lib/paths.mjs +0 -1
  12. package/package.json +2 -2
  13. package/plugin/hooks/lib/extensions.mjs +58 -0
  14. package/plugin/hooks/lib/reentry.mjs +5 -4
  15. package/plugin/hooks/lib/routes.mjs +52 -9
  16. package/plugin/hooks/post-tool-use.mjs +0 -2
  17. package/plugin/hooks/pre-invocation.mjs +0 -2
  18. package/plugin/hooks/session-start.mjs +8 -0
  19. package/plugin/hooks/stop.mjs +2 -8
  20. package/plugin/plugin.json +1 -1
  21. package/plugin/skills/autoconference/SKILL.md +1 -1
  22. package/plugin/skills/autoconference/modes/core.md +1 -1
  23. package/plugin/skills/autoconference/references/visualization-guide.md +6 -6
  24. package/plugin/skills/autoconference/scripts/style_presets.py +6 -6
  25. package/plugin/skills/autoresearch/references/type-checklists.md +1 -1
  26. package/plugin/skills/autoresearch/references/visualization-guide.md +14 -5
  27. package/plugin/skills/frontend-ui-ux/SKILL.md +26 -142
  28. package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +1 -1
  29. package/plugin/skills/lit-code/references/engineering-risk-signals.md +2 -2
  30. package/plugin/skills/lit-diagram-drawer/SKILL.md +30 -161
  31. package/plugin/skills/lit-docx/SKILL.md +30 -119
  32. package/plugin/skills/lit-loop/SKILL.md +1 -1
  33. package/plugin/skills/lit-pptx/SKILL.md +28 -127
  34. package/plugin/skills/lit-schematic/SKILL.md +29 -95
  35. package/plugin/skills/lit-scientific-visualization/SKILL.md +29 -157
  36. package/plugin/skills/lit-typographic-motion/SKILL.md +28 -184
  37. package/plugin/skills/readme-studio/SKILL.md +30 -95
  38. package/plugin/skills/visual-qa/SKILL.md +30 -118
  39. package/lib/runtime.mjs +0 -81
  40. package/plugin/hooks/lib/motion.mjs +0 -171
  41. package/plugin/lib/python-pick.mjs +0 -63
  42. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
  43. package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
  44. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
  45. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
  46. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
  47. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
  48. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
  49. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
  50. package/plugin/skills/frontend-ui-ux/kit/components.css +0 -417
  51. package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
  52. package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  53. package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  54. package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  55. package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  56. package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  57. package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  58. package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  59. package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  60. package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
  61. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
  62. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
  63. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
  64. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
  65. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -103
  66. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -96
  67. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -415
  68. package/plugin/skills/frontend-ui-ux/references/composition.md +0 -93
  69. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -203
  70. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -96
  71. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -27
  72. package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
  73. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
  74. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
  75. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
  76. package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
  77. package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
  78. package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
  79. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
  80. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
  81. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
  82. package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
  83. package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
  84. package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
  85. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
  86. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
  87. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
  88. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
  89. package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
  90. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
  91. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
  92. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
  93. package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
  94. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
  95. package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
  96. package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
  97. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
  98. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
  99. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
  100. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
  101. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
  102. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
  103. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
  104. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
  105. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
  106. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
  107. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
  108. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
  109. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
  110. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
  111. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
  112. package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
  113. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
  114. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
  115. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
  116. package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
  117. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
  118. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
  119. package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
  120. package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
  121. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
  122. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
  123. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
  124. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
  125. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
  126. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
  127. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
  128. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
  129. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
  130. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
  131. package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
  132. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
  133. package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
  134. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
  135. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
  136. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
  137. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
  138. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
  139. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
  140. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
  141. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
  142. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
  143. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
  144. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
  145. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
  146. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
  147. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
  148. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
  149. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
  150. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
  151. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
  152. package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
  153. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
  154. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
  155. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
  156. package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
  157. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
  158. package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
  159. package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
  160. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
  161. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
  162. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
  163. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
  164. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
  165. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
  166. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
  167. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
  168. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
  169. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
  170. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
  171. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
  172. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  173. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
  174. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
  175. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
  176. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
  177. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
  178. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
  179. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  180. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
  181. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
  182. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  183. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  184. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  185. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
  186. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  187. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  188. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
  189. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  190. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
  191. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  192. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  193. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  194. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  195. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  196. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  197. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  198. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
  199. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  200. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  201. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  202. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
  203. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  204. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  205. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  206. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  207. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  208. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  209. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -119
  210. package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
  211. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -115
  212. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -98
  213. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -48
  214. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -153
  215. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -101
  216. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
  217. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
  218. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -91
  219. package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -92
  220. package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -71
  221. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -103
  222. package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -139
  223. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -90
  224. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -79
  225. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
  226. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
  227. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
  228. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
  229. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
  230. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
  231. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
  232. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
  233. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
  234. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  235. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  236. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
  237. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  238. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  239. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
  240. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
  241. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
  242. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
  243. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
  244. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
  245. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
  246. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
  247. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
  248. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
  249. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
  250. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
  251. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
  252. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
  253. package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -90
  254. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -55
  255. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
  256. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
  257. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
  258. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -217
  259. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
  260. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
  261. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
  262. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
  263. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
  264. package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  265. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
  266. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
  267. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
  268. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
  269. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
  270. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
  271. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -129
  272. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -322
  273. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
  274. package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  275. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
  276. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
  277. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
  278. package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +0 -143
  279. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
  280. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
  281. package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
  282. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  283. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  284. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  285. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  286. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  287. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  288. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  289. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  290. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  291. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  292. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  293. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  294. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  295. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  296. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  297. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  298. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  299. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  300. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  301. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  302. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  303. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  304. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  305. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  306. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  307. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  308. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  309. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  310. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  311. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  312. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  313. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  314. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  315. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  316. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  317. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  318. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  319. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  320. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  321. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  322. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  323. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  324. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  325. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  326. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  327. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  328. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  329. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  330. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  331. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  332. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  333. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  334. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  335. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  336. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  337. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  338. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  339. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  340. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  341. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  342. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  343. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  344. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  345. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  346. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  347. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  348. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  349. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  350. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  351. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  352. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  353. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  354. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  355. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  356. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  357. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  358. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  359. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  360. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  361. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  362. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  363. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  364. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  365. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  366. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  367. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  368. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  369. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  370. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  371. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  372. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  373. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  374. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  375. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  376. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  377. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  378. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  379. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  380. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  381. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  382. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  383. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  384. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  385. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  386. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  387. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  388. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  389. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  390. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  391. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  392. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  393. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  394. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  395. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  396. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  397. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  398. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  399. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  400. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  401. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  402. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  403. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  404. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  405. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  406. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  407. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  408. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  409. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  410. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  411. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  412. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  413. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  414. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  415. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  416. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  417. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  418. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  419. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  420. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  421. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  422. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  423. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  424. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  425. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  426. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  427. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  428. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  429. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  430. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  431. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  432. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  433. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  434. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  435. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  436. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  437. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  438. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  439. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  440. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  441. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  442. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  443. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  444. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  445. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  446. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  447. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  448. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  449. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  450. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  451. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  452. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  453. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  454. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  455. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  456. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  457. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  458. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  459. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  460. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  461. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  462. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  463. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  464. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  465. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  466. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  467. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  468. package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
  469. package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
  470. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  471. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  472. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  473. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  474. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  475. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  476. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  477. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  478. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  479. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  480. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  481. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  482. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  483. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  484. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  485. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  486. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  487. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  488. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  489. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  490. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  491. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  492. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  493. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  494. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  495. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  496. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  497. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  498. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  499. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  500. package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +0 -86
  501. package/plugin/skills/lit-diagram-drawer/references/export.md +0 -34
  502. package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +0 -66
  503. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  504. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  505. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  506. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  507. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  508. package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
  509. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  510. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  511. package/plugin/skills/lit-diagram-drawer/references/playbooks.md +0 -67
  512. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  513. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  514. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  515. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  516. package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
  517. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  518. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -76
  519. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  520. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  521. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  522. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  523. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  524. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  525. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  526. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  527. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  528. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  529. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  530. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  531. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  532. package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
  533. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  534. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  535. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  536. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  537. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  538. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  539. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  540. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  541. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  542. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  543. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  544. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  545. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  546. package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
  547. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  548. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  549. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  550. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  551. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  552. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  553. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  554. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  555. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  556. package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
  557. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  558. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  559. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  560. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  561. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  562. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  563. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  564. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  565. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  566. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  567. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  568. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  569. package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
  570. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  571. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  572. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  573. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  574. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  575. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  576. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  577. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  578. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  579. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  580. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  581. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -76
  582. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  583. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  584. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  585. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  586. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  587. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
  588. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -277
  589. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
  590. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  591. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  592. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  593. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
  594. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  595. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  596. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  597. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  598. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  599. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  600. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  601. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  602. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  603. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  604. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
  605. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  606. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  607. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  608. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  609. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  610. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  611. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  612. package/plugin/skills/lit-docx/NOTICE +0 -35
  613. package/plugin/skills/lit-docx/references/build-loop.md +0 -96
  614. package/plugin/skills/lit-docx/references/components.md +0 -287
  615. package/plugin/skills/lit-docx/references/direction-step.md +0 -339
  616. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
  617. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -96
  618. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -170
  619. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -141
  620. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -56
  621. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -129
  622. package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
  623. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -122
  624. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -40
  625. package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -94
  626. package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -89
  627. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -43
  628. package/plugin/skills/lit-docx/references/page-composition.md +0 -319
  629. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  630. package/plugin/skills/lit-docx/references/slop_rules.md +0 -88
  631. package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -170
  632. package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -173
  633. package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -182
  634. package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -171
  635. package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -181
  636. package/plugin/skills/lit-docx/references/tonalities/report.md +0 -199
  637. package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
  638. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
  639. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -301
  640. package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
  641. package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
  642. package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
  643. package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
  644. package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
  645. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
  646. package/plugin/skills/lit-docx/scripts/pdf_fonts.py +0 -83
  647. package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
  648. package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
  649. package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
  650. package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
  651. package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  652. package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
  653. package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  654. package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
  655. package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
  656. package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -41
  657. package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
  658. package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -42
  659. package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
  660. package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -41
  661. package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
  662. package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -41
  663. package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
  664. package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -41
  665. package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
  666. package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
  667. package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
  668. package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
  669. package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
  670. package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
  671. package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
  672. package/plugin/skills/lit-pptx/NOTICE +0 -35
  673. package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  674. package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  675. package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  676. package/plugin/skills/lit-pptx/assets/example-a.png +0 -0
  677. package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
  678. package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
  679. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  680. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  681. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  682. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  683. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  684. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
  685. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
  686. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  687. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  688. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  689. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
  690. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  691. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  692. package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
  693. package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
  694. package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
  695. package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
  696. package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
  697. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
  698. package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
  699. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -131
  700. package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
  701. package/plugin/skills/lit-pptx/references/build-loop.md +0 -117
  702. package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
  703. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
  704. package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -163
  705. package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
  706. package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
  707. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
  708. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
  709. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
  710. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
  711. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
  712. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
  713. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
  714. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
  715. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
  716. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
  717. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
  718. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
  719. package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
  720. package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
  721. package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
  722. package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
  723. package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
  724. package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
  725. package/plugin/skills/lit-pptx/references/layout-families.md +0 -194
  726. package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
  727. package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
  728. package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
  729. package/plugin/skills/lit-pptx/references/title-treatments.md +0 -113
  730. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
  731. package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -140
  732. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
  733. package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -150
  734. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
  735. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
  736. package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -161
  737. package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -144
  738. package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
  739. package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
  740. package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -137
  741. package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
  742. package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -131
  743. package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
  744. package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1077
  745. package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
  746. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
  747. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
  748. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
  749. package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
  750. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  751. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  752. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  753. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
  754. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
  755. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
  756. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  757. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  758. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
  759. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
  760. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
  761. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
  762. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  763. package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  764. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  765. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  766. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +0 -793
  767. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +0 -12
  768. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +0 -15
  769. package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +0 -279
  770. package/plugin/skills/lit-pptx/scripts/office_data.py +0 -493
  771. package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +0 -73
  772. package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +0 -199
  773. package/plugin/skills/lit-pptx/scripts/package.json +0 -4
  774. package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
  775. package/plugin/skills/lit-pptx/scripts/render_pages.py +0 -147
  776. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
  777. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  778. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
  779. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  780. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  781. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
  782. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  783. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  784. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  785. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  786. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
  787. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  788. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  789. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  790. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  791. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  792. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  793. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  794. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  795. package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  796. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  797. package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
  798. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
  799. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
  800. package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  801. package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  802. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  803. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  804. package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  805. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  806. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  807. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
  808. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
  809. package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
  810. package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
  811. package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -70
  812. package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -101
  813. package/plugin/skills/lit-schematic/references/journal-figures.md +0 -72
  814. package/plugin/skills/lit-schematic/references/kit-api.md +0 -134
  815. package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -53
  816. package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -103
  817. package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -163
  818. package/plugin/skills/lit-schematic/references/verification.md +0 -100
  819. package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -57
  820. package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
  821. package/plugin/skills/lit-schematic/scripts/lib/fonts.mjs +0 -27
  822. package/plugin/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
  823. package/plugin/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
  824. package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
  825. package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
  826. package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
  827. package/plugin/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
  828. package/plugin/skills/lit-schematic/scripts/lib/png.mjs +0 -132
  829. package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
  830. package/plugin/skills/lit-schematic/scripts/lib/route.mjs +0 -218
  831. package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
  832. package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
  833. package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
  834. package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -129
  835. package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -92
  836. package/plugin/skills/lit-schematic/scripts/render.mjs +0 -233
  837. package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -60
  838. package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
  839. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
  840. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
  841. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
  842. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
  843. package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
  844. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -278
  845. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
  846. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
  847. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
  848. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  849. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
  850. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
  851. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
  852. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
  853. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -230
  854. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
  855. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
  856. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
  857. package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
  858. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
  859. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
  860. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
  861. package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
  862. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
  863. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
  864. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
  865. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
  866. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
  867. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
  868. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
  869. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
  870. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
  871. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
  872. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
  873. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -172
  874. package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -298
  875. package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -143
  876. package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
  877. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -164
  878. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -328
  879. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -104
  880. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -210
  881. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -347
  882. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
  883. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
  884. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -139
  885. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
  886. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -385
  887. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
  888. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
  889. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -105
  890. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -38
  891. package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -121
  892. package/plugin/skills/lit-typographic-motion/engine/node/host.mjs +0 -34
  893. package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
  894. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -178
  895. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
  896. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
  897. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
  898. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -349
  899. package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
  900. package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
  901. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
  902. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
  903. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
  904. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -180
  905. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -177
  906. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -427
  907. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -428
  908. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
  909. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
  910. package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -213
  911. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
  912. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -146
  913. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
  914. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
  915. package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
  916. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -49
  917. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -298
  918. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
  919. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -162
  920. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -823
  921. package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  922. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  923. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  924. package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  925. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
  926. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
  927. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
  928. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
  929. package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
  930. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
  931. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
  932. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
  933. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
  934. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
  935. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
  936. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
  937. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
  938. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
  939. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
  940. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
  941. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
  942. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
  943. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
  944. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
  945. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
  946. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
  947. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
  948. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
  949. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  950. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  951. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  952. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  953. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  954. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  955. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  956. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  957. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  958. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  959. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  960. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  961. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
  962. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
  963. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  964. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  965. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
  966. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  967. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  968. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  969. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  970. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  971. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
  972. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  973. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  974. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
  975. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  976. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  977. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
  978. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  979. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
  980. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  981. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
  982. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  983. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
  984. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -69
  985. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
  986. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -97
  987. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
  988. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -69
  989. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
  990. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
  991. package/plugin/skills/lit-typographic-motion/references/cover.md +0 -424
  992. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -70
  993. package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
  994. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
  995. package/plugin/skills/lit-typographic-motion/references/look.md +0 -122
  996. package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -67
  997. package/plugin/skills/lit-typographic-motion/references/sound.md +0 -152
  998. package/plugin/skills/lit-typographic-motion/references/stage.md +0 -256
  999. package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
  1000. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -141
  1001. package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -214
  1002. package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
  1003. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -111
  1004. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
  1005. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -205
  1006. package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
  1007. package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
  1008. package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
  1009. package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
  1010. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
  1011. package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
  1012. package/plugin/skills/readme-studio/references/production-interview.md +0 -11
  1013. package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
  1014. package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
  1015. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
  1016. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
  1017. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
  1018. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
  1019. package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
  1020. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
  1021. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
  1022. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  1023. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
  1024. package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
  1025. package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
  1026. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1027. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
  1028. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
  1029. package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1030. package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
  1031. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
  1032. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
  1033. package/plugin/skills/visual-qa/references/breakage-catalogue.md +0 -70
  1034. package/plugin/skills/visual-qa/references/capture-playbook.md +0 -96
  1035. package/plugin/skills/visual-qa/references/complete-contract.md +0 -411
  1036. package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +0 -50
  1037. package/plugin/skills/visual-qa/references/reviewer-charters.md +0 -70
  1038. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
  1039. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
  1040. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
  1041. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
  1042. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
  1043. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
  1044. package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
  1045. package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
  1046. package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
  1047. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
  1048. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
  1049. package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
  1050. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
  1051. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
  1052. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
  1053. package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
  1054. package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
  1055. package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
  1056. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
  1057. package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
  1058. package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
  1059. package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
  1060. package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
  1061. package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
  1062. package/plugin/skills/visual-qa/scripts/strict-json.mjs +0 -143
  1063. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
  1064. package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
  1065. package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
  1066. package/plugin/skills/visual-qa/scripts/types.ts +0 -54
@@ -1,163 +0,0 @@
1
- # P&ID symbols and identification
2
-
3
- The kit draws a vocabulary close to ISO 10628-2 (graphical symbols for process diagrams) for equipment and fittings, and ANSI/ISA-5.1 for instruments, their identification letters and signal lines. Conventions vary between owners and countries, so **the legend on the sheet governs**: the sheet's legend is built from the symbols and line kinds actually drawn, and the QA gate fails a sheet whose legend misses one. When a project has its own symbol standard, follow it and keep the legend true.
4
-
5
- ## Contents
6
- 1. Identification letters (ISA-5.1)
7
- 2. Instrument bubbles: what the function is and where it lives
8
- 3. Pipe classes and signal lines
9
- 4. Equipment symbols and tags
10
- 5. Valves, actuators and fail positions
11
- 6. Piping items, flow elements and terminals
12
- 7. Common tags for a high-pressure gas-hydrate loop
13
- 8. Standards basis, symbol by symbol
14
-
15
- ## 1. Identification letters (ISA-5.1)
16
-
17
- A tag is **letters + loop number**: `PIC-101` is loop 101, pressure (P), indicating (I), controller (C). The first letter is the measured or initiating variable; an optional modifier follows it; then the functions, readout or passive ones before output ones; `H`, `L`, `M` modify the alarm or switch letter before them.
18
-
19
- | Letter | First (measured variable) | Modifier after the first letter | Succeeding: readout / passive | Succeeding: output | Function modifier |
20
- | --- | --- | --- | --- | --- | --- |
21
- | A | Analysis (composition, pH, O₂) | | Alarm | | |
22
- | B | Burner, combustion | | User's choice | | |
23
- | C | User's choice (often conductivity) | | | Control | |
24
- | D | User's choice (often density) | Differential | | | |
25
- | E | Voltage | | Primary element (sensor) | | |
26
- | F | Flow | Ratio | | | |
27
- | G | User's choice (gauging) | | Glass, gauge, viewing | | |
28
- | H | Hand | | | | High |
29
- | I | Current | | Indicate | | |
30
- | J | Power | Scan | | | |
31
- | K | Time, schedule | Time rate of change | | Control station | |
32
- | L | Level | | Light | | Low |
33
- | M | User's choice (moisture) | Momentary | | | Middle |
34
- | O | User's choice | | Orifice, restriction | | |
35
- | P | Pressure, vacuum | | Point (test connection) | | |
36
- | Q | Quantity | Integrate, totalise | | | |
37
- | R | Radiation | | Record | | |
38
- | S | Speed, frequency | Safety | | Switch | |
39
- | T | Temperature | | | Transmit | |
40
- | U | Multivariable | | | Multifunction | |
41
- | V | Vibration | | | Valve, damper | |
42
- | W | Weight, force | | Well, probe | | |
43
- | X | Unclassified | x-axis | Unclassified | | |
44
- | Y | Event, state | y-axis | | Relay, compute, convert | |
45
- | Z | Position, dimension | z-axis | | Driver, actuator | |
46
-
47
- Readable examples: `PT` pressure transmitter · `PI` local pressure gauge reading · `PIC` pressure indicating controller · `PCV` self-actuated pressure regulator · `PV` pressure control valve (final element of a PIC loop) · `PSV` pressure safety valve · `PSE` rupture disk · `PAH`/`PAHH` high and high-high pressure alarm · `PSHH` high-high pressure switch (trip) · `PDT` differential pressure transmitter · `TE` temperature element (thermocouple, RTD) · `TW` thermowell · `TT`, `TIC`, `TV` · `FT`, `FE` (orifice), `FIC`, `FV`, `FQI` totaliser · `LT`, `LG` level gauge, `LIC`, `LSL` · `AT` analyser transmitter (GC, MS, O₂) · `SC` speed controller · `HS` hand switch · `XV` on-off valve · `ZSO`/`ZSC` position switch open/closed.
48
-
49
- `parseInstrumentTag` enforces: the first letter exists; a variable modifier only directly after it; function letters from the table, readout `I`/`R` before outputs, no repeats; `H`/`L`/`M` only after `A`, `S` or another `H`/`L`/`M`. `TAG.GRAMMAR` fails a symbol tag that breaks these, `TAG.DUPLICATE` fails two items with one tag.
50
-
51
- **Loop numbering.** One loop number per measured point and everything that acts on it: `PT-101 → PIC-101 → PV-101`, and its alarms `PAH-101`. Number loops by unit (100s for the reactor section, 200s for the chiller) so a reader finds them.
52
-
53
- ## 2. Instrument bubbles: what the function is and where it lives
54
-
55
- ISA-5.1 Table 5.1.1 separates two things a bubble says. Its **shape** names the kind of device or function; the **lines across it** name where it lives.
56
-
57
- | Shape | Function | Kit `fn` |
58
- | --- | --- | --- |
59
- | Circle | Discrete instrument: a transmitter, gauge, switch or single-loop controller | `"discrete"` (default) |
60
- | Circle in a square | Shared display and control: a function of the DCS or operator screen | `"shared"` |
61
- | Hexagon | Computer function: an optimiser, a calculation outside the DCS | `"computer"` |
62
- | Diamond in a square | PLC logic, or a safety instrumented system function | `"plc"` |
63
-
64
- | Lines across the shape | Location | Kit `location` |
65
- | --- | --- | --- |
66
- | none | In the field, at the equipment | `"field"` (default) |
67
- | one solid | Main control room, operator accessible (on the console or panel front) | `"main"` |
68
- | one dashed | Main control room, not normally accessible (behind the panel, in a cabinet) | `"main-rear"` |
69
- | two solid | Auxiliary or local panel near the unit, operator accessible | `"aux"` |
70
- | two dashed | Auxiliary or local panel, not normally accessible | `"aux-rear"` |
71
-
72
- So a DCS controller on the operator console is `instrument({ tag: "PIC-101", fn: "shared", location: "main" })`: a circle in a square with one solid line. A local pressure gauge is a plain circle. The kind is `instrument.<fn>-<location>` and the legend names both halves. The round-1 names still work: `location: "dcs"` means shared/main, `"plc"` plc/main, `"panel"` discrete/main, `"panel-rear"` discrete/main-rear, `"local-panel"` discrete/aux.
73
-
74
- The letters sit in the upper half and the loop number in the lower half, clear of the location lines. Keep bubbles 10 mm across on an A3 sheet (`r = 5`); a 4-letter tag drops to 2.1 mm text automatically. An interlock or logic block is a diamond with its number (`interlock()`).
75
-
76
- ## 3. Pipe classes and signal lines
77
-
78
- Pipe classes differ by **weight**, on the ISO 128 series, so they never look alike on the sheet or in the legend: main process 0.7 mm, minor process 0.5 mm, utility 0.35 mm, instrument supply or process connection 0.18 mm. Instrument signals are 0.25 mm and carry the mark of ISA-5.1 Table 5.3.2 for their medium.
79
-
80
- | Line | Drawing | Kit |
81
- | --- | --- | --- |
82
- | Main process line | heavy solid, 0.7 mm | `pipe({ kind: "process-major" })` |
83
- | Minor process line, small bore | solid, 0.5 mm | `"process-minor"` |
84
- | Utility (cooling water, nitrogen, instrument air, steam) | solid, 0.35 mm | `"utility"` |
85
- | Instrument supply or process connection, impulse line (Table 5.3.1) | thin solid, 0.18 mm | `connect()` |
86
- | Electric or electronic signal (4–20 mA, discrete) | dashed | `signal({ type: "electric" })` |
87
- | Pneumatic signal | double slashes every 6 mm | `"pneumatic"` |
88
- | Hydraulic signal | L marks | `"hydraulic"` |
89
- | Filled-system capillary tube | crosses | `"capillary"` |
90
- | Guided electromagnetic or sonic signal (fibre, guided wave) | sine wave | `"guided"` |
91
- | Unguided electromagnetic signal (radio, wireless transmitter) | broken sine wave | `"unguided"` |
92
- | Data link within a control system (DCS bus, fieldbus segment) | small open circles | `"data"` (`"software"` still works) |
93
- | Mechanical link (a lever, a shaft between two functions) | small filled dots | `"mechanical"` |
94
-
95
- A signal runs from the transmitter to the controller to the final element. Every loop on the sheet ends at something that acts (a control valve, a pump's speed or stroke input, a heater, a trip), or it is an indication-only loop and has no controller letter. An actuated valve has an `actuator` port at the top of its actuator: run the controller's signal to `valve.port("actuator")`, never to the valve body.
96
-
97
- ## 4. Equipment symbols and tags
98
-
99
- Equipment tags are a class prefix and a number, with an optional train letter: `R-101` reactor, `V-101` vessel, `TK-101` tank, `D-101` drum, `C-101` column, `E-101` exchanger, `P-101A/B` duty and standby pumps, `K-101` compressor, `BR-101` gas booster, `CH-101` chiller, `F-101` filter, `GC-101` gas cylinder, `M-101` mixer or agitator. The kit draws:
100
-
101
- - **Vessels** (`vessel`): shell with 2:1 ellipsoidal heads (or flat or conical), tangent lines, optional jacket (`jacket-in` at the bottom, `jacket-out` at the top, so coolant flows upward), agitator with motor (turbine, anchor or propeller), internal coil, packing (a box with its diagonals, ISO 10628-2 item 2.4), trays, demister, legs or skirt, liquid level mark. Trays run across the whole shell as on a tray column (item 2.2); `trayStyle: "staggered"` draws segmental baffles that stop short of the far wall (item 2.5).
102
- - **Machines** (`pump`, `compressor`): a centrifugal pump is a circle with a tangential discharge on a base; a rotary positive-displacement pump shows two rotors; a metering pump adds the diagonal adjustment arrow. A centrifugal compressor is a circle with converging sides; a reciprocating compressor or gas booster is a circle with a cylinder and rod.
103
- - **Heat transfer**: a general exchanger or condenser (circle crossed by a zigzag, item 3.1); shell-and-tube with fixed tube sheets (`shellTube()`, item 3.3: shell, a tube sheet at each end, straight tubes), floating head (`type: "floating"`, item 3.4) or U-tubes (`type: "utube"`, item 3.5); plate exchanger (`plateExchanger()`, item 3.6: the pack with both diagonals and a centre line); air-cooled exchanger (`airCooler()`: bundle with its tube run, fan and motor below).
104
- - **Packaged units**: anything with its own skid (chiller, circulator, analyser, DAQ, booster package) is a box with its caption and declared ports (`unit({ glyph: "coil" | "wave" })`).
105
-
106
- ## 5. Valves, actuators and fail positions
107
-
108
- Valves are inline symbols on a straight run; the line is gapped under them. Bodies (ISA-5.1 Table 5.4.1, ISO 10628-2 groups 21 and 22): gate (plain bowtie), globe (bowtie with a filled dot), ball (bowtie with an open circle), plug (bowtie with a small square), butterfly (two end bars, the disc on the diagonal, a hub dot), needle (bowtie with a solid point above, for fine metering), diaphragm (bowtie under a bonnet arc), check (bowtie with the solid half pointing along the allowed flow), three-way (a third body on the branch, port `c`). An angle valve (`angleValve({ inlet, outlet })`) sits where the line turns: one body toward each port.
109
-
110
- Actuators (Table 5.4.2) stand perpendicular to the line and name themselves in the kind, `valve.<body>.<actuator>`: `diaphragm` (spring-opposed pneumatic, the usual control valve), `piston` (cylinder), `motor` (electric, `M`), `solenoid` (on-off, `S`), `hand` (handwheel; `manual` is the same). Fail positions (Table 5.4.4) go beside the actuator as letters: `FO` fail open, `FC` fail closed, `FL` fail locked in its last position, `FI` fail indeterminate; anything else throws. Self-acting devices (Table 5.4.3): a pressure-reducing regulator (`regulator`) senses downstream through its impulse line, a back-pressure regulator (`backPressure: true`) senses upstream; a pressure safety or relief valve (`safetyValve`) has its inlet from below, outlet to the side and spring on top; a rupture disk (`ruptureDisk`) is two bars with the domed disk between them.
111
-
112
- ## 6. Piping items, flow elements and terminals
113
-
114
- Piping items: concentric reducer (`reducer`) or eccentric reducer (`reducer({ eccentric: true, flat: "bottom" | "top" })`, flat side down on pump suctions), flange pair (`flange`), spectacle blind (`blind`, figure-8: the half in the line is solid when the line is blinded, `state: "open"` turns it to a ring), inline filter or strainer (`filter`), sight glass. Flow elements (ISA-5.1 Table 5.2.3) through `flowElement({ type })`: `orifice` (plate between flanges), `venturi` (converging-diverging throat), and notation boxes for meters without a drawn form of their own, labelled with the Table 5.2.2 notation: `magnetic` MAG, `coriolis` COR, `vortex` VOR, `turbine` TUR, `ultrasonic` US, `thermal` TMF. A variable-area meter (`rotameter`) and a mass flow controller (`mfc`, with a `signal` port) complete the set.
115
-
116
- Terminals end a line on purpose: vent to atmosphere (`vent`, labelled `ATM` or the vent header), drain, sample point, off-page connector with the destination and drawing number, utility connection (`N2`, `IA`, `CWS`, `CWR`). A line that ends anywhere else is dangling (`LINE.DANGLING`).
117
-
118
- **Line numbers** read `size-fluid-sequence-class[-insulation]`: `2"-P-1001-A1A`, `1/4"-CH4-101-HP1`, `DN50-CW-205-B1-IH`. On a P&ID the QA gate fails a line number that breaks this form (`LINE.NUMBER`); `parseLineNumber` reads one apart.
119
-
120
- ## 7. Common tags for a high-pressure gas-hydrate loop
121
-
122
- A hydrate formation rig is a compact high-pressure gas loop; its P&ID usually carries these items, which the kit covers as listed:
123
-
124
- | Item | Tag | Kit |
125
- | --- | --- | --- |
126
- | Gas cylinders (CH₄, CO₂, mixtures) with cylinder regulator | `GC-101`, `PCV-101` | `gasCylinder`, `regulator` |
127
- | Gas booster raising cylinder gas to test pressure | `BR-101` | `compressor({ type: "reciprocating" })` or `unit` |
128
- | Buffer or supply vessel | `V-101` | `vessel` |
129
- | Jacketed stirred high-pressure reactor (sapphire windows optional) | `R-101` | `reactor` |
130
- | Chiller or circulator on the jacket | `CH-101` | `unit({ glyph: "coil" })` |
131
- | Reactor pressure and temperature | `PT-101`, `PI-101`, `TE-101`/`TT-101`, `TW-101` | `instrument` |
132
- | Pressure control (supply regulator or BPR on vent) | `PIC-101`, `PV-101` | `valve({ actuator: "diaphragm" })` |
133
- | Temperature control on the chiller | `TIC-201` → chiller setpoint | `signal` to the chiller unit |
134
- | Relief: PSV set below the reactor's design pressure, rupture disk in series or parallel | `PSV-101`, `PSE-101` | `safetyValve`, `ruptureDisk` |
135
- | Gas flow into the reactor | `FT-101`, `FQI-101` (consumed gas) | `instrument`, `mfc` |
136
- | Sampling to GC | `SP-101`, `AT-101` | `samplePoint`, `instrument` |
137
- | Vent to a safe location | `ATM` or `TO VENT HEADER` | `vent`, `offPage` |
138
-
139
-
140
- ## 8. Standards basis, symbol by symbol
141
-
142
- Where each drawn form comes from, so a reviewer can check it against the project's own licensed copies. ISO 10628-2:2012 numbers its symbols by subject group (Table 1) and item (Table 2: group.item with an ISO 14617 registration number); ANSI/ISA-5.1-2009 groups instrument symbols in tables 4.1 and 5.1.1 to 5.4.4. Where the kit follows common US practice (PIP PIC001) rather than a numbered entry, the row says so.
143
-
144
- | Kit kind | Basis |
145
- | --- | --- |
146
- | `vessel.*`, `vessel.horizontal`, `vessel.tank`, `gas.cylinder` | ISO 10628-2 group 1 (vessels and tanks): items 1.5 dished ends, 1.3 cone roof tank, 1.13 drum, 1.14 gas cylinder, 1.27 jacketed vessel |
147
- | `vessel.column` | ISO 10628-2 group 2: 2.2 tray column (full-width trays, default), 2.4 fixed bed (packing), 2.5 staggered baffles |
148
- | `exchanger.general`, `.shelltube`, `.floating`, `.utube`, `.plate` | ISO 10628-2 group 3: 3.1, 3.3, 3.4, 3.5, 3.6 |
149
- | `exchanger.aircooler` | ISO 10628-2 group 3 (air cooler); drawn as bundle, fan and motor after common practice |
150
- | `pump.*` | ISO 10628-2 group 15 (liquid pumps); centrifugal form with tangential discharge after PIP practice |
151
- | `compressor.*` | ISO 10628-2 group 16 (compressors) |
152
- | `valve.<body>` | ISA-5.1 Table 5.4.1; ISO 10628-2 group 21 (valves), group 22 (check valves) |
153
- | `valve.<body>.<actuator>`, fail letters | ISA-5.1 Table 5.4.2 (actuators), Table 5.4.4 (failure and de-energised positions) |
154
- | `valve.regulator`, `.backpressure`, `.safety`, `relief.rupture` | ISA-5.1 Table 5.4.3 (self-actuated final control elements); ISO 10628-2 group 23 (safety function) |
155
- | `line.reducer*`, `line.flange`, `line.blind*`, `line.filter`, `line.sightglass` | ISO 10628-2 groups 24 (fittings) and 25 (piping); spectacle blind form after PIP practice |
156
- | `flow.orifice`, `flow.venturi`, `flow.<meter>` | ISA-5.1 Table 5.2.3 (primary elements) and Table 5.2.2 (measurement notations MAG, COR, VOR, TUR, US, TMF) |
157
- | `instrument.<fn>-<location>` | ISA-5.1 Table 5.1.1 (device and function symbols by location) |
158
- | `logic.interlock` | ISA-5.1 binary logic (Table 5.7) as a diamond with its number |
159
- | Pipe classes and widths | ISO 128 line-width series; ISO 10628-1 (main lines heavier than others) |
160
- | Signal lines | ISA-5.1 Table 5.3.1 (instrument to process) and Table 5.3.2 (instrument to instrument) |
161
- | Identification letters, tags | ISA-5.1 Table 4.1 |
162
-
163
- The standalone legend sheet (`createLegendSheet`, `scripts/lib/legend-sheet.mjs`) prints every row of this vocabulary from the library itself, so the sheet a drawing set opens with never drifts from what the kit draws.
@@ -1,100 +0,0 @@
1
- # Verification
2
-
3
- Look at the drawing the way its harshest reader will, before anyone else does. Rendering is cheap; a reviewer finding a line through a vessel costs a revision.
4
-
5
- ## Contents
6
- 1. The loop
7
- 2. The QA gate: every code and its fix
8
- 3. Render and look
9
- 4. The close-up sweep
10
- 5. Review checklist
11
- 6. Exports
12
-
13
- ## 1. The loop
14
-
15
- 1. Build → `node "$SKILL_ROOT/scripts/qa.mjs" drawing.svg`.
16
- 2. Fix every FAIL **in the build script**, rebuild, re-run QA until `QA PASS`.
17
- 3. Render (`render.mjs --png --dpi 600`) and open the PNG. Read it in the order of section 3. QA reads the SVG, never the PNG, so the renderer checks the PNG itself: it compares the ink in 36 regions against a small reference render of the same page, and a region that holds ink there but came out blank means the browser stopped painting (it happens above roughly 60 to 80 million pixels, an A2 sheet at 600 dpi). The renderer then steps the dpi down until the page arrives whole and prints `reduced from 600`; if it cannot, it stops with `RENDER_INCOMPLETE`. A reduced dpi on a large sheet is fine for reading; the PDF stays vector, and `--crop` gives any region at full resolution.
18
- 4. For anything denser than a dozen symbols or parts, render the close-up sweep (`--sheet sweep.png --grid 3x2`, or `4x3` for an A1 sheet) and read every cell.
19
- 5. Fix what the eye found, rebuild, re-run QA, re-render. Stop when QA passes and the last render shows nothing to fix.
20
-
21
- QA is necessary, never sufficient: it reads geometry and markers, not appearance. It cannot see a leader dot on a face hidden behind another part, a nozzle standing on a cut-away shell, a misleading symbol choice, or a crowded corner that is technically clear. The look is the gate that catches those.
22
-
23
- ## 2. The QA gate: every code and its fix
24
-
25
- `qa.mjs` parses the SVG itself (no browser), applies every transform and reads the markers the kit writes (`data-sym`, `data-box`, `data-ports`, `data-line`, `data-part`, `data-hull`, `data-leader`, `data-panel`, `data-legend-item`, `data-within`). Unmarked geometry still counts for strokes and text, so a hand-edited SVG cannot slip past by dropping markers. `--json` gives the same result as JSON; `--codes` lists the codes.
26
-
27
- | Code | Meaning | Fix in the build |
28
- | --- | --- | --- |
29
- | `XML.WELLFORMED` | The SVG does not parse. | Rebuild; never hand-edit the output. |
30
- | `XML.EXTERNAL` | It loads an outside file or URL. | Inline it or drop it. |
31
- | `SVG.ACTIVE` | Script or event handlers. | Remove them; a schematic is static. |
32
- | `SVG.SIZE` | No physical width/height or viewBox. | Use `createSheet` / `createFigure`, which write mm sizes. |
33
- | `TEXT.MIN_SIZE` | Text under the floor at print size (5.6 pt on sheets, 6 pt on figures). | Spread the layout or shorten the text; never shrink it. |
34
- | `TEXT.OVERLAP` | Two labels overlap. | Move a symbol; the placer then finds room. |
35
- | `TEXT.ON_SYMBOL` | A label sits on a symbol it does not belong to. | Move the label's owner or the symbol. |
36
- | `TEXT.ON_ART` | A label sits on the isometric art. | Use `callout`, which places labels beside the art. |
37
- | `TEXT.ON_LINE` | A line runs through a label. | Re-route (`via`) or move the label's owner. |
38
- | `TEXT.CLIPPED` | A label runs past the drawing edge. | Widen the panel or shorten the label. |
39
- | `TEXT.OUT_OF_CELL` | Text overflows its title-block cell, legend or notes block. | Shorten it, or move to a larger sheet. |
40
- | `LINE.THROUGH_SYMBOL` | A line passes through a symbol. | Let the router route it, add `via`, or move the symbol. |
41
- | `LINE.DANGLING` | A line end touches no port, line or terminal. | End it on a port, a `tap`, or a vent/drain/off-page terminal. |
42
- | `LINE.BEND_ON_LINE` | A line turns on another line. | Move the waypoint; corners on lines read as junctions. |
43
- | `LINE.OVERLAP` | Two lines share a track. | Give one a different lane. |
44
- | `LINE.CROSSING` (warn) | Process lines cross without a hop. | Hand-drawn lines: route through the canvas so later lines hop. |
45
- | `LINE.ARROW_IN_SYMBOL` | A flow arrow is drawn inside a valve, instrument or other body, where it reads as part of the symbol. | Let the canvas place arrows, or give `arrows` fractions that fall on open pipe; the canvas already slides an asked-for arrow off a body and warns when it cannot. |
46
- | `LEADER.LOOSE` | A leader does not run from its label to a dot on its named part. | Use `callout({ part })` and anchor on that part. |
47
- | `LEADER.CROSSING` | Two leaders cross. | Reorder anchors or move one callout to the other side. |
48
- | `LEADER.SPACING` | A leader runs within 1.2 mm (print size) of another leader or of another leader's dot, so two read as one. | Move one dot to a clearer spot on its part (another face, further along the body), or send that label to the other side. The placer already reorders labels and opens rows to separate them; what it cannot clear it lists in `fig.warnings()`. |
49
- | `STROKE.MIN` | A stroke under 0.25 pt. | Thicken it; hairlines vanish in print. |
50
- | `SYMBOL.NO_BOX` | A symbol group without its box. | Draw symbols with the kit factories. |
51
- | `TAG.GRAMMAR` | A tag breaks ISA-5.1 or the equipment pattern. | See `pid-symbols.md` section 1. |
52
- | `LINE.NUMBER` | A P&ID line number is not size-fluid-sequence-class[-insulation]. | Write it as `2"-P-1001-A1A`; see `pid-symbols.md` section 6. |
53
- | `TAG.DUPLICATE` | Two items share a tag. | Number loops and trains uniquely. |
54
- | `LEGEND.COVERAGE` | A sheet draws a kind the legend lacks; a figure draws a stream role its key lacks. | Let the sheet build its legend; add the role to `fig.key`. |
55
- | `TITLEBLOCK.FIELDS` | Title, number, revision, date or scale empty. | Fill them in `createSheet`. |
56
- | `PALETTE.CVD` | Two stream colours are too close for some reader. | Use the `STREAM` roles; never invent colours for categories. |
57
- | `PANEL.LABELS` | Panel labels missing, out of order, unequal or misplaced. | Use `fig.panel("a", …)` in reading order. |
58
- | `FONT.FAMILIES` (warn) | More than two families. | Arial for Latin, Pretendard for Hangul. |
59
-
60
- ## 3. Render and look
61
-
62
- Open the PNG at a size where the whole drawing fits, then read it in this order:
63
-
64
- 1. **Lines.** Every line runs from a port to a port, a junction or a terminal; nothing passes through a body; crossings are hops at right angles on straights; no line hugs another.
65
- 2. **Labels.** Nothing on a line, a symbol or the art; every label next to its owner; tags readable.
66
- 3. **Topology.** Trace each stream from source to destination; trace each control loop from element to final element; trace each relief path to its discharge.
67
- 4. **Isometric order.** Nothing behind shows through anything in front; the ground is under everything; tubes, baffles and pipes interleave correctly.
68
- 5. **Cutaways.** Nozzles and brackets stand on closed shell; internals stay inside the wall; the cut faces read as wall thickness.
69
- 6. **Leaders.** Each dot is on the face of the part its label names and on a face the viewer can see.
70
- 7. **Detail.** At this size the drawing reads as one machine or one process; no region is bare where the real thing has parts.
71
-
72
- ## 4. The close-up sweep
73
-
74
- `render.mjs drawing.svg --sheet sweep.png --grid 3x2` renders every region of the drawing enlarged in one image, each cell captioned with its viewBox box. Read every cell for: line ends a hair short of a port, hops that clip a junction, arrowheads on dots, text touching strokes, bolt circles that stop in mid-face, seams that miss the outline, tone steps on a curved body. To inspect one region at print resolution: `render.mjs drawing.svg --crop x,y,w,h --png close.png --dpi 1200`.
75
-
76
- ## 5. Review checklist
77
-
78
- **Content**
79
- - [ ] Every number on the drawing comes from the brief, or is listed in the reply as an assumption.
80
- - [ ] Every vessel that can be over-pressured has a relief device with a discharge destination.
81
- - [ ] Every controller has a measurement and a final element; every instrument has a process connection.
82
- - [ ] Isolation valves on both sides of control valves and instruments where the process requires them.
83
-
84
- **Drawing**
85
- - [ ] `QA PASS` on the final SVG.
86
- - [ ] Flow reads left to right; gravity is respected.
87
- - [ ] The legend and title block are complete (sheets); the key covers every stream role (figures).
88
- - [ ] Line weights follow the hierarchy; text sizes meet the floor at print size.
89
-
90
- **Isometric**
91
- - [ ] It reads as the real equipment; 40+ parts; each part in its real material colour (grey only on request), at most one accent; halo under the base.
92
- - [ ] Painter's order correct everywhere; interleaving parts split.
93
- - [ ] Leaders end on visible faces of their parts; none cross.
94
-
95
- **Exports**
96
- - [ ] PNG at 600 dpi or more, pHYs written; PDF page equals the drawing size; both opened.
97
-
98
- ## 6. Exports
99
-
100
- `qa.mjs drawing.svg --png drawing.png --pdf drawing.pdf [--dpi 600]` adds `PNG.CLOSED` (truncated file or bad checksum), `PNG.DPI` (declared resolution under the requirement, or pixel width that does not match the drawing width at that resolution), `PDF.CLOSED` (no header or end marker) and `PDF.SIZE` (page size differs from the drawing by more than 1 mm). A sheet larger than about 16 000 px at the requested resolution is rendered at the highest resolution Chrome can capture and the render line says so; render crops for a larger print.
@@ -1,57 +0,0 @@
1
- #!/usr/bin/env node
2
- // Reports what lit-schematic can do on this machine. Drawing and QA need only Node; PNG and
3
- // PDF export need Chrome or Chromium; Korean labels render in Pretendard when it is found; a
4
- // cutaway's motion loop needs ffmpeg (MP4, GIF) and img2webp (WebP), and is the only part that does.
5
- // It never installs anything and always exits 0 unless --strict is given and export is blocked.
6
- //
7
- // node doctor.mjs [--out <dir>] [--json] [--strict]
8
-
9
- import { accessSync, constants, existsSync } from "node:fs";
10
- import { resolve } from "node:path";
11
- import { pathToFileURL } from "node:url";
12
- import { findPretendard } from "./lib/fonts.mjs";
13
- import { findTool } from "./motion.mjs";
14
- import { findChrome } from "./render.mjs";
15
-
16
- export function diagnose({ out = process.cwd(), env = process.env } = {}) {
17
- const major = Number(process.versions.node.split(".")[0]);
18
- const chrome = findChrome(env);
19
- const font = findPretendard();
20
- let writable = false;
21
- try {
22
- accessSync(existsSync(out) ? out : resolve(out, ".."), constants.W_OK);
23
- writable = true;
24
- } catch {
25
- writable = false;
26
- }
27
- const checks = [
28
- { id: "node", ok: major >= 20, detail: `Node ${process.versions.node}`, needed: "drawing, QA" },
29
- { id: "renderer", ok: Boolean(chrome), detail: chrome ?? "no Chrome or Chromium found (set CHROME_PATH)", needed: "PNG, PDF, close-up sheets" },
30
- { id: "font.korean", ok: Boolean(font), detail: font ? `${font.file} (${font.source})` : "Pretendard not found; Hangul falls back to the system font", needed: "Korean labels" },
31
- { id: "output", ok: writable, detail: resolve(out), needed: "writing files" },
32
- { id: "motion.ffmpeg", ok: Boolean(findTool("ffmpeg", env)), detail: findTool("ffmpeg", env) ?? "ffmpeg not found", needed: "motion loop (MP4, GIF)" },
33
- { id: "motion.webp", ok: Boolean(findTool("img2webp", env)), detail: findTool("img2webp", env) ?? "img2webp not found", needed: "motion loop (WebP)" },
34
- ];
35
- const status = !checks[0].ok || !writable ? "BLOCKED" : chrome ? "PASS" : "DEGRADED";
36
- return {
37
- status,
38
- checks,
39
- setup: [
40
- ...(chrome ? [] : ["Install Google Chrome (or Chromium), or point CHROME_PATH at an existing binary. lit-schematic never installs it for you."]),
41
- ...(findTool("ffmpeg", env) && findTool("img2webp", env) ? [] : ["Only for motion loops: install ffmpeg and the WebP tools (img2webp) with your package manager. lit-schematic never installs them."]),
42
- ],
43
- };
44
- }
45
-
46
- if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
47
- const args = process.argv.slice(2);
48
- const i = args.indexOf("--out");
49
- const result = diagnose({ out: i >= 0 ? args[i + 1] : process.cwd() });
50
- if (args.includes("--json")) console.log(JSON.stringify(result, null, 2));
51
- else {
52
- for (const c of result.checks) console.log(`${c.ok ? "ok " : "MISS"} ${c.id.padEnd(12)} ${c.detail} [${c.needed}]`);
53
- for (const line of result.setup) console.log(`setup: ${line}`);
54
- console.log(`DOCTOR ${result.status}`);
55
- }
56
- process.exitCode = args.includes("--strict") && result.status !== "PASS" ? 1 : 0;
57
- }
@@ -1,81 +0,0 @@
1
- // Journal figure pages: an exact column width in millimetres, panels with (a), (b) labels at
2
- // their top left, a key of stream colours, and the same mm user space as every other kit
3
- // drawing so the QA gate reads sizes at print scale.
4
-
5
- import { createCanvas } from "./sheet.mjs";
6
- import { el, esc, n, pathOf, ptToMm, svgDocument } from "./svg.mjs";
7
- import { JOURNAL, STREAM, fontFor } from "./theme.mjs";
8
-
9
- export const WIDTHS = JOURNAL.width;
10
-
11
- export function createFigure({ width = "double", height, title, desc = "", lang = "en", mode = "journal", labelStyle = "paren", textPt = JOURNAL.textPt } = {}) {
12
- const w = typeof width === "number" ? width : WIDTHS[width];
13
- if (!w) throw new Error(`createFigure: width must be a number of mm or one of ${Object.keys(WIDTHS).join(", ")}`);
14
- if (!height) throw new Error("createFigure: height in mm is required");
15
- if (height > JOURNAL.maxHeight) throw new Error(`createFigure: ${height} mm is taller than a journal page allows (${JOURNAL.maxHeight} mm)`);
16
- const panels = [];
17
- const layers = [];
18
- const text = ptToMm(textPt);
19
- const panelText = ptToMm(JOURNAL.panelPt);
20
-
21
- function panel(label, [x, y, pw, ph]) {
22
- const box = [x, y, x + pw, y + ph];
23
- const inner = label === null ? box : [x, y + panelText + 1.6, x + pw, y + ph];
24
- const entry = { label, box, inner, body: [] };
25
- panels.push(entry);
26
- return {
27
- box,
28
- inner,
29
- label,
30
- canvas: (options = {}) => {
31
- const c = createCanvas({ box: options.box ?? inner, style: "journal", ...options });
32
- entry.body.push(() => c.render());
33
- entry.canvas = c;
34
- return c;
35
- },
36
- iso: (view, { box: target = inner, labelColumn = null, calloutSize = text } = {}) => {
37
- const fitted = view.fit(target, { labelColumn, size: calloutSize });
38
- entry.view = view;
39
- entry.body.push(() => view.render() + view.renderCallouts({ box: target, size: calloutSize }));
40
- return fitted;
41
- },
42
- text: (tx, ty, content, { size = text, anchor = "start", bold = false, color = "#000000", kind = "note" } = {}) => {
43
- entry.body.push(() => el("text", { x: tx, y: ty, "font-family": fontFor(content), "font-size": size, "text-anchor": anchor, "font-weight": bold ? "bold" : undefined, fill: color, "data-label": kind }, esc(content)));
44
- },
45
- raw: (svg) => entry.body.push(() => svg),
46
- };
47
- }
48
-
49
- // A key of stream roles: a short line swatch and its name, one row each.
50
- function key(roles, [x, y], { columns = 1, colWidth = 34, rowHeight = text + 1.6 } = {}) {
51
- const rows = roles.map((role, i) => {
52
- const spec = STREAM[role];
53
- if (!spec) throw new Error(`key: unknown stream role ${role}`);
54
- const cx = x + (i % columns) * colWidth;
55
- const cy = y + Math.floor(i / columns) * rowHeight;
56
- return el("g", { "data-legend-item": `role:${role}` },
57
- el("path", { d: pathOf([[cx, cy - text * 0.3], [cx + 7, cy - text * 0.3]]), stroke: spec.color, "stroke-width": ptToMm(JOURNAL.linePt * 1.4), "stroke-dasharray": spec.dash ?? undefined, fill: "none", "data-legend-line": role }),
58
- el("text", { x: cx + 9, y: cy, "font-family": fontFor(spec.label), "font-size": text, fill: "#000000", "data-label": "legend" }, esc(spec.label)));
59
- });
60
- layers.push(el("g", { "data-key": "streams" }, rows));
61
- }
62
-
63
- function render() {
64
- const body = [el("rect", { x: 0, y: 0, width: w, height, fill: "#ffffff" })];
65
- panels.forEach((p) => {
66
- if (p.label === null) {
67
- body.push(el("g", { "data-figure-body": "1" }, p.body.map((f) => f())));
68
- return;
69
- }
70
- const [x0, y0] = p.box;
71
- const shown = labelStyle === "paren" ? `(${p.label})` : labelStyle === "bold" ? p.label : p.label.toUpperCase();
72
- body.push(el("g", { "data-panel": p.label, "data-panel-box": p.box.map(n).join(" ") },
73
- el("text", { x: x0 + 0.2, y: y0 + panelText * 0.8, "font-family": fontFor(shown), "font-size": panelText, "font-weight": "bold", fill: "#000000", "data-label": "panel-label" }, esc(shown)),
74
- p.body.map((f) => f())));
75
- });
76
- body.push(...layers);
77
- return svgDocument({ width: w, height, title, desc, mode, lang, body: body.join(""), extra: { "data-min-text-pt": JOURNAL.minTextPt } });
78
- }
79
-
80
- return { width: w, height, text, panel, key, render, warnings: () => panels.flatMap((p) => [...(p.canvas?.warnings ?? []), ...(p.view?.warnings ?? [])]) };
81
- }
@@ -1,27 +0,0 @@
1
- // Locates fonts for rendering. Pretendard ships elsewhere in this plugin (unmodified official
2
- // files under the OFL); lit-schematic reads it from there instead of carrying a second copy.
3
-
4
- import { existsSync, readdirSync } from "node:fs";
5
- import { homedir } from "node:os";
6
- import { join, resolve } from "node:path";
7
- import { fileURLToPath } from "node:url";
8
-
9
- export const SKILL_ROOT = resolve(fileURLToPath(new URL("../..", import.meta.url)));
10
-
11
- export function findPretendard() {
12
- const inPlugin = [
13
- join(SKILL_ROOT, "..", "lit-diagram-drawer", "assets", "fonts", "PretendardVariable.woff2"),
14
- join(SKILL_ROOT, "..", "lit-pptx", "fonts", "pretendard", "Pretendard-Regular.otf"),
15
- ];
16
- for (const file of inPlugin) if (existsSync(file)) return { file, source: "plugin" };
17
- const dirs = [join(homedir(), "Library", "Fonts"), "/Library/Fonts", join(homedir(), ".local", "share", "fonts"), "/usr/share/fonts", "C:\\Windows\\Fonts"];
18
- for (const dir of dirs) {
19
- try {
20
- const hit = readdirSync(dir).find((name) => /^Pretendard.*\.(?:otf|ttf|woff2)$/iu.test(name));
21
- if (hit) return { file: join(dir, hit), source: "system" };
22
- } catch {
23
- // directory absent on this platform
24
- }
25
- }
26
- return null;
27
- }
@@ -1,113 +0,0 @@
1
- // Plane geometry shared by the router, the label placer and the QA gate.
2
- // Boxes are [x0, y0, x1, y1] with x0 <= x1 and y0 <= y1; points are [x, y].
3
-
4
- export const EPS = 1e-6;
5
-
6
- export const boxOf = (points) => {
7
- const xs = points.map((p) => p[0]);
8
- const ys = points.map((p) => p[1]);
9
- return [Math.min(...xs), Math.min(...ys), Math.max(...xs), Math.max(...ys)];
10
- };
11
- export const grow = ([x0, y0, x1, y1], by) => [x0 - by, y0 - by, x1 + by, y1 + by];
12
- export const union = (a, b) => [Math.min(a[0], b[0]), Math.min(a[1], b[1]), Math.max(a[2], b[2]), Math.max(a[3], b[3])];
13
- export const area = ([x0, y0, x1, y1]) => Math.max(0, x1 - x0) * Math.max(0, y1 - y0);
14
- export const boxesOverlap = (a, b, by = 0) => a[0] < b[2] - by && a[2] > b[0] + by && a[1] < b[3] - by && a[3] > b[1] + by;
15
- export const overlapArea = (a, b) => area([Math.max(a[0], b[0]), Math.max(a[1], b[1]), Math.min(a[2], b[2]), Math.min(a[3], b[3])]);
16
- export const contains = (outer, inner, by = 0) =>
17
- inner[0] >= outer[0] - by && inner[1] >= outer[1] - by && inner[2] <= outer[2] + by && inner[3] <= outer[3] + by;
18
- export const pointIn = ([x, y], [x0, y0, x1, y1], by = 0) => x > x0 + by && x < x1 - by && y > y0 + by && y < y1 - by;
19
- export const dist = (a, b) => Math.hypot(a[0] - b[0], a[1] - b[1]);
20
-
21
- export function pointSegmentDistance(p, a, b) {
22
- const dx = b[0] - a[0];
23
- const dy = b[1] - a[1];
24
- const span = dx * dx + dy * dy;
25
- const t = span > 0 ? Math.max(0, Math.min(1, ((p[0] - a[0]) * dx + (p[1] - a[1]) * dy) / span)) : 0;
26
- return Math.hypot(p[0] - a[0] - t * dx, p[1] - a[1] - t * dy);
27
- }
28
-
29
- // Proper intersection point of two segments, or null. Touching at endpoints counts only when
30
- // `touch` is true; collinear overlaps are reported separately by `collinearOverlap`.
31
- export function segmentIntersection(a, b, c, d, touch = false) {
32
- const r = [b[0] - a[0], b[1] - a[1]];
33
- const s = [d[0] - c[0], d[1] - c[1]];
34
- const denom = r[0] * s[1] - r[1] * s[0];
35
- if (Math.abs(denom) < EPS) return null;
36
- const t = ((c[0] - a[0]) * s[1] - (c[1] - a[1]) * s[0]) / denom;
37
- const u = ((c[0] - a[0]) * r[1] - (c[1] - a[1]) * r[0]) / denom;
38
- const lo = touch ? -EPS : 1e-4;
39
- const hi = touch ? 1 + EPS : 1 - 1e-4;
40
- if (t < lo || t > hi || u < lo || u > hi) return null;
41
- return { point: [a[0] + t * r[0], a[1] + t * r[1]], t, u };
42
- }
43
-
44
- export function collinearOverlap(a, b, c, d, tolerance = 0.05) {
45
- const r = [b[0] - a[0], b[1] - a[1]];
46
- const length = Math.hypot(r[0], r[1]);
47
- if (length < EPS) return 0;
48
- const cross = (p) => Math.abs((p[0] - a[0]) * r[1] - (p[1] - a[1]) * r[0]) / length;
49
- if (cross(c) > tolerance || cross(d) > tolerance) return 0;
50
- const along = (p) => ((p[0] - a[0]) * r[0] + (p[1] - a[1]) * r[1]) / length;
51
- const lo = Math.max(0, Math.min(along(c), along(d)));
52
- const hi = Math.min(length, Math.max(along(c), along(d)));
53
- return Math.max(0, hi - lo);
54
- }
55
-
56
- // Length of a segment that lies strictly inside a box (Liang–Barsky clip).
57
- export function insideLength(a, b, [x0, y0, x1, y1]) {
58
- let t0 = 0;
59
- let t1 = 1;
60
- const dx = b[0] - a[0];
61
- const dy = b[1] - a[1];
62
- for (const [p, q] of [[-dx, a[0] - x0], [dx, x1 - a[0]], [-dy, a[1] - y0], [dy, y1 - a[1]]]) {
63
- if (Math.abs(p) < EPS) {
64
- if (q <= 0) return 0;
65
- } else {
66
- const t = q / p;
67
- if (p < 0) t0 = Math.max(t0, t);
68
- else t1 = Math.min(t1, t);
69
- }
70
- }
71
- return t1 > t0 ? (t1 - t0) * Math.hypot(dx, dy) : 0;
72
- }
73
-
74
- export const segmentsOf = (points) => points.slice(1).map((point, index) => [points[index], point]);
75
-
76
- export function pathLength(points) {
77
- return segmentsOf(points).reduce((sum, [a, b]) => sum + dist(a, b), 0);
78
- }
79
-
80
- export function pointAlong(points, at) {
81
- let left = at;
82
- for (const [a, b] of segmentsOf(points)) {
83
- const length = dist(a, b);
84
- if (left <= length) {
85
- const t = length ? left / length : 0;
86
- return { point: [a[0] + (b[0] - a[0]) * t, a[1] + (b[1] - a[1]) * t], direction: length ? [(b[0] - a[0]) / length, (b[1] - a[1]) / length] : [1, 0] };
87
- }
88
- left -= length;
89
- }
90
- const [a, b] = segmentsOf(points).at(-1);
91
- const length = dist(a, b) || 1;
92
- return { point: b, direction: [(b[0] - a[0]) / length, (b[1] - a[1]) / length] };
93
- }
94
-
95
- // Removes repeated points and merges collinear runs, keeping the polyline's corners only.
96
- export function simplify(points) {
97
- const out = [];
98
- for (const point of points) {
99
- const last = out.at(-1);
100
- if (last && dist(last, point) < EPS) continue;
101
- if (out.length >= 2) {
102
- const prev = out.at(-2);
103
- const cross = (last[0] - prev[0]) * (point[1] - last[1]) - (last[1] - prev[1]) * (point[0] - last[0]);
104
- const dot = (last[0] - prev[0]) * (point[0] - last[0]) + (last[1] - prev[1]) * (point[1] - last[1]);
105
- if (Math.abs(cross) < EPS && dot > 0) {
106
- out[out.length - 1] = point;
107
- continue;
108
- }
109
- }
110
- out.push(point);
111
- }
112
- return out;
113
- }