@litfamily/litgravity 0.1.7 → 0.1.9

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 (1070) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +79 -11
  3. package/README_ko-KR.md +80 -12
  4. package/bin/litgravity.mjs +3 -7
  5. package/lib/doctor.mjs +22 -18
  6. package/lib/host-tools.mjs +9 -36
  7. package/lib/install.mjs +18 -5
  8. package/lib/list.mjs +8 -16
  9. package/lib/paths.mjs +0 -1
  10. package/package.json +2 -2
  11. package/plugin/hooks/lib/extensions.mjs +53 -0
  12. package/plugin/hooks/lib/reentry.mjs +6 -5
  13. package/plugin/hooks/lib/rewind/board.mjs +295 -0
  14. package/plugin/hooks/lib/rewind/brief.mjs +26 -18
  15. package/plugin/hooks/lib/rewind/collect.mjs +42 -4
  16. package/plugin/hooks/lib/routes.mjs +36 -11
  17. package/plugin/hooks/post-tool-use.mjs +0 -2
  18. package/plugin/hooks/pre-invocation.mjs +0 -2
  19. package/plugin/hooks/session-start.mjs +7 -0
  20. package/plugin/hooks/stop.mjs +2 -8
  21. package/plugin/plugin.json +1 -1
  22. package/plugin/skills/autoconference/SKILL.md +1 -1
  23. package/plugin/skills/autoconference/modes/core.md +1 -1
  24. package/plugin/skills/autoconference/references/visualization-guide.md +6 -6
  25. package/plugin/skills/autoconference/scripts/style_presets.py +6 -6
  26. package/plugin/skills/autoresearch/references/type-checklists.md +1 -1
  27. package/plugin/skills/autoresearch/references/visualization-guide.md +11 -5
  28. package/plugin/skills/frontend-ui-ux/SKILL.md +18 -147
  29. package/plugin/skills/lit-adhd/SKILL.md +45 -20
  30. package/plugin/skills/lit-adhd/references/card-examples.md +99 -1
  31. package/plugin/skills/lit-adhd/references/status-taxonomy.md +17 -8
  32. package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +1 -1
  33. package/plugin/skills/lit-code/references/engineering-risk-signals.md +2 -2
  34. package/plugin/skills/lit-diagram-drawer/SKILL.md +20 -164
  35. package/plugin/skills/lit-docx/SKILL.md +20 -122
  36. package/plugin/skills/lit-loop/SKILL.md +1 -1
  37. package/plugin/skills/lit-pptx/SKILL.md +18 -130
  38. package/plugin/skills/lit-schematic/SKILL.md +19 -98
  39. package/plugin/skills/lit-scientific-visualization/SKILL.md +19 -160
  40. package/plugin/skills/lit-typographic-motion/SKILL.md +19 -188
  41. package/plugin/skills/readme-studio/SKILL.md +20 -98
  42. package/plugin/skills/visual-qa/SKILL.md +20 -121
  43. package/lib/runtime.mjs +0 -81
  44. package/plugin/hooks/lib/motion.mjs +0 -171
  45. package/plugin/lib/python-pick.mjs +0 -63
  46. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
  47. package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
  48. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
  49. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
  50. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
  51. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
  52. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
  53. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
  54. package/plugin/skills/frontend-ui-ux/kit/components.css +0 -417
  55. package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
  56. package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  57. package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  58. package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  59. package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  60. package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  61. package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  62. package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  63. package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  64. package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
  65. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
  66. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
  67. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
  68. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
  69. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -103
  70. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -96
  71. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -415
  72. package/plugin/skills/frontend-ui-ux/references/composition.md +0 -93
  73. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -203
  74. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -96
  75. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -27
  76. package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
  77. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
  78. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
  79. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
  80. package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
  81. package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
  82. package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
  83. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
  84. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
  85. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
  86. package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
  87. package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
  88. package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
  89. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
  90. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
  91. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
  92. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
  93. package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
  94. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
  95. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
  96. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
  97. package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
  98. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
  99. package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
  100. package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
  101. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
  102. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
  103. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
  104. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
  105. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
  106. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
  107. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
  108. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
  109. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
  110. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
  111. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
  112. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
  113. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
  114. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
  115. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
  116. package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
  117. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
  118. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
  119. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
  120. package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
  121. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
  122. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
  123. package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
  124. package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
  125. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
  126. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
  127. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
  128. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
  129. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
  130. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
  131. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
  132. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
  133. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
  134. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
  135. package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
  136. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
  137. package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
  138. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
  139. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
  140. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
  141. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
  142. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
  143. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
  144. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
  145. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
  146. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
  147. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
  148. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
  149. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
  150. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
  151. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
  152. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
  153. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
  154. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
  155. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
  156. package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
  157. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
  158. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
  159. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
  160. package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
  161. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
  162. package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
  163. package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
  164. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
  165. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
  166. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
  167. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
  168. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
  169. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
  170. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
  171. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
  172. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
  173. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
  174. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
  175. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
  176. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  177. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
  178. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
  179. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
  180. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
  181. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
  182. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
  183. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  184. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
  185. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
  186. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  187. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  188. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  189. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
  190. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  191. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  192. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
  193. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  194. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
  195. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  196. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  197. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  198. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  199. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  200. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  201. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  202. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
  203. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  204. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  205. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  206. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
  207. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  208. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  209. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  210. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  211. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  212. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  213. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -119
  214. package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
  215. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -115
  216. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -98
  217. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -48
  218. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -153
  219. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -101
  220. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
  221. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
  222. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -91
  223. package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -92
  224. package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -71
  225. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -103
  226. package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -139
  227. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -90
  228. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -79
  229. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
  230. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
  231. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
  232. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
  233. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
  234. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
  235. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
  236. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
  237. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
  238. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  239. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  240. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
  241. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  242. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  243. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
  244. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
  245. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
  246. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
  247. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
  248. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
  249. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
  250. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
  251. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
  252. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
  253. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
  254. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
  255. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
  256. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
  257. package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -90
  258. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -55
  259. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
  260. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
  261. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
  262. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -217
  263. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
  264. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
  265. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
  266. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
  267. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
  268. package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  269. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
  270. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
  271. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
  272. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
  273. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
  274. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
  275. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -129
  276. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -322
  277. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
  278. package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  279. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
  280. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
  281. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
  282. package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +0 -143
  283. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
  284. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
  285. package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
  286. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  287. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  288. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  289. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  290. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  291. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  292. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  293. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  294. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  295. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  296. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  297. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  298. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  299. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  300. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  301. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  302. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  303. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  304. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  305. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  306. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  307. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  308. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  309. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  310. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  311. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  312. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  313. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  314. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  315. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  316. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  317. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  318. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  319. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  320. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  321. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  322. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  323. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  324. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  325. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  326. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  327. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  328. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  329. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  330. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  331. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  332. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  333. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  334. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  335. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  336. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  337. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  338. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  339. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  340. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  341. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  342. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  343. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  344. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  345. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  346. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  347. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  348. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  349. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  350. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  351. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  352. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  353. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  354. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  355. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  356. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  357. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  358. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  359. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  360. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  361. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  362. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  363. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  364. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  365. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  366. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  367. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  368. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  369. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  370. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  371. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  372. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  373. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  374. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  375. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  376. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  377. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  378. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  379. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  380. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  381. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  382. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  383. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  384. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  385. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  386. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  387. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  388. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  389. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  390. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  391. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  392. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  393. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  394. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  395. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  396. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  397. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  398. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  399. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  400. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  401. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  402. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  403. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  404. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  405. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  406. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  407. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  408. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  409. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  410. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  411. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  412. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  413. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  414. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  415. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  416. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  417. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  418. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  419. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  420. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  421. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  422. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  423. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  424. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  425. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  426. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  427. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  428. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  429. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  430. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  431. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  432. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  433. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  434. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  435. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  436. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  437. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  438. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  439. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  440. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  441. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  442. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  443. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  444. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  445. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  446. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  447. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  448. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  449. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  450. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  451. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  452. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  453. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  454. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  455. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  456. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  457. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  458. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  459. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  460. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  461. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  462. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  463. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  464. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  465. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  466. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  467. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  468. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  469. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  470. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  471. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  472. package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
  473. package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
  474. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  475. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  476. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  477. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  478. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  479. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  480. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  481. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  482. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  483. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  484. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  485. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  486. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  487. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  488. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  489. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  490. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  491. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  492. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  493. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  494. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  495. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  496. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  497. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  498. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  499. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  500. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  501. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  502. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  503. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  504. package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +0 -86
  505. package/plugin/skills/lit-diagram-drawer/references/export.md +0 -34
  506. package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +0 -66
  507. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  508. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  509. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  510. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  511. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  512. package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
  513. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  514. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  515. package/plugin/skills/lit-diagram-drawer/references/playbooks.md +0 -67
  516. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  517. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  518. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  519. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  520. package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
  521. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  522. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -76
  523. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  524. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  525. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  526. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  527. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  528. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  529. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  530. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  531. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  532. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  533. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  534. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  535. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  536. package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
  537. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  538. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  539. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  540. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  541. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  542. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  543. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  544. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  545. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  546. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  547. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  548. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  549. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  550. package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
  551. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  552. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  553. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  554. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  555. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  556. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  557. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  558. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  559. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  560. package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
  561. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  562. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  563. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  564. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  565. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  566. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  567. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  568. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  569. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  570. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  571. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  572. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  573. package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
  574. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  575. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  576. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  577. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  578. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  579. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  580. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  581. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  582. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  583. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  584. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  585. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -76
  586. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  587. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  588. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  589. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  590. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  591. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
  592. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -277
  593. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
  594. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  595. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  596. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  597. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
  598. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  599. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  600. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  601. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  602. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  603. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  604. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  605. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  606. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  607. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  608. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
  609. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  610. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  611. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  612. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  613. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  614. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  615. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  616. package/plugin/skills/lit-docx/NOTICE +0 -35
  617. package/plugin/skills/lit-docx/references/build-loop.md +0 -96
  618. package/plugin/skills/lit-docx/references/components.md +0 -287
  619. package/plugin/skills/lit-docx/references/direction-step.md +0 -339
  620. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
  621. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -96
  622. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -170
  623. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -141
  624. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -56
  625. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -129
  626. package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
  627. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -122
  628. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -40
  629. package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -94
  630. package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -89
  631. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -43
  632. package/plugin/skills/lit-docx/references/page-composition.md +0 -319
  633. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  634. package/plugin/skills/lit-docx/references/slop_rules.md +0 -88
  635. package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -170
  636. package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -173
  637. package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -182
  638. package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -171
  639. package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -181
  640. package/plugin/skills/lit-docx/references/tonalities/report.md +0 -199
  641. package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
  642. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
  643. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -301
  644. package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
  645. package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
  646. package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
  647. package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
  648. package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
  649. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
  650. package/plugin/skills/lit-docx/scripts/pdf_fonts.py +0 -83
  651. package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
  652. package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
  653. package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
  654. package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
  655. package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  656. package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
  657. package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  658. package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
  659. package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
  660. package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -41
  661. package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
  662. package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -42
  663. package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
  664. package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -41
  665. package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
  666. package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -41
  667. package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
  668. package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -41
  669. package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
  670. package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
  671. package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
  672. package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
  673. package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
  674. package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
  675. package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
  676. package/plugin/skills/lit-pptx/NOTICE +0 -35
  677. package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  678. package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  679. package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  680. package/plugin/skills/lit-pptx/assets/example-a.png +0 -0
  681. package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
  682. package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
  683. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  684. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  685. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  686. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  687. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  688. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
  689. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
  690. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  691. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  692. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  693. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
  694. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  695. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  696. package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
  697. package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
  698. package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
  699. package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
  700. package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
  701. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
  702. package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
  703. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -131
  704. package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
  705. package/plugin/skills/lit-pptx/references/build-loop.md +0 -117
  706. package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
  707. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
  708. package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -163
  709. package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
  710. package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
  711. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
  712. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
  713. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
  714. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
  715. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
  716. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
  717. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
  718. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
  719. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
  720. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
  721. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
  722. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
  723. package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
  724. package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
  725. package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
  726. package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
  727. package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
  728. package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
  729. package/plugin/skills/lit-pptx/references/layout-families.md +0 -194
  730. package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
  731. package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
  732. package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
  733. package/plugin/skills/lit-pptx/references/title-treatments.md +0 -113
  734. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
  735. package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -140
  736. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
  737. package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -150
  738. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
  739. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
  740. package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -161
  741. package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -144
  742. package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
  743. package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
  744. package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -137
  745. package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
  746. package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -131
  747. package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
  748. package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1077
  749. package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
  750. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
  751. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
  752. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
  753. package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
  754. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  755. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  756. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  757. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
  758. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
  759. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
  760. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  761. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  762. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
  763. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
  764. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
  765. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
  766. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  767. package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  768. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  769. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  770. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +0 -793
  771. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +0 -12
  772. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +0 -15
  773. package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +0 -279
  774. package/plugin/skills/lit-pptx/scripts/office_data.py +0 -493
  775. package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +0 -73
  776. package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +0 -199
  777. package/plugin/skills/lit-pptx/scripts/package.json +0 -4
  778. package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
  779. package/plugin/skills/lit-pptx/scripts/render_pages.py +0 -147
  780. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
  781. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  782. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
  783. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  784. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  785. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
  786. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  787. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  788. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  789. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  790. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
  791. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  792. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  793. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  794. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  795. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  796. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  797. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  798. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  799. package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  800. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  801. package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
  802. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
  803. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
  804. package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  805. package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  806. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  807. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  808. package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  809. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  810. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  811. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
  812. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
  813. package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
  814. package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
  815. package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -70
  816. package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -101
  817. package/plugin/skills/lit-schematic/references/journal-figures.md +0 -72
  818. package/plugin/skills/lit-schematic/references/kit-api.md +0 -134
  819. package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -53
  820. package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -103
  821. package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -163
  822. package/plugin/skills/lit-schematic/references/verification.md +0 -100
  823. package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -57
  824. package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
  825. package/plugin/skills/lit-schematic/scripts/lib/fonts.mjs +0 -27
  826. package/plugin/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
  827. package/plugin/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
  828. package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
  829. package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
  830. package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
  831. package/plugin/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
  832. package/plugin/skills/lit-schematic/scripts/lib/png.mjs +0 -132
  833. package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
  834. package/plugin/skills/lit-schematic/scripts/lib/route.mjs +0 -218
  835. package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
  836. package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
  837. package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
  838. package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -129
  839. package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -92
  840. package/plugin/skills/lit-schematic/scripts/render.mjs +0 -233
  841. package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -60
  842. package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
  843. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
  844. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
  845. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
  846. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
  847. package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
  848. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -278
  849. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
  850. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
  851. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
  852. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  853. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
  854. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
  855. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
  856. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
  857. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -230
  858. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
  859. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
  860. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
  861. package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
  862. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
  863. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
  864. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
  865. package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
  866. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
  867. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
  868. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
  869. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
  870. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
  871. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
  872. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
  873. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
  874. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
  875. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
  876. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
  877. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -172
  878. package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -298
  879. package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -143
  880. package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
  881. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -164
  882. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -328
  883. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -104
  884. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -210
  885. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -347
  886. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
  887. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
  888. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -139
  889. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
  890. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -385
  891. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
  892. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
  893. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -105
  894. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -38
  895. package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -121
  896. package/plugin/skills/lit-typographic-motion/engine/node/host.mjs +0 -34
  897. package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
  898. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -178
  899. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
  900. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
  901. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
  902. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -349
  903. package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
  904. package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
  905. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
  906. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
  907. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
  908. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -180
  909. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -177
  910. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -427
  911. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -428
  912. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
  913. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
  914. package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -213
  915. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
  916. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -146
  917. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
  918. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
  919. package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
  920. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -49
  921. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -298
  922. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
  923. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -162
  924. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -823
  925. package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  926. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  927. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  928. package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  929. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
  930. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
  931. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
  932. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
  933. package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
  934. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
  935. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
  936. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
  937. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
  938. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
  939. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
  940. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
  941. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
  942. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
  943. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
  944. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
  945. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
  946. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
  947. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
  948. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
  949. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
  950. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
  951. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
  952. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
  953. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  954. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  955. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  956. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  957. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  958. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  959. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  960. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  961. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  962. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  963. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  964. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  965. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
  966. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
  967. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  968. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  969. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
  970. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  971. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  972. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  973. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  974. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  975. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
  976. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  977. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  978. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
  979. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  980. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  981. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
  982. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  983. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
  984. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  985. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
  986. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  987. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
  988. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -69
  989. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
  990. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -97
  991. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
  992. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -69
  993. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
  994. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
  995. package/plugin/skills/lit-typographic-motion/references/cover.md +0 -424
  996. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -70
  997. package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
  998. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
  999. package/plugin/skills/lit-typographic-motion/references/look.md +0 -122
  1000. package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -67
  1001. package/plugin/skills/lit-typographic-motion/references/sound.md +0 -152
  1002. package/plugin/skills/lit-typographic-motion/references/stage.md +0 -256
  1003. package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
  1004. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -141
  1005. package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -214
  1006. package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
  1007. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -111
  1008. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
  1009. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -205
  1010. package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
  1011. package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
  1012. package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
  1013. package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
  1014. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
  1015. package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
  1016. package/plugin/skills/readme-studio/references/production-interview.md +0 -11
  1017. package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
  1018. package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
  1019. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
  1020. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
  1021. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
  1022. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
  1023. package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
  1024. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
  1025. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
  1026. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  1027. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
  1028. package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
  1029. package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
  1030. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1031. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
  1032. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
  1033. package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1034. package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
  1035. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
  1036. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
  1037. package/plugin/skills/visual-qa/references/breakage-catalogue.md +0 -70
  1038. package/plugin/skills/visual-qa/references/capture-playbook.md +0 -96
  1039. package/plugin/skills/visual-qa/references/complete-contract.md +0 -411
  1040. package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +0 -50
  1041. package/plugin/skills/visual-qa/references/reviewer-charters.md +0 -70
  1042. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
  1043. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
  1044. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
  1045. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
  1046. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
  1047. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
  1048. package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
  1049. package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
  1050. package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
  1051. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
  1052. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
  1053. package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
  1054. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
  1055. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
  1056. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
  1057. package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
  1058. package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
  1059. package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
  1060. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
  1061. package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
  1062. package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
  1063. package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
  1064. package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
  1065. package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
  1066. package/plugin/skills/visual-qa/scripts/strict-json.mjs +0 -143
  1067. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
  1068. package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
  1069. package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
  1070. package/plugin/skills/visual-qa/scripts/types.ts +0 -54
