@litfamily/litcodex 1.0.38 → 1.0.40

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 (1073) hide show
  1. package/README-Ko-KR.md +51 -9
  2. package/README.md +50 -10
  3. package/dist/cli.js +13 -62
  4. package/dist/install/bundled-skill-manifests.d.ts +0 -19
  5. package/dist/install/bundled-skill-manifests.js +0 -19
  6. package/dist/install/bundled-skills.d.ts +0 -1
  7. package/dist/install/bundled-skills.js +2 -13
  8. package/dist/install/development-marketplace.js +0 -5
  9. package/dist/install/doctor-render.js +0 -1
  10. package/dist/install/doctor.js +0 -4
  11. package/dist/install/execute.d.ts +3 -0
  12. package/dist/install/execute.js +8 -1
  13. package/dist/install/extensions-notice.d.ts +40 -0
  14. package/dist/install/extensions-notice.js +77 -0
  15. package/dist/install/extensions.d.ts +74 -0
  16. package/dist/install/extensions.js +856 -0
  17. package/dist/install/generated-skill-payload-hashes.d.ts +13 -948
  18. package/dist/install/generated-skill-payload-hashes.js +13 -948
  19. package/dist/install/index.js +23 -24
  20. package/dist/install/marketplace-payload.d.ts +13 -0
  21. package/dist/install/marketplace-payload.js +55 -6
  22. package/dist/install/shipped-skill-digests.d.ts +1 -0
  23. package/dist/install/shipped-skill-digests.js +1681 -0
  24. package/dist/install/skill-backup.d.ts +19 -0
  25. package/dist/install/skill-backup.js +114 -0
  26. package/dist/install/types.d.ts +0 -1
  27. package/dist/postinstall.js +2 -16
  28. package/marketplace/plugins/litcodex/.codex-plugin/plugin.json +1 -1
  29. package/marketplace/plugins/litcodex/components/auto-update/dist/cli.js +13 -4
  30. package/marketplace/plugins/litcodex/components/auto-update/dist/extensions-notice.d.ts +2 -0
  31. package/marketplace/plugins/litcodex/components/auto-update/dist/extensions-notice.js +37 -0
  32. package/marketplace/plugins/litcodex/components/auto-update/package.json +1 -1
  33. package/marketplace/plugins/litcodex/components/comment-checker/package.json +1 -1
  34. package/marketplace/plugins/litcodex/components/git-bash/package.json +1 -1
  35. package/marketplace/plugins/litcodex/components/lit-loop/directive.md +14 -5
  36. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-schematic.md +46 -128
  37. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-scientific-visualization.md +35 -83
  38. package/marketplace/plugins/litcodex/components/lit-loop/directives/litwork.md +4 -3
  39. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.d.ts +0 -2
  40. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.js +2 -3
  41. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.d.ts +0 -3
  42. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.js +0 -20
  43. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-route.d.ts +3 -9
  44. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-route.js +8 -51
  45. package/marketplace/plugins/litcodex/components/lit-loop/dist/route-heads.js +12 -18
  46. package/marketplace/plugins/litcodex/components/lit-loop/package.json +1 -1
  47. package/marketplace/plugins/litcodex/components/lsp/package.json +1 -1
  48. package/marketplace/plugins/litcodex/components/rules/package.json +1 -1
  49. package/marketplace/plugins/litcodex/components/start-work-continuation/package.json +1 -1
  50. package/marketplace/plugins/litcodex/components/telemetry/package.json +1 -1
  51. package/marketplace/plugins/litcodex/components/wikify-knowledge/package.json +1 -1
  52. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/SKILL.md +34 -28
  53. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/SKILL.md +31 -133
  54. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/agents/openai.yaml +1 -1
  55. package/marketplace/plugins/litcodex/skills/lit-docx/SKILL.md +34 -73
  56. package/marketplace/plugins/litcodex/skills/lit-docx/agents/openai.yaml +1 -1
  57. package/marketplace/plugins/litcodex/skills/lit-loop/SKILL.md +15 -7
  58. package/marketplace/plugins/litcodex/skills/lit-loop/references/full-workflow.md +3 -2
  59. package/marketplace/plugins/litcodex/skills/lit-pptx/SKILL.md +34 -88
  60. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/openai.yaml +1 -1
  61. package/marketplace/plugins/litcodex/skills/lit-schematic/SKILL.md +30 -152
  62. package/marketplace/plugins/litcodex/skills/lit-schematic/agents/openai.yaml +1 -1
  63. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/SKILL.md +32 -239
  64. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/agents/openai.yaml +1 -1
  65. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/SKILL.md +31 -34
  66. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/agents/openai.yaml +1 -1
  67. package/marketplace/plugins/litcodex/skills/litwork/SKILL.md +4 -3
  68. package/marketplace/plugins/litcodex/skills/litwork/references/delivery-playbook.md +3 -2
  69. package/marketplace/plugins/litcodex/skills/readme-studio/SKILL.md +33 -61
  70. package/marketplace/plugins/litcodex/skills/visual-qa/SKILL.md +42 -34
  71. package/marketplace/plugins/litcodex/vendor/NOTICE +7 -17
  72. package/node_modules/@litcodex/lit-loop/CHANGELOG.md +4 -0
  73. package/node_modules/@litcodex/lit-loop/README.md +4 -2
  74. package/node_modules/@litcodex/lit-loop/directive.md +14 -5
  75. package/node_modules/@litcodex/lit-loop/directives/lit-schematic.md +46 -128
  76. package/node_modules/@litcodex/lit-loop/directives/lit-scientific-visualization.md +35 -83
  77. package/node_modules/@litcodex/lit-loop/directives/litwork.md +4 -3
  78. package/node_modules/@litcodex/lit-loop/dist/codex-hook.d.ts +0 -2
  79. package/node_modules/@litcodex/lit-loop/dist/codex-hook.js +2 -3
  80. package/node_modules/@litcodex/lit-loop/dist/hook-cli.d.ts +0 -3
  81. package/node_modules/@litcodex/lit-loop/dist/hook-cli.js +0 -20
  82. package/node_modules/@litcodex/lit-loop/dist/motion-route.d.ts +3 -9
  83. package/node_modules/@litcodex/lit-loop/dist/motion-route.js +8 -51
  84. package/node_modules/@litcodex/lit-loop/dist/route-heads.js +12 -18
  85. package/node_modules/@litcodex/lit-loop/package.json +1 -1
  86. package/node_modules/@litcodex/lit-loop/skills/lit-loop/SKILL.md +15 -7
  87. package/node_modules/@litcodex/lit-loop/skills/lit-schematic/SKILL.md +30 -152
  88. package/node_modules/@litcodex/lit-loop/skills/lit-scientific-visualization/SKILL.md +32 -239
  89. package/node_modules/@litcodex/lit-loop/skills/litwork/SKILL.md +4 -3
  90. package/node_modules/@litcodex/lit-loop/vendor/NOTICE +7 -17
  91. package/package.json +2 -2
  92. package/readme-assets/badge-version.svg +1 -1
  93. package/dist/install/motion-runtime.d.ts +0 -39
  94. package/dist/install/motion-runtime.js +0 -93
  95. package/dist/install/office-runtime.d.ts +0 -20
  96. package/dist/install/office-runtime.js +0 -42
  97. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-gate.d.ts +0 -79
  98. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-gate.js +0 -310
  99. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -5
  100. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/examples/readme-ab/README.md +0 -13
  101. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/components.css +0 -414
  102. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/fonts.json +0 -22
  103. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  104. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  105. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  106. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  107. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  108. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  109. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  110. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  111. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/ui.js +0 -228
  112. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ATTRIBUTION.md +0 -217
  113. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/LICENSE +0 -21
  114. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/LICENSE-Apache-2.0.txt +0 -201
  115. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/MANIFEST.json +0 -869
  116. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/PROVENANCE.md +0 -24
  117. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/README.md +0 -248
  118. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/_INDEX.md +0 -191
  119. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/airbnb.md +0 -393
  120. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/airtable.md +0 -92
  121. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/apple.md +0 -250
  122. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/aside.md +0 -209
  123. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/binance.md +0 -348
  124. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/bmw.md +0 -183
  125. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/brutalist-skill.md +0 -92
  126. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/bugatti.md +0 -271
  127. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/cal.md +0 -262
  128. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/claude.md +0 -315
  129. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/clay.md +0 -307
  130. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/clickhouse.md +0 -284
  131. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/clone-from-url.md +0 -65
  132. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/cohere.md +0 -269
  133. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/coinbase.md +0 -132
  134. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/composio.md +0 -310
  135. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/cursor.md +0 -312
  136. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/design-system-architecture.md +0 -244
  137. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/elevenlabs.md +0 -268
  138. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/expo.md +0 -284
  139. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/ferrari.md +0 -317
  140. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/figma.md +0 -223
  141. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/framer.md +0 -249
  142. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/gpt-tasteskill.md +0 -74
  143. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/hashicorp.md +0 -281
  144. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/ibm.md +0 -335
  145. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/image-to-code-skill.md +0 -1228
  146. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/imagegen-brandkit.md +0 -798
  147. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/imagegen-frontend-mobile.md +0 -1465
  148. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/imagegen-frontend-web.md +0 -987
  149. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/intercom.md +0 -149
  150. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/kraken.md +0 -128
  151. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/lamborghini.md +0 -291
  152. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/layout-skill.md +0 -107
  153. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/lazyweb.md +0 -77
  154. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/linear.app.md +0 -370
  155. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/lovable.md +0 -301
  156. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mastercard.md +0 -368
  157. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/meta.md +0 -369
  158. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/minimalist-skill.md +0 -85
  159. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/minimax.md +0 -260
  160. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mintlify.md +0 -329
  161. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/miro.md +0 -111
  162. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mistral.ai.md +0 -264
  163. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mongodb.md +0 -269
  164. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/nike.md +0 -366
  165. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/notion.md +0 -312
  166. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/nvidia.md +0 -296
  167. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/ollama.md +0 -270
  168. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/opencode.ai.md +0 -284
  169. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/output-skill.md +0 -49
  170. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/pinterest.md +0 -233
  171. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/playstation.md +0 -367
  172. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/posthog.md +0 -259
  173. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/raycast.md +0 -271
  174. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/react-dev-tooling-skill.md +0 -230
  175. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/redesign-skill.md +0 -178
  176. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/renault.md +0 -314
  177. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/replicate.md +0 -264
  178. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/resend.md +0 -306
  179. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/revolut.md +0 -188
  180. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/runwayml.md +0 -247
  181. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/sanity.md +0 -360
  182. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/sentry.md +0 -265
  183. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/shopify.md +0 -353
  184. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/soft-skill.md +0 -98
  185. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/spacex.md +0 -197
  186. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/spotify.md +0 -249
  187. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/starbucks.md +0 -583
  188. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/stitch-design-example.md +0 -121
  189. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/stitch-skill.md +0 -184
  190. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/stripe.md +0 -325
  191. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/supabase.md +0 -258
  192. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/superhuman.md +0 -255
  193. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/taste-skill.md +0 -1206
  194. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/tesla.md +0 -289
  195. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/theverge.md +0 -342
  196. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/together.ai.md +0 -266
  197. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/uber.md +0 -298
  198. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/vercel.md +0 -313
  199. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/vodafone.md +0 -426
  200. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/voltagent.md +0 -326
  201. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/warp.md +0 -256
  202. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/webflow.md +0 -95
  203. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/wired.md +0 -281
  204. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/wise.md +0 -176
  205. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/x.ai.md +0 -260
  206. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/zapier.md +0 -331
  207. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/EVIDENCE.md +0 -97
  208. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/README.md +0 -48
  209. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/UPSTREAM.md +0 -80
  210. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-a-direction.md +0 -64
  211. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-b-execution.md +0 -65
  212. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-c-review.md +0 -65
  213. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-d-memory.md +0 -83
  214. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/orchestration.md +0 -80
  215. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/routing.md +0 -79
  216. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/LICENSE +0 -21
  217. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  218. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/content-writer.md +0 -132
  219. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-builder.md +0 -109
  220. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-critic.md +0 -89
  221. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-lead.md +0 -113
  222. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-scout.md +0 -78
  223. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-strategist.md +0 -121
  224. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  225. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/inspiration-scout.md +0 -107
  226. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/motion-designer.md +0 -120
  227. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  228. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  229. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  230. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-debate/reference.md +0 -199
  231. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  232. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  233. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-md/reference.md +0 -106
  234. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  235. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-review/reference.md +0 -123
  236. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  237. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  238. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  239. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  240. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  241. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  242. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  243. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/research-planning/reference.md +0 -96
  244. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  245. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  246. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  247. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/taste-report/reference.md +0 -78
  248. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  249. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  250. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  251. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  252. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  253. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  254. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/perfection/README.md +0 -160
  255. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/perfection/react-perf-tooling.md +0 -127
  256. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/README.md +0 -659
  257. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/charts.csv +0 -26
  258. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/colors.csv +0 -162
  259. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/icons.csv +0 -106
  260. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/landing.csv +0 -35
  261. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/products.csv +0 -162
  262. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/react-performance.csv +0 -45
  263. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/astro.csv +0 -54
  264. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/flutter.csv +0 -53
  265. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  266. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  267. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/nextjs.csv +0 -53
  268. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  269. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  270. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/react-native.csv +0 -52
  271. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/react.csv +0 -54
  272. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/shadcn.csv +0 -61
  273. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/svelte.csv +0 -54
  274. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/swiftui.csv +0 -51
  275. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/vue.csv +0 -50
  276. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/styles.csv +0 -85
  277. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/typography.csv +0 -74
  278. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/ui-reasoning.csv +0 -162
  279. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/ux-guidelines.csv +0 -100
  280. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/web-interface.csv +0 -31
  281. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/scripts/core.py +0 -262
  282. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/scripts/design_system.py +0 -1148
  283. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/scripts/search.py +0 -114
  284. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/adaptive-layout.md +0 -23
  285. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -29
  286. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/canonical-library.md +0 -42
  287. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/complete-contract.md +0 -391
  288. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/composition.md +0 -24
  289. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/craft-floor.md +0 -103
  290. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/creative-directions.md +0 -20
  291. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -71
  292. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/design-choice.md +0 -19
  293. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/evidence-review.md +0 -29
  294. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/house-styles.md +0 -235
  295. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/implementation-platforms.md +0 -25
  296. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/inclusive-interface.md +0 -23
  297. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/interaction-motion.md +0 -27
  298. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/motion-guide.md +0 -123
  299. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/operating-lanes.md +0 -22
  300. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/performance-delivery.md +0 -23
  301. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/probe-and-review.md +0 -47
  302. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/product-direction.md +0 -23
  303. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/production-interview.md +0 -25
  304. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/redesign-playbook.md +0 -29
  305. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/slop-register.md +0 -98
  306. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/system-foundations.md +0 -27
  307. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/taste-direction.md +0 -27
  308. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/visual-language.md +0 -23
  309. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -19
  310. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/schemas/design-contract.v1alpha1.json +0 -299
  311. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/schemas/design-contract.v1beta1.json +0 -32
  312. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/schemas/design-contract.v1beta2.json +0 -34
  313. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/canonical-json.mjs +0 -186
  314. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  315. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/hover-probe.mjs +0 -28
  316. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/lock-probe.mjs +0 -196
  317. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/page-probe.mjs +0 -441
  318. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  319. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/probe.mjs +0 -307
  320. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/route-mode.mjs +0 -19
  321. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/rule-data.mjs +0 -149
  322. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/serve-static.mjs +0 -24
  323. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/stable-file-read.mjs +0 -201
  324. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -555
  325. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/verify-canonical-corpus.mjs +0 -354
  326. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/NOTICE +0 -33
  327. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  328. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  329. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  330. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  331. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  332. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  333. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  334. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  335. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  336. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  337. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  338. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  339. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  340. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  341. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  342. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  343. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  344. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  345. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  346. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  347. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  348. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  349. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  350. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  351. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  352. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  353. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  354. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  355. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  356. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  357. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  358. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  359. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  360. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  361. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  362. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  363. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  364. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  365. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  366. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  367. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  368. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  369. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  370. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  371. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  372. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  373. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  374. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  375. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  376. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  377. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  378. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  379. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  380. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  381. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  382. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  383. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  384. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  385. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  386. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  387. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  388. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  389. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  390. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  391. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  392. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  393. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  394. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  395. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  396. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  397. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  398. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  399. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  400. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  401. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  402. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  403. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  404. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  405. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  406. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  407. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  408. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  409. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  410. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  411. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  412. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  413. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  414. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  415. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  416. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  417. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  418. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  419. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  420. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  421. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  422. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  423. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  424. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  425. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  426. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  427. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  428. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  429. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  430. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  431. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  432. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  433. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  434. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  435. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  436. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  437. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  438. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  439. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  440. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  441. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  442. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  443. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  444. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  445. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  446. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  447. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  448. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  449. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  450. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  451. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  452. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  453. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  454. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  455. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  456. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  457. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  458. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  459. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  460. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  461. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  462. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  463. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  464. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  465. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  466. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  467. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  468. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  469. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  470. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  471. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  472. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  473. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  474. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  475. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  476. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  477. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  478. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  479. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  480. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  481. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  482. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  483. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  484. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  485. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  486. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  487. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  488. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  489. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  490. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  491. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  492. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  493. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  494. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  495. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  496. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  497. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  498. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  499. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  500. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  501. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  502. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  503. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  504. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  505. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  506. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  507. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  508. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  509. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  510. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  511. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  512. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  513. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/icons.html +0 -231
  514. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/index.html +0 -1
  515. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  516. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  517. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  518. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  519. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  520. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  521. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  522. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  523. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  524. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  525. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  526. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  527. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  528. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  529. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  530. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  531. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  532. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  533. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  534. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  535. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  536. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  537. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  538. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  539. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  540. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  541. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  542. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  543. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  544. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  545. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/export.md +0 -29
  546. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  547. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  548. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  549. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  550. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  551. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/motion.md +0 -29
  552. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  553. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  554. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  555. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  556. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  557. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  558. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/profiles.md +0 -24
  559. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  560. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/style-guide.md +0 -76
  561. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  562. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  563. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  564. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  565. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  566. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  567. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  568. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  569. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  570. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  571. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  572. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  573. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  574. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-er.md +0 -49
  575. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  576. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  577. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  578. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  579. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  580. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  581. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  582. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  583. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  584. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  585. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  586. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  587. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  588. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-line.md +0 -54
  589. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  590. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  591. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  592. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  593. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  594. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  595. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  596. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  597. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  598. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-process.md +0 -58
  599. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  600. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  601. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  602. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  603. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  604. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  605. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  606. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  607. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  608. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  609. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  610. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  611. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-state.md +0 -59
  612. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  613. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  614. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  615. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  616. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  617. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  618. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  619. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  620. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  621. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  622. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  623. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/verifier-guide.md +0 -60
  624. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  625. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  626. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  627. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  628. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  629. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -29
  630. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  631. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  632. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  633. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/export.mjs +0 -123
  634. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  635. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  636. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  637. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  638. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  639. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  640. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  641. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  642. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  643. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  644. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -36
  645. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  646. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  647. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  648. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  649. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  650. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  651. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  652. package/marketplace/plugins/litcodex/skills/lit-docx/LICENSE +0 -21
  653. package/marketplace/plugins/litcodex/skills/lit-docx/NOTICE +0 -3
  654. package/marketplace/plugins/litcodex/skills/lit-docx/references/components.md +0 -113
  655. package/marketplace/plugins/litcodex/skills/lit-docx/references/direction-step.md +0 -167
  656. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/01-report-ko.md +0 -95
  657. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/02-brief-ko.md +0 -45
  658. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/03-manual-ko.md +0 -105
  659. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/04-proposal-ko.md +0 -97
  660. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/05-memo-en.md +0 -34
  661. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/06-journal-en.md +0 -89
  662. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/07-report-en.md +0 -101
  663. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/08-proposal-en.md +0 -94
  664. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/09-memo-ko.md +0 -34
  665. package/marketplace/plugins/litcodex/skills/lit-docx/references/frontmatter_schema.md +0 -42
  666. package/marketplace/plugins/litcodex/skills/lit-docx/references/journal_style_spec.md +0 -17
  667. package/marketplace/plugins/litcodex/skills/lit-docx/references/markdown_quality_checklist.md +0 -37
  668. package/marketplace/plugins/litcodex/skills/lit-docx/references/page-composition.md +0 -141
  669. package/marketplace/plugins/litcodex/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  670. package/marketplace/plugins/litcodex/skills/lit-docx/references/slop_rules.md +0 -35
  671. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/brief.md +0 -70
  672. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/journal.md +0 -73
  673. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/manual.md +0 -70
  674. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/memo.md +0 -75
  675. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/proposal.md +0 -71
  676. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/report.md +0 -83
  677. package/marketplace/plugins/litcodex/skills/lit-docx/runtime/requirements.in +0 -5
  678. package/marketplace/plugins/litcodex/skills/lit-docx/runtime/requirements.lock +0 -20
  679. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/clean_markdown.py +0 -95
  680. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1389
  681. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -311
  682. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/convert_pdf.py +0 -130
  683. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/docx_craft.py +0 -218
  684. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/docx_design.py +0 -2446
  685. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/docx_layout.py +0 -960
  686. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/edit_docx.py +0 -297
  687. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/embed_images.py +0 -78
  688. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/generate_docx_templates.py +0 -491
  689. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/slop_lint.py +0 -488
  690. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/visual_audit.py +0 -41
  691. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/acs.docx +0 -0
  692. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  693. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/ieee.docx +0 -0
  694. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  695. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/nature.docx +0 -0
  696. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/acs/README.md +0 -5
  697. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/acs/template.tex +0 -39
  698. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
  699. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/elsevier/template.tex +0 -40
  700. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/ieee/README.md +0 -5
  701. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/ieee/template.tex +0 -39
  702. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
  703. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -39
  704. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/nature/README.md +0 -5
  705. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/nature/template.tex +0 -39
  706. package/marketplace/plugins/litcodex/skills/lit-docx/templates/registry.yaml +0 -1366
  707. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/brief.yaml +0 -27
  708. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
  709. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/manual.yaml +0 -25
  710. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
  711. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
  712. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/report.yaml +0 -26
  713. package/marketplace/plugins/litcodex/skills/lit-pptx/FORBIDDEN_TERMS.json +0 -55
  714. package/marketplace/plugins/litcodex/skills/lit-pptx/NOTICE +0 -8
  715. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/analyst.md +0 -49
  716. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/antithesis.md +0 -59
  717. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/architect.md +0 -44
  718. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/critic.md +0 -42
  719. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/synthesizer.md +0 -47
  720. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/thesis.md +0 -33
  721. package/marketplace/plugins/litcodex/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  722. package/marketplace/plugins/litcodex/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  723. package/marketplace/plugins/litcodex/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  724. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Black.otf +0 -0
  725. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Bold.otf +0 -0
  726. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Light.otf +0 -0
  727. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Medium.otf +0 -0
  728. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Regular.otf +0 -0
  729. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/OFL.txt +0 -94
  730. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/SOURCE.md +0 -29
  731. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  732. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  733. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  734. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/SOURCE.md +0 -21
  735. package/marketplace/plugins/litcodex/skills/lit-pptx/pretendard-font/LICENSE.txt +0 -94
  736. package/marketplace/plugins/litcodex/skills/lit-pptx/pretendard-font/public/static/Pretendard-Bold.otf +0 -0
  737. package/marketplace/plugins/litcodex/skills/lit-pptx/pretendard-font/public/static/Pretendard-Regular.otf +0 -0
  738. package/marketplace/plugins/litcodex/skills/lit-pptx/references/anti-slop-checklist.md +0 -78
  739. package/marketplace/plugins/litcodex/skills/lit-pptx/references/authoring-guide.md +0 -148
  740. package/marketplace/plugins/litcodex/skills/lit-pptx/references/consensus-protocol.md +0 -125
  741. package/marketplace/plugins/litcodex/skills/lit-pptx/references/data-display-cookbook.md +0 -45
  742. package/marketplace/plugins/litcodex/skills/lit-pptx/references/density-and-fill.md +0 -193
  743. package/marketplace/plugins/litcodex/skills/lit-pptx/references/design-system-azure.md +0 -58
  744. package/marketplace/plugins/litcodex/skills/lit-pptx/references/direction-step.md +0 -221
  745. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -185
  746. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/02-pitch-studio-en.md +0 -162
  747. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -229
  748. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/04-research-talk-paper-en.md +0 -212
  749. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/05-research-keynote-night-ko.md +0 -191
  750. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -175
  751. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -241
  752. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/08-field-report-atlas-ko.md +0 -168
  753. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -219
  754. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/10-status-update-ledger-en.md +0 -157
  755. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/11-portfolio-studio-ko.md +0 -183
  756. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/12-tutorial-chalk-en.md +0 -176
  757. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/13-status-update-gazette-ko.md +0 -157
  758. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/14-engineering-review-computational-brutalism-ko.md +0 -173
  759. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/15-launch-pitch-neo-brutalism-ko.md +0 -154
  760. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/16-design-lecture-bauhaus-ko.md +0 -139
  761. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/17-community-programme-riso-ko.md +0 -158
  762. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/18-public-data-briefing-newsroom-ko.md +0 -179
  763. package/marketplace/plugins/litcodex/skills/lit-pptx/references/interview-protocol.md +0 -113
  764. package/marketplace/plugins/litcodex/skills/lit-pptx/references/layout-families.md +0 -225
  765. package/marketplace/plugins/litcodex/skills/lit-pptx/references/title-treatments.md +0 -150
  766. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/atlas.md +0 -113
  767. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/bauhaus.md +0 -136
  768. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/chalk.md +0 -115
  769. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -145
  770. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/gazette.md +0 -118
  771. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/ledger.md +0 -129
  772. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -155
  773. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/newsroom.md +0 -141
  774. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/night.md +0 -126
  775. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/paper.md +0 -109
  776. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/riso.md +0 -133
  777. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/signal.md +0 -121
  778. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/studio.md +0 -111
  779. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/package-lock.json +0 -795
  780. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/package.json +0 -13
  781. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/requirements.in +0 -2
  782. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/requirements.lock +0 -14
  783. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/check_ooxml.py +0 -40
  784. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/compile-deck.js +0 -447
  785. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/craft_extras.py +0 -931
  786. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/embed_fonts.py +0 -213
  787. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/inventory.py +0 -125
  788. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/learn_template.py +0 -433
  789. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  790. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  791. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  792. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/gen-bg.js +0 -85
  793. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -36
  794. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
  795. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  796. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  797. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -358
  798. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2238
  799. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-pack.js +0 -3365
  800. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  801. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  802. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  803. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  804. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/office-run.mjs +0 -177
  805. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/package.json +0 -1
  806. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/qa_deck.py +0 -869
  807. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/render_pages.py +0 -124
  808. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/validate_pptx.py +0 -221
  809. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  810. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -207
  811. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  812. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  813. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/template-enrollment-contract.md +0 -379
  814. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/bauhaus_light.css +0 -4
  815. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/boilerplate_professional.css +0 -508
  816. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  817. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  818. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  819. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  820. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -464
  821. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  822. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  823. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  824. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  825. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  826. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  827. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  828. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  829. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  830. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  831. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -100
  832. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -92
  833. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -93
  834. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  835. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  836. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  837. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  838. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  839. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  840. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  841. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
  842. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
  843. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
  844. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
  845. package/marketplace/plugins/litcodex/skills/lit-schematic/references/cutaway-outputs.md +0 -70
  846. package/marketplace/plugins/litcodex/skills/lit-schematic/references/isometric-craft.md +0 -101
  847. package/marketplace/plugins/litcodex/skills/lit-schematic/references/journal-figures.md +0 -72
  848. package/marketplace/plugins/litcodex/skills/lit-schematic/references/kit-api.md +0 -134
  849. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pfd-and-layout.md +0 -53
  850. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pid-drafting.md +0 -103
  851. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pid-symbols.md +0 -163
  852. package/marketplace/plugins/litcodex/skills/lit-schematic/references/verification.md +0 -100
  853. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/doctor.mjs +0 -57
  854. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
  855. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/fonts.mjs +0 -28
  856. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
  857. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
  858. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
  859. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
  860. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
  861. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
  862. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/png.mjs +0 -132
  863. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
  864. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/route.mjs +0 -218
  865. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
  866. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
  867. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
  868. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/motion.mjs +0 -129
  869. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/qa.mjs +0 -92
  870. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/render.mjs +0 -233
  871. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/scaffold.mjs +0 -60
  872. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/scripts/dependency-preflight.py +0 -233
  873. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/NOTICE +0 -23
  874. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -48
  875. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/assets.mjs +0 -388
  876. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/blender/runner.py +0 -221
  877. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/blender.mjs +0 -132
  878. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/board.mjs +0 -142
  879. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/browser-app.js +0 -735
  880. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/completion.mjs +0 -9
  881. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/compose.mjs +0 -255
  882. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/constants.mjs +0 -308
  883. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-assets.mjs +0 -116
  884. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-capture.mjs +0 -162
  885. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-gate.mjs +0 -327
  886. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-image.mjs +0 -136
  887. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-init.js +0 -55
  888. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-sheet.mjs +0 -69
  889. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-treatment.mjs +0 -137
  890. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-worker.mjs +0 -21
  891. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover.mjs +0 -367
  892. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/driver.mjs +0 -187
  893. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/encode.mjs +0 -163
  894. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/flash.mjs +0 -251
  895. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/fonts.mjs +0 -180
  896. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/gallery.mjs +0 -147
  897. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/gate.mjs +0 -466
  898. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/house.mjs +0 -45
  899. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/image.mjs +0 -356
  900. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/look.mjs +0 -341
  901. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/loop-kit.js +0 -104
  902. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/passes.mjs +0 -181
  903. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/presets.mjs +0 -110
  904. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/report.mjs +0 -56
  905. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs +0 -410
  906. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/safe-read.mjs +0 -32
  907. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/scaffold.mjs +0 -208
  908. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/scenes.mjs +0 -309
  909. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/score.mjs +0 -668
  910. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/sound.mjs +0 -606
  911. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-gate.mjs +0 -198
  912. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-init.js +0 -215
  913. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-kit.js +0 -655
  914. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-qa.js +0 -154
  915. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-qa.mjs +0 -412
  916. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-render.mjs +0 -366
  917. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-worker.mjs +0 -29
  918. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage.mjs +0 -527
  919. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stroke.mjs +0 -264
  920. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/styles.mjs +0 -233
  921. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/timeline.mjs +0 -153
  922. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/treatment.mjs +0 -558
  923. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/type.mjs +0 -234
  924. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/util.mjs +0 -198
  925. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  926. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  927. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  928. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  929. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/webp.mjs +0 -140
  930. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-wt400.ttf +0 -0
  931. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-wt700.ttf +0 -0
  932. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-wt900.ttf +0 -0
  933. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-wt400.ttf +0 -0
  934. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-wt700.ttf +0 -0
  935. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-wt900.ttf +0 -0
  936. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-wt400.ttf +0 -0
  937. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-wt700.ttf +0 -0
  938. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-wt900.ttf +0 -0
  939. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  940. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/SHA256SUMS +0 -16
  941. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  942. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  943. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -6
  944. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  945. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  946. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  947. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  948. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  949. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -86
  950. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  951. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  952. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -33
  953. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  954. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  955. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -42
  956. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  957. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -27
  958. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  959. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -29
  960. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  961. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -44
  962. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -67
  963. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -182
  964. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -95
  965. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -231
  966. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -67
  967. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -103
  968. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/cover.md +0 -426
  969. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/depth.md +0 -156
  970. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/design-choice.md +0 -22
  971. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/quality-gate.md +0 -163
  972. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/runtime.md +0 -69
  973. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/scene-author.md +0 -57
  974. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/sound.md +0 -87
  975. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/stage.md +0 -213
  976. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/studio.md +0 -246
  977. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/style-bibles.md +0 -103
  978. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/treatment.md +0 -141
  979. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/type-and-timing.md +0 -83
  980. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/package-lock.json +0 -59
  981. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/package.json +0 -1
  982. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/requirements-audio.txt +0 -1085
  983. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/word-timing-models.json +0 -11
  984. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/beat-grid.py +0 -50
  985. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/render.mjs +0 -886
  986. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/runtime.mjs +0 -43
  987. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/paper.json +0 -185
  988. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/swiss-signal.json +0 -188
  989. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/terminalcore.json +0 -182
  990. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/tidal.json +0 -187
  991. package/marketplace/plugins/litcodex/skills/readme-studio/references/decoration-patterns.md +0 -36
  992. package/marketplace/plugins/litcodex/skills/readme-studio/references/facts-and-assembly.md +0 -36
  993. package/marketplace/plugins/litcodex/skills/readme-studio/references/motion-and-delivery.md +0 -47
  994. package/marketplace/plugins/litcodex/skills/readme-studio/references/typography-and-imagery.md +0 -34
  995. package/marketplace/plugins/litcodex/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -130
  996. package/marketplace/plugins/litcodex/skills/readme-studio/templates/cover-source.json +0 -35
  997. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/index.html +0 -61
  998. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -6
  999. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  1000. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package.json +0 -14
  1001. package/marketplace/plugins/litcodex/skills/readme-studio/templates/readme-cover-section.md +0 -85
  1002. package/marketplace/plugins/litcodex/skills/readme-studio/templates/readme-facts.json +0 -11
  1003. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1004. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package.json +0 -18
  1005. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/ReadmeCover.tsx +0 -102
  1006. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/Root.tsx +0 -48
  1007. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -4
  1008. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/layout.ts +0 -35
  1009. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/motion.ts +0 -25
  1010. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1011. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/package.json +0 -8
  1012. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -238
  1013. package/marketplace/plugins/litcodex/skills/visual-qa/references/capture-playbook.md +0 -141
  1014. package/marketplace/plugins/litcodex/skills/visual-qa/references/complete-contract.md +0 -389
  1015. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/design-contract.v1alpha1.json +0 -299
  1016. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/design-contract.v1beta1.json +0 -32
  1017. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/design-contract.v1beta2.json +0 -34
  1018. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/evidence-manifest.v1alpha1.json +0 -117
  1019. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/evidence-manifest.v1beta1.json +0 -80
  1020. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/review-receipt.v1alpha1.json +0 -57
  1021. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/ansi.mjs +0 -71
  1022. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/cli.mjs +0 -54
  1023. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/east-asian-width.mjs +0 -31
  1024. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/entrypoint.mjs +0 -1
  1025. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/evidence-bytes.mjs +0 -61
  1026. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/image-diff.mjs +0 -63
  1027. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/png-crc.mjs +0 -19
  1028. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/png-decode.mjs +0 -169
  1029. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/strict-input.mjs +0 -241
  1030. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/tui-grid.mjs +0 -117
  1031. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/types.mjs +0 -7
  1032. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/validate-design-contract.mjs +0 -547
  1033. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/validate-evidence.mjs +0 -392
  1034. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/validate-review-receipt.mjs +0 -79
  1035. package/marketplace/plugins/litcodex/vendor/licenses/045_scientific-visualization-MIT.txt +0 -21
  1036. package/marketplace/plugins/litcodex/vendor/provenance/045_scientific-visualization.md +0 -42
  1037. package/marketplace/plugins/litcodex/vendor/scientific-visualization/SKILL.md +0 -283
  1038. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/color_palettes.py +0 -197
  1039. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/nature.mplstyle +0 -75
  1040. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/presentation.mplstyle +0 -74
  1041. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/publication.mplstyle +0 -78
  1042. package/marketplace/plugins/litcodex/vendor/scientific-visualization/evals/evals.json +0 -158
  1043. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/color_palettes.md +0 -380
  1044. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/journal_requirements.md +0 -359
  1045. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/matplotlib_examples.md +0 -608
  1046. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  1047. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/publication_guidelines.md +0 -217
  1048. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/seaborn_for_publications.md +0 -293
  1049. package/marketplace/plugins/litcodex/vendor/scientific-visualization/scripts/figure_export.py +0 -238
  1050. package/marketplace/plugins/litcodex/vendor/scientific-visualization/scripts/style_presets.py +0 -467
  1051. package/marketplace/plugins/litcodex/vendor/scientific-visualization/tests/test_figure_export.py +0 -51
  1052. package/marketplace/plugins/litcodex/vendor/scientific-visualization/tests/test_style_presets.py +0 -114
  1053. package/node_modules/@litcodex/lit-loop/dist/motion-gate.d.ts +0 -79
  1054. package/node_modules/@litcodex/lit-loop/dist/motion-gate.js +0 -310
  1055. package/node_modules/@litcodex/lit-loop/skills/lit-scientific-visualization/scripts/dependency-preflight.py +0 -233
  1056. package/node_modules/@litcodex/lit-loop/vendor/licenses/045_scientific-visualization-MIT.txt +0 -21
  1057. package/node_modules/@litcodex/lit-loop/vendor/provenance/045_scientific-visualization.md +0 -42
  1058. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/SKILL.md +0 -283
  1059. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/color_palettes.py +0 -197
  1060. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/nature.mplstyle +0 -75
  1061. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/presentation.mplstyle +0 -74
  1062. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/publication.mplstyle +0 -78
  1063. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/evals/evals.json +0 -158
  1064. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/color_palettes.md +0 -380
  1065. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/journal_requirements.md +0 -359
  1066. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/matplotlib_examples.md +0 -608
  1067. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  1068. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/publication_guidelines.md +0 -217
  1069. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/seaborn_for_publications.md +0 -293
  1070. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/scripts/figure_export.py +0 -238
  1071. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/scripts/style_presets.py +0 -467
  1072. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/tests/test_figure_export.py +0 -51
  1073. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/tests/test_style_presets.py +0 -114