@@ -1,1077 +0,0 @@
1
- #!/usr/bin/env python3
2
- """craft_extras.py — the office subset of the family craft floor, for the lit-pptx QA gate.
3
-
4
- deck_craft.py answers "does the deck look finished"; these checks answer "does it carry the
5
- reflex defaults a designer would flag", each as a number a gate can hold:
6
-
7
- OF-101 at most four accent hue families per slide (among solid shape fills); five fail
8
- OF-102 body text-box measure (characters per wrapped line, CJK or Latin)
9
- OF-103 numeric table columns aligned right
10
- OF-104 concentric radius on a nested rounded frame
11
- OF-105 gap between cards at least twice the gap between shapes inside a card
12
- OF-106 no gradient-filled text
13
- OF-107 no glow effect
14
- OF-108 no emoji bullets
15
- OF-109 no tall empty band below the last content block, on the slide or in a card
16
- OF-110 a deck of 8+ slides mixes at least three title treatments; each drawn as it is named
17
- OF-111 content slides vary their composition (title zone x body partition x dominant content)
18
- OF-112 the median empty band under the body's last block stays at or under 0.20
19
- OF-113 every content title sits on the shared title frame, every display title on the display frame
20
- OF-114 titles and the cover subtitle are topic labels, not declarative sentences
21
- OF-115 no region left empty: a takeaway column as long as the visual beside it (its values table
22
- included), a title panel as tall as its text and no plate under an empty page
23
- OF-116 (with --sibling) another tonality of the same source sets its titles and bodies in the same places
24
- OF-117 no light figure card on a dark ground
25
- OF-118 a bold run-in label is followed by its separator ("요약: …", "Summary: …")
26
- OF-119 an agenda's title carries no count numeral beside it (its rows are numbered)
27
- OF-120 a hard offset shadow (no blur) only in a pack that allows one, and there every shadow is hard
28
-
29
- A tonality pack may widen two of these limits through its own `qa:` block (listed in
30
- references/anti-slop-checklist.md): `accent-families` and `display-accent-families` (how many accent
31
- hue families a content or display slide may carry before OF-101 fails, five or six; the default is
32
- four), and `offset-shadow` (OF-120).
33
- The gate finds the pack through the deck's tonality stamp; a deck without a stamp keeps the defaults.
34
-
35
- Every threshold lives in THRESHOLDS. A HIGH finding fails the gate; a MEDIUM finding is
36
- advisory and is reported, not blocking. `tier` is "measured" when read off the OOXML and
37
- "derived" when it rests on an inherited value (a table style's alignment).
38
-
39
- Usage:
40
- python3 craft_extras.py deck.pptx # JSON report; exit 0 always
41
- """
42
-
43
- from __future__ import annotations
44
-
45
- import os as _os
46
- import sys as _sys
47
-
48
- _sys.dont_write_bytecode = True # the installed skill directory stays read-only
49
- _HERE = _os.path.dirname(_os.path.abspath(__file__))
50
- _sys.path.insert(0, _HERE)
51
- from office_runtime_bootstrap import ensure_runtime # noqa: E402
52
-
53
- ensure_runtime(["pptx"])
54
-
55
- import colorsys # noqa: E402
56
- import json # noqa: E402
57
- import re # noqa: E402
58
- from pathlib import Path # noqa: E402
59
-
60
- from pptx import Presentation # noqa: E402
61
- from pptx.enum.dml import MSO_FILL # noqa: E402
62
- from pptx.enum.shapes import MSO_SHAPE_TYPE # noqa: E402
63
- from pptx.enum.text import PP_ALIGN # noqa: E402
64
- from pptx.oxml.ns import qn # noqa: E402
65
-
66
- import deck_craft # noqa: E402
67
- from layout_inventory import DEFAULT_INSETS, EMU_PER_IN, PT_PER_IN, _attr_int, paragraph_runs, wrap_segment # noqa: E402
68
-
69
- THRESHOLDS = {
70
- "accent": {"min_lightness": 0.12, "max_lightness": 0.93, "min_saturation": 0.12, "family_deg": 20.0,
71
- "content_high": 5, "content_medium": 5, "display_high": 5, "display_medium": 5},
72
- "measure": {"latin_max": 90, "cjk_max": 38, "cjk_share": 0.5, "narrow_min": 10, "narrow_lines": 3},
73
- "numeric": {"share": 0.7, "min_rows": 2},
74
- "radius": {"inset_spread_in": 0.06, "tolerance_in": 0.02, "min_outer_in": 0.04, "default_adj": 16667},
75
- # MEDIUM until the family's read-only re-run on its calibration decks promotes it.
76
- "grouping": {"ratio": 2.0, "severity": "MEDIUM"},
77
- "band": {"high": 0.35, "medium": 0.25, "row_tolerance_in": 0.05},
78
- }
79
- EMOJI = re.compile("[\U0001F000-\U0001FAFF☀-➿]")
80
- NUMERIC_STRIP = re.compile(r"[\s,.%▲▼+\-−±()$€£¥₩]")
81
-
82
-
83
- def _finding(check, severity, slide, shape, detail, hint, tier="measured"):
84
- return {"check": check, "severity": severity, "tier": tier, "slide": slide, "shape": shape, "detail": detail, "hint": hint}
85
-
86
-
87
- def _hsl(rgb):
88
- r, g, b = (int(str(rgb)[i:i + 2], 16) / 255 for i in (0, 2, 4))
89
- h, lightness, s = colorsys.rgb_to_hls(r, g, b)
90
- return h * 360.0, s, lightness
91
-
92
-
93
- def _families(hues, width):
94
- """Greedy hue clustering: a hue within `width` degrees of a family joins it."""
95
- families = []
96
- for hue in sorted(hues):
97
- for family in families:
98
- if min(abs(hue - family), 360 - abs(hue - family)) <= width:
99
- break
100
- else:
101
- families.append(hue)
102
- return families
103
-
104
-
105
- def _solid_fill(shape):
106
- try:
107
- if shape.fill.type == MSO_FILL.SOLID:
108
- return shape.fill.fore_color.rgb
109
- except (AttributeError, TypeError, ValueError, NotImplementedError):
110
- return None
111
- return None
112
-
113
-
114
- QA_KEY = re.compile(r"^ ([a-z-]+):\s*(\S+)\s*$")
115
-
116
-
117
- def pack_allowances(prs) -> dict:
118
- """The stamped tonality pack's `qa:` block as {key: int or bool}; empty without a stamp or a block."""
119
- stamp = STAMP.search(prs.core_properties.subject or "")
120
- if not stamp or not re.fullmatch(r"[a-z][a-z0-9-]*", stamp.group(1)):
121
- return {}
122
- path = Path(_HERE).parent / "templates" / "tonalities" / stamp.group(1) / "pack.yaml"
123
- if not path.is_file():
124
- return {}
125
- allowed, inside = {}, False
126
- for line in path.read_text(encoding="utf-8").splitlines():
127
- if not line.strip() or line.lstrip().startswith("#"):
128
- continue
129
- if not line.startswith(" "):
130
- inside = line.rstrip() == "qa:"
131
- continue
132
- match = QA_KEY.match(line) if inside else None
133
- if match:
134
- value = match.group(2)
135
- allowed[match.group(1)] = value == "true" if value in ("true", "false") else int(value) if value.isdigit() else value
136
- return allowed
137
-
138
-
139
- def check_shadows(number, slide, allowed):
140
- """OF-120: a hard offset shadow (blur 0) is a pack's look or nothing; a pack that has it keeps every shadow hard."""
141
- found = []
142
- for shape in slide.shapes:
143
- for shadow in shape._element.iter(qn("a:outerShdw")):
144
- hard = int(shadow.get("blurRad") or 0) == 0
145
- if hard and not allowed.get("offset-shadow"):
146
- found.append(_finding("OF-120", "HIGH", number, shape.name, "hard offset shadow in a pack that does not draw one",
147
- "Remove the shadow; only a pack whose qa block allows offset-shadow draws one."))
148
- elif not hard and allowed.get("offset-shadow"):
149
- found.append(_finding("OF-120", "HIGH", number, shape.name, "soft shadow beside the pack's hard offset shadows",
150
- "Draw the shadow with no blur at the pack's offset, or remove it."))
151
- return found
152
-
153
-
154
- def check_accents(slide, number, shapes, page_area, display, allowed=None):
155
- t = dict(THRESHOLDS["accent"])
156
- # A pack's own limit only widens the default: N families pass, N + 1 fail, with no advisory step between.
157
- for key, high, medium in (("accent-families", "content_high", "content_medium"), ("display-accent-families", "display_high", "display_medium")):
158
- if isinstance((allowed or {}).get(key), int) and not isinstance(allowed[key], bool):
159
- t[high] = t[medium] = max(t[high], allowed[key] + 1)
160
- hues = []
161
- for shape in shapes:
162
- box = deck_craft._box(shape)
163
- if box is None or box[2] * box[3] >= deck_craft.FULL_BLEED * page_area:
164
- continue
165
- if shape.shape_type == MSO_SHAPE_TYPE.PICTURE:
166
- continue
167
- rgb = _solid_fill(shape)
168
- if rgb is None:
169
- continue
170
- hue, saturation, lightness = _hsl(rgb)
171
- if t["min_lightness"] <= lightness <= t["max_lightness"] and saturation >= t["min_saturation"]:
172
- hues.append(hue)
173
- count = len(_families(hues, t["family_deg"]))
174
- high, medium = (t["display_high"], t["display_medium"]) if display else (t["content_high"], t["content_medium"])
175
- if count >= high:
176
- return [_finding("OF-101", "HIGH", number, None, f"{count} accent hue families", f"Hold a slide to {high - 1} accent hue families; fold the extra fills into a family the slide already uses.")]
177
- if count >= medium:
178
- return [_finding("OF-101", "MEDIUM", number, None, f"{count} accent hue families", "Close to the accent limit: fold an extra fill into a family the slide already uses.")]
179
- return []
180
-
181
-
182
- def _hangul_share(text):
183
- letters = [c for c in text if not c.isspace()]
184
- return sum(1 for c in letters if "가" <= c <= "힣") / max(1, len(letters))
185
-
186
-
187
- def _wrapped_lines(shape):
188
- body_pr = shape.text_frame._txBody.find(qn("a:bodyPr"))
189
- insets = {k: _attr_int(body_pr, k, v) for k, v in DEFAULT_INSETS.items()}
190
- wrap = body_pr.get("wrap", "square") if body_pr is not None else "square"
191
- inner = (shape.width - insets["lIns"] - insets["rIns"]) / EMU_PER_IN * PT_PER_IN
192
- lines = 0
193
- for paragraph in shape.text_frame.paragraphs:
194
- if not paragraph.text.strip():
195
- continue
196
- for segment in paragraph_runs(paragraph, 18.0):
197
- lines += wrap_segment(segment, max(inner, 1.0), wrap)[0]
198
- return lines
199
-
200
-
201
- def check_measure(number, shapes, title):
202
- t = THRESHOLDS["measure"]
203
- found = []
204
- for shape in shapes:
205
- if shape is title or not getattr(shape, "has_text_frame", False) or not shape.has_text_frame or shape.name.startswith("lit-notice"):
206
- continue
207
- size = deck_craft._max_pt(shape)
208
- if not deck_craft.CAPTION_PT < size < deck_craft.DISPLAY_PT:
209
- continue
210
- text = "".join(p.text for p in shape.text_frame.paragraphs)
211
- lines = _wrapped_lines(shape)
212
- if lines < 2 or not text.strip():
213
- continue
214
- per_line = len(text) / lines
215
- cjk = _hangul_share(text) >= t["cjk_share"]
216
- ceiling = t["cjk_max"] if cjk else t["latin_max"]
217
- if per_line > ceiling:
218
- found.append(_finding("OF-102", "HIGH", number, shape.name, f"{per_line:.0f} chars per line over {lines} lines{' (Korean)' if cjk else ''}",
219
- f"Narrow the text box or split the text; keep body lines at or under {ceiling} characters."))
220
- elif per_line < t["narrow_min"] and lines >= t["narrow_lines"]:
221
- found.append(_finding("OF-102", "MEDIUM", number, shape.name, f"{per_line:.0f} chars per line over {lines} lines",
222
- "Widen the column; very short lines read as broken wrapping."))
223
- return found
224
-
225
-
226
- def _numeric(text):
227
- stripped = NUMERIC_STRIP.sub("", text)
228
- return bool(stripped) and stripped.isdigit()
229
-
230
-
231
- def check_numeric_columns(number, shapes):
232
- t = THRESHOLDS["numeric"]
233
- found = []
234
- for shape in shapes:
235
- if not getattr(shape, "has_table", False) or not shape.has_table:
236
- continue
237
- rows = list(shape.table.rows)
238
- data = rows[1:]
239
- if len(data) < t["min_rows"]:
240
- continue
241
- # A second header-like row (no number in it) above numeric rows is out of scope for now.
242
- if data and not any(_numeric(cell.text) for cell in data[0].cells) and any(_numeric(cell.text) for row in data[1:] for cell in row.cells):
243
- continue
244
- for column in range(len(shape.table.columns)):
245
- cells = [row.cells[column] for row in data]
246
- filled = [cell for cell in cells if cell.text.strip()]
247
- numbers = [cell for cell in filled if _numeric(cell.text)]
248
- if len(numbers) < t["min_rows"] or len(numbers) / max(1, len(filled)) < t["share"]:
249
- continue
250
- explicit = [cell for cell in numbers if any(p.alignment not in (None, PP_ALIGN.RIGHT) for p in cell.text_frame.paragraphs if p.text.strip())]
251
- inherited = [cell for cell in numbers if all(p.alignment is None for p in cell.text_frame.paragraphs if p.text.strip())]
252
- if explicit:
253
- found.append(_finding("OF-103", "HIGH", number, shape.name, f"column {column + 1}: {len(explicit)} number cell(s) not right-aligned",
254
- "Right-align numeric columns so the digits line up."))
255
- elif inherited:
256
- found.append(_finding("OF-103", "MEDIUM", number, shape.name, f"column {column + 1}: alignment inherited, not verified",
257
- "Set right alignment on numeric cells explicitly.", tier="derived"))
258
- return found
259
-
260
-
261
- def _radius_in(shape):
262
- geometry = shape._element.find(".//" + qn("a:prstGeom"))
263
- if geometry is None or geometry.get("prst") != "roundRect":
264
- return None
265
- adj = THRESHOLDS["radius"]["default_adj"]
266
- guide = geometry.find(".//" + qn("a:gd"))
267
- if guide is not None and (guide.get("fmla") or "").startswith("val "):
268
- adj = int(guide.get("fmla").split()[1])
269
- return adj / 100000.0 * min(shape.width, shape.height) / EMU_PER_IN
270
-
271
-
272
- def check_concentric(number, shapes):
273
- t = THRESHOLDS["radius"]
274
- rounded = [(shape, deck_craft._box(shape), _radius_in(shape)) for shape in shapes]
275
- rounded = [(s, b, r) for s, b, r in rounded if b is not None and r is not None]
276
- found = []
277
- for inner, ibox, iradius in rounded:
278
- for outer, obox, oradius in rounded:
279
- if inner is outer or not deck_craft._contains(obox, ibox, tol=0.0):
280
- continue
281
- pads = [ibox[0] - obox[0], ibox[1] - obox[1], obox[0] + obox[2] - ibox[0] - ibox[2], obox[1] + obox[3] - ibox[1] - ibox[3]]
282
- if max(pads) - min(pads) > t["inset_spread_in"] or oradius <= t["min_outer_in"]:
283
- continue
284
- expected = max(0.0, oradius - sum(pads) / 4)
285
- if abs(iradius - expected) > t["tolerance_in"]:
286
- found.append(_finding("OF-104", "HIGH", number, inner.name, f"inner radius {iradius:.2f}in, expected {expected:.2f}in",
287
- "Set the inner radius to the outer radius minus the frame's padding."))
288
- return found
289
-
290
-
291
- def _gap(a, b):
292
- """Clear distance between two boxes; 0 when they overlap."""
293
- dx = max(0.0, b[0] - (a[0] + a[2]), a[0] - (b[0] + b[2]))
294
- dy = max(0.0, b[1] - (a[1] + a[3]), a[1] - (b[1] + b[3]))
295
- return max(dx, dy)
296
-
297
-
298
- def check_grouping(number, shapes, page_area):
299
- """Cards are filled or outlined rectangles holding other shapes; compare their spacing.
300
-
301
- The gap inside a card is the smallest clear gap between two shapes it encloses; a shape's
302
- inset to the card's own edge is padding and never counts.
303
- """
304
- ratio = THRESHOLDS["grouping"]["ratio"]
305
- severity = THRESHOLDS["grouping"]["severity"]
306
- boxes = [(shape, deck_craft._box(shape)) for shape in shapes]
307
- cards = [(s, b) for s, b in boxes if b and s.shape_type == MSO_SHAPE_TYPE.AUTO_SHAPE and not deck_craft._text(s)
308
- and (deck_craft._filled(s) or deck_craft._outlined(s)) and 0.5 <= b[2] * b[3] < deck_craft.FULL_BLEED * page_area]
309
- members = {}
310
- for card, cbox in cards:
311
- inside = [b for s, b in boxes if b and s is not card and deck_craft._contains(cbox, b, tol=0.02) and b != cbox]
312
- if inside:
313
- members[id(card)] = (card, cbox, inside)
314
- within = {}
315
- for key, (card, cbox, inside) in members.items():
316
- gaps = [_gap(a, b) for i, a in enumerate(inside) for b in inside[i + 1:]]
317
- gaps = [gap for gap in gaps if gap > 0]
318
- if gaps:
319
- within[key] = min(gaps)
320
- found = []
321
- ordered = list(members.values())
322
- for i, (a, abox, _) in enumerate(ordered):
323
- for b, bbox, _ in ordered[i + 1:]:
324
- inner = max([within[k] for k in (id(a), id(b)) if k in within], default=None)
325
- between = _gap(abox, bbox)
326
- if inner is not None and 0 < between < ratio * inner:
327
- found.append(_finding("OF-105", severity, number, f"{a.name} / {b.name}", f"{between:.2f}in between cards, {inner:.2f}in between shapes inside",
328
- "Space the cards at least twice the gap between their contents apart, or tighten the contents."))
329
- return found
330
-
331
-
332
- def check_run_effects(number, slide):
333
- found = []
334
- for shape in slide.shapes:
335
- element = shape._element
336
- if element.findall(".//" + qn("a:rPr") + "/" + qn("a:gradFill")):
337
- found.append(_finding("OF-106", "HIGH", number, shape.name, "gradient-filled text", "Use a solid text colour; emphasise with weight or size."))
338
- if element.findall(".//" + qn("a:glow")):
339
- found.append(_finding("OF-107", "HIGH", number, shape.name, "glow effect", "Remove the glow; use a solid fill or a thin neutral shadow."))
340
- for bullet in element.iter(qn("a:buChar")):
341
- if EMOJI.search(bullet.get("char") or ""):
342
- found.append(_finding("OF-108", "HIGH", number, shape.name, f"emoji bullet {bullet.get('char')}", "Use the template's bullet or a plain symbol."))
343
- return found
344
-
345
-
346
- def _band(top, bottom, boxes):
347
- """(largest gap before the trailing one, trailing gap) as fractions of the height."""
348
- height = bottom - top
349
- if height <= 0:
350
- return 0.0, 0.0
351
- edges = [top]
352
- cursor = top
353
- for box in sorted(boxes, key=lambda b: b[1]):
354
- edges.append(max(cursor, box[1]))
355
- cursor = max(cursor, box[1] + box[3])
356
- edges.append(cursor)
357
- edges.append(bottom)
358
- gaps = [edges[i + 1] - edges[i] for i in range(0, len(edges) - 1, 2)]
359
- return max(gaps[:-1], default=0.0) / height, gaps[-1] / height
360
-
361
-
362
- def check_bands(number, shapes, area, boxes, page_area, W, H):
363
- t = THRESHOLDS["band"]
364
- found = []
365
- regions = [("slide", area, boxes)]
366
- for shape in shapes:
367
- box = deck_craft._box(shape)
368
- if not box or shape.shape_type != MSO_SHAPE_TYPE.AUTO_SHAPE or deck_craft._text(shape) or not deck_craft._filled(shape):
369
- continue
370
- if not 0.5 <= box[2] * box[3] < deck_craft.FULL_BLEED * page_area:
371
- continue
372
- if deck_craft._bleeds(box, W, H):
373
- continue
374
- inside = [(s, b) for s in shapes for b in [deck_craft._box(s)] if b and s is not shape and deck_craft._contains(box, b, tol=0.02) and b != box]
375
- if not inside:
376
- continue
377
- # A card that is itself display-style (one or two large lines, no visual) is exempt.
378
- large = [s for s, _ in inside if deck_craft._text(s) and deck_craft._max_pt(s) >= deck_craft.DISPLAY_PT]
379
- if large and len(large) <= 2 and not any(deck_craft._is_table(s) or deck_craft._is_chart(s) for s, _ in inside):
380
- continue
381
- regions.append((shape.name, box, [b for _, b in inside]))
382
- bands = {}
383
- for name, region, contents in regions:
384
- if contents:
385
- bands[name] = _band(region[1], region[1] + region[3], [b for b in contents if b[1] < region[1] + region[3]])
386
- # Cards sharing a top edge and height form a row; the row's height imposes a trailing band on
387
- # the card with the least text, so the row counts its smallest trailing band.
388
- tol = t["row_tolerance_in"]
389
- cards = [(name, region) for name, region, _ in regions if name != "slide" and name in bands]
390
- for name, region in cards:
391
- row = [other for other, box in cards if abs(box[1] - region[1]) <= tol and abs(box[3] - region[3]) <= tol]
392
- if len(row) > 1:
393
- bands[name] = (bands[name][0], min(bands[other][1] for other in row))
394
- for name, region, contents in regions:
395
- if name not in bands:
396
- continue
397
- fraction = max(bands[name])
398
- if fraction > t["high"]:
399
- found.append(_finding("OF-109", "HIGH", number, None if name == "slide" else name, f"{fraction:.0%} of the {'content area' if name == 'slide' else 'card'} is one empty band",
400
- "Fill the band with the message's visual, shrink the region to its content, or merge slides."))
401
- elif fraction > t["medium"]:
402
- found.append(_finding("OF-109", "MEDIUM", number, None if name == "slide" else name, f"{fraction:.0%} empty band",
403
- "Tighten the region around its content."))
404
- return found
405
-
406
-
407
- # ── Deck output checks (OF-110..OF-113) ─────────────────────────────────────
408
- #
409
- # These read the compiled deck as a whole: which title treatment each slide really got, how the
410
- # body is partitioned, and how much of the body is left empty. The treatment comes from the title
411
- # frame's geometry and its companions; the name the engine writes (`title@<treatment>`) is only
412
- # compared with it, never trusted on its own. A deck the engine did not build (no `title@` name)
413
- # is out of scope. Decks on a legacy template report the variety checks and the deck median band
414
- # as MEDIUM: whoever names a legacy template has asked for its single look. All geometry is in points.
415
-
416
- TREATMENTS = ("top-rule", "top-plain-large", "side-rail", "band", "statement", "overlay", "kicker-numeral", "bottom-anchor")
417
- # Every content treatment styles the one shared title frame (slide-grid.js), so a slide's title "zone" in the
418
- # composition signature is its treatment: the look varies, the place does not.
419
- ZONE_OF = {t: t for t in TREATMENTS}
420
- OUTPUT = {
421
- "tol": 2.0, "size_tol": 0.5,
422
- "min_slides": 8, "min_treatments": 3,
423
- "variety_cap": 5, "max_share": 0.40,
424
- "band_floor": 486.0, "footer_top": 492.0, "band_deck_max": 0.20,
425
- # Per-slide band caps by density (1-2, 3-4, 5-6, 7-8, 9-10); a slide over its cap is MEDIUM.
426
- "band_caps": ((2, 0.28), (4, 0.24), (6, 0.20), (8, 0.16), (10, 0.12)),
427
- "anchor_tol": 1.0,
428
- }
429
- DIGITS = re.compile(r"\d+(?:[.:/-]\d+)?\.?")
430
- STAMP = re.compile(r"\blit-pptx tonality=(\S+) density=(\d+) grid=(\w+) variance=(\d+)")
431
- MARGIN = {960: {"airy": 60.0, "standard": 48.0, "dense": 36.0, "compact": 24.0}, 720: {"airy": 54.0, "standard": 42.0, "dense": 30.0, "compact": 24.0}}
432
-
433
-
434
- def _pt_box(shape):
435
- try:
436
- if shape.left is None or shape.width is None:
437
- return None
438
- return (shape.left / 12700.0, shape.top / 12700.0, shape.width / 12700.0, shape.height / 12700.0)
439
- except (TypeError, ValueError):
440
- return None
441
-
442
-
443
- def _run_sizes(shape):
444
- sizes = []
445
- if getattr(shape, "has_text_frame", False) and shape.has_text_frame:
446
- for paragraph in shape.text_frame.paragraphs:
447
- sizes += [run.font.size.pt for run in paragraph.runs if run.text.strip() and run.font.size is not None]
448
- return sizes
449
-
450
-
451
- def _elements(slide, W, H):
452
- """Every drawn shape as a dict in points, with its kind and its role (content, card, decoration)."""
453
- out = []
454
- for shape in slide.shapes:
455
- box = _pt_box(shape)
456
- # The engine names the first shape it draws `family@<id>`: a band or a rule keeps its role;
457
- # only an empty marker (no width and no height) is skipped. The notice tag and a pack's grid marks
458
- # in the top margin are page chrome, not composition.
459
- if box is None or box[2] + box[3] <= 0 or shape.name.startswith(("lit-notice", "grid-mark")):
460
- continue
461
- text = deck_craft._text(shape) if getattr(shape, "has_text_frame", False) and shape.has_text_frame else ""
462
- kind = ("picture" if shape.shape_type == MSO_SHAPE_TYPE.PICTURE else "table" if deck_craft._is_table(shape)
463
- else "chart" if deck_craft._is_chart(shape) else "text" if text else "shape")
464
- if kind == "table":
465
- box = (box[0], box[1], box[2], max(box[3], sum(row.height for row in shape.table.rows) / 12700.0))
466
- out.append({"shape": shape, "name": shape.name, "kind": kind, "x": box[0], "y": box[1], "w": box[2], "h": box[3],
467
- "text": text, "sizes": _run_sizes(shape), "filled": kind == "shape" and deck_craft._filled(shape)})
468
- for e in out:
469
- if e["kind"] != "shape":
470
- e["role"] = "content"
471
- continue
472
- bleeds = deck_craft._bleeds((e["x"] / 72, e["y"] / 72, e["w"] / 72, e["h"] / 72), W / 72, H / 72)
473
- holds = any(o["kind"] != "shape" and _centre_in(o, e) for o in out if o is not e)
474
- card = e["filled"] and holds and not bleeds and e["w"] >= 100 and e["h"] >= 40 and e["w"] * e["h"] < 0.5 * W * H
475
- e["role"] = "card" if card else "decoration"
476
- return out
477
-
478
-
479
- def _centre_in(e, box, tol=1.0):
480
- cx, cy = e["x"] + e["w"] / 2, e["y"] + e["h"] / 2
481
- return box["x"] - tol <= cx <= box["x"] + box["w"] + tol and box["y"] - tol <= cy <= box["y"] + box["h"] + tol
482
-
483
-
484
- def _footer(e):
485
- return e["y"] >= OUTPUT["footer_top"]
486
-
487
-
488
- def classify_title(title, els, W, H):
489
- """The title treatment a slide shows, by the tests of the design spec in order; first match wins."""
490
- tol, st = OUTPUT["tol"], OUTPUT["size_tol"]
491
- size = max(title["sizes"] or [0.0])
492
- bottom = title["y"] + title["h"]
493
- others = [e for e in els if e is not title]
494
- body = [e for e in others if not _footer(e) and e["role"] != "decoration"]
495
-
496
- def behind(e):
497
- return (e["x"] - tol <= title["x"] and title["x"] + title["w"] <= e["x"] + e["w"] + tol
498
- and e["y"] - tol <= title["y"] and bottom <= e["y"] + e["h"] + tol)
499
-
500
- if (any(e["kind"] == "picture" and e["w"] * e["h"] >= 0.8 * W * H for e in others) and title["y"] >= 300 - tol
501
- and any(e["kind"] == "shape" and e["filled"] and behind(e) for e in others)):
502
- return "overlay"
503
- if any(e["kind"] == "shape" and e["filled"] and e["y"] <= 2 + tol and 96 - tol <= e["h"] <= 120 + tol
504
- and e["w"] >= 0.9 * W and _centre_in(title, e, tol) for e in others):
505
- return "band"
506
- if (size >= 36 - st and 220 - tol <= title["y"] + title["h"] / 2 <= 380 + tol
507
- and not any(e["kind"] in ("table", "chart", "picture") or e["role"] == "card" for e in body)
508
- and sum(1 for e in body if e["kind"] == "text") <= 1):
509
- return "statement"
510
- bottom_frame = title["y"] + title["h"]
511
- content_w = W - 2 * title["x"]
512
- shapes = [e for e in others if e["kind"] == "shape" and e["filled"]]
513
- # A heavy rule across the columns closing the title frame.
514
- if any(2 - st <= e["h"] <= 4 + st and e["w"] >= 0.9 * content_w and bottom_frame - tol <= e["y"] <= bottom_frame + 8 for e in shapes):
515
- return "bottom-anchor"
516
- # A bar in the left margin, at least as tall as the title frame.
517
- if any(e["x"] <= 1 and e["w"] <= 14 and e["h"] >= title["h"] - tol and e["y"] <= title["y"] + tol and e["y"] + e["h"] >= bottom_frame - tol
518
- for e in shapes):
519
- return "side-rail"
520
- for e in others:
521
- if (e["kind"] == "text" and e["sizes"] and DIGITS.fullmatch(e["text"]) and max(e["sizes"]) >= 40 - st
522
- and e["x"] >= title["x"] + title["w"] - tol and e["y"] >= title["y"] - tol and e["y"] + e["h"] <= bottom_frame + tol):
523
- return "kicker-numeral"
524
- if title["y"] <= 48 + tol:
525
- # A rule is a line (wider than 16 pt and four times its height), never a list-marker dot.
526
- rule = any(e["kind"] == "shape" and e["h"] <= 8 and e["w"] >= max(16, 4 * e["h"]) and title["y"] < e["y"] <= bottom + 24
527
- and e["x"] < title["x"] + title["w"] and e["x"] + e["w"] > title["x"] for e in others)
528
- if size >= 36 - st and not rule:
529
- return "top-plain-large"
530
- if size <= 32 + st and rule:
531
- return "top-rule"
532
- return "unclassified"
533
-
534
-
535
- def _is_number(e):
536
- """A text run of 44 pt or more that is mostly digits is a number, not text."""
537
- compact = re.sub(r"\s+", "", e["text"])
538
- digits = len(re.findall(r"\d", compact))
539
- return e["kind"] == "text" and bool(e["sizes"]) and max(e["sizes"]) >= 44 - OUTPUT["size_tol"] and digits / max(1, len(compact)) >= 0.5
540
-
541
-
542
- def composition(title, treatment, els, W, H, margin):
543
- """(title zone, body partition, dominant content) of one slide.
544
-
545
- Body boxes are clustered by their x-extent: two boxes overlapping by half the narrower one share
546
- a column. A box wider than 70 % of the body (a takeaway under two columns) never merges columns.
547
- """
548
- zone = ZONE_OF.get(treatment, "none")
549
- if treatment == "statement":
550
- return (zone, "one", "text")
551
- body = []
552
- for e in els:
553
- if e is title or _footer(e) or e["role"] == "decoration":
554
- continue
555
- if e["kind"] == "shape" and title is not None and _centre_in(title, e, 0):
556
- continue # the panel that carries the title
557
- if e["name"].startswith(("numeral@", "header@")):
558
- continue
559
- if e["kind"] == "text" and e["h"] <= 16 and e["y"] + e["h"] >= OUTPUT["band_floor"] - 2:
560
- continue # a one-line caption or source on the body floor is the slide's foot, not a column
561
- body.append(e)
562
- cards = [e for e in body if e["role"] == "card"]
563
- blocks = [e for e in body if not any(c is not e and _centre_in(e, c) for c in cards)]
564
- if any(e["kind"] == "picture" and e["w"] * e["h"] >= 0.8 * W * H for e in els):
565
- partition = "full-bleed"
566
- elif not blocks:
567
- partition = "one"
568
- else:
569
- narrow = [e for e in blocks if e["w"] < 0.7 * (W - 2 * margin)] or blocks
570
- columns = []
571
- for e in sorted(narrow, key=lambda e: e["x"]):
572
- hits = [c for c in columns if min(c["r"], e["x"] + e["w"]) - max(c["l"], e["x"]) >= 0.5 * min(c["r"] - c["l"], e["w"])]
573
- if hits:
574
- keep = hits[0]
575
- for other in hits[1:]:
576
- keep["l"], keep["r"] = min(keep["l"], other["l"]), max(keep["r"], other["r"])
577
- keep["items"] += other["items"]
578
- columns.remove(other)
579
- keep["l"], keep["r"] = min(keep["l"], e["x"]), max(keep["r"], e["x"] + e["w"])
580
- keep["items"].append(e)
581
- else:
582
- columns.append({"l": e["x"], "r": e["x"] + e["w"], "items": [e]})
583
- column_of = {id(item): n for n, c in enumerate(columns) for item in c["items"]}
584
- rows = []
585
- for e in sorted(narrow, key=lambda e: e["y"]):
586
- if rows and e["y"] < rows[-1]["bottom"] - 2:
587
- rows[-1]["bottom"] = max(rows[-1]["bottom"], e["y"] + e["h"])
588
- rows[-1]["items"].append(e)
589
- else:
590
- rows.append({"bottom": e["y"] + e["h"], "items": [e]})
591
- grid_rows = sum(1 for r in rows if len({column_of[id(i)] for i in r["items"]}) >= 2)
592
- k = len(columns)
593
- if k >= 4 or (k >= 2 and grid_rows >= 2):
594
- partition = "grid"
595
- elif k == 3:
596
- partition = "three"
597
- elif k == 2:
598
- a, b = (c["r"] - c["l"] for c in columns)
599
- partition = "two-even" if min(a, b) / max(a, b) >= 0.85 else "two-asym"
600
- else:
601
- partition = "one"
602
- area = {}
603
- kinds = {"picture": "image", "table": "table", "chart": "chart"}
604
- for e in blocks:
605
- if e["kind"] in kinds:
606
- key = kinds[e["kind"]]
607
- elif e["kind"] == "text":
608
- key = "number" if _is_number(e) else "text"
609
- else:
610
- continue
611
- area[key] = area.get(key, 0.0) + e["w"] * e["h"]
612
- for c in cards:
613
- inner = [e for e in body if e is not c and _centre_in(e, c)]
614
- key = "number" if any(_is_number(e) for e in inner) else "text"
615
- area[key] = area.get(key, 0.0) + c["w"] * c["h"]
616
- dominant = max(area, key=area.get) if area else "text"
617
- return (zone, partition, dominant)
618
-
619
-
620
- def bottom_band(title, els, top_margin=36.0):
621
- """Share of the body zone left empty under its lowest content, from the title bottom (or the top
622
- margin when the title sits low) to the body floor; decoration, footer and notice excluded."""
623
- floor = OUTPUT["band_floor"]
624
- top = title["y"] + title["h"] if title is not None and title["y"] + title["h"] < floor * 0.6 else top_margin
625
- if floor - top < 10:
626
- return None
627
- ink = [e for e in els if e["role"] != "decoration" and not _footer(e) and e["y"] < floor and e["y"] + e["h"] > top]
628
- lowest = max((min(floor, e["y"] + e["h"]) for e in ink), default=top)
629
- return max(0.0, (floor - lowest) / (floor - top))
630
-
631
-
632
- def _slide_kind(family):
633
- for kind in ("cover", "section", "closing"):
634
- if family == kind or family.startswith(kind + "-"):
635
- return kind
636
- return "content"
637
-
638
-
639
- def _variance_max(variance):
640
- return 2 if variance <= 3 else 3 if variance == 4 else 4 if variance <= 6 else 5
641
-
642
-
643
- def read_deck(prs) -> dict:
644
- """Every slide's elements, family, kind, written and drawn title treatment, and the deck's dials."""
645
- W, H = prs.slide_width / 12700.0, prs.slide_height / 12700.0
646
- stamp = STAMP.search(prs.core_properties.subject or "")
647
- density, variance = (int(stamp.group(2)), int(stamp.group(4))) if stamp else (5, 5)
648
- margin = MARGIN[960 if round(W) == 960 else 720].get(stamp.group(3) if stamp else "standard", 48.0)
649
- slides = []
650
- for number, slide in enumerate(prs.slides, start=1):
651
- els = _elements(slide, W, H)
652
- family = next((s.name.split("@", 1)[1] for s in slide.shapes if s.name.startswith("family@")), "")
653
- title = next((e for e in els if e["name"].startswith("title@")), None)
654
- written = title["name"].split("@", 1)[1] if title else None
655
- treatment = classify_title(title, els, W, H) if title and title["sizes"] else None
656
- s = {"n": number, "W": W, "H": H, "slide": slide, "els": els, "family": family, "kind": _slide_kind(family), "title": title,
657
- "written": written, "treatment": treatment}
658
- if s["kind"] == "content":
659
- s["signature"] = composition(title, treatment, els, W, H, margin)
660
- slides.append(s)
661
- return {"W": W, "H": H, "stamp": stamp, "density": density, "variance": variance, "margin": margin, "slides": slides,
662
- "legacy": any(s["written"] == "legacy" for s in slides), "engine": any(s["written"] for s in slides)}
663
-
664
-
665
- def analyse_output(prs) -> list:
666
- """OF-110..OF-113 and OF-115 over the whole deck."""
667
- deck = read_deck(prs)
668
- W, H, stamp, density, variance, slides = deck["W"], deck["H"], deck["stamp"], deck["density"], deck["variance"], deck["slides"]
669
- if not deck["engine"]:
670
- return [] # not built by this engine: nothing to compare against
671
- variety = "MEDIUM" if deck["legacy"] else "HIGH"
672
- found = []
673
- for s in slides:
674
- if s["written"] in TREATMENTS and s["treatment"] not in (None, s["written"]):
675
- found.append(_finding("OF-110", "HIGH", s["n"], s["title"]["name"], f"the title is drawn as {s['treatment']}, named {s['written']}",
676
- "Use the treatment's own geometry and companions; the written name must match what is drawn."))
677
- # OF-110: distinct title treatments over the slides that carry one. Cover and section titles
678
- # are variants of their own (a section keeps the statement frame), so they are not counted.
679
- titled = [s for s in slides if s["kind"] not in ("cover", "section") and s["treatment"]]
680
- used = sorted({s["treatment"] for s in titled} - {"unclassified"})
681
- unclassified = [s["n"] for s in titled if s["treatment"] == "unclassified"]
682
- if len(slides) >= OUTPUT["min_slides"]:
683
- if variance <= 3 and len(used) < OUTPUT["min_treatments"]:
684
- found.append(_finding("OF-110", "MEDIUM", None, None, f"{len(used)} title treatment(s); variety lowered by the user (variance {variance})",
685
- "Variance below 4 is set only on the user's request; say so in the reply."))
686
- elif len(used) < OUTPUT["min_treatments"]:
687
- found.append(_finding("OF-110", variety, None, None, f"{len(used)} title treatment(s) ({', '.join(used) or 'none'}) on {len(slides)} slides",
688
- "Map slide roles to the pack's treatments: data under a side rail or a bottom title, sequences under a numeral, claims as statements."))
689
- elif stamp and len(used) > _variance_max(variance):
690
- found.append(_finding("OF-110", variety, None, None, f"{len(used)} title treatments, variance {variance} allows {_variance_max(variance)}",
691
- "Lower the number of treatments or raise variance (by at most 2 without asking)."))
692
- if unclassified:
693
- found.append(_finding("OF-110", variety, unclassified[0], None, f"no treatment recognised on slide(s) {', '.join(map(str, unclassified))}",
694
- "Place the title on one of the eight treatment frames; never position a title by hand."))
695
- # OF-111: composition signatures over content slides (cover, section and closing excluded).
696
- content = [s for s in slides if s["kind"] == "content"]
697
- if content:
698
- need = min(OUTPUT["variety_cap"], -(-len(content) * 3 // 5))
699
- problems = []
700
- for label, key in (("signature", lambda s: s["signature"]), ("layout", lambda s: s["signature"][:2])):
701
- counts = {}
702
- for s in content:
703
- counts[key(s)] = counts.get(key(s), 0) + 1
704
- top, top_n = max(counts.items(), key=lambda kv: kv[1])
705
- if len(counts) < need:
706
- problems.append(f"{label}: {len(counts)} distinct, needs {need}")
707
- if top_n / len(content) > OUTPUT["max_share"]:
708
- slides_hit = [s["n"] for s in content if key(s) == top]
709
- problems.append(f"{label}: {'/'.join(top)} on {top_n} of {len(content)} content slides ({', '.join(map(str, slides_hit))})")
710
- if problems and len(content) >= 3:
711
- found.append(_finding("OF-111", variety, None, None, "; ".join(problems),
712
- "Change the family or the title treatment on the repeated slides; let each slide's job pick its shape."))
713
- # OF-112: the body is used; per slide against the density cap, the deck median against 0.20.
714
- cap = next(c for upto, c in OUTPUT["band_caps"] if density <= upto)
715
- bands = []
716
- for s in slides:
717
- if s["kind"] in ("cover", "section") or s["family"] in ("statement", "quote", "closing-statement") or s["treatment"] == "statement":
718
- continue
719
- band = bottom_band(s["title"], s["els"])
720
- if band is None:
721
- continue
722
- bands.append(band)
723
- if band > cap:
724
- found.append(_finding("OF-112", "MEDIUM", s["n"], None, f"{band:.0%} of the body is empty under the last block (cap {cap:.0%} at density {density})",
725
- "Apply the pack's fill order: larger type, a grown visual, wider gaps, or a family that fits the content."))
726
- if bands:
727
- bands.sort()
728
- mid = len(bands) // 2
729
- median = bands[mid] if len(bands) % 2 else (bands[mid - 1] + bands[mid]) / 2
730
- if median > OUTPUT["band_deck_max"]:
731
- # A legacy template has no fill policies: its sparse pages could only be "fixed" with
732
- # padding, so the median is advisory there and OF-109 still blocks a hollow slide.
733
- found.append(_finding("OF-112", variety, None, None, f"median empty band {median:.2f} over {len(bands)} slides (limit {OUTPUT['band_deck_max']:.2f})",
734
- "Give the content slides content that reaches the floor: a takeaway under a table, the next step under an ask, a supporting fact under a claim."))
735
- # OF-113: every content title on one frame and every display title (a statement, a quote, a closing
736
- # statement) on another, whatever its treatment: a treatment changes the look, never the place. A title
737
- # over a full-bleed picture (overlay) keeps its own panel. Slides are grouped by the treatment they name,
738
- # so a title moved so far that it no longer reads as any treatment is still measured.
739
- groups = {}
740
- for s in titled:
741
- if s["written"] in TREATMENTS and s["written"] != "overlay":
742
- groups.setdefault("display" if s["written"] == "statement" else "content", []).append(s)
743
- for frame, group in groups.items():
744
- modes = {}
745
- for k in ("x", "y", "w", "h"):
746
- values = [round(s["title"][k]) for s in group]
747
- modes[k] = max(set(values), key=values.count)
748
- for s in group:
749
- off = [f"{k} {s['title'][k]:.0f} vs {modes[k]}" for k in modes if abs(s["title"][k] - modes[k]) > OUTPUT["anchor_tol"]]
750
- if off:
751
- found.append(_finding("OF-113", "HIGH", s["n"], s["title"]["name"], f"{s['treatment']} title off the shared {frame} title frame: {', '.join(off)}",
752
- "Every title sits on the slide grid's title zone; fix the source, never nudge a title."))
753
- found += empty_regions(deck)
754
- found += agenda_numerals(deck)
755
- return found
756
-
757
-
758
- # ── OF-115: no region left empty ────────────────────────────────────────────
759
- #
760
- # The bottom band (OF-112) reads the body as one page. A region can still stand empty beside a full one:
761
- # the takeaway column beside a chart that runs to the floor, the panel that carries a title over a picture,
762
- # and the open page above a plate. Each reading is a share of its own region (40 %).
763
- REGION = {"share": 0.40}
764
-
765
-
766
- def _largest_gap(top, bottom, spans):
767
- """The tallest stretch of [top, bottom] that no (y0, y1) span covers."""
768
- gap, cursor = 0.0, top
769
- for y0, y1 in sorted(spans):
770
- if y1 <= cursor:
771
- continue
772
- gap = max(gap, max(0.0, min(y0, bottom) - cursor))
773
- cursor = max(cursor, y1)
774
- return max(gap, bottom - cursor)
775
-
776
-
777
- def _short_column(s, content, title, body_floor):
778
- """A column of a two-column body that stops short of its neighbour: the largest empty band inside it, from
779
- the body's top down to where the neighbour ends, is over 40 % of the body. A source or note strip that
780
- closes the column does not hide the band above it (spec-v2 Amendments 8). Beside the figures of a kpi-row or
781
- big-number slide the column is measured to the body floor (Amendments 9)."""
782
- tol = OUTPUT["tol"]
783
- top_of_title = title["y"] + title["h"]
784
- W, H = s["W"], s["H"]
785
- fields = [e for e in s["els"] if e["kind"] == "shape" and e["filled"] and e["w"] * e["h"] >= 0.1 * W * H]
786
- body = [e for e in content if e["y"] >= top_of_title - tol and e["y"] < body_floor and e["w"] > 0 and e["h"] > 0
787
- and not any(_centre_in(e, f) for f in fields)]
788
- if len(body) < 2:
789
- return None
790
- left_edge, right_edge = min(e["x"] for e in body), max(e["x"] + e["w"] for e in body)
791
- for cut in sorted({e["x"] + e["w"] for e in body}):
792
- a = [e for e in body if e["x"] + e["w"] <= cut + tol]
793
- b = [e for e in body if e["x"] >= cut - tol]
794
- # A block across most of the body (a note under both columns) belongs to neither column; a narrower block
795
- # across the cut means there is no column line here.
796
- across = [e for e in body if e not in a and e not in b]
797
- if not a or not b or any(e["w"] < 0.7 * (right_edge - left_edge) for e in across):
798
- continue
799
- top = min(e["y"] for e in a + b)
800
- for column, other in ((a, b), (b, a)):
801
- # A takeaway column beside a chart that closes with the chart's values: the table is read at its drawn extent.
802
- values = any(e["kind"] == "chart" for e in other) and any(e["kind"] == "text" for e in column) \
803
- and not any(e["kind"] in ("chart", "picture") for e in column)
804
- # A text column, or a picture drawn smaller than its column, beside a column that runs on.
805
- if not any(e["kind"] in ("text", "picture") for e in column) or (any(e["kind"] in ("chart", "table") for e in column) and not values):
806
- continue
807
- # Row heads (a matrix's or a comparison's short labels, each level with its row) are not a column to fill.
808
- if all(e["kind"] == "text" and e["h"] <= 56 and len(re.sub(r"\s+", "", e["text"])) <= 16 for e in column):
809
- continue
810
- # Measured whatever the neighbour's length: a neighbour that stops short still marks how far the column should run.
811
- reach = min(body_floor, max(e["y"] + e["h"] for e in other))
812
- # A takeaway column beside the figures of a kpi-row or big-number slide runs to the body floor: the figure
813
- # rows stop where their spacing ends, not where the slide's content does (spec-v2 Amendments 9).
814
- # The figures' own labels stand exactly level with figures below the first row; they are part of the stack.
815
- size = lambda side: max([max(e["sizes"]) for e in side if e["kind"] == "text" and e["sizes"]] or [0.0])
816
- figures = [e for e in other if e["kind"] == "text" and e["sizes"] and max(e["sizes"]) > size(column) + 4]
817
- labels = any(abs(e["y"] - f["y"]) <= 0.5 and f["y"] > top + tol for e in column for f in figures)
818
- if s["family"] in ("kpi-row", "big-number") and figures and not labels:
819
- reach = body_floor
820
- gap = _largest_gap(top, reach, [(e["y"], e["y"] + e["h"]) for e in column])
821
- share = gap / max(1.0, body_floor - top)
822
- if share > REGION["share"]:
823
- return _finding("OF-115", "HIGH", s["n"], column[0]["name"],
824
- f"the {'picture' if any(e['kind'] == 'picture' for e in column) else 'text'} column beside a longer one leaves {share:.0%} of the body empty inside it",
825
- "Fill the column by layout: lead size, the source and values in the column, a narrower column with a wider visual, or the points under the visual.")
826
- return None
827
-
828
-
829
- def empty_regions(deck) -> list:
830
- W, H = deck["W"], deck["H"]
831
- floor = OUTPUT["band_floor"]
832
- tol = OUTPUT["tol"]
833
- found = []
834
- for s in deck["slides"]:
835
- title, treatment = s["title"], s["treatment"]
836
- content = [e for e in s["els"] if e is not title and e["role"] != "decoration" and not _footer(e)
837
- and not (e["kind"] == "picture" and e["w"] * e["h"] >= 0.8 * W * H)]
838
- if s["kind"] in ("content", "closing") and title is not None and title["sizes"]:
839
- # A takeaway column beside a chart, table or picture that runs on below it.
840
- body_floor = floor
841
- short = _short_column(s, content, title, body_floor)
842
- if short:
843
- found.append(short)
844
- for v in ([] if short else [e for e in content if e["kind"] in ("chart", "table", "picture")]):
845
- beside = [e for e in content if e["kind"] == "text" and e["y"] < v["y"] + v["h"] and e["y"] + e["h"] > v["y"]
846
- and (e["x"] >= v["x"] + v["w"] - tol or e["x"] + e["w"] <= v["x"] + tol)]
847
- # Text set on a colour field (a closing's ask field) stands on its own ground, not in a column.
848
- fields = [e for e in s["els"] if e["kind"] == "shape" and e["filled"] and e["w"] * e["h"] >= 0.1 * W * H]
849
- beside = [e for e in beside if not any(_centre_in(e, f) for f in fields)]
850
- if not beside:
851
- continue
852
- left, right = min(e["x"] for e in beside), max(e["x"] + e["w"] for e in beside)
853
- in_column = lambda e, l=left, r=right: l - tol <= e["x"] + e["w"] / 2 <= r + tol
854
- in_visual = lambda e, vv=v: vv["x"] - tol <= e["x"] + e["w"] / 2 <= vv["x"] + vv["w"] + tol
855
- top = min([v["y"]] + [e["y"] for e in beside])
856
- column = max(e["y"] + e["h"] for e in content if in_column(e))
857
- visual = min(body_floor, max(e["y"] + e["h"] for e in content if in_visual(e)))
858
- share = (visual - column) / max(1.0, body_floor - top)
859
- if share > REGION["share"]:
860
- found.append(_finding("OF-115", "HIGH", s["n"], v["name"], f"the column beside the {v['kind']} leaves {share:.0%} of the body empty under its last block",
861
- "Close the column with the source and note lines, the chart's values or the takeaways; never stretch the visual alone."))
862
- break
863
- if s["kind"] in ("cover", "section") or treatment in ("statement", "overlay"):
864
- if title is None:
865
- continue
866
- # A title panel over a picture, and a plate under a statement or quote; a typographic cover's
867
- # plate is a display device of the cover, not a region its text must fill.
868
- pictured = any(e["kind"] == "picture" and e["w"] * e["h"] >= 0.8 * W * H for e in s["els"])
869
- for p in [e for e in s["els"] if e["kind"] == "shape" and e["filled"] and _centre_in(title, e) and e["w"] * e["h"] < 0.9 * W * H]:
870
- inside = [e for e in content + [title] if e is not p and _centre_in(e, p)]
871
- if p["y"] > tol and pictured:
872
- region_floor = min(p["y"] + p["h"], floor)
873
- share = _largest_gap(p["y"], region_floor, [(e["y"], e["y"] + e["h"]) for e in inside]) / max(1.0, region_floor - p["y"])
874
- if share > REGION["share"]:
875
- found.append(_finding("OF-115", "HIGH", s["n"], p["name"], f"{share:.0%} of the panel that carries the title is empty",
876
- "Make the panel as tall as the title and its lines, standing on the page foot."))
877
- if p["y"] > tol and treatment == "statement" and p["w"] >= 0.9 * W and not any(e["y"] + e["h"] <= p["y"] + tol for e in content):
878
- found.append(_finding("OF-115", "HIGH", s["n"], p["name"], "a plate under part of the page leaves the open page above it empty",
879
- "Set the sentence on the whole-page field or on the open page; a plate needs content above it."))
880
- return found
881
-
882
-
883
- # ── OF-116: another tonality of the same source sets everything in the same places ─────
884
- #
885
- # Titles, headers and the body sit on the shared slide grid (slide-grid.js), so two tonalities of one source
886
- # may differ in every look but never in where a slide's title frame and its body's top-left corner stand.
887
- # Slides are compared in order; a slide the other deck lacks is not compared.
888
-
889
-
890
- def placement(prs) -> list:
891
- """Per slide: the title frame and the top-left corner of what stands under it, in points."""
892
- out = []
893
- for s in read_deck(prs)["slides"]:
894
- t = s["title"]
895
- if t is None:
896
- out.append(None)
897
- continue
898
- under = [e for e in s["els"] if e is not t and e["role"] != "decoration" and not _footer(e) and e["y"] >= t["y"] + t["h"] - OUTPUT["tol"]
899
- and not e["name"].startswith(("header@", "numeral@", "subtitle@"))]
900
- corner = (min(e["x"] for e in under), min(e["y"] for e in under)) if under and s["kind"] == "content" else None
901
- out.append({"n": s["n"], "title": (t["x"], t["y"], t["w"], t["h"]), "body": corner})
902
- return out
903
-
904
-
905
- def compare_placement(path: Path, sibling: Path) -> list:
906
- a, b = placement(Presentation(str(path))), placement(Presentation(str(sibling)))
907
- tol = OUTPUT["anchor_tol"]
908
- moved = []
909
- for x, y in zip(a, b):
910
- if x is None or y is None:
911
- continue
912
- if any(abs(p - q) > tol for p, q in zip(x["title"], y["title"])):
913
- moved.append(f"slide {x['n']} title at {[round(v) for v in x['title']]} vs {[round(v) for v in y['title']]}")
914
- elif x["body"] and y["body"] and any(abs(p - q) > tol for p, q in zip(x["body"], y["body"])):
915
- moved.append(f"slide {x['n']} body from {tuple(round(v) for v in x['body'])} vs {tuple(round(v) for v in y['body'])}")
916
- if not moved:
917
- return []
918
- return [_finding("OF-116", "HIGH", None, None, f"{len(moved)} slide(s) placed differently from {Path(sibling).name}: {'; '.join(moved[:4])}",
919
- "A tonality changes the look of a zone, never its place: draw the title and the body on the slide grid's zones.")]
920
-
921
-
922
- # ── OF-117: no light figure card on a dark ground ───────────────────────────
923
- #
924
- # A chart or diagram exported on white, placed on a dark ground, reads as a white card with small grey
925
- # labels. A figure is a picture of mostly near-white pixels; a photograph rarely is.
926
- FIGURE = {"ground_max": 0.25, "near_white": 235, "share": 0.5, "min_area": 0.03}
927
-
928
-
929
- def light_figures(number, slide, W, H) -> list:
930
- try:
931
- rgb = slide.background.fill.fore_color.rgb if slide.background.fill.type == 1 else None
932
- except (AttributeError, TypeError, ValueError):
933
- rgb = None
934
- if rgb is None:
935
- return []
936
- r, g, b = (int(str(rgb)[i:i + 2], 16) / 255 for i in (0, 2, 4))
937
- if 0.2126 * r + 0.7152 * g + 0.0722 * b > FIGURE["ground_max"]:
938
- return []
939
- try:
940
- import io
941
- from PIL import Image
942
- except ImportError:
943
- return []
944
- found = []
945
- for shape in slide.shapes:
946
- if shape.shape_type != MSO_SHAPE_TYPE.PICTURE:
947
- continue
948
- box = _pt_box(shape)
949
- if not box or not FIGURE["min_area"] * W * H <= box[2] * box[3] < 0.8 * W * H:
950
- continue
951
- with Image.open(io.BytesIO(shape.image.blob)) as im:
952
- raw = im.convert("RGB").resize((64, 64)).tobytes()
953
- share = sum(1 for i in range(0, len(raw), 3) if min(raw[i:i + 3]) >= FIGURE["near_white"]) / (len(raw) / 3)
954
- if share > FIGURE["share"]:
955
- found.append(_finding("OF-117", "HIGH", number, shape.name, f"a light figure ({share:.0%} near-white) on a dark ground",
956
- "Supply the figure's dark variant beside it (name.dark.png) or draw it as a native chart."))
957
- return found
958
-
959
-
960
- # ── OF-118: a run-in label keeps its separator ─────────────────────────────
961
- #
962
- # A point that opens with a bold label and runs on in regular weight reads as one sentence when nothing
963
- # separates the two ("요약 앱에서 …"): the label takes a colon unless it ends in its own separator.
964
- RUN_IN_SEPARATOR = re.compile(r"[::.)\]?!–—\-]$")
965
-
966
-
967
- def check_run_ins(number, slide) -> list:
968
- found = []
969
- for shape in slide.shapes:
970
- if not getattr(shape, "has_text_frame", False) or not shape.has_text_frame or shape.name.startswith(("title@", "lit-notice")):
971
- continue
972
- for paragraph in shape.text_frame.paragraphs:
973
- runs = [r for r in paragraph.runs if r.text]
974
- if len(runs) < 2 or not runs[0].font.bold or runs[1].font.bold:
975
- continue
976
- label, rest = runs[0].text, runs[1].text
977
- if not label.strip() or not re.search(r"\w", rest) or RUN_IN_SEPARATOR.search(label.strip()) or rest.lstrip()[:1] in "::":
978
- continue
979
- found.append(_finding("OF-118", "HIGH", number, shape.name, f"bold run-in label without a separator: {(label + rest)[:40]}",
980
- "Write the label with its colon (**요약:** …), or let the engine set it; never run a bold label into the sentence."))
981
- return found
982
-
983
-
984
- # ── OF-119: no count numeral beside an agenda title ────────────────────────
985
-
986
-
987
- def agenda_numerals(deck) -> list:
988
- return [_finding("OF-119", "HIGH", s["n"], s["title"]["name"], "a numeral beside the agenda title repeats the count of its numbered rows",
989
- "An agenda takes a title without a numeral; its rows carry the numbers.")
990
- for s in deck["slides"] if s["family"] == "agenda" and s["treatment"] == "kicker-numeral"]
991
-
992
-
993
- # ── OF-114: titles are labels ───────────────────────────────────────────────
994
- #
995
- # A title names what the slide covers; the claim goes in the body. Korean is read on its last word
996
- # (어절): a sentence ending or a nominalised claim makes the title a sentence. English is read for a
997
- # final period or a finite verb (an auxiliary, or a report verb in the past or third person). A
998
- # trailing parenthesis is set aside first ("… 요청 (18개월)"). A question is not a claim.
999
-
1000
- KO_SENTENCE = re.compile(r"(?:니다|[어아해세에예네지군래게]요|죠|[었았였했겠됐](?:다|음)|[가-힣]다|[가-힣](?:함|됨)|(?:있|없)음)$")
1001
- KO_NOT_SENTENCE = {"바다", "판다", "소다", "람다", "캐나다", "어젠다", "아젠다", "포함", "보다", "함", "다"}
1002
- 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)
1003
- EN_VERBS = {
1004
- "grew", "grows", "rose", "rises", "fell", "falls", "doubled", "doubles", "tripled", "triples", "halved", "halves",
1005
- "increased", "increases", "decreased", "decreases", "declined", "declines", "improved", "improves", "dropped", "drops",
1006
- "climbed", "climbs", "beats", "outperforms", "outperformed", "leads", "drives", "drove", "shows", "showed", "needs",
1007
- "makes", "reached", "reaches", "exceeded", "exceeds", "missed", "misses", "stays", "stayed", "remains", "remained",
1008
- "comes", "came", "takes", "took", "works", "worked", "pays", "paid", "saves", "saved", "explains", "explained",
1009
- "matters", "wins", "won", "lost", "loses", "cuts", "lifts", "lifted", "slowed", "slows", "fails", "failed",
1010
- }
1011
-
1012
-
1013
- def declarative_title(text: str) -> bool:
1014
- """True when a title or subtitle states a claim as a sentence instead of naming a topic."""
1015
- t = re.sub(r"\s+", " ", str(text or "")).strip()
1016
- t = re.sub(r"\s*\([^()]*\)$", "", t).strip().rstrip("\"'”’")
1017
- if not t or t.endswith("?") or t[0] in "“\"「『‘'":
1018
- return False # a question, or a quotation set as the slide's statement
1019
- if re.search(r"[가-힣]", t):
1020
- last = re.sub(r"[.!…]+$", "", t.split(" ")[-1])
1021
- return last not in KO_NOT_SENTENCE and bool(KO_SENTENCE.search(last))
1022
- if t.endswith(".") or t.endswith("!"):
1023
- return True
1024
- words = re.findall(r"[A-Za-z']+", t)
1025
- return bool(EN_AUX.search(t)) or any(w.lower() in EN_VERBS for w in words[1:])
1026
-
1027
-
1028
- def check_labels(prs) -> list:
1029
- """OF-114 over every engine-drawn title and the cover subtitle."""
1030
- found = []
1031
- named = [(number, shape) for number, slide in enumerate(prs.slides, start=1) for shape in slide.shapes
1032
- if shape.name.startswith(("title@", "subtitle@")) and getattr(shape, "has_text_frame", False) and shape.has_text_frame]
1033
- legacy = any(shape.name == "title@legacy" for _, shape in named)
1034
- for number, shape in named:
1035
- text = re.sub(r"\s+", " ", shape.text_frame.text).strip()
1036
- if declarative_title(text):
1037
- what = "subtitle" if shape.name.startswith("subtitle@") else "title"
1038
- found.append(_finding("OF-114", "MEDIUM" if legacy else "HIGH", number, shape.name,
1039
- f"the {what} is a sentence: {text[:60]}",
1040
- "Name the topic as a label (분기별 매출 추이; Conversion by feed rate) and move the claim into the body: the first takeaway, point or caption."))
1041
- return found
1042
-
1043
-
1044
- def analyse(path: Path) -> dict:
1045
- prs = Presentation(str(path))
1046
- W, H = prs.slide_width / EMU_PER_IN, prs.slide_height / EMU_PER_IN
1047
- page_area = W * H
1048
- findings = analyse_output(prs) + check_labels(prs)
1049
- allowed = pack_allowances(prs)
1050
- for number, slide in enumerate(prs.slides, start=1):
1051
- shapes = [s for s in slide.shapes if not s.name.startswith("lit-notice")]
1052
- layout = deck_craft.slide_layout(shapes, W, H, page_area)
1053
- findings += check_run_effects(number, slide)
1054
- findings += check_run_ins(number, slide)
1055
- findings += light_figures(number, slide, W * PT_PER_IN, H * PT_PER_IN)
1056
- findings += check_accents(slide, number, shapes, page_area, layout["display"], allowed)
1057
- findings += check_shadows(number, slide, allowed)
1058
- findings += check_numeric_columns(number, shapes)
1059
- findings += check_concentric(number, shapes)
1060
- if layout["display"]:
1061
- continue
1062
- findings += check_measure(number, shapes, layout["title"])
1063
- findings += check_grouping(number, shapes, page_area)
1064
- findings += check_bands(number, shapes, layout["area"], layout["boxes"], page_area, W, H)
1065
- return {"file": str(path), "pass": not any(f["severity"] == "HIGH" for f in findings), "findings": findings}
1066
-
1067
-
1068
- def main(argv):
1069
- if not argv:
1070
- print(__doc__)
1071
- return 2
1072
- print(json.dumps(analyse(Path(argv[0])), ensure_ascii=False, indent=2))
1073
- return 0
1074
-
1075
-
1076
- if __name__ == "__main__":
1077
- raise SystemExit(main(_sys.argv[1:]))