@@ -1,960 +0,0 @@
1
- """docx_layout.py — the document output checks docx_craft.py (the lit-docx gate) runs on a converted .docx.
2
-
3
- Two groups. The structural checks read the Word file (and the frontmatter of its Markdown source):
4
-
5
- heading.declarative a heading, the title or the subtitle is a sentence, not a noun-phrase label
6
- heading.order heading levels never skip downward, and the first heading is h1 or h2
7
- notice.dash the frontmatter notice joins its label and line with a colon, not a spaced dash (FAIL on a
8
- tonality run, advice on the plain and publisher paths)
9
- component.count components per kind (cover, callout, sidebar, pullquote, keyfigures, columns)
10
-
11
- The page checks need the document rendered (docx_craft.py --layout; soffice converts it to PDF and
12
- PyMuPDF reads the text lines, drawings and pictures of each page, in points):
13
-
14
- fill.page no body page is filled under 0.35 of its frame (the cover and the last page excepted)
15
- memo.fit a memo never spills onto a second page that it fills under a quarter of the frame
16
- page.spill a two-page document fills its second page to 0.4 of the frame or more, and no
17
- document ends on a page holding a paragraph or two (under an eighth of the frame)
18
- list.split a list of up to six items stands on one page (or in one column); in a column body a list of
19
- five or six may break once with two items or more on each side
20
- heading.apart a heading and its short lead sentence stand on the page where the table (up to eight body
21
- rows) they open starts
22
- heading.stranded no page ends on a heading
23
- heading.column in a column body a heading never ends a column while its text opens the next one
24
- columns.balance in a column body no column stops a quarter of the frame short beside one that runs to the
25
- foot, and the last page sets its columns to about the same depth
26
- heading.wrap the title, the subtitle and every heading wrap only between words
27
- title.lines the title takes at most three lines
28
- folio.total a "page / total" folio counts the pages the reader has
29
- sidebar.overlap a floating sidebar ends before the next heading starts beside it
30
- table.split a table that fits one frame (0.9 of its height) stays on one page and with its
31
- caption, except an allowed long-table split (tonality run, header
32
- + 6 body rows or more, 3 body rows each side, the table started above 0.75 of the
33
- frame); a component box (key figures, callout, sidebar) always stays whole
34
- figure.split a picture and its caption stand on the same page
35
- component.variety a document of four or more pages uses at least two component kinds
36
- cover.block a filled shape covers more than a quarter of the cover page (tonality runs)
37
-
38
- The restraint checks (see references/page-composition.md) read the Word file; they FAIL on a tonality run and are advice on
39
- the plain and publisher paths, except date.iso, which holds on every path:
40
-
41
- color.accent-kinds more than one non-ink hue, or the accent on more than two element kinds (figures aside)
42
- heading.ink a heading set in a colour instead of ink
43
- heading.ratio h1 more than 1.5 times the body size
44
- table.fill a shaded data-table cell, or a component tint darker than L 95 %
45
- component.budget more than three component kinds, more than one key-figure strip, any pull quote, or key
46
- figures on the cover
47
- date.iso an ISO date (2026-10-01) in the text of a Korean document
48
- furniture.chip a coloured or shaded notice in a page header
49
- tonality.structure (docx_craft.py --compare) two tonalities of one source differ in fewer than three structural
50
- features: title block, summary form, heading numbering, component set, running head, contents
51
-
52
- Each finding is {"check", "severity" ("FAIL" or "ADVISORY"), "page" or None, "detail", "fix"}.
53
- """
54
-
55
- from __future__ import annotations
56
-
57
- import re
58
- import statistics
59
- import zipfile
60
- from pathlib import Path
61
- from xml.etree import ElementTree as ET
62
-
63
- W = "{http://schemas.openxmlformats.org/wordprocessingml/2006/main}"
64
- PIC = "{http://schemas.openxmlformats.org/drawingml/2006/main}blip"
65
- KINDS = ("cover", "callout", "sidebar", "pullquote", "keyfigures", "columns")
66
- FILL_MIN = 0.35
67
- MEMO_SPILL = 0.25
68
- SPILL_SECOND = 0.4 # page 2 of a two-page document
69
- SPILL_LAST = 0.125 # the last page of any document
70
- SHORT_LIST = 6
71
- TITLE_LINES = 3
72
- TABLE_CAPTION = re.compile(r"^(?:표|Table)\d+[.:]") # on normalised text (no spaces)
73
- FIT_SHARE = 0.9
74
-
75
-
76
- def finding(check: str, severity: str, page, detail: str, fix: str) -> dict:
77
- return {"check": check, "severity": severity, "page": page, "detail": detail, "fix": fix}
78
-
79
-
80
- def norm(text: str) -> str:
81
- """Text as both sides print it: no spaces, dashes and quotes folded (the converter sets 1-3 as 1–3)."""
82
- text = re.sub(r"\s+", "", text or "")
83
- return text.translate(str.maketrans({"–": "-", "—": "-", "‘": "'", "’": "'", "“": '"', "”": '"'}))
84
-
85
-
86
- # ── heading.declarative ─────────────────────────────────────────────────────
87
- #
88
- # A heading names what its section covers; the finding goes in the first sentence under it. Korean is
89
- # read on its last word: a sentence ending (다, 요, 죠, 니다) or a nominalised claim (…함, …됨, …음 after
90
- # a verb stem) makes the line a sentence. English is read for a closing full stop or a finite verb (an
91
- # auxiliary, or a reporting verb in the past or the third person). A closing parenthesis is set aside
92
- # ("시범 운영 결과 (예시)"), and a question is not a claim.
93
-
94
- KO_SENTENCE = re.compile(r"(?:니다|[어아해세에예네지군래게]요|죠|[었았였했겠됐](?:다|음)|[가-힣]다|[가-힣](?:함|됨)|(?:있|없)음)$")
95
- KO_LABEL_WORDS = {"바다", "판다", "소다", "람다", "캐나다", "어젠다", "아젠다", "포함", "보다", "함", "다", "중심", "가능성", "다음"}
96
- EN_AUX = re.compile(r"\b(?:is|are|was|were|has|have|had|will|would|can|could|should|must|does|did|won't|isn't|aren't|wasn't|doesn't|didn't)\b", re.I)
97
- EN_FINITE = {
98
- "grew", "grows", "rose", "rises", "fell", "falls", "doubled", "doubles", "tripled", "halved", "increased", "increases",
99
- "decreased", "decreases", "declined", "declines", "improved", "improves", "dropped", "drops", "reached", "reaches",
100
- "exceeded", "exceeds", "missed", "misses", "stays", "stayed", "remains", "remained", "shows", "showed", "needs",
101
- "makes", "made", "drives", "drove", "leads", "led", "beats", "cuts", "saves", "saved", "pays", "paid", "works",
102
- "worked", "takes", "took", "wins", "won", "lost", "loses", "fails", "failed", "outperforms", "outperformed",
103
- "explains", "explained", "matters", "lifts", "lifted", "slowed", "slows", "delivers", "delivered", "requires",
104
- }
105
-
106
-
107
- def declarative(text: str) -> bool:
108
- t = re.sub(r"\s+", " ", str(text or "")).strip()
109
- t = re.sub(r"^(?:\d+(?:\.\d+)*\.?|[A-Z]\.|[IVX]+\.|[□○■▪•-])\s+", "", t) # a number or marker the treatment adds
110
- t = re.sub(r"\s*\([^()]*\)$", "", t).strip().rstrip("\"'”’")
111
- if not t or t.endswith("?") or t[0] in "“\"「『‘'":
112
- return False
113
- if re.search(r"[가-힣]", t):
114
- last = re.sub(r"[.!…]+$", "", t.split(" ")[-1])
115
- return last not in KO_LABEL_WORDS and bool(KO_SENTENCE.search(last))
116
- if t.endswith((".", "!")):
117
- return True
118
- words = re.findall(r"[A-Za-z']+", t)
119
- return bool(EN_AUX.search(t)) or any(w.lower() in EN_FINITE for w in words[1:])
120
-
121
-
122
- # ── Reading the Word file ───────────────────────────────────────────────────
123
-
124
- class Styles:
125
- """Paragraph style ids to heading levels and names, following basedOn."""
126
-
127
- def __init__(self, root):
128
- self.s = {}
129
- for st in root.findall(W + "style") if root is not None else []:
130
- name = st.find(W + "name")
131
- based = st.find(W + "basedOn")
132
- outline = st.find(f"{W}pPr/{W}outlineLvl")
133
- self.s[st.get(W + "styleId")] = (
134
- name.get(W + "val") if name is not None else "",
135
- based.get(W + "val") if based is not None else None,
136
- int(outline.get(W + "val")) if outline is not None else None,
137
- )
138
-
139
- def chain(self, sid):
140
- seen = set()
141
- while sid and sid in self.s and sid not in seen:
142
- seen.add(sid)
143
- yield sid, self.s[sid]
144
- sid = self.s[sid][1]
145
-
146
- def level(self, sid):
147
- for key, (name, _, outline) in self.chain(sid):
148
- m = re.match(r"(?i)^heading\s*(\d)$", name or "") or re.match(r"^Heading(\d)$", key)
149
- if m:
150
- return int(m.group(1))
151
- if (name or "").lower() in ("title", "subtitle"):
152
- return None
153
- if outline is not None and outline < 9:
154
- return outline + 1
155
- return None
156
-
157
- def names(self, sid) -> str:
158
- return " ".join(f"{key} {name}" for key, (name, _, _) in self.chain(sid)).lower()
159
-
160
-
161
- def _text(el) -> str:
162
- return "".join(t.text or "" for t in el.iter(W + "t"))
163
-
164
-
165
- def _body_blocks(parent):
166
- for child in parent:
167
- if child.tag == W + "sdt":
168
- content = child.find(W + "sdtContent")
169
- if content is not None:
170
- yield from _body_blocks(content)
171
- elif child.tag in (W + "p", W + "tbl"):
172
- yield child
173
-
174
-
175
- def _columns(blocks: list, sect) -> None:
176
- """The blocks a section break closes take its column count ("cols")."""
177
- cols = sect.find(W + "cols") if sect is not None else None
178
- n = int(cols.get(W + "num", "1") or 1) if cols is not None else 1
179
- for b in reversed(blocks):
180
- if "cols" in b:
181
- break
182
- b["cols"] = n
183
-
184
-
185
- def read_docx(path: Path) -> dict:
186
- """Blocks in reading order ({"t": "h"|"p"|"cap"|"img"|"tbl"}), components, body frame and sections."""
187
- with zipfile.ZipFile(path) as z:
188
- body = ET.fromstring(z.read("word/document.xml")).find(W + "body")
189
- styles = Styles(ET.fromstring(z.read("word/styles.xml")) if "word/styles.xml" in z.namelist() else None)
190
- blocks, comp = [], {k: 0 for k in KINDS}
191
- cover = memo = False
192
- seen_heading = False
193
- for el in _body_blocks(body):
194
- if el.tag == W + "tbl":
195
- tag = el.find(f"{W}tblPr/{W}tblCaption")
196
- kind = (tag.get(W + "val") if tag is not None else "") or ""
197
- word = kind.split(" ")[0]
198
- memo = memo or kind.startswith("cover memo")
199
- if word in comp:
200
- comp[word] += 1
201
- if word == "cover":
202
- cover = True
203
- rows = []
204
- for tr in el.findall(W + "tr"):
205
- cells = [norm(_text(tc)) for tc in tr.findall(W + "tc")]
206
- rows.append(next((c for c in cells if c), ""))
207
- paras = [norm(_text(p)) for p in el.iter(W + "p")]
208
- blocks.append({"t": "tbl", "rows": rows, "component": word if word in comp else None, "cells": [t for t in paras if t]})
209
- continue
210
- ppr = el.find(W + "pPr")
211
- sid_el = ppr.find(W + "pStyle") if ppr is not None else None
212
- sid = sid_el.get(W + "val") if sid_el is not None else None
213
- level = styles.level(sid)
214
- names = styles.names(sid)
215
- text = _text(el)
216
- if "pullquote" in names:
217
- comp["pullquote"] += 1
218
- if el.find(f".//{PIC}") is not None:
219
- blocks.append({"t": "img", "text": norm(text)})
220
- elif level and text.strip():
221
- blocks.append({"t": "h", "level": level, "text": norm(text), "raw": text.strip()})
222
- seen_heading = True
223
- elif text.strip():
224
- listed = (ppr is not None and ppr.find(W + "numPr") is not None) or "list" in names
225
- blocks.append({"t": "cap" if "caption" in names else "p", "text": norm(text), "list": listed})
226
- if not seen_heading and ppr is not None and ppr.find(W + "sectPr") is not None and blocks:
227
- cover = True # the first section ends before any heading: a cover page
228
- if ppr is not None and ppr.find(W + "sectPr") is not None:
229
- _columns(blocks, ppr.find(W + "sectPr"))
230
- _columns(blocks, body.find(W + "sectPr"))
231
- sections = list(body.iter(W + "sectPr"))
232
- # Column sections, plus the side-by-side rows the converter draws for columns with a column break.
233
- comp["columns"] += sum(1 for s in sections for c in s.findall(W + "cols") if int(c.get(W + "num", "1")) >= 2)
234
- comp["cover"] = max(comp["cover"], int(cover))
235
- main = body.find(W + "sectPr")
236
- if main is None and sections:
237
- main = sections[-1]
238
- frame = None
239
- if main is not None:
240
- size, margin = main.find(W + "pgSz"), main.find(W + "pgMar")
241
- pt = lambda el, key: abs(int(el.get(W + key, "0"))) / 20.0 # noqa: E731 (twips)
242
- frame = {"page_h": pt(size, "h"), "top": pt(margin, "top"), "bottom": pt(margin, "bottom")}
243
- return {"blocks": blocks, "components": comp, "cover": cover, "memo": memo, "frame": frame}
244
-
245
-
246
- # ── Restraint checks (references/page-composition.md) ────────────────────────────
247
-
248
- def _rgb(hexs: str):
249
- try:
250
- return tuple(int(hexs[i:i + 2], 16) for i in (0, 2, 4))
251
- except (ValueError, TypeError):
252
- return None
253
-
254
-
255
- def hue(hexs: str):
256
- """None for ink (black, greys, white, auto) and for a near-white tint; else a hue bucket of 30 degrees."""
257
- rgb = _rgb((hexs or "").lstrip("#"))
258
- if rgb is None:
259
- return None
260
- hi, lo = max(rgb), min(rgb)
261
- if hi - lo < 32 or lo >= 236: # a neutral grey, or a tint too pale to read as a colour
262
- return None
263
- r, g, b = (c / 255 for c in rgb)
264
- mx, mn = max(r, g, b), min(r, g, b)
265
- d = mx - mn
266
- h = ((g - b) / d) % 6 if mx == r else (b - r) / d + 2 if mx == g else (r - g) / d + 4
267
- return int(round(h * 60 / 30)) % 12
268
-
269
-
270
- def lightness(hexs: str) -> float:
271
- rgb = _rgb((hexs or "").lstrip("#"))
272
- return 1.0 if rgb is None else (max(rgb) + min(rgb)) / 510
273
-
274
-
275
- INK_FILLS = {"", "AUTO", "FFFFFF"}
276
- ISO_DATE = re.compile(r"(?<!\d)(?:19|20)\d{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])(?!\d)")
277
- HANGUL = re.compile(r"[가-힣]")
278
-
279
-
280
- def _style_props(root):
281
- """styleId -> (heading level or 0, own colour, own size in pt, basedOn, is a pull-quote style)."""
282
- out = {}
283
- for st in root.findall(W + "style") if root is not None else []:
284
- sid = st.get(W + "styleId")
285
- name = (st.find(W + "name").get(W + "val") if st.find(W + "name") is not None else "") or ""
286
- m = re.match(r"(?i)^heading\s*(\d)$", name) or re.match(r"^Heading(\d)$", sid or "")
287
- colour = st.find(f"{W}rPr/{W}color")
288
- size = st.find(f"{W}rPr/{W}sz")
289
- based = st.find(W + "basedOn")
290
- out[sid] = (int(m.group(1)) if m else 0, colour.get(W + "val") if colour is not None else None,
291
- int(size.get(W + "val")) / 2 if size is not None else None, based.get(W + "val") if based is not None else None,
292
- "pullquote" in name.lower())
293
- return out
294
-
295
-
296
- def _resolve(props, sid, index):
297
- seen = set()
298
- while sid and sid in props and sid not in seen:
299
- seen.add(sid)
300
- if props[sid][index] is not None:
301
- return props[sid][index]
302
- sid = props[sid][3]
303
- return None
304
-
305
-
306
- def restraint(path: Path, tonality: bool) -> list[dict]:
307
- """The A4.11 checks read from the Word XML (everything but cover.block and tonality.structure)."""
308
- sev = "FAIL" if tonality else "ADVISORY"
309
- found = []
310
- with zipfile.ZipFile(path) as z:
311
- names = z.namelist()
312
- doc = ET.fromstring(z.read("word/document.xml"))
313
- sroot = ET.fromstring(z.read("word/styles.xml")) if "word/styles.xml" in names else None
314
- heads = {n: ET.fromstring(z.read(n)) for n in names if re.match(r"word/header\d*\.xml$", n)}
315
- foots = {n: ET.fromstring(z.read(n)) for n in names if re.match(r"word/footer\d*\.xml$", n)}
316
- props = _style_props(sroot)
317
- default_id = next((s.get(W + "styleId") for s in (sroot.findall(W + "style") if sroot is not None else [])
318
- if s.get(W + "type") == "paragraph" and s.get(W + "default") in ("1", "true")), "Normal")
319
- body = doc.find(W + "body")
320
- uses = {} # hue bucket -> set of element kinds
321
-
322
- def use(colour, kind):
323
- h = hue(colour)
324
- if h is not None:
325
- uses.setdefault(h, set()).add(kind)
326
-
327
- used = {el.get(W + "val") for el in doc.iter(W + "pStyle")} | {el.get(W + "val") for el in doc.iter(W + "rStyle")} | {default_id}
328
- for sid in list(used):
329
- s, seen = sid, set()
330
- while s in props and s not in seen: # a used style's colour may come from the style it is based on
331
- seen.add(s)
332
- if props[s][1]:
333
- use(props[s][1], "heading text" if sid in props and props[sid][0] else "text")
334
- break
335
- s = props[s][3]
336
- # heading.ink and heading.ratio
337
- body_pt = _resolve(props, default_id, 2) or 11.0
338
- h1_pt = 0.0
339
- coloured, shaded = [], []
340
- for p in body.iter(W + "p"):
341
- sid_el = p.find(f"{W}pPr/{W}pStyle")
342
- sid = sid_el.get(W + "val") if sid_el is not None else default_id
343
- level = 0
344
- s, seen = sid, set()
345
- while s in props and s not in seen:
346
- seen.add(s)
347
- if props[s][0]:
348
- level = props[s][0]
349
- break
350
- s = props[s][3]
351
- if not level:
352
- continue
353
- text = "".join(t.text or "" for t in p.iter(W + "t")).strip()
354
- if not text:
355
- continue
356
- colours = [c.get(W + "val") for c in p.iter(W + "color")] + [_resolve(props, sid, 1)]
357
- bad = [c for c in colours if hue(c) is not None]
358
- if bad:
359
- coloured.append(f"h{level} '{text[:30]}' #{bad[0]}")
360
- if level == 1:
361
- sizes = [int(s.get(W + "val")) / 2 for s in p.iter(W + "sz")] + [_resolve(props, sid, 2) or 0]
362
- h1_pt = max(h1_pt, max(sizes))
363
- if coloured:
364
- found.append(finding("heading.ink", sev, None, f"{len(coloured)} heading(s) in colour, e.g. {coloured[0]}",
365
- "Set every heading in the body ink; separate levels by weight and space, never by colour."))
366
- if h1_pt and h1_pt / body_pt > 1.5:
367
- found.append(finding("heading.ratio", sev, None, f"h1 {h1_pt:g} pt over body {body_pt:g} pt is {h1_pt / body_pt:.2f}x (at most 1.5)",
368
- "Keep the steps quiet: h1 about 1.4x, h2 about 1.2x, h3 the body size in bold."))
369
- # colours in the body: runs, rules, fills; tables apart from figures
370
- comp_count = {}
371
- for tbl in body.iter(W + "tbl"):
372
- cap = tbl.find(f"{W}tblPr/{W}tblCaption")
373
- kind = ((cap.get(W + "val") if cap is not None else "") or "").split(" ")[0]
374
- if kind:
375
- comp_count[kind] = comp_count.get(kind, 0) + 1
376
- for b in tbl.iter():
377
- if b.tag in (W + "top", W + "bottom", W + "left", W + "right", W + "insideH", W + "insideV") and b.get(W + "val") not in (None, "nil", "none"):
378
- use(b.get(W + "color"), "box rule" if kind else "table rule")
379
- for tc in tbl.iter(W + "tc"):
380
- shd = tc.find(f"{W}tcPr/{W}shd")
381
- fill = (shd.get(W + "fill") if shd is not None else "") or ""
382
- if fill.upper() in INK_FILLS:
383
- continue
384
- use(fill, "box fill" if kind else "table fill")
385
- if not kind:
386
- shaded.append(f"a data-table cell #{fill}")
387
- break
388
- if kind in ("callout", "sidebar", "keyfigures") and lightness(fill) < 0.95:
389
- shaded.append(f"a {kind} tint #{fill} darker than L 95 %")
390
- break
391
- if shaded:
392
- found.append(finding("table.fill", sev, None, f"{len(shaded)} shaded table(s), e.g. {shaded[0]}",
393
- "Booktabs only: three rules, no fills, no zebra, a bold ink header; at most one very light tint (L 95 % or lighter) for one component kind."))
394
- for p in body.iter(W + "p"):
395
- for b in p.iter(W + "pBdr"):
396
- for side in b:
397
- if side.get(W + "val") not in (None, "nil", "none"):
398
- use(side.get(W + "color"), "rule")
399
- shd = p.find(f"{W}pPr/{W}shd")
400
- if shd is not None:
401
- use(shd.get(W + "fill"), "paragraph fill")
402
- for r in p.iter(W + "r"):
403
- c = r.find(f"{W}rPr/{W}color")
404
- if c is not None:
405
- use(c.get(W + "val"), "text")
406
- rs = r.find(f"{W}rPr/{W}shd")
407
- if rs is not None:
408
- use(rs.get(W + "fill"), "text fill")
409
- for part in list(heads.values()) + list(foots.values()):
410
- for el in part.iter():
411
- if el.tag == W + "color":
412
- use(el.get(W + "val"), "page furniture")
413
- elif el.tag == W + "shd":
414
- use(el.get(W + "fill"), "page furniture")
415
- if len(uses) > 1:
416
- found.append(finding("color.accent-kinds", sev, None, f"{len(uses)} hues outside the ink: {sorted({k for v in uses.values() for k in v})}",
417
- "One accent colour per document at most; everything else is ink and grey."))
418
- else:
419
- for h, kinds in uses.items():
420
- if len(kinds) > 2:
421
- found.append(finding("color.accent-kinds", sev, None, f"the accent marks {len(kinds)} element kinds: {sorted(kinds)}",
422
- "Use the accent on two element kinds at most (for example the cover rule and the callout hairline)."))
423
- # component.budget
424
- kinds = {k for k in ("callout", "sidebar", "keyfigures", "columns") if comp_count.get(k)}
425
- pull = sum(1 for p in body.iter(W + "p")
426
- if (lambda s: s is not None and _resolve(props, s.get(W + "val"), 4))(p.find(f"{W}pPr/{W}pStyle")))
427
- if any(int(c.get(W + "num", "1")) >= 2 for s in body.iter(W + "sectPr") for c in s.findall(W + "cols")):
428
- kinds.add("columns")
429
- if pull:
430
- kinds.add("pullquote")
431
- cover_kf = False
432
- for el in body:
433
- if el.tag == W + "tbl":
434
- cap = el.find(f"{W}tblPr/{W}tblCaption")
435
- if cap is not None and cap.get(W + "val") == "keyfigures":
436
- cover_kf = True
437
- if el.tag == W + "p" and el.find(f"{W}pPr/{W}sectPr") is not None:
438
- break
439
- if el.tag == W + "p" and el.find(f"{W}pPr/{W}pStyle") is not None and props.get(el.find(f"{W}pPr/{W}pStyle").get(W + "val"), (0,))[0]:
440
- cover_kf = False # a heading before the first section break: page 1 is not a cover
441
- break
442
- else:
443
- cover_kf = False
444
- problems = []
445
- if len(kinds) > 3:
446
- problems.append(f"{len(kinds)} component kinds ({', '.join(sorted(kinds))})")
447
- if comp_count.get("keyfigures", 0) > 1:
448
- problems.append(f"{comp_count['keyfigures']} key-figure strips")
449
- if pull:
450
- problems.append(f"{pull} pull quote(s)")
451
- if cover_kf:
452
- problems.append("key figures on the cover")
453
- if problems:
454
- found.append(finding("component.budget", sev, None, "; ".join(problems),
455
- "Three component kinds at most; one key-figure strip, in the summary; no pull quotes; a cover holds no key figures."))
456
- # date.iso (every path) and furniture.chip
457
- text = " ".join(t.text or "" for part in [doc, *heads.values(), *foots.values()] for t in part.iter(W + "t"))
458
- if len(HANGUL.findall(text)) > 0.05 * max(1, len(re.sub(r"\s", "", text))):
459
- m = ISO_DATE.search(text)
460
- if m:
461
- found.append(finding("date.iso", "FAIL", None, f"an ISO date {m.group(0)} in a Korean document",
462
- "Write Korean dates as 2026. 10. 1. or 2026년 10월 1일."))
463
- for name, part in heads.items():
464
- chip = [el for el in part.iter() if (el.tag == W + "shd" and (el.get(W + "fill") or "").upper() not in INK_FILLS)
465
- or (el.tag == W + "color" and hue(el.get(W + "val")) is not None)]
466
- if chip and "".join(t.text or "" for t in part.iter(W + "t")).strip():
467
- found.append(finding("furniture.chip", sev, None, f"{name.split('/')[-1]} holds a coloured or shaded notice",
468
- "State the sample-data notice once, on the cover or the first page, in ink; page headers stay quiet."))
469
- break
470
- return found
471
-
472
-
473
- # ── tonality.structure ──────────────────────────────────────────────────────
474
-
475
- STRUCTURE_KEYS = ("title_block", "summary", "numbering", "components", "running_head", "contents")
476
-
477
-
478
- def structure(path: Path) -> dict:
479
- """The structural features of a document (A4.6): what stands on page 1, how the summary is set, how headings
480
- are numbered, which components it uses, what the running head carries and whether it lists its contents."""
481
- info = read_docx(path)
482
- with zipfile.ZipFile(path) as z:
483
- names = z.namelist()
484
- heads = [ET.fromstring(z.read(n)) for n in names if re.match(r"word/header\d*\.xml$", n)]
485
- foots = [ET.fromstring(z.read(n)) for n in names if re.match(r"word/footer\d*\.xml$", n)]
486
- body = ET.fromstring(z.read("word/document.xml")).find(W + "body")
487
- caps = [((t.find(f"{W}tblPr/{W}tblCaption").get(W + "val") if t.find(f"{W}tblPr/{W}tblCaption") is not None else "") or "")
488
- for t in body.iter(W + "tbl")]
489
- # A cover page: the first section ends before any heading and the next section starts on a new page
490
- # (a section's w:type says how that section starts).
491
- cover_page = False
492
- sects = [el.find(f"{W}pPr/{W}sectPr") for el in body if el.tag == W + "p" and el.find(f"{W}pPr/{W}sectPr") is not None]
493
- sects.append(body.find(W + "sectPr"))
494
- for el in body:
495
- ppr = el.find(W + "pPr") if el.tag == W + "p" else None
496
- if ppr is not None and ppr.find(W + "pStyle") is not None and re.match(r"Heading\d", ppr.find(W + "pStyle").get(W + "val") or ""):
497
- break
498
- if ppr is not None and ppr.find(W + "sectPr") is not None:
499
- nxt = sects[1] if len(sects) > 1 else None
500
- kind = nxt.find(W + "type") if nxt is not None else None
501
- cover_page = kind is None or kind.get(W + "val") != "continuous"
502
- break
503
- if cover_page:
504
- title = "cover page"
505
- elif any(c.startswith("cover memo") for c in caps):
506
- title = "memo block"
507
- elif any(c.startswith("cover") for c in caps):
508
- title = "title block + " + next(c for c in caps if c.startswith("cover")).split(" ", 1)[-1]
509
- else:
510
- title = "title block"
511
- blocks = info["blocks"]
512
- first_h = next((i for i, b in enumerate(blocks) if b["t"] == "h"), None)
513
- lead = blocks[first_h + 1:first_h + 6] if first_h is not None else []
514
- if any(b["t"] == "p" and re.match(r"^[①②③④⑤]", b["text"]) for b in lead):
515
- summary = "numbered points"
516
- elif any(b["t"] == "tbl" and b["component"] == "keyfigures" for b in blocks[: (first_h or 0) + 8]):
517
- summary = "key figures"
518
- else:
519
- summary = "prose"
520
- heads_text = [b["text"] for b in blocks if b["t"] == "h"]
521
- if heads_text and sum(bool(re.match(r"^[ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ]\.", h)) for h in heads_text) >= 2:
522
- numbering = "roman"
523
- elif heads_text and sum(bool(re.match(r"^\d+(\.\d+)*\.?", h)) for h in heads_text) >= 2:
524
- numbering = "decimal"
525
- else:
526
- numbering = "none"
527
- comps = sorted(k for k, v in info["components"].items() if v and k != "cover")
528
-
529
- def furniture(parts):
530
- out = set()
531
- for part in parts:
532
- xml = ET.tostring(part, encoding="unicode")
533
- text = "".join(t.text or "" for t in part.iter(W + "t")).strip()
534
- if "PAGE" not in xml and "STYLEREF" not in xml:
535
- continue # a cover's own footer (byline, date) is not a running head
536
- if "STYLEREF" in xml:
537
- out.add("section")
538
- if "PAGE" in xml:
539
- out.add("folio")
540
- if re.sub(r"\d", "", text):
541
- out.add("title")
542
- return out
543
- running = f"header:{'+'.join(sorted(furniture(heads))) or '-'} footer:{'+'.join(sorted(furniture(foots))) or '-'}"
544
- contents = any(b["t"] == "p" and b["text"] in ("목차", "Contents") for b in blocks)
545
- return {"title_block": title, "summary": summary, "numbering": numbering, "components": ",".join(comps) or "-",
546
- "running_head": running, "contents": contents}
547
-
548
-
549
- def structure_diff(a: dict, b: dict) -> list[str]:
550
- return [k for k in STRUCTURE_KEYS if a.get(k) != b.get(k)]
551
-
552
-
553
- # ── Structural checks ───────────────────────────────────────────────────────
554
-
555
- def structural(info: dict, front: dict, manuscript: bool, tonality: bool = True) -> list[dict]:
556
- found = []
557
- heads = [b for b in info["blocks"] if b["t"] == "h"]
558
- if heads and heads[0]["level"] > 2:
559
- found.append(finding("heading.order", "FAIL", None, f"the first heading is h{heads[0]['level']}: {heads[0]['raw'][:60]}",
560
- "Open the document with a # or ## heading."))
561
- for prev, head in zip(heads, heads[1:]):
562
- if head["level"] > prev["level"] + 1:
563
- found.append(finding("heading.order", "FAIL", None, f"h{prev['level']} -> h{head['level']}: {head['raw'][:60]}",
564
- f"Make it an h{prev['level'] + 1}, or add the missing level above it."))
565
- # The example-data note reads as a label and its line, never two halves around a spaced dash.
566
- notice = str(front.get("notice") or "")
567
- if re.search(r"\s[—–]\s", notice):
568
- found.append(finding("notice.dash", "FAIL" if tonality else "ADVISORY", None, f"the notice joins its parts with a spaced dash: {notice[:60]}",
569
- "Write the label with a colon (예시 데이터: …; Sample memo: …)."))
570
- labels = [("title", front.get("title")), ("subtitle", front.get("subtitle"))] + [(f"h{h['level']}", h["raw"]) for h in heads]
571
- for what, text in labels:
572
- if text and declarative(str(text)):
573
- found.append(finding("heading.declarative", "ADVISORY" if manuscript else "FAIL", None, f"the {what} is a sentence: {str(text)[:60]}",
574
- "Name the topic as a noun phrase (1년 운영 결과; Conversion by feed rate) and put the claim in the first sentence under it."))
575
- return found
576
-
577
-
578
- # ── Page checks ─────────────────────────────────────────────────────────────
579
-
580
- def read_pdf(pdf: Path) -> list[dict]:
581
- """Per page: size, text lines (top, bottom, normalised text) and ink boxes (text, drawings, pictures)."""
582
- import pymupdf
583
-
584
- pages = []
585
- with pymupdf.open(pdf) as document:
586
- for page in document:
587
- lines, ink, boxes = [], [], []
588
- for block in page.get_text("dict")["blocks"]:
589
- for line in block.get("lines", []):
590
- text = "".join(span["text"] for span in line["spans"])
591
- if text.strip():
592
- x0, y0, x1, y1 = line["bbox"]
593
- lines.append((y0, y1, norm(text)))
594
- boxes.append((x0, y0, x1, y1, norm(text)))
595
- ink.append((y0, y1))
596
- fills = 0.0
597
- for drawing in page.get_drawings():
598
- fill = drawing.get("fill")
599
- if drawing.get("color") is not None or (fill is not None and min(fill) < 0.96):
600
- ink.append((drawing["rect"].y0, drawing["rect"].y1))
601
- if fill is not None and min(fill) < 0.96:
602
- fills += drawing["rect"].width * drawing["rect"].height
603
- images = [(info["bbox"][1], info["bbox"][3]) for info in page.get_image_info()]
604
- ink.extend(images)
605
- lines.sort()
606
- pages.append({"h": page.rect.height, "w": page.rect.width, "lines": lines, "ink": ink, "images": len(images), "boxes": boxes,
607
- "filled": fills / (page.rect.width * page.rect.height)})
608
- return pages
609
-
610
-
611
- def _column(hit, pages) -> int:
612
- """0 for a line in the left half of its page, 1 for the right half (a two-column body)."""
613
- page = pages[hit[0] - 1]
614
- box = next((b for b in page.get("boxes", []) if abs(b[1] - hit[1]) < 0.5 and b[4] == hit[3]), None)
615
- return 0 if box is None or box[0] < 297 else 1
616
-
617
-
618
- def _starts(line: str, target: str) -> bool:
619
- """The PDF line opens the target: six shared characters, or all of a short target, or a short wrapped first line."""
620
- if not line or not target:
621
- return False
622
- k = 0
623
- for a, b in zip(line, target):
624
- if a != b:
625
- break
626
- k += 1
627
- return k >= min(len(target), 6) or k == len(line) >= min(2, len(target))
628
-
629
-
630
- def _wraps(raw: str, lines: list) -> list[str]:
631
- """Where a label set over several PDF lines breaks inside a word: the text either side of each such break.
632
- A break may fall at a space or after a dash or slash; anywhere else it splits a word (제/안서)."""
633
- target = norm(raw)
634
- spaced = re.sub(r"\s+", " ", raw.translate(str.maketrans({"–": "-", "—": "-"}))).strip()
635
- ok_after, k = set(), 0 # positions in the normalised text where a break is allowed
636
- marker = re.match(r"^(?:\d+(?:\.\d+)*\.?|[A-Z]\.|[IVX]+\.|[ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ]\.|[가나다라마바사아자차카타파하]\.|[□○■▪•-])", target)
637
- if marker:
638
- ok_after.add(marker.end()) # a numeral or marker the treatment sets apart with a tab
639
- for i, ch in enumerate(spaced):
640
- if ch == " ":
641
- ok_after.add(k)
642
- continue
643
- k += 1
644
- if ch in "-/":
645
- ok_after.add(k)
646
- cut = _set_over(target, lines)
647
- return [f"{target[max(0, c - 4):c]}/{target[c:c + 4]}" for c in cut or [] if c not in ok_after]
648
-
649
-
650
- def _set_over(target: str, lines: list) -> list[int] | None:
651
- """The break positions of a normalised label set over consecutive PDF lines ([] on one line), or None."""
652
- for start in range(len(lines)):
653
- if lines[start][2] == target:
654
- return []
655
- if not lines[start][2] or not target.startswith(lines[start][2]):
656
- continue
657
- got, cut = lines[start][2], []
658
- for nxt in lines[start + 1:start + 8]:
659
- if not target.startswith(got + nxt[2]):
660
- break
661
- cut.append(len(got))
662
- got += nxt[2]
663
- if got == target:
664
- return cut
665
- return None
666
-
667
-
668
- def _same(line: str, target: str) -> bool:
669
- """A stricter _starts for captions and box cells: 12 shared characters (or the whole text), so a sentence
670
- that only opens alike ("Table 2 summarises", "Half-conversion time.") is not taken for them."""
671
- if not line or not target:
672
- return False
673
- k = next((i for i, (a, b) in enumerate(zip(line, target)) if a != b), min(len(line), len(target)))
674
- return k >= min(len(target), 12) or (k == len(line) >= 8)
675
-
676
-
677
- LONG_TABLE_ROWS = 7 # header + 6 body rows
678
- SPLIT_SIDE_MIN = 3 # body rows on each side of an allowed split
679
- SPLIT_START_MAX = 0.75 # moving the table whole would leave its first page under this fill
680
-
681
-
682
- def long_split_ok(block, got, cap_hit, pages, frame, tonality) -> bool:
683
- """In a tonality run, a table of a header and six or more body rows may break between rows
684
- (header repeated) when it started high enough that moving it whole would leave the page under 0.75 filled,
685
- with at least three body rows on each side. Never on the publisher path."""
686
- spread = sorted({h[0] for h in got})
687
- if not tonality or len(block["rows"]) < LONG_TABLE_ROWS or len(spread) != 2:
688
- return False
689
- first = sum(1 for h in got if h[0] == spread[0]) - 1 # the header row stands on the first page
690
- second = sum(1 for h in got if h[0] == spread[1])
691
- page = pages[spread[0] - 1]
692
- top, floor = frame["top"], page["h"] - frame["bottom"]
693
- start = cap_hit[1] if cap_hit and cap_hit[0] == spread[0] else min(h[1] for h in got if h[0] == spread[0])
694
- return first >= SPLIT_SIDE_MIN and second >= SPLIT_SIDE_MIN and (start - top) / (floor - top) <= SPLIT_START_MAX
695
-
696
-
697
- BALANCE_SHORT = 0.75 # a column that stops above this share of the frame beside one that runs to the foot
698
- BALANCE_FULL = 0.9
699
-
700
-
701
- def column_balance(info: dict, pages: list[dict], frame: dict, tonality: bool) -> list[dict]:
702
- """Columns of a two-column body: on a full page neither column stops a quarter of the
703
- frame short while the other runs to the foot, and the last page sets both columns to about the same depth
704
- instead of one column beside an empty one."""
705
- if not any(b.get("cols", 1) >= 2 for b in info["blocks"]):
706
- return []
707
- found = []
708
- top = frame["top"]
709
- for i, page in enumerate(pages, 1):
710
- floor, mid = page["h"] - frame["bottom"], page.get("w", 595.3) / 2
711
- body = [b for b in page.get("boxes", []) if b[1] >= top - 2 and b[3] <= floor + 2]
712
- left = [b for b in body if b[2] <= mid + 5]
713
- right = [b for b in body if b[0] >= mid - 5]
714
- depth = lambda side: (max(b[3] for b in side) - top) / (floor - top) if side else 0.0 # noqa: E731
715
- if i < len(pages):
716
- if left and right and max(depth(left), depth(right)) >= BALANCE_FULL and min(depth(left), depth(right)) < BALANCE_SHORT:
717
- short = "left" if depth(left) < depth(right) else "right"
718
- found.append(finding("columns.balance", "FAIL" if tonality else "ADVISORY", i,
719
- f"the {short} column on page {i} stops at {min(depth(left), depth(right)):.2f} of the frame while the other runs to the foot",
720
- "Let a list of five or six items in a column break after its first two items; keep only short blocks whole."))
721
- elif info["blocks"] and info["blocks"][-1].get("cols", 1) >= 2:
722
- start = min((b[1] for b in left + right), default=top)
723
- tall = lambda side: (max(b[3] for b in side) - start) / (floor - top) if side else 0.0 # noqa: E731
724
- longer, shorter = max(tall(left), tall(right)), min(tall(left), tall(right))
725
- if longer > 0.125 and shorter < 0.5 * longer:
726
- found.append(finding("columns.balance", "FAIL" if tonality else "ADVISORY", i,
727
- f"the last page sets one column {longer:.2f} of the frame deep beside one {shorter:.2f} deep",
728
- "End the column body with a continuous section break so the last page balances its columns."))
729
- return found
730
-
731
-
732
- def paged(info: dict, pages: list[dict], tonality: bool, front: dict | None = None) -> tuple[list[dict], dict]:
733
- frame = info["frame"] or {"page_h": 841.9, "top": 56.7, "bottom": 56.7}
734
- top = frame["top"]
735
- found, fills = [], []
736
- n = len(pages)
737
- for i, page in enumerate(pages, 1):
738
- floor = page["h"] - frame["bottom"]
739
- body = [(y0, y1) for y0, y1 in page["ink"] if y1 > top - 2 and y0 < floor + 2]
740
- fill = round(max(0.0, min(1.0, (max((y1 for _, y1 in body), default=top) - top) / (floor - top))), 3)
741
- exempt = "last" if i == n else "cover" if info["cover"] and i == 1 else None
742
- fills.append({"page": i, "fill": fill, "exempt": exempt})
743
- if not exempt and fill < FILL_MIN:
744
- found.append(finding("fill.page", "FAIL", i, f"page {i} is filled to {fill:.2f} of its frame (floor {FILL_MIN})",
745
- "Let the next block move up: drop a forced break, keep a short section with its neighbour, or move a table under its text."))
746
- # A memo that spills under a quarter of a page onto page 2 is a one-page memo set loosely; more than that
747
- # is a two-page memo, which the pack allows.
748
- if info.get("memo") and n == 2 and fills[-1]["fill"] < MEMO_SPILL:
749
- found.append(finding("memo.fit", "FAIL", 2, f"the memo runs onto a second page filled to {fills[-1]['fill']:.2f} of its frame",
750
- "Set the memo on one page: the Memo pack's tight spacing, or shorten the text by the lines that spill."))
751
- # A second page filled under a third of its frame is a one-page document set loosely or a block left over;
752
- # a last page under an eighth holds a paragraph or two that the page before could carry.
753
- if not info.get("memo") and n >= 2:
754
- last = fills[-1]["fill"]
755
- if n == 2 and last < SPILL_SECOND:
756
- found.append(finding("page.spill", "FAIL" if tonality else "ADVISORY", 2, f"page 2 of 2 is filled to {last:.2f} of its frame (at least {SPILL_SECOND:.2f})",
757
- "Set the document on one page (tight spacing for a source of about a page), or give page 2 a whole section."))
758
- elif last < SPILL_LAST:
759
- found.append(finding("page.spill", "FAIL" if tonality else "ADVISORY", n, f"the last page holds only {last:.2f} of its frame",
760
- "Keep the closing paragraph with the block before it, so the two share a page."))
761
- heads = [b for b in info["blocks"] if b["t"] == "h"]
762
- labels = [(what, str((front or {}).get(what))) for what in ("title", "subtitle") if (front or {}).get(what)]
763
- labels += [(f"h{h['level']}", h["raw"]) for h in heads]
764
- for what, raw in labels:
765
- for i, page in enumerate(pages, 1):
766
- splits = _wraps(raw, page["lines"])
767
- if splits:
768
- found.append(finding("heading.wrap", "FAIL", i, f"the {what} '{raw[:50]}' wraps inside a word on page {i} ({', '.join(splits)})",
769
- "Break the line between words: the converter sets cover and title lines at word boundaries; a heading too long for its column needs a shorter label."))
770
- break
771
- title = str((front or {}).get("title") or "")
772
- for i, page in enumerate(pages[:2], 1):
773
- cut = _set_over(norm(title), page["lines"]) if title else None
774
- if cut is not None and len(cut) + 1 > TITLE_LINES:
775
- found.append(finding("title.lines", "FAIL", i, f"the title takes {len(cut) + 1} lines (at most {TITLE_LINES})",
776
- "The converter sets a title in at most three lines; a longer title needs a shorter wording or a subtitle."))
777
- break
778
- body_pages = n - (1 if info["cover"] else 0)
779
- for i, page in enumerate(pages, 1):
780
- floor = page["h"] - frame["bottom"]
781
- for _, y0, _, t in [(None, ln[0], ln[1], ln[2]) for ln in page["lines"] if ln[0] > floor - 2]:
782
- m = re.fullmatch(r"(\d+)/(\d+)", t)
783
- if m and int(m.group(2)) not in (n, body_pages):
784
- found.append(finding("folio.total", "FAIL", i, f"the folio reads {m.group(1)} / {m.group(2)} in a document of {n} pages",
785
- "Print the page number alone, or a total that counts the pages the reader has."))
786
- break
787
- else:
788
- continue
789
- break
790
- for i, page in enumerate(pages[:-1], 1):
791
- floor = page["h"] - frame["bottom"]
792
- inside = [ln for ln in page["lines"] if ln[0] >= top - 2 and ln[1] <= floor + 2]
793
- if not inside:
794
- continue
795
- last = max(inside, key=lambda ln: ln[1])[2]
796
- for head in heads:
797
- h = head["text"]
798
- if last == h or (len(last) >= 4 and h.endswith(last)) or (last.endswith(h) and len(last) - len(h) <= 6 and len(h) >= 2):
799
- found.append(finding("heading.stranded", "FAIL", i, f"page {i} ends on the heading '{head['raw'][:50]}'",
800
- "The converter keeps a heading with its next paragraph; a heading over a long table or a picture needs a short lead sentence under it."))
801
- break
802
- lines = [(p, y0, y1, t) for p, page in enumerate(pages, 1) for y0, y1, t in page["lines"]]
803
- cursor = 0
804
-
805
- def find(target, max_page=None):
806
- nonlocal cursor
807
- for j in range(cursor, len(lines)):
808
- if max_page and lines[j][0] > max_page:
809
- return None
810
- if _starts(lines[j][3], target):
811
- cursor = j + 1
812
- return lines[j]
813
- return None
814
-
815
- body_h = frame["page_h"] - frame["top"] - frame["bottom"]
816
- image_pages = [p for p, page in enumerate(pages, 1) for _ in range(page["images"])]
817
- pictures = 0
818
- pending = None
819
- for block in info["blocks"]:
820
- if block["t"] == "h":
821
- find(block["text"])
822
- elif block["t"] == "tbl" and block["component"] in ("keyfigures", "callout", "sidebar"):
823
- # A component box is short by design; reading order inside it runs across cells, so each
824
- # paragraph is looked up from here without moving the cursor past the next block.
825
- hits = []
826
- for text in block.get("cells", []):
827
- if len(text) < 2:
828
- continue
829
- hit = next((ln for ln in lines[cursor:] if _same(ln[3], text) and (not hits or ln[0] <= hits[0][0] + 1)), None)
830
- if hit:
831
- hits.append(hit)
832
- spread = sorted({h[0] for h in hits})
833
- if len(spread) > 1:
834
- found.append(finding("table.split", "FAIL", spread[0], f"a {block['component']} box runs over pages {spread}",
835
- "A component box stays whole: its rows cannot split and it keeps with the heading above it."))
836
- elif block["t"] == "tbl" and block["component"] is None:
837
- prev = info["blocks"][info["blocks"].index(block) - 1] if info["blocks"].index(block) else None
838
- cap_hit = None
839
- if prev is not None and prev["t"] in ("cap", "p") and TABLE_CAPTION.match(prev["text"]):
840
- cap_hit = next((ln for ln in lines[max(0, cursor - 3):] if _same(ln[3], prev["text"])), None)
841
- got = []
842
- for row in block["rows"]:
843
- hit = find(row, got[-1][0] + 1 if got else None) if row else None
844
- if hit:
845
- got.append(hit)
846
- spread = sorted({h[0] for h in got})
847
- if cap_hit:
848
- # The caption ends its page when no body line stands below it there.
849
- cp, cy1 = cap_hit[0], cap_hit[2]
850
- floor_y = pages[cp - 1]["h"] - frame["bottom"]
851
- if not any(ln[0] > cy1 + 1 and ln[1] <= floor_y and ln[2] not in prev["text"] for ln in pages[cp - 1]["lines"]): # a wrapped caption line is not body
852
- found.append(finding("table.split", "FAIL", cp, f"the caption '{prev['text'][:30]}' ends page {cp}; its table starts on the next page",
853
- "Keep the caption with its table (keep with next on the caption paragraph)."))
854
- height = sum(max(h[2] for h in got if h[0] == p) - min(h[1] for h in got if h[0] == p) for p in spread)
855
- if len(spread) > 1 and height <= FIT_SHARE * body_h and not long_split_ok(block, got, cap_hit, pages, frame, tonality):
856
- found.append(finding("table.split", "FAIL", spread[0], f"a table of {len(block['rows'])} rows (about {height:.0f} pt of a {body_h:.0f} pt frame) runs over pages {spread}",
857
- "Put a short lead sentence before it or move it under the next paragraph; never shrink its type to fit."))
858
- elif block["t"] == "img":
859
- pending = image_pages[pictures] if pictures < len(image_pages) else None
860
- pictures += 1
861
- elif block["t"] == "cap":
862
- hit = find(block["text"])
863
- if pending is not None and hit and hit[0] != pending:
864
- found.append(finding("figure.split", "FAIL", pending, f"a picture on page {pending} has its caption on page {hit[0]}",
865
- "Make the picture smaller in its source or give the section a lead sentence so both move together."))
866
- pending = None
867
- # Short lists and a heading with the table it opens, located by a cursor of their own.
868
- spots = []
869
- at, used = 0, set()
870
- for block in info["blocks"]:
871
- target = block["rows"][0] if block["t"] == "tbl" and block["rows"] and block["rows"][0] else block.get("text")
872
- hit = None
873
- if target and len(target) >= 2:
874
- # Lines on one baseline sort by height, so the head of the next column can stand a few lines back.
875
- for j in range(max(0, at - 4), len(lines)):
876
- if j not in used and _starts(lines[j][3], target):
877
- hit, at = lines[j], max(at, j + 1)
878
- used.add(j)
879
- break
880
- spots.append(hit)
881
- k = 0
882
- blocks = info["blocks"]
883
- while k < len(blocks):
884
- if blocks[k]["t"] == "p" and blocks[k].get("list"):
885
- j = k
886
- while j < len(blocks) and blocks[j]["t"] == "p" and blocks[j].get("list"):
887
- j += 1
888
- items = [spots[i] for i in range(k, j) if spots[i] is not None]
889
- where = sorted({(h[0], _column(h, pages)) for h in items})
890
- # In a column a list of five or six may break once, two items or more on each side.
891
- column_break = blocks[k].get("cols", 1) >= 2 and len(where) == 2 and j - k >= 5 and \
892
- min(sum(1 for h in items if (h[0], _column(h, pages)) == w) for w in where) >= 2
893
- if 2 <= j - k <= SHORT_LIST and len(where) > 1 and not column_break:
894
- found.append(finding("list.split", "FAIL" if tonality else "ADVISORY", where[0][0], f"a list of {j - k} items runs over {len(where)} pages or columns",
895
- "A list of up to six items keeps together: every item but the last keeps with the next, and its lead-in keeps with the list."))
896
- k = j
897
- continue
898
- if blocks[k]["t"] == "h" and k + 2 < len(blocks) and blocks[k + 1]["t"] == "p" and not blocks[k + 1].get("list"):
899
- nxt = next((i for i in range(k + 2, min(k + 5, len(blocks))) if blocks[i]["t"] == "tbl" and blocks[i]["component"] is None), None)
900
- # A short lead (about two lines) over a table of up to eight body rows, the chain the converter keeps.
901
- short = len(blocks[k + 1]["text"]) <= 200 and nxt is not None and len(blocks[nxt]["rows"]) <= 9
902
- # A heading in between opens a section of its own; the table then belongs to it.
903
- if short and all(blocks[i]["t"] == "cap" or (blocks[i]["t"] != "h" and len(blocks[i].get("text", "")) <= 40)
904
- for i in range(k + 2, nxt)):
905
- if spots[k] and spots[nxt] and spots[k][0] != spots[nxt][0]:
906
- found.append(finding("heading.apart", "FAIL" if tonality else "ADVISORY", spots[k][0],
907
- f"the heading '{blocks[k].get('raw', '')[:40]}' and its lead sentence end page {spots[k][0]}; the table they open starts page {spots[nxt][0]}",
908
- "Keep the heading, its lead sentence and the table together (keep with next), or move the sentence under the table."))
909
- k += 1
910
- # A heading in a column body stands with its first lines: never alone at the foot of a column while its text
911
- # opens the next column or page.
912
- for k, block in enumerate(blocks[:-1]):
913
- nxt = blocks[k + 1]
914
- if block["t"] != "h" or block.get("cols", 1) < 2 or nxt["t"] == "h" or not spots[k] or not spots[k + 1]:
915
- continue
916
- here, there = (spots[k][0], _column(spots[k], pages)), (spots[k + 1][0], _column(spots[k + 1], pages))
917
- if here != there:
918
- found.append(finding("heading.column", "FAIL" if tonality else "ADVISORY", here[0],
919
- f"the heading '{block.get('raw', '')[:40]}' ends a column on page {here[0]}; its text starts in the next column",
920
- "Keep the heading with its first lines; a source or note line under a page-wide table spans with the table."))
921
- found.extend(column_balance(info, pages, frame, tonality))
922
- # A floating sidebar that reaches past the next heading: the heading and its rule run beside the box.
923
- for k, block in enumerate(info["blocks"]):
924
- if block["t"] != "tbl" or block["component"] != "sidebar":
925
- continue
926
- nxt = next((b for b in info["blocks"][k + 1:] if b["t"] == "h"), None)
927
- if nxt is None:
928
- continue
929
- for i, page in enumerate(pages, 1):
930
- boxes = [b for b in page.get("boxes", []) if b[1] >= top - 2] # the running header is not body
931
- cells = [c for c in block.get("cells", []) if len(c) >= 2]
932
- anchor = next((b for b in boxes if cells and _same(b[4], cells[0])), None)
933
- # the box's own lines share its left edge; body lines that open alike stand elsewhere
934
- mine = []
935
- if anchor:
936
- # the box: its title line, then every line in its column that follows without a gap (wrapped
937
- # lines included, which do not open a cell paragraph)
938
- mine = [anchor]
939
- for bx in sorted((b for b in boxes if b[1] > anchor[1] and b[0] >= anchor[0] - 24), key=lambda b: b[1]):
940
- if bx[1] - mine[-1][3] > 20:
941
- break
942
- mine.append(bx)
943
- names = {nxt["text"], re.sub(r"^(?:\d+(?:\.\d+)*\.?|[□○■▪•-])", "", nxt["text"])} # the numeral may stand apart
944
- head = next((b for b in boxes if any(_same(b[4], t) for t in names if len(t) >= 2)), None)
945
- if mine and head:
946
- x0, y0, y1 = min(b[0] for b in mine), min(b[1] for b in mine), max(b[3] for b in mine)
947
- if head[1] < y1 and head[3] > y0 and head[0] < x0:
948
- found.append(finding("sidebar.overlap", "FAIL", i, f"the sidebar on page {i} runs beside the next heading '{nxt['raw'][:40]}'",
949
- "Give the sidebar more text beside it, or let it stand full width; the converter stops the float when the text before the next heading is shorter than the box."))
950
- break
951
- if tonality and info["cover"] and pages and pages[0].get("filled", 0) > 0.25:
952
- found.append(finding("cover.block", "FAIL", 1, f"filled shapes cover {pages[0]['filled']:.0%} of the cover page (at most 25 %)",
953
- "A typographic cover: left-aligned title, white space, one rule at most; no colour block, no tiles."))
954
- kinds = [k for k, v in info["components"].items() if v]
955
- if n >= 4 and len(kinds) < 2:
956
- found.append(finding("component.variety", "FAIL" if tonality else "ADVISORY", None,
957
- f"{n} pages use {len(kinds)} component kind(s): {', '.join(kinds) or 'none'}",
958
- "Give the document a cover and the components its tonality allows: a callout for the decision, key figures with their basis, a sidebar for definitions."))
959
- body_fills = [f["fill"] for f in fills if not f["exempt"]]
960
- return found, {"pages": n, "fills": fills, "fill_median": round(statistics.median(body_fills), 3) if body_fills else None}