@litfamily/litmuse 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1364) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/README.md +127 -2
  4. package/README_ko-KR.md +128 -0
  5. package/bin/litmuse.mjs +131 -0
  6. package/docs/assets/cover-motion-still.webp +0 -0
  7. package/docs/assets/cover-motion.webp +0 -0
  8. package/docs/hud-preset.md +34 -0
  9. package/lib/approvals.mjs +31 -0
  10. package/lib/bundle.mjs +128 -0
  11. package/lib/doctor.mjs +156 -0
  12. package/lib/guard.mjs +11 -0
  13. package/lib/install.mjs +168 -0
  14. package/lib/models.mjs +57 -0
  15. package/lib/muse.mjs +37 -0
  16. package/lib/paths.mjs +22 -0
  17. package/lib/runtime.mjs +73 -0
  18. package/lib/safe-write.mjs +72 -0
  19. package/lib/stage-card.mjs +102 -0
  20. package/lib/style.mjs +41 -0
  21. package/lib/uninstall.mjs +42 -0
  22. package/lib/update-check.mjs +30 -0
  23. package/package.json +57 -4
  24. package/plugin/.muse-plugin/plugin.json +347 -0
  25. package/plugin/agents/korean-prose-editor.md +68 -0
  26. package/plugin/agents/korean-style-analyzer.md +64 -0
  27. package/plugin/agents/librarian-researcher.md +66 -0
  28. package/plugin/agents/lit-executor.md +67 -0
  29. package/plugin/agents/lit-planner.md +80 -0
  30. package/plugin/agents/lit-verifier.md +64 -0
  31. package/plugin/agents/meaning-preservation-auditor.md +64 -0
  32. package/plugin/agents/native-flow-reviewer.md +63 -0
  33. package/plugin/agents/polish-orchestrator.md +66 -0
  34. package/plugin/agents/qa-runner.md +65 -0
  35. package/plugin/agents/quality-reviewer.md +67 -0
  36. package/plugin/commands/lit-hud.md +12 -0
  37. package/plugin/commands/lit-korean.md +10 -0
  38. package/plugin/commands/lit-status.md +15 -0
  39. package/plugin/commands/lit.md +12 -0
  40. package/plugin/context/child.md +5 -0
  41. package/plugin/context/session.md +21 -0
  42. package/plugin/context/style-asd-ste100.md +45 -0
  43. package/plugin/context/style-eli5.md +23 -0
  44. package/plugin/hooks/lib/added-comments.mjs +124 -0
  45. package/plugin/hooks/lib/common.mjs +176 -0
  46. package/plugin/hooks/lib/continuation.mjs +157 -0
  47. package/plugin/hooks/lib/digest.mjs +39 -0
  48. package/plugin/hooks/lib/handoff-snapshot.mjs +161 -0
  49. package/plugin/hooks/lib/hedge.mjs +64 -0
  50. package/plugin/hooks/lib/motion.mjs +156 -0
  51. package/plugin/hooks/lib/policy.mjs +103 -0
  52. package/plugin/hooks/lib/redact.mjs +38 -0
  53. package/plugin/hooks/lib/reentry.mjs +38 -0
  54. package/plugin/hooks/lib/routes.mjs +160 -0
  55. package/plugin/hooks/lib/stage.mjs +154 -0
  56. package/plugin/hooks/post-tool-use-failure.mjs +13 -0
  57. package/plugin/hooks/post-tool-use.mjs +112 -0
  58. package/plugin/hooks/pre-compact.mjs +9 -0
  59. package/plugin/hooks/pre-tool-use.mjs +164 -0
  60. package/plugin/hooks/session-end.mjs +10 -0
  61. package/plugin/hooks/session-start.mjs +75 -0
  62. package/plugin/hooks/stop.mjs +31 -0
  63. package/plugin/hooks/subagent-start.mjs +9 -0
  64. package/plugin/hooks/subagent-stop.mjs +9 -0
  65. package/plugin/hooks/user-prompt-submit.mjs +94 -0
  66. package/plugin/lib/host-process.mjs +184 -0
  67. package/plugin/lib/office-runtime-lock/package-lock.json +793 -0
  68. package/plugin/lib/office-runtime-lock/package.json +12 -0
  69. package/plugin/lib/office-runtime-lock/requirements.lock +15 -0
  70. package/plugin/lib/office-runtime.mjs +274 -0
  71. package/plugin/lib/office_data.py +493 -0
  72. package/plugin/lib/office_runtime_bootstrap.py +76 -0
  73. package/plugin/lib/ooxml_integrity.py +199 -0
  74. package/plugin/lib/pdf_fonts.py +91 -0
  75. package/plugin/lib/render_pages.py +105 -0
  76. package/plugin/lib/secret-shapes.mjs +59 -0
  77. package/plugin/lib/strict-json.mjs +143 -0
  78. package/plugin/skills/autoconference/LICENSE +21 -0
  79. package/plugin/skills/autoconference/PROVENANCE.md +19 -0
  80. package/plugin/skills/autoconference/SKILL.md +235 -0
  81. package/plugin/skills/autoconference/assets/conference_template.md +76 -0
  82. package/plugin/skills/autoconference/assets/report_template.md +53 -0
  83. package/plugin/skills/autoconference/assets/synthesis_template.md +39 -0
  84. package/plugin/skills/autoconference/modes/analyze.md +248 -0
  85. package/plugin/skills/autoconference/modes/core.md +339 -0
  86. package/plugin/skills/autoconference/modes/debate.md +361 -0
  87. package/plugin/skills/autoconference/modes/plan.md +285 -0
  88. package/plugin/skills/autoconference/modes/resume.md +284 -0
  89. package/plugin/skills/autoconference/modes/ship.md +383 -0
  90. package/plugin/skills/autoconference/modes/survey.md +353 -0
  91. package/plugin/skills/autoconference/references/agent-prompts.md +577 -0
  92. package/plugin/skills/autoconference/references/conference-protocol.md +593 -0
  93. package/plugin/skills/autoconference/references/convergence-guide.md +160 -0
  94. package/plugin/skills/autoconference/references/core-principles.md +76 -0
  95. package/plugin/skills/autoconference/references/crash-recovery.md +204 -0
  96. package/plugin/skills/autoconference/references/results-logging.md +163 -0
  97. package/plugin/skills/autoconference/references/visualization-guide.md +97 -0
  98. package/plugin/skills/autoconference/scripts/check_conference.sh +197 -0
  99. package/plugin/skills/autoconference/scripts/init_conference.py +473 -0
  100. package/plugin/skills/autoconference/scripts/style_presets.py +104 -0
  101. package/plugin/skills/autoconference/templates/code-performance.md +59 -0
  102. package/plugin/skills/autoconference/templates/debate-mode.md +50 -0
  103. package/plugin/skills/autoconference/templates/prompt-optimization.md +58 -0
  104. package/plugin/skills/autoconference/templates/quick-conference.md +48 -0
  105. package/plugin/skills/autoconference/templates/research-synthesis.md +56 -0
  106. package/plugin/skills/autoconference/templates/survey-mode.md +63 -0
  107. package/plugin/skills/autoresearch/LICENSE +21 -0
  108. package/plugin/skills/autoresearch/PROVENANCE.md +17 -0
  109. package/plugin/skills/autoresearch/SKILL.md +215 -0
  110. package/plugin/skills/autoresearch/assets/report_template.md +50 -0
  111. package/plugin/skills/autoresearch/assets/research_template.md +38 -0
  112. package/plugin/skills/autoresearch/assets/results_template.tsv +1 -0
  113. package/plugin/skills/autoresearch/modes/core.md +209 -0
  114. package/plugin/skills/autoresearch/modes/debug.md +228 -0
  115. package/plugin/skills/autoresearch/modes/fix.md +166 -0
  116. package/plugin/skills/autoresearch/modes/learn.md +86 -0
  117. package/plugin/skills/autoresearch/modes/plan.md +287 -0
  118. package/plugin/skills/autoresearch/modes/predict.md +259 -0
  119. package/plugin/skills/autoresearch/modes/reason.md +163 -0
  120. package/plugin/skills/autoresearch/modes/scenario.md +157 -0
  121. package/plugin/skills/autoresearch/modes/security.md +275 -0
  122. package/plugin/skills/autoresearch/modes/ship.md +49 -0
  123. package/plugin/skills/autoresearch/references/core-principles.md +80 -0
  124. package/plugin/skills/autoresearch/references/evaluator-contract.md +126 -0
  125. package/plugin/skills/autoresearch/references/investigation-techniques.md +205 -0
  126. package/plugin/skills/autoresearch/references/owasp-checklist.md +161 -0
  127. package/plugin/skills/autoresearch/references/persona-templates.md +232 -0
  128. package/plugin/skills/autoresearch/references/results-logging.md +96 -0
  129. package/plugin/skills/autoresearch/references/scenario-dimensions.md +178 -0
  130. package/plugin/skills/autoresearch/references/stride-model.md +196 -0
  131. package/plugin/skills/autoresearch/references/stuck-detection.md +107 -0
  132. package/plugin/skills/autoresearch/references/type-checklists.md +163 -0
  133. package/plugin/skills/autoresearch/references/upstream-family-contract.md +122 -0
  134. package/plugin/skills/autoresearch/references/visualization-guide.md +95 -0
  135. package/plugin/skills/autoresearch/scripts/check_progress.sh +272 -0
  136. package/plugin/skills/autoresearch/scripts/init_research.py +330 -0
  137. package/plugin/skills/autoresearch/scripts/run_with_deadline.py +164 -0
  138. package/plugin/skills/autoresearch/scripts/style_presets.py +104 -0
  139. package/plugin/skills/browser-drive/SKILL.md +140 -0
  140. package/plugin/skills/browser-drive/references/snapshot-act-loop.md +47 -0
  141. package/plugin/skills/browser-drive/scripts/capability-probe.mjs +481 -0
  142. package/plugin/skills/comment-checker/SKILL.md +139 -0
  143. package/plugin/skills/comment-checker/references/comment-policy.md +72 -0
  144. package/plugin/skills/debugging/SKILL.md +186 -0
  145. package/plugin/skills/debugging/references/methodology/00-setup.md +108 -0
  146. package/plugin/skills/debugging/references/methodology/02-investigate.md +123 -0
  147. package/plugin/skills/debugging/references/methodology/04-oracle-triple.md +129 -0
  148. package/plugin/skills/debugging/references/methodology/05-escalate.md +70 -0
  149. package/plugin/skills/debugging/references/methodology/06-fix.md +116 -0
  150. package/plugin/skills/debugging/references/methodology/08-qa.md +94 -0
  151. package/plugin/skills/debugging/references/methodology/09-cleanup.md +164 -0
  152. package/plugin/skills/debugging/references/methodology/partial-runtime-evidence.md +223 -0
  153. package/plugin/skills/debugging/references/runtimes/bundled-js-binary.md +415 -0
  154. package/plugin/skills/debugging/references/runtimes/go.md +252 -0
  155. package/plugin/skills/debugging/references/runtimes/native-binary.md +484 -0
  156. package/plugin/skills/debugging/references/runtimes/node.md +260 -0
  157. package/plugin/skills/debugging/references/runtimes/python.md +248 -0
  158. package/plugin/skills/debugging/references/runtimes/rust.md +234 -0
  159. package/plugin/skills/debugging/references/tools/ghidra.md +212 -0
  160. package/plugin/skills/debugging/references/tools/playwright-cli.md +194 -0
  161. package/plugin/skills/debugging/references/tools/pwndbg.md +263 -0
  162. package/plugin/skills/debugging/references/tools/pwntools.md +265 -0
  163. package/plugin/skills/deep-interview/SKILL.md +280 -0
  164. package/plugin/skills/deep-interview/scripts/render_progress.py +198 -0
  165. package/plugin/skills/deep-interview/templates/context.md +38 -0
  166. package/plugin/skills/deep-interview/templates/spec.md +68 -0
  167. package/plugin/skills/deep-interview/templates/state.json +34 -0
  168. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +23 -0
  169. package/plugin/skills/frontend-ui-ux/LICENSE +21 -0
  170. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +38 -0
  171. package/plugin/skills/frontend-ui-ux/SKILL.md +232 -0
  172. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +1060 -0
  173. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +14 -0
  174. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +1 -0
  175. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +186 -0
  176. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +9 -0
  177. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +217 -0
  178. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +201 -0
  179. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +21 -0
  180. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +873 -0
  181. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +92 -0
  182. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +93 -0
  183. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +578 -0
  184. package/plugin/skills/frontend-ui-ux/references/composition.md +85 -0
  185. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +259 -0
  186. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +80 -0
  187. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +27 -0
  188. package/plugin/skills/frontend-ui-ux/references/design/README.md +248 -0
  189. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +191 -0
  190. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +393 -0
  191. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +92 -0
  192. package/plugin/skills/frontend-ui-ux/references/design/apple.md +250 -0
  193. package/plugin/skills/frontend-ui-ux/references/design/aside.md +209 -0
  194. package/plugin/skills/frontend-ui-ux/references/design/binance.md +348 -0
  195. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +183 -0
  196. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +92 -0
  197. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +271 -0
  198. package/plugin/skills/frontend-ui-ux/references/design/cal.md +262 -0
  199. package/plugin/skills/frontend-ui-ux/references/design/claude.md +315 -0
  200. package/plugin/skills/frontend-ui-ux/references/design/clay.md +307 -0
  201. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +284 -0
  202. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +65 -0
  203. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +269 -0
  204. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +132 -0
  205. package/plugin/skills/frontend-ui-ux/references/design/composio.md +310 -0
  206. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +312 -0
  207. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +244 -0
  208. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +268 -0
  209. package/plugin/skills/frontend-ui-ux/references/design/expo.md +284 -0
  210. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +317 -0
  211. package/plugin/skills/frontend-ui-ux/references/design/figma.md +223 -0
  212. package/plugin/skills/frontend-ui-ux/references/design/framer.md +249 -0
  213. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +74 -0
  214. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +281 -0
  215. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +335 -0
  216. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +1228 -0
  217. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +798 -0
  218. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +1465 -0
  219. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +987 -0
  220. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +149 -0
  221. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +128 -0
  222. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +291 -0
  223. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +107 -0
  224. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +77 -0
  225. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +370 -0
  226. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +301 -0
  227. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +368 -0
  228. package/plugin/skills/frontend-ui-ux/references/design/meta.md +369 -0
  229. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +85 -0
  230. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +260 -0
  231. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +329 -0
  232. package/plugin/skills/frontend-ui-ux/references/design/miro.md +111 -0
  233. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +264 -0
  234. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +269 -0
  235. package/plugin/skills/frontend-ui-ux/references/design/nike.md +366 -0
  236. package/plugin/skills/frontend-ui-ux/references/design/notion.md +312 -0
  237. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +296 -0
  238. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +270 -0
  239. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +284 -0
  240. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +49 -0
  241. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +233 -0
  242. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +367 -0
  243. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +259 -0
  244. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +271 -0
  245. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +230 -0
  246. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +178 -0
  247. package/plugin/skills/frontend-ui-ux/references/design/renault.md +314 -0
  248. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +264 -0
  249. package/plugin/skills/frontend-ui-ux/references/design/resend.md +306 -0
  250. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +188 -0
  251. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +247 -0
  252. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +360 -0
  253. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +265 -0
  254. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +353 -0
  255. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +98 -0
  256. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +197 -0
  257. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +249 -0
  258. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +583 -0
  259. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +121 -0
  260. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +184 -0
  261. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +325 -0
  262. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +258 -0
  263. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +255 -0
  264. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +1206 -0
  265. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +289 -0
  266. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +342 -0
  267. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +266 -0
  268. package/plugin/skills/frontend-ui-ux/references/design/uber.md +298 -0
  269. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +313 -0
  270. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +426 -0
  271. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +326 -0
  272. package/plugin/skills/frontend-ui-ux/references/design/warp.md +256 -0
  273. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +95 -0
  274. package/plugin/skills/frontend-ui-ux/references/design/wired.md +281 -0
  275. package/plugin/skills/frontend-ui-ux/references/design/wise.md +176 -0
  276. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +260 -0
  277. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +331 -0
  278. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +97 -0
  279. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +48 -0
  280. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +80 -0
  281. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +64 -0
  282. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +65 -0
  283. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +65 -0
  284. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +83 -0
  285. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +80 -0
  286. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +79 -0
  287. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +21 -0
  288. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
  289. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +132 -0
  290. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +109 -0
  291. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +89 -0
  292. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +113 -0
  293. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +78 -0
  294. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +121 -0
  295. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
  296. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +107 -0
  297. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +120 -0
  298. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +101 -0
  299. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +109 -0
  300. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +107 -0
  301. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +199 -0
  302. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +174 -0
  303. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +125 -0
  304. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +106 -0
  305. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +266 -0
  306. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +123 -0
  307. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +120 -0
  308. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +164 -0
  309. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +85 -0
  310. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +98 -0
  311. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +165 -0
  312. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +122 -0
  313. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +81 -0
  314. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +96 -0
  315. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +77 -0
  316. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +192 -0
  317. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +165 -0
  318. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +78 -0
  319. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +75 -0
  320. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +117 -0
  321. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +78 -0
  322. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +125 -0
  323. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +79 -0
  324. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +119 -0
  325. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +126 -0
  326. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +109 -0
  327. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +92 -0
  328. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +47 -0
  329. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +130 -0
  330. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +92 -0
  331. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +160 -0
  332. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +127 -0
  333. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +93 -0
  334. package/plugin/skills/frontend-ui-ux/references/product-direction.md +84 -0
  335. package/plugin/skills/frontend-ui-ux/references/production-interview.md +17 -0
  336. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +97 -0
  337. package/plugin/skills/frontend-ui-ux/references/slop-register.md +150 -0
  338. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +84 -0
  339. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +86 -0
  340. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +659 -0
  341. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +26 -0
  342. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +162 -0
  343. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +106 -0
  344. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +35 -0
  345. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +162 -0
  346. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +45 -0
  347. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +54 -0
  348. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +53 -0
  349. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
  350. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
  351. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
  352. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
  353. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
  354. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +52 -0
  355. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +54 -0
  356. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
  357. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +54 -0
  358. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
  359. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +50 -0
  360. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +85 -0
  361. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +74 -0
  362. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +162 -0
  363. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +100 -0
  364. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +31 -0
  365. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +262 -0
  366. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +1148 -0
  367. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +114 -0
  368. package/plugin/skills/frontend-ui-ux/references/visual-language.md +84 -0
  369. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +51 -0
  370. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +306 -0
  371. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +291 -0
  372. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +311 -0
  373. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +201 -0
  374. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +286 -0
  375. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +354 -0
  376. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +361 -0
  377. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +313 -0
  378. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +68 -0
  379. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +12 -0
  380. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +124 -0
  381. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +1534 -0
  382. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +141 -0
  383. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +57 -0
  384. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +129 -0
  385. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +289 -0
  386. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +63 -0
  387. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +106 -0
  388. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +43 -0
  389. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +153 -0
  390. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +52 -0
  391. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +90 -0
  392. package/plugin/skills/lit-brainstorm/SKILL.md +210 -0
  393. package/plugin/skills/lit-brainstorm/references/convergence-matrices.md +41 -0
  394. package/plugin/skills/lit-brainstorm/references/lane-prompts.md +34 -0
  395. package/plugin/skills/lit-brainstorm/references/scoring-rubric.md +31 -0
  396. package/plugin/skills/lit-brainstorm/references/technique-catalog.md +41 -0
  397. package/plugin/skills/lit-brainstorm/references/techniques-generate.md +49 -0
  398. package/plugin/skills/lit-brainstorm/references/techniques-reframe.md +29 -0
  399. package/plugin/skills/lit-brainstorm/references/techniques-structure.md +35 -0
  400. package/plugin/skills/lit-brainstorm/templates/handoff-packet.md +23 -0
  401. package/plugin/skills/lit-brainstorm/templates/session-board.md +42 -0
  402. package/plugin/skills/lit-brainstorm/templates/shortlist.md +30 -0
  403. package/plugin/skills/lit-burnoff/SKILL.md +351 -0
  404. package/plugin/skills/lit-burnoff/references/behavior-preserving-cleanup.md +94 -0
  405. package/plugin/skills/lit-burnoff-file/SKILL.md +266 -0
  406. package/plugin/skills/lit-code/SKILL.md +628 -0
  407. package/plugin/skills/lit-code/references/engineering-risk-signals.md +123 -0
  408. package/plugin/skills/lit-code/references/go/README.md +90 -0
  409. package/plugin/skills/lit-code/references/go/backend-stack.md +641 -0
  410. package/plugin/skills/lit-code/references/go/bootstrap.md +328 -0
  411. package/plugin/skills/lit-code/references/go/bubbletea-v2.md +360 -0
  412. package/plugin/skills/lit-code/references/go/cobra-stack.md +468 -0
  413. package/plugin/skills/lit-code/references/go/concurrency.md +362 -0
  414. package/plugin/skills/lit-code/references/go/data-modeling.md +329 -0
  415. package/plugin/skills/lit-code/references/go/error-handling.md +359 -0
  416. package/plugin/skills/lit-code/references/go/golangci-strict.md +236 -0
  417. package/plugin/skills/lit-code/references/go/grpc-connect.md +375 -0
  418. package/plugin/skills/lit-code/references/go/libraries.md +337 -0
  419. package/plugin/skills/lit-code/references/go/one-liners.md +202 -0
  420. package/plugin/skills/lit-code/references/go/sqlc-pgx.md +471 -0
  421. package/plugin/skills/lit-code/references/go/testing.md +467 -0
  422. package/plugin/skills/lit-code/references/go/type-patterns.md +298 -0
  423. package/plugin/skills/lit-code/references/observability-contracts.md +124 -0
  424. package/plugin/skills/lit-code/references/python/README.md +314 -0
  425. package/plugin/skills/lit-code/references/python/async-anyio.md +442 -0
  426. package/plugin/skills/lit-code/references/python/data-modeling.md +233 -0
  427. package/plugin/skills/lit-code/references/python/data-processing.md +133 -0
  428. package/plugin/skills/lit-code/references/python/error-handling.md +218 -0
  429. package/plugin/skills/lit-code/references/python/fastapi-stack.md +316 -0
  430. package/plugin/skills/lit-code/references/python/httpx2-optimization.md +360 -0
  431. package/plugin/skills/lit-code/references/python/libraries.md +307 -0
  432. package/plugin/skills/lit-code/references/python/one-liners.md +268 -0
  433. package/plugin/skills/lit-code/references/python/orjson-stack.md +378 -0
  434. package/plugin/skills/lit-code/references/python/pydantic-ai.md +285 -0
  435. package/plugin/skills/lit-code/references/python/pyproject-strict.md +232 -0
  436. package/plugin/skills/lit-code/references/python/textual-tui.md +201 -0
  437. package/plugin/skills/lit-code/references/python/type-patterns.md +176 -0
  438. package/plugin/skills/lit-code/references/rust/README.md +317 -0
  439. package/plugin/skills/lit-code/references/rust/async-tokio.md +299 -0
  440. package/plugin/skills/lit-code/references/rust/axum-stack.md +467 -0
  441. package/plugin/skills/lit-code/references/rust/cargo-strict.md +317 -0
  442. package/plugin/skills/lit-code/references/rust/clap-stack.md +409 -0
  443. package/plugin/skills/lit-code/references/rust/concurrency.md +375 -0
  444. package/plugin/skills/lit-code/references/rust/libraries.md +439 -0
  445. package/plugin/skills/lit-code/references/rust/one-liners.md +291 -0
  446. package/plugin/skills/lit-code/references/rust/proptest-insta.md +429 -0
  447. package/plugin/skills/lit-code/references/rust/type-state.md +354 -0
  448. package/plugin/skills/lit-code/references/rust/unsafe-discipline.md +250 -0
  449. package/plugin/skills/lit-code/references/rust/zero-cost-safety.md +527 -0
  450. package/plugin/skills/lit-code/references/rust-ub/README.md +289 -0
  451. package/plugin/skills/lit-code/references/rust-ub/miri-sanitizers-loom.md +411 -0
  452. package/plugin/skills/lit-code/references/rust-ub/ub-taxonomy.md +269 -0
  453. package/plugin/skills/lit-code/references/typescript/README.md +195 -0
  454. package/plugin/skills/lit-code/references/typescript/backend-hono.md +672 -0
  455. package/plugin/skills/lit-code/references/typescript/bootstrap.md +199 -0
  456. package/plugin/skills/lit-code/references/typescript/data-modeling.md +202 -0
  457. package/plugin/skills/lit-code/references/typescript/error-handling.md +169 -0
  458. package/plugin/skills/lit-code/references/typescript/tsconfig-strict.md +152 -0
  459. package/plugin/skills/lit-code/references/typescript/type-patterns.md +196 -0
  460. package/plugin/skills/lit-code/scripts/go/check-no-excuse-rules.sh +173 -0
  461. package/plugin/skills/lit-code/scripts/go/new-project.py +138 -0
  462. package/plugin/skills/lit-code/scripts/go/templates/.editorconfig +13 -0
  463. package/plugin/skills/lit-code/scripts/go/templates/.golangci.yml +95 -0
  464. package/plugin/skills/lit-code/scripts/go/templates/AGENTS.md.tmpl +24 -0
  465. package/plugin/skills/lit-code/scripts/go/templates/README.md.tmpl +12 -0
  466. package/plugin/skills/lit-code/scripts/go/templates/Taskfile.yml +40 -0
  467. package/plugin/skills/lit-code/scripts/go/templates/ci.yml +37 -0
  468. package/plugin/skills/lit-code/scripts/go/templates/config.go +24 -0
  469. package/plugin/skills/lit-code/scripts/go/templates/gitignore +15 -0
  470. package/plugin/skills/lit-code/scripts/go/templates/main.go.tmpl +22 -0
  471. package/plugin/skills/lit-code/scripts/go/templates/run.go +15 -0
  472. package/plugin/skills/lit-code/scripts/python/check-no-excuse-rules.py +687 -0
  473. package/plugin/skills/lit-code/scripts/python/new-project.py +172 -0
  474. package/plugin/skills/lit-code/scripts/python/new-script.py +116 -0
  475. package/plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.py +296 -0
  476. package/plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.sh +158 -0
  477. package/plugin/skills/lit-code/scripts/rust/new-project.py +175 -0
  478. package/plugin/skills/lit-code/scripts/typescript/check-no-excuse-rules.ts +344 -0
  479. package/plugin/skills/lit-code/scripts/typescript/new-project.ts +174 -0
  480. package/plugin/skills/lit-commit/SKILL.md +151 -0
  481. package/plugin/skills/lit-commit/references/safe-git-operations.md +91 -0
  482. package/plugin/skills/lit-comprehend/SKILL.md +221 -0
  483. package/plugin/skills/lit-comprehend/assets/explainer-scaffold.html +231 -0
  484. package/plugin/skills/lit-comprehend/references/artifact-template.md +180 -0
  485. package/plugin/skills/lit-comprehend/references/micro-worlds.md +195 -0
  486. package/plugin/skills/lit-comprehend/scripts/verify-explainer.mjs +291 -0
  487. package/plugin/skills/lit-crucible/SKILL.md +159 -0
  488. package/plugin/skills/lit-crucible/references/adversarial-workflow.md +127 -0
  489. package/plugin/skills/lit-diagram-drawer/NOTICE +33 -0
  490. package/plugin/skills/lit-diagram-drawer/SKILL.md +229 -0
  491. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +1 -0
  492. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +1 -0
  493. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +1 -0
  494. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +1 -0
  495. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +1 -0
  496. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +1 -0
  497. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +1 -0
  498. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +1 -0
  499. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +1 -0
  500. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +1 -0
  501. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +1 -0
  502. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +1 -0
  503. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +1 -0
  504. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +1 -0
  505. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +1 -0
  506. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +1 -0
  507. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +1 -0
  508. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +1 -0
  509. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +1 -0
  510. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +1 -0
  511. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +1 -0
  512. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +1 -0
  513. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +1 -0
  514. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +1 -0
  515. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +1 -0
  516. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +1 -0
  517. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +1 -0
  518. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +1 -0
  519. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +1 -0
  520. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +1 -0
  521. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +1 -0
  522. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +1 -0
  523. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +1 -0
  524. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +1 -0
  525. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +1 -0
  526. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +1 -0
  527. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +1 -0
  528. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +1 -0
  529. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +1 -0
  530. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +1 -0
  531. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +1 -0
  532. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +1 -0
  533. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +1 -0
  534. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +1 -0
  535. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +1 -0
  536. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +1 -0
  537. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +1 -0
  538. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +1 -0
  539. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +1 -0
  540. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +1 -0
  541. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +1 -0
  542. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +1 -0
  543. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +1 -0
  544. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +1 -0
  545. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +1 -0
  546. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +1 -0
  547. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +1 -0
  548. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +1 -0
  549. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +1 -0
  550. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +1 -0
  551. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +1 -0
  552. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +1 -0
  553. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +1 -0
  554. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +1 -0
  555. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +1 -0
  556. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +1 -0
  557. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +1 -0
  558. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +1 -0
  559. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +1 -0
  560. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +1 -0
  561. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +1 -0
  562. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +1 -0
  563. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +1 -0
  564. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +1 -0
  565. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +1 -0
  566. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +1 -0
  567. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +1 -0
  568. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +1 -0
  569. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +1 -0
  570. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +1 -0
  571. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +1 -0
  572. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +1 -0
  573. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +1 -0
  574. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +1 -0
  575. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +1 -0
  576. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +1 -0
  577. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +1 -0
  578. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +1 -0
  579. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +1 -0
  580. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +1 -0
  581. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +1 -0
  582. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +1 -0
  583. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +1 -0
  584. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +1 -0
  585. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +1 -0
  586. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +1 -0
  587. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +1 -0
  588. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +1 -0
  589. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +1 -0
  590. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +1 -0
  591. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +1 -0
  592. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +1 -0
  593. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +1 -0
  594. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +1 -0
  595. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +1 -0
  596. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +1 -0
  597. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +1 -0
  598. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +1 -0
  599. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +1 -0
  600. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +1 -0
  601. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +1 -0
  602. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +1 -0
  603. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +1 -0
  604. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +1 -0
  605. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +1 -0
  606. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +1 -0
  607. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +1 -0
  608. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +1 -0
  609. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +1 -0
  610. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +1 -0
  611. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +1 -0
  612. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +1 -0
  613. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +1 -0
  614. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +1 -0
  615. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +1 -0
  616. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +1 -0
  617. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +1 -0
  618. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +1 -0
  619. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +1 -0
  620. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +1 -0
  621. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +1 -0
  622. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +1 -0
  623. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +1 -0
  624. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +1 -0
  625. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +1 -0
  626. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +1 -0
  627. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +1 -0
  628. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +1 -0
  629. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +1 -0
  630. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +1 -0
  631. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +1 -0
  632. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +1 -0
  633. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +1 -0
  634. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +1 -0
  635. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +1 -0
  636. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +1 -0
  637. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +1 -0
  638. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +1 -0
  639. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +1 -0
  640. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +1 -0
  641. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +1 -0
  642. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +1 -0
  643. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +1 -0
  644. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +1 -0
  645. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +1 -0
  646. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +1 -0
  647. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +1 -0
  648. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +1 -0
  649. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +1 -0
  650. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +1 -0
  651. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +1 -0
  652. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +1 -0
  653. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +1 -0
  654. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +1 -0
  655. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +1 -0
  656. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +1 -0
  657. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +1 -0
  658. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +1 -0
  659. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +1 -0
  660. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +1 -0
  661. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +1 -0
  662. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +1 -0
  663. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +1 -0
  664. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +1 -0
  665. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +1 -0
  666. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +1 -0
  667. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +1 -0
  668. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +1 -0
  669. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +1 -0
  670. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +1 -0
  671. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +1 -0
  672. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +1 -0
  673. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +1 -0
  674. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +94 -0
  675. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  676. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +22 -0
  677. package/plugin/skills/lit-diagram-drawer/assets/icons.html +231 -0
  678. package/plugin/skills/lit-diagram-drawer/assets/index.html +1 -0
  679. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +20 -0
  680. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +21 -0
  681. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +21 -0
  682. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +30 -0
  683. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +21 -0
  684. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +1 -0
  685. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +33 -0
  686. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +1 -0
  687. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +1 -0
  688. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +18 -0
  689. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +1 -0
  690. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +1 -0
  691. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +19 -0
  692. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +1 -0
  693. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +1 -0
  694. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +17 -0
  695. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +1 -0
  696. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +1 -0
  697. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +17 -0
  698. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +1 -0
  699. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +1 -0
  700. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +17 -0
  701. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +1 -0
  702. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +1 -0
  703. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +19 -0
  704. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +1 -0
  705. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +1 -0
  706. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +20 -0
  707. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +1 -0
  708. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +37 -0
  709. package/plugin/skills/lit-diagram-drawer/references/export.md +29 -0
  710. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +21 -0
  711. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +14 -0
  712. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +18 -0
  713. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +28 -0
  714. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +34 -0
  715. package/plugin/skills/lit-diagram-drawer/references/motion.md +29 -0
  716. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +42 -0
  717. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +48 -0
  718. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +12 -0
  719. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +21 -0
  720. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +11 -0
  721. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +11 -0
  722. package/plugin/skills/lit-diagram-drawer/references/profiles.md +24 -0
  723. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +27 -0
  724. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +67 -0
  725. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +51 -0
  726. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +51 -0
  727. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +49 -0
  728. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +49 -0
  729. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +49 -0
  730. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +1433 -0
  731. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +51 -0
  732. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +49 -0
  733. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +49 -0
  734. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +49 -0
  735. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +49 -0
  736. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +49 -0
  737. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +49 -0
  738. package/plugin/skills/lit-diagram-drawer/references/type-er.md +49 -0
  739. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +49 -0
  740. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +49 -0
  741. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +49 -0
  742. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +53 -0
  743. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +53 -0
  744. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +53 -0
  745. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +53 -0
  746. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +53 -0
  747. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +53 -0
  748. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +54 -0
  749. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +54 -0
  750. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +54 -0
  751. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +54 -0
  752. package/plugin/skills/lit-diagram-drawer/references/type-line.md +54 -0
  753. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +53 -0
  754. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +54 -0
  755. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +54 -0
  756. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +54 -0
  757. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +59 -0
  758. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +58 -0
  759. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +72 -0
  760. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +67 -0
  761. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +69 -0
  762. package/plugin/skills/lit-diagram-drawer/references/type-process.md +58 -0
  763. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +59 -0
  764. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +60 -0
  765. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +57 -0
  766. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +63 -0
  767. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +57 -0
  768. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +63 -0
  769. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +68 -0
  770. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +60 -0
  771. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +66 -0
  772. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +63 -0
  773. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +65 -0
  774. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +53 -0
  775. package/plugin/skills/lit-diagram-drawer/references/type-state.md +59 -0
  776. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +52 -0
  777. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +53 -0
  778. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +52 -0
  779. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +52 -0
  780. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +57 -0
  781. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +54 -0
  782. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +54 -0
  783. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +52 -0
  784. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +51 -0
  785. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +52 -0
  786. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +54 -0
  787. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +59 -0
  788. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +43 -0
  789. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +94 -0
  790. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +15 -0
  791. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +14 -0
  792. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +219 -0
  793. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +9 -0
  794. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +275 -0
  795. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +25 -0
  796. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +162 -0
  797. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +147 -0
  798. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +148 -0
  799. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +119 -0
  800. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +85 -0
  801. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +48 -0
  802. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +234 -0
  803. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +104 -0
  804. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +115 -0
  805. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +70 -0
  806. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +178 -0
  807. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +137 -0
  808. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +80 -0
  809. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +54 -0
  810. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +11 -0
  811. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +85 -0
  812. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +16 -0
  813. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +27 -0
  814. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +12 -0
  815. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +48 -0
  816. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +226 -0
  817. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +147 -0
  818. package/plugin/skills/lit-docx/NOTICE +33 -0
  819. package/plugin/skills/lit-docx/SKILL.md +258 -0
  820. package/plugin/skills/lit-docx/references/components.md +207 -0
  821. package/plugin/skills/lit-docx/references/direction-step.md +277 -0
  822. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +166 -0
  823. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +105 -0
  824. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +164 -0
  825. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +138 -0
  826. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +55 -0
  827. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +130 -0
  828. package/plugin/skills/lit-docx/references/examples/07-report-en.md +123 -0
  829. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +123 -0
  830. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +45 -0
  831. package/plugin/skills/lit-docx/references/frontmatter_schema.md +42 -0
  832. package/plugin/skills/lit-docx/references/journal_style_spec.md +17 -0
  833. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +37 -0
  834. package/plugin/skills/lit-docx/references/page-composition.md +221 -0
  835. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +58 -0
  836. package/plugin/skills/lit-docx/references/slop_rules.md +35 -0
  837. package/plugin/skills/lit-docx/references/tonalities/brief.md +143 -0
  838. package/plugin/skills/lit-docx/references/tonalities/journal.md +142 -0
  839. package/plugin/skills/lit-docx/references/tonalities/manual.md +148 -0
  840. package/plugin/skills/lit-docx/references/tonalities/memo.md +137 -0
  841. package/plugin/skills/lit-docx/references/tonalities/proposal.md +140 -0
  842. package/plugin/skills/lit-docx/references/tonalities/report.md +156 -0
  843. package/plugin/skills/lit-docx/scripts/clean_markdown.py +95 -0
  844. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +1395 -0
  845. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +302 -0
  846. package/plugin/skills/lit-docx/scripts/convert_pdf.py +139 -0
  847. package/plugin/skills/lit-docx/scripts/docx_design.py +2449 -0
  848. package/plugin/skills/lit-docx/scripts/docx_layout.py +959 -0
  849. package/plugin/skills/lit-docx/scripts/edit_docx.py +306 -0
  850. package/plugin/skills/lit-docx/scripts/embed_images.py +78 -0
  851. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +500 -0
  852. package/plugin/skills/lit-docx/scripts/qa_docx.py +234 -0
  853. package/plugin/skills/lit-docx/scripts/slop_lint.py +573 -0
  854. package/plugin/skills/lit-docx/scripts/visual_audit.py +48 -0
  855. package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
  856. package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  857. package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
  858. package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  859. package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
  860. package/plugin/skills/lit-docx/templates/latex/acs/README.md +5 -0
  861. package/plugin/skills/lit-docx/templates/latex/acs/template.tex +39 -0
  862. package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +5 -0
  863. package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +40 -0
  864. package/plugin/skills/lit-docx/templates/latex/ieee/README.md +5 -0
  865. package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +39 -0
  866. package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +5 -0
  867. package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +39 -0
  868. package/plugin/skills/lit-docx/templates/latex/nature/README.md +5 -0
  869. package/plugin/skills/lit-docx/templates/latex/nature/template.tex +39 -0
  870. package/plugin/skills/lit-docx/templates/registry.yaml +1366 -0
  871. package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +28 -0
  872. package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +25 -0
  873. package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +26 -0
  874. package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +26 -0
  875. package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +26 -0
  876. package/plugin/skills/lit-docx/templates/tonalities/report.yaml +26 -0
  877. package/plugin/skills/lit-handoff/LICENSE +21 -0
  878. package/plugin/skills/lit-handoff/SKILL.md +233 -0
  879. package/plugin/skills/lit-handoff/evals/evals.json +154 -0
  880. package/plugin/skills/lit-handoff/examples/HANDOFF-example-generic-auth-refactor.md +97 -0
  881. package/plugin/skills/lit-handoff/reference/PROVENANCE.md +20 -0
  882. package/plugin/skills/lit-handoff/reference/canonical-handoff.md +199 -0
  883. package/plugin/skills/lit-handoff/scripts/verify-closure.mjs +32 -0
  884. package/plugin/skills/lit-handoff/templates/HANDOFF.md +121 -0
  885. package/plugin/skills/lit-humanizer/NOTICE +160 -0
  886. package/plugin/skills/lit-humanizer/SKILL.md +210 -0
  887. package/plugin/skills/lit-humanizer/assets/always-on-rule.md +9 -0
  888. package/plugin/skills/lit-humanizer/assets/report-skeleton.md +25 -0
  889. package/plugin/skills/lit-humanizer/assets/slide-text-skeleton.md +28 -0
  890. package/plugin/skills/lit-humanizer/bench/prompts.md +73 -0
  891. package/plugin/skills/lit-humanizer/examples/accessibility-note/after.md +7 -0
  892. package/plugin/skills/lit-humanizer/examples/accessibility-note/before.md +7 -0
  893. package/plugin/skills/lit-humanizer/examples/api-reference/after.md +9 -0
  894. package/plugin/skills/lit-humanizer/examples/api-reference/before.md +15 -0
  895. package/plugin/skills/lit-humanizer/examples/changelog/after.md +5 -0
  896. package/plugin/skills/lit-humanizer/examples/changelog/before.md +12 -0
  897. package/plugin/skills/lit-humanizer/examples/code-comments/after.md +10 -0
  898. package/plugin/skills/lit-humanizer/examples/code-comments/before.md +19 -0
  899. package/plugin/skills/lit-humanizer/examples/commit/after.md +5 -0
  900. package/plugin/skills/lit-humanizer/examples/commit/before.md +7 -0
  901. package/plugin/skills/lit-humanizer/examples/data-release/after.md +7 -0
  902. package/plugin/skills/lit-humanizer/examples/data-release/before.md +9 -0
  903. package/plugin/skills/lit-humanizer/examples/english-essay/after.md +5 -0
  904. package/plugin/skills/lit-humanizer/examples/english-essay/before.md +5 -0
  905. package/plugin/skills/lit-humanizer/examples/incident-update/after.md +7 -0
  906. package/plugin/skills/lit-humanizer/examples/incident-update/before.md +7 -0
  907. package/plugin/skills/lit-humanizer/examples/ko-essay/after.md +7 -0
  908. package/plugin/skills/lit-humanizer/examples/ko-essay/before.md +9 -0
  909. package/plugin/skills/lit-humanizer/examples/ko-report/after.md +9 -0
  910. package/plugin/skills/lit-humanizer/examples/ko-report/before.md +13 -0
  911. package/plugin/skills/lit-humanizer/examples/ko-slide/after.md +19 -0
  912. package/plugin/skills/lit-humanizer/examples/ko-slide/before.md +21 -0
  913. package/plugin/skills/lit-humanizer/examples/meeting-brief/after.md +9 -0
  914. package/plugin/skills/lit-humanizer/examples/meeting-brief/before.md +11 -0
  915. package/plugin/skills/lit-humanizer/examples/policy-faq/after.md +9 -0
  916. package/plugin/skills/lit-humanizer/examples/policy-faq/before.md +9 -0
  917. package/plugin/skills/lit-humanizer/examples/pr/after.md +15 -0
  918. package/plugin/skills/lit-humanizer/examples/pr/before.md +17 -0
  919. package/plugin/skills/lit-humanizer/examples/project-update/after.md +7 -0
  920. package/plugin/skills/lit-humanizer/examples/project-update/before.md +9 -0
  921. package/plugin/skills/lit-humanizer/examples/readme/after.md +12 -0
  922. package/plugin/skills/lit-humanizer/examples/readme/before.md +14 -0
  923. package/plugin/skills/lit-humanizer/examples/report/after.md +13 -0
  924. package/plugin/skills/lit-humanizer/examples/report/before.md +11 -0
  925. package/plugin/skills/lit-humanizer/examples/research-abstract/after.md +5 -0
  926. package/plugin/skills/lit-humanizer/examples/research-abstract/before.md +5 -0
  927. package/plugin/skills/lit-humanizer/examples/slides/after.md +19 -0
  928. package/plugin/skills/lit-humanizer/examples/slides/before.md +19 -0
  929. package/plugin/skills/lit-humanizer/examples/troubleshooting/after.md +11 -0
  930. package/plugin/skills/lit-humanizer/examples/troubleshooting/before.md +11 -0
  931. package/plugin/skills/lit-humanizer/fixtures/ko-metrics-golden.json +51 -0
  932. package/plugin/skills/lit-humanizer/fixtures/office/minimal.docx +0 -0
  933. package/plugin/skills/lit-humanizer/fixtures/office/minimal.pptx +0 -0
  934. package/plugin/skills/lit-humanizer/fixtures/pledge-cases.json +1341 -0
  935. package/plugin/skills/lit-humanizer/fixtures/pos-real.txt +26 -0
  936. package/plugin/skills/lit-humanizer/fixtures/rule-cases.json +312 -0
  937. package/plugin/skills/lit-humanizer/motion-guide.md +123 -0
  938. package/plugin/skills/lit-humanizer/references/code-patterns.md +468 -0
  939. package/plugin/skills/lit-humanizer/references/deliverable-channels.md +113 -0
  940. package/plugin/skills/lit-humanizer/references/en-patterns-checklist.md +43 -0
  941. package/plugin/skills/lit-humanizer/references/en-patterns-content.md +243 -0
  942. package/plugin/skills/lit-humanizer/references/en-patterns-structure.md +375 -0
  943. package/plugin/skills/lit-humanizer/references/en-patterns.md +57 -0
  944. package/plugin/skills/lit-humanizer/references/ko-metrics.md +33 -0
  945. package/plugin/skills/lit-humanizer/references/ko-patterns-a-d.md +659 -0
  946. package/plugin/skills/lit-humanizer/references/ko-patterns-e-j.md +387 -0
  947. package/plugin/skills/lit-humanizer/references/ko-patterns.md +31 -0
  948. package/plugin/skills/lit-humanizer/references/litmuse-fidelity-checklist.md +78 -0
  949. package/plugin/skills/lit-humanizer/references/litmuse-rewrite-rules.md +71 -0
  950. package/plugin/skills/lit-humanizer/references/litmuse-style-patterns.md +53 -0
  951. package/plugin/skills/lit-humanizer/references/prompt-injection-handling.md +7 -0
  952. package/plugin/skills/lit-humanizer/references/rewrite-playbook.md +54 -0
  953. package/plugin/skills/lit-humanizer/references/taxonomy.md +154 -0
  954. package/plugin/skills/lit-humanizer/rules.json +938 -0
  955. package/plugin/skills/lit-humanizer/scripts/artifact-text.mjs +38 -0
  956. package/plugin/skills/lit-humanizer/scripts/core.mjs +311 -0
  957. package/plugin/skills/lit-humanizer/scripts/detect.mjs +65 -0
  958. package/plugin/skills/lit-humanizer/scripts/extract_office_text.py +112 -0
  959. package/plugin/skills/lit-humanizer/scripts/ko-metrics.mjs +124 -0
  960. package/plugin/skills/lit-humanizer/scripts/scan-input.mjs +54 -0
  961. package/plugin/skills/lit-humanizer/scripts/test-fixtures.mjs +158 -0
  962. package/plugin/skills/lit-humanizer/scripts/test-ko-metrics.mjs +27 -0
  963. package/plugin/skills/lit-init/SKILL.md +305 -0
  964. package/plugin/skills/lit-init/references/deep-repository-map.md +105 -0
  965. package/plugin/skills/lit-loop/SKILL.md +217 -0
  966. package/plugin/skills/lit-plan/SKILL.md +354 -0
  967. package/plugin/skills/lit-plan/references/intent-routes.md +118 -0
  968. package/plugin/skills/lit-plan/references/muse-surfaces.md +28 -0
  969. package/plugin/skills/lit-plan/references/start-work-handoff-contract.md +66 -0
  970. package/plugin/skills/lit-plan/scripts/check-plan.mjs +180 -0
  971. package/plugin/skills/lit-plan/templates/draft.md +41 -0
  972. package/plugin/skills/lit-plan/templates/plan.md +101 -0
  973. package/plugin/skills/lit-pptx/NOTICE +38 -0
  974. package/plugin/skills/lit-pptx/SKILL.md +289 -0
  975. package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  976. package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  977. package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  978. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  979. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  980. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  981. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  982. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  983. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +94 -0
  984. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +29 -0
  985. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +94 -0
  986. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  987. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  988. package/plugin/skills/lit-pptx/fonts/provenance.json +78 -0
  989. package/plugin/skills/lit-pptx/references/agents/analyst.md +49 -0
  990. package/plugin/skills/lit-pptx/references/agents/antithesis.md +59 -0
  991. package/plugin/skills/lit-pptx/references/agents/architect.md +44 -0
  992. package/plugin/skills/lit-pptx/references/agents/critic.md +42 -0
  993. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +47 -0
  994. package/plugin/skills/lit-pptx/references/agents/thesis.md +33 -0
  995. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +110 -0
  996. package/plugin/skills/lit-pptx/references/authoring-guide.md +250 -0
  997. package/plugin/skills/lit-pptx/references/consensus-protocol.md +125 -0
  998. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +52 -0
  999. package/plugin/skills/lit-pptx/references/density-and-fill.md +164 -0
  1000. package/plugin/skills/lit-pptx/references/design-system-azure.md +61 -0
  1001. package/plugin/skills/lit-pptx/references/direction-step.md +186 -0
  1002. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +210 -0
  1003. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +147 -0
  1004. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +199 -0
  1005. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +203 -0
  1006. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +178 -0
  1007. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +199 -0
  1008. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +194 -0
  1009. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +175 -0
  1010. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +204 -0
  1011. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +179 -0
  1012. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +164 -0
  1013. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +174 -0
  1014. package/plugin/skills/lit-pptx/references/interview-protocol.md +113 -0
  1015. package/plugin/skills/lit-pptx/references/layout-families.md +198 -0
  1016. package/plugin/skills/lit-pptx/references/stages/autopilot.md +48 -0
  1017. package/plugin/skills/lit-pptx/references/stages/interview.md +52 -0
  1018. package/plugin/skills/lit-pptx/references/stages/plan.md +42 -0
  1019. package/plugin/skills/lit-pptx/references/title-treatments.md +109 -0
  1020. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +139 -0
  1021. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +148 -0
  1022. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +149 -0
  1023. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +149 -0
  1024. package/plugin/skills/lit-pptx/references/tonalities/night.md +147 -0
  1025. package/plugin/skills/lit-pptx/references/tonalities/paper.md +151 -0
  1026. package/plugin/skills/lit-pptx/references/tonalities/signal.md +150 -0
  1027. package/plugin/skills/lit-pptx/references/tonalities/studio.md +132 -0
  1028. package/plugin/skills/lit-pptx/scripts/compile-deck.js +462 -0
  1029. package/plugin/skills/lit-pptx/scripts/craft_extras.py +1034 -0
  1030. package/plugin/skills/lit-pptx/scripts/deck_craft.py +363 -0
  1031. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +215 -0
  1032. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +55 -0
  1033. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +418 -0
  1034. package/plugin/skills/lit-pptx/scripts/learn_template.py +446 -0
  1035. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +176 -0
  1036. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +244 -0
  1037. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +79 -0
  1038. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +86 -0
  1039. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +37 -0
  1040. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +521 -0
  1041. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +1119 -0
  1042. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +138 -0
  1043. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +356 -0
  1044. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +2240 -0
  1045. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +3559 -0
  1046. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +28 -0
  1047. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +565 -0
  1048. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +94 -0
  1049. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +679 -0
  1050. package/plugin/skills/lit-pptx/scripts/package.json +4 -0
  1051. package/plugin/skills/lit-pptx/scripts/qa_deck.py +795 -0
  1052. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +230 -0
  1053. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +251 -0
  1054. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +214 -0
  1055. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +229 -0
  1056. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +144 -0
  1057. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +382 -0
  1058. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +146 -0
  1059. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +454 -0
  1060. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +40 -0
  1061. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +154 -0
  1062. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +475 -0
  1063. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +40 -0
  1064. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +179 -0
  1065. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +299 -0
  1066. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +45 -0
  1067. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +181 -0
  1068. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +299 -0
  1069. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +44 -0
  1070. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +92 -0
  1071. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +97 -0
  1072. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +93 -0
  1073. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +94 -0
  1074. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +93 -0
  1075. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +98 -0
  1076. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +94 -0
  1077. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +92 -0
  1078. package/plugin/skills/lit-recap/SKILL.md +229 -0
  1079. package/plugin/skills/lit-scientific-visualization/LICENSE +21 -0
  1080. package/plugin/skills/lit-scientific-visualization/SKILL.md +235 -0
  1081. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +197 -0
  1082. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +75 -0
  1083. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +74 -0
  1084. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +78 -0
  1085. package/plugin/skills/lit-scientific-visualization/evals/evals.json +158 -0
  1086. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +283 -0
  1087. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +380 -0
  1088. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +359 -0
  1089. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +608 -0
  1090. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +85 -0
  1091. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +217 -0
  1092. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +293 -0
  1093. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +238 -0
  1094. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +23 -0
  1095. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +225 -0
  1096. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +467 -0
  1097. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +51 -0
  1098. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +114 -0
  1099. package/plugin/skills/lit-team/SKILL.md +189 -0
  1100. package/plugin/skills/lit-team/references/team-orchestration.md +164 -0
  1101. package/plugin/skills/lit-team/scripts/owner-lock.mjs +330 -0
  1102. package/plugin/skills/lit-team/scripts/secure-path.mjs +24 -0
  1103. package/plugin/skills/lit-team/scripts/state-root.mjs +55 -0
  1104. package/plugin/skills/lit-team/scripts/team.mjs +628 -0
  1105. package/plugin/skills/lit-typographic-motion/SKILL.md +180 -0
  1106. package/plugin/skills/lit-typographic-motion/engine/NOTICE +23 -0
  1107. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +62 -0
  1108. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +56 -0
  1109. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +1084 -0
  1110. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +246 -0
  1111. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +90 -0
  1112. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +46 -0
  1113. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +211 -0
  1114. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +550 -0
  1115. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +123 -0
  1116. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +100 -0
  1117. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +142 -0
  1118. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +167 -0
  1119. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +19 -0
  1120. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +198 -0
  1121. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +108 -0
  1122. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +158 -0
  1123. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +330 -0
  1124. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +102 -0
  1125. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +213 -0
  1126. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +346 -0
  1127. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +141 -0
  1128. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +76 -0
  1129. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +106 -0
  1130. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +32 -0
  1131. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +373 -0
  1132. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +83 -0
  1133. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +170 -0
  1134. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +102 -0
  1135. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +36 -0
  1136. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +164 -0
  1137. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +592 -0
  1138. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +112 -0
  1139. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +66 -0
  1140. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +345 -0
  1141. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +145 -0
  1142. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +60 -0
  1143. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +641 -0
  1144. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +179 -0
  1145. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +122 -0
  1146. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +295 -0
  1147. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +283 -0
  1148. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +503 -0
  1149. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +100 -0
  1150. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +344 -0
  1151. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +145 -0
  1152. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +132 -0
  1153. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +25 -0
  1154. package/plugin/skills/lit-typographic-motion/engine/package.json +10 -0
  1155. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +37 -0
  1156. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +288 -0
  1157. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +106 -0
  1158. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +157 -0
  1159. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +701 -0
  1160. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +123 -0
  1161. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +281 -0
  1162. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +319 -0
  1163. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +78 -0
  1164. package/plugin/skills/lit-typographic-motion/engine/web/index.html +6 -0
  1165. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +112 -0
  1166. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +98 -0
  1167. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +49 -0
  1168. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +77 -0
  1169. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +61 -0
  1170. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +88 -0
  1171. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +86 -0
  1172. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +165 -0
  1173. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +15 -0
  1174. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +82 -0
  1175. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +30 -0
  1176. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +16 -0
  1177. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +47 -0
  1178. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +45 -0
  1179. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +29 -0
  1180. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +73 -0
  1181. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +73 -0
  1182. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +236 -0
  1183. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +180 -0
  1184. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  1185. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  1186. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  1187. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  1188. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  1189. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  1190. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  1191. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  1192. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  1193. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +93 -0
  1194. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  1195. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +93 -0
  1196. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +455 -0
  1197. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +93 -0
  1198. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  1199. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  1200. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +42 -0
  1201. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +216 -0
  1202. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +216 -0
  1203. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +216 -0
  1204. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +216 -0
  1205. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +217 -0
  1206. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +91 -0
  1207. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +93 -0
  1208. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  1209. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +16 -0
  1210. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +27 -0
  1211. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +16 -0
  1212. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +17 -0
  1213. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +17 -0
  1214. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +18 -0
  1215. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +17 -0
  1216. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +30 -0
  1217. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +67 -0
  1218. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +152 -0
  1219. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +95 -0
  1220. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +202 -0
  1221. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +67 -0
  1222. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +100 -0
  1223. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +119 -0
  1224. package/plugin/skills/lit-typographic-motion/references/cover.md +475 -0
  1225. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +100 -0
  1226. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +124 -0
  1227. package/plugin/skills/lit-typographic-motion/references/look.md +157 -0
  1228. package/plugin/skills/lit-typographic-motion/references/runtime.md +98 -0
  1229. package/plugin/skills/lit-typographic-motion/references/sound.md +123 -0
  1230. package/plugin/skills/lit-typographic-motion/references/stage.md +239 -0
  1231. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +130 -0
  1232. package/plugin/skills/lit-typographic-motion/references/treatment.md +166 -0
  1233. package/plugin/skills/lit-typographic-motion/references/type-craft.md +87 -0
  1234. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +99 -0
  1235. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +95 -0
  1236. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +165 -0
  1237. package/plugin/skills/litgoal/SKILL.md +263 -0
  1238. package/plugin/skills/litgoal/scripts/check-goal.mjs +99 -0
  1239. package/plugin/skills/litgoal/templates/goal.json +23 -0
  1240. package/plugin/skills/litresearch/ATTRIBUTION.md +57 -0
  1241. package/plugin/skills/litresearch/SKILL.md +771 -0
  1242. package/plugin/skills/litresearch/references/lane-operations.md +54 -0
  1243. package/plugin/skills/litresearch/references/source-verdict-checklist.md +37 -0
  1244. package/plugin/skills/litwork/SKILL.md +527 -0
  1245. package/plugin/skills/litwork/references/qa-channel-recipes.md +88 -0
  1246. package/plugin/skills/litwork/templates/notes.md +26 -0
  1247. package/plugin/skills/lsp/SKILL.md +241 -0
  1248. package/plugin/skills/lsp/references/cli-recipes.md +136 -0
  1249. package/plugin/skills/lsp/references/runtime-triage.md +128 -0
  1250. package/plugin/skills/lsp/scripts/diagnostics.mjs +327 -0
  1251. package/plugin/skills/lsp/scripts/tsserver-query.mjs +83 -0
  1252. package/plugin/skills/lsp-setup/SKILL.md +263 -0
  1253. package/plugin/skills/lsp-setup/references/bash/README.md +54 -0
  1254. package/plugin/skills/lsp-setup/references/c-cpp/README.md +57 -0
  1255. package/plugin/skills/lsp-setup/references/csharp/README.md +53 -0
  1256. package/plugin/skills/lsp-setup/references/dart/README.md +53 -0
  1257. package/plugin/skills/lsp-setup/references/elixir/README.md +54 -0
  1258. package/plugin/skills/lsp-setup/references/go/README.md +54 -0
  1259. package/plugin/skills/lsp-setup/references/haskell/README.md +52 -0
  1260. package/plugin/skills/lsp-setup/references/java/README.md +51 -0
  1261. package/plugin/skills/lsp-setup/references/julia/README.md +51 -0
  1262. package/plugin/skills/lsp-setup/references/kotlin/README.md +50 -0
  1263. package/plugin/skills/lsp-setup/references/lua/README.md +50 -0
  1264. package/plugin/skills/lsp-setup/references/php/README.md +52 -0
  1265. package/plugin/skills/lsp-setup/references/python/README.md +57 -0
  1266. package/plugin/skills/lsp-setup/references/ruby/README.md +56 -0
  1267. package/plugin/skills/lsp-setup/references/rust/README.md +56 -0
  1268. package/plugin/skills/lsp-setup/references/swift/README.md +52 -0
  1269. package/plugin/skills/lsp-setup/references/terraform/README.md +56 -0
  1270. package/plugin/skills/lsp-setup/references/typescript/README.md +61 -0
  1271. package/plugin/skills/lsp-setup/references/yaml/README.md +53 -0
  1272. package/plugin/skills/lsp-setup/references/zig/README.md +49 -0
  1273. package/plugin/skills/lsp-setup/scripts/detect-lsp.mjs +90 -0
  1274. package/plugin/skills/lsp-setup/scripts/lsp-server-table.mjs +58 -0
  1275. package/plugin/skills/lsp-setup/scripts/verify-lsp.mjs +118 -0
  1276. package/plugin/skills/readme-studio/SKILL.md +117 -0
  1277. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +55 -0
  1278. package/plugin/skills/readme-studio/references/facts-and-assembly.md +19 -0
  1279. package/plugin/skills/readme-studio/references/production-interview.md +11 -0
  1280. package/plugin/skills/readme-studio/references/render-and-deliver.md +44 -0
  1281. package/plugin/skills/readme-studio/references/type-and-background.md +23 -0
  1282. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +133 -0
  1283. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +6 -0
  1284. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +77 -0
  1285. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +28 -0
  1286. package/plugin/skills/readme-studio/templates/cover-source.json +21 -0
  1287. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +30 -0
  1288. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +1 -0
  1289. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +2017 -0
  1290. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +8 -0
  1291. package/plugin/skills/readme-studio/templates/readme-cover-section.md +75 -0
  1292. package/plugin/skills/readme-studio/templates/readme-facts.json +4 -0
  1293. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +3783 -0
  1294. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +7 -0
  1295. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +36 -0
  1296. package/plugin/skills/readme-studio/templates/typography/package-lock.json +133 -0
  1297. package/plugin/skills/readme-studio/templates/typography/package.json +6 -0
  1298. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +57 -0
  1299. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +63 -0
  1300. package/plugin/skills/refactor/SKILL.md +766 -0
  1301. package/plugin/skills/refactor/references/safe-change-playbook.md +155 -0
  1302. package/plugin/skills/review-work/SKILL.md +539 -0
  1303. package/plugin/skills/review-work/references/lane-context.md +77 -0
  1304. package/plugin/skills/review-work/references/lane-goal.md +82 -0
  1305. package/plugin/skills/review-work/references/lane-qa.md +97 -0
  1306. package/plugin/skills/review-work/references/lane-quality.md +81 -0
  1307. package/plugin/skills/review-work/references/lane-security.md +73 -0
  1308. package/plugin/skills/review-work/references/plan-review-checklist.md +169 -0
  1309. package/plugin/skills/review-work/references/verdict-templates.md +161 -0
  1310. package/plugin/skills/review-work/scripts/check-lanes.mjs +104 -0
  1311. package/plugin/skills/rules/SKILL.md +239 -0
  1312. package/plugin/skills/start-work/SKILL.md +564 -0
  1313. package/plugin/skills/start-work/references/execution-templates.md +113 -0
  1314. package/plugin/skills/start-work/scripts/ledger-append.mjs +47 -0
  1315. package/plugin/skills/start-work/scripts/next-row.mjs +96 -0
  1316. package/plugin/skills/structural-search/SKILL.md +222 -0
  1317. package/plugin/skills/structural-search/references/diagnostics.md +307 -0
  1318. package/plugin/skills/structural-search/references/patterns-and-rules.md +381 -0
  1319. package/plugin/skills/structural-search/references/rewrite-safety.md +266 -0
  1320. package/plugin/skills/visual-qa/SKILL.md +192 -0
  1321. package/plugin/skills/visual-qa/references/capture-playbook.md +126 -0
  1322. package/plugin/skills/visual-qa/references/complete-contract.md +677 -0
  1323. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +305 -0
  1324. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +291 -0
  1325. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +311 -0
  1326. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +235 -0
  1327. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +208 -0
  1328. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +66 -0
  1329. package/plugin/skills/visual-qa/scripts/ansi.ts +17 -0
  1330. package/plugin/skills/visual-qa/scripts/cli.mjs +101 -0
  1331. package/plugin/skills/visual-qa/scripts/cli.ts +96 -0
  1332. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +448 -0
  1333. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +72 -0
  1334. package/plugin/skills/visual-qa/scripts/errors.mjs +12 -0
  1335. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +184 -0
  1336. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +95 -0
  1337. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +163 -0
  1338. package/plugin/skills/visual-qa/scripts/evidence.mjs +421 -0
  1339. package/plugin/skills/visual-qa/scripts/image-diff.mjs +89 -0
  1340. package/plugin/skills/visual-qa/scripts/image-diff.ts +109 -0
  1341. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +107 -0
  1342. package/plugin/skills/visual-qa/scripts/png-crc.ts +27 -0
  1343. package/plugin/skills/visual-qa/scripts/png-decode.mjs +143 -0
  1344. package/plugin/skills/visual-qa/scripts/png-decode.ts +206 -0
  1345. package/plugin/skills/visual-qa/scripts/png-synth.ts +57 -0
  1346. package/plugin/skills/visual-qa/scripts/review-rules.mjs +137 -0
  1347. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +117 -0
  1348. package/plugin/skills/visual-qa/scripts/tui-check.mjs +74 -0
  1349. package/plugin/skills/visual-qa/scripts/tui-grid.ts +88 -0
  1350. package/plugin/skills/visual-qa/scripts/types.ts +54 -0
  1351. package/plugin/skills/wikify/LICENSE +21 -0
  1352. package/plugin/skills/wikify/PROVENANCE.md +15 -0
  1353. package/plugin/skills/wikify/SKILL.md +630 -0
  1354. package/plugin/skills/wikify/assets/home-template.md +44 -0
  1355. package/plugin/skills/wikify/assets/maintenance-report-template.md +46 -0
  1356. package/plugin/skills/wikify/assets/paper-source-note-template.md +137 -0
  1357. package/plugin/skills/wikify/assets/source-note-template.md +45 -0
  1358. package/plugin/skills/wikify/assets/wiki-rules-template.md +117 -0
  1359. package/plugin/skills/wikify/modes/ingest.md +44 -0
  1360. package/plugin/skills/wikify/modes/init.md +40 -0
  1361. package/plugin/skills/wikify/modes/lint.md +47 -0
  1362. package/plugin/skills/wikify/modes/query.md +32 -0
  1363. package/plugin/skills/wikify/modes/save.md +42 -0
  1364. package/plugin/skills/wikify/scripts/wikify-knowledge.mjs +473 -0
@@ -0,0 +1,124 @@
1
+ import { extname } from 'node:path';
2
+
3
+ // Extracts the WHOLE-LINE comments a write or edit added, so comment-checker reviews real text. This is an extractor,
4
+ // not a judge: trailing comments (`x = 1 # note`) are never reported, because finding them without a parser means
5
+ // guessing about strings and regex literals. Callers say so rather than implying the list is complete.
6
+
7
+ const SLASH = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs', '.go', '.rs', '.java', '.kt', '.swift', '.c', '.h', '.cc', '.cpp', '.cs', '.dart', '.zig', '.scala', '.php', '.vue', '.svelte'];
8
+ const HASH = ['.py', '.rb', '.sh', '.bash', '.zsh', '.yaml', '.yml', '.toml', '.ex', '.exs', '.jl', '.r', '.pl', '.tf'];
9
+ const DASH = ['.sql', '.lua', '.hs', '.elm', '.adb', '.ads'];
10
+ const CSS = ['.css', '.scss', '.less'];
11
+ const MARKUP = ['.html', '.xml'];
12
+
13
+ // Per extension: line-comment markers and block openers.
14
+ function syntaxFor(file) {
15
+ const ext = extname(file).toLowerCase();
16
+ const line = [];
17
+ const block = [];
18
+ if (SLASH.includes(ext)) { line.push('//'); block.push('/*'); }
19
+ if (HASH.includes(ext)) line.push('#');
20
+ if (DASH.includes(ext)) line.push('--');
21
+ if (CSS.includes(ext)) block.push('/*');
22
+ if (MARKUP.includes(ext) || ['.vue', '.svelte'].includes(ext)) block.push('<!--');
23
+ if (ext === '.py') block.push('"""');
24
+ if (ext === '.php') line.push('#');
25
+ return line.length || block.length ? { line, block, docblock: block.includes('/*') } : null;
26
+ }
27
+
28
+ function isCommentLine(raw, syntax) {
29
+ const t = raw.trim();
30
+ if (!t) return false;
31
+ if (syntax.line.some((m) => t.startsWith(m))) return !(t.startsWith('#!') || t.startsWith('#['));
32
+ if (syntax.block.some((m) => t.startsWith(m))) return true;
33
+ return syntax.docblock && (/^\*\s/.test(t) || t === '*/');
34
+ }
35
+
36
+ export const MAX_FILES = 3;
37
+ export const MAX_LINES_PER_FILE = 20;
38
+ export const MAX_TEXT = 200;
39
+ const MAX_SCANNED = 200_000;
40
+
41
+ const split = (text) => String(text ?? '').split(/\r?\n/);
42
+
43
+ // Lines of `next` beyond those of `previous`, as a multiset by trimmed text; each keeps its index in `next`.
44
+ function addedLines(previous, next) {
45
+ const budget = new Map();
46
+ for (const l of split(previous)) budget.set(l.trim(), (budget.get(l.trim()) ?? 0) + 1);
47
+ const out = [];
48
+ split(next).forEach((text, index) => {
49
+ const key = text.trim();
50
+ const left = budget.get(key) ?? 0;
51
+ if (left > 0) budget.set(key, left - 1);
52
+ else out.push({ text, index });
53
+ });
54
+ return out;
55
+ }
56
+
57
+ function patchFiles(input) {
58
+ const strings = [];
59
+ const walk = (v) => {
60
+ if (typeof v === 'string') strings.push(v);
61
+ else if (Array.isArray(v)) v.forEach(walk);
62
+ else if (v && typeof v === 'object') Object.values(v).forEach(walk);
63
+ };
64
+ walk(input);
65
+ const files = [];
66
+ let current = null;
67
+ for (const line of strings.join('\n').split(/\r?\n/)) {
68
+ const head = line.match(/^\*\*\* (?:Add File|Update File):\s*(.+?)\s*$/) ?? line.match(/^\+\+\+ (?:b\/)?(.+?)\s*$/);
69
+ if (head) {
70
+ current = head[1] === '/dev/null' ? null : { path: head[1], added: [] };
71
+ if (current) files.push(current);
72
+ } else if (current && line.startsWith('+') && !line.startsWith('+++')) {
73
+ current.added.push({ text: line.slice(1), index: null });
74
+ }
75
+ }
76
+ return files;
77
+ }
78
+
79
+ // {path, text, startLine} candidates for one call; startLine is the 1-based line of the first candidate, or null.
80
+ function candidates(tool, input, readFile) {
81
+ const path = ['path', 'file_path', 'target_path', 'file'].map((k) => input[k]).find((v) => typeof v === 'string' && v);
82
+ if (tool === 'write_file') {
83
+ if (!path) return [];
84
+ return [{ path, lines: split(input.content ?? input.text).map((text, index) => ({ text, index })), base: 1 }];
85
+ }
86
+ if (tool === 'edit_file') {
87
+ if (!path) return [];
88
+ const next = String(input.new_string ?? input.new_text ?? '');
89
+ const lines = addedLines(input.old_string ?? input.old_text ?? '', next);
90
+ let base = null;
91
+ const file = readFile ? readFile(path) : null;
92
+ if (typeof file === 'string' && next) {
93
+ const at = file.indexOf(next);
94
+ if (at !== -1) base = file.slice(0, at).split('\n').length;
95
+ }
96
+ return [{ path, lines, base }];
97
+ }
98
+ if (tool === 'apply_patch') return patchFiles(input).map((f) => ({ path: f.path, lines: f.added, base: null }));
99
+ return [];
100
+ }
101
+
102
+ // Returns [{path, lines: [{line?, text}], truncated}] for files with added whole-line comments, [] when none.
103
+ export function extractAddedComments(tool, input, readFile) {
104
+ const out = [];
105
+ let scanned = 0;
106
+ for (const c of candidates(tool, input, readFile)) {
107
+ const syntax = syntaxFor(c.path);
108
+ if (!syntax) continue;
109
+ const lines = [];
110
+ let truncated = false;
111
+ for (const l of c.lines) {
112
+ scanned += l.text.length;
113
+ if (scanned > MAX_SCANNED) { truncated = true; break; }
114
+ if (!isCommentLine(l.text, syntax)) continue;
115
+ if (lines.length >= MAX_LINES_PER_FILE) { truncated = true; break; }
116
+ const entry = { text: l.text.trim().slice(0, MAX_TEXT) };
117
+ if (c.base !== null && l.index !== null) entry.line = c.base + l.index;
118
+ lines.push(entry);
119
+ }
120
+ if (lines.length) out.push({ path: c.path, lines, truncated });
121
+ if (out.length >= MAX_FILES) break;
122
+ }
123
+ return out;
124
+ }
@@ -0,0 +1,176 @@
1
+ import { readFileSync, writeFileSync, mkdirSync, appendFileSync, existsSync, lstatSync, realpathSync, renameSync } from 'node:fs';
2
+ import { join, dirname, resolve } from 'node:path';
3
+ import { homedir } from 'node:os';
4
+ import { fileURLToPath } from 'node:url';
5
+ import { createHash } from 'node:crypto';
6
+ import { digestMismatch } from './digest.mjs';
7
+
8
+ export const PLUGIN_ROOT = join(dirname(fileURLToPath(import.meta.url)), '..', '..');
9
+ const STDIN_LIMIT = 256 * 1024;
10
+
11
+ export function readPayload() {
12
+ try {
13
+ const raw = readFileSync(0, 'utf8');
14
+ if (raw.length > STDIN_LIMIT) return {};
15
+ const data = JSON.parse(raw);
16
+ return data && typeof data === 'object' ? data : {};
17
+ } catch {
18
+ return {};
19
+ }
20
+ }
21
+
22
+ // Every hook exits 0 on its own errors: a broken hook must never block the user's session. The one exception is
23
+ // a digest mismatch: the code on disk differs from what the user approved, so the hook refuses (exit 2).
24
+ export function run(main) {
25
+ const mismatch = digestMismatch();
26
+ if (mismatch) block(`LitMuse hook integrity check failed (digest ${mismatch}). Reinstall with npx @litfamily/litmuse install and approve the hooks again.`);
27
+ try {
28
+ main(readPayload());
29
+ } catch {
30
+ process.exitCode = 0;
31
+ }
32
+ }
33
+
34
+ export function emitContext(event, text) {
35
+ process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: event, additionalContext: text } })}\n`);
36
+ }
37
+
38
+ export function block(message) {
39
+ process.stderr.write(`${message}\n`);
40
+ process.exit(2);
41
+ }
42
+
43
+ export function workspaceOf(payload) {
44
+ return typeof payload.cwd === 'string' && payload.cwd ? payload.cwd : process.cwd();
45
+ }
46
+
47
+ export function safeId(id) {
48
+ return typeof id === 'string' && /^[A-Za-z0-9_-]{1,128}$/.test(id) ? id : null;
49
+ }
50
+
51
+ // State lives in real directories only: a `.litmuse` (or subdirectory) that is a link, for example one shipped in a
52
+ // cloned repository, would send the hook's writes somewhere else, so the write is skipped.
53
+ function isLink(p) {
54
+ try {
55
+ return lstatSync(p).isSymbolicLink();
56
+ } catch {
57
+ return false;
58
+ }
59
+ }
60
+
61
+ function realStateDir(payload, sub) {
62
+ const top = join(workspaceOf(payload), '.litmuse');
63
+ for (const dir of [top, join(top, sub)]) {
64
+ try {
65
+ if (lstatSync(dir).isSymbolicLink() || !lstatSync(dir).isDirectory()) return null;
66
+ } catch {
67
+ // absent is fine; mkdir creates a real directory
68
+ }
69
+ }
70
+ return join(top, sub);
71
+ }
72
+
73
+ // Route state lives outside the workspace, under $XDG_STATE_HOME/litmuse/sessions/<workspace hash>/, where no
74
+ // planning-turn tool may write. Next to the state file sits an append-only journal of route changes.
75
+ export function sessionPath(cwd, sessionId, env = process.env) {
76
+ const id = safeId(sessionId);
77
+ if (!id) return null;
78
+ const stateHome = env.XDG_STATE_HOME || join(env.HOME || homedir(), '.local', 'state');
79
+ let real;
80
+ try { real = realpathSync(cwd); } catch { real = resolve(cwd); }
81
+ const ws = createHash('sha256').update(real).digest('hex').slice(0, 16);
82
+ return join(stateHome, 'litmuse', 'sessions', ws, `${id}.json`);
83
+ }
84
+
85
+ export function sessionFile(payload) {
86
+ return sessionPath(workspaceOf(payload), payload.session_id);
87
+ }
88
+
89
+ function lastJournalRoute(file) {
90
+ try {
91
+ const lines = readFileSync(file.replace(/\.json$/, '.journal'), 'utf8').trim().split('\n');
92
+ return JSON.parse(lines[lines.length - 1]).route ?? null;
93
+ } catch {
94
+ return null;
95
+ }
96
+ }
97
+
98
+ // Fails closed: a corrupt state file counts as an active lit-plan route, and a missing one falls back to the
99
+ // journal, so removing or breaking the state never lifts a planning limit.
100
+ export function readSession(payload) {
101
+ const file = sessionFile(payload);
102
+ if (!file) return null;
103
+ if (!existsSync(file)) {
104
+ const route = lastJournalRoute(file);
105
+ return route ? { route, fromJournal: true } : null;
106
+ }
107
+ try {
108
+ const state = JSON.parse(readFileSync(file, 'utf8'));
109
+ if (!state || typeof state !== 'object') throw new Error('bad state');
110
+ return state;
111
+ } catch {
112
+ return { route: 'lit-plan', corrupt: true };
113
+ }
114
+ }
115
+
116
+ export function writeSession(payload, state) {
117
+ const file = sessionFile(payload);
118
+ if (!file || isLink(file) || isLink(dirname(file))) return;
119
+ mkdirSync(dirname(file), { recursive: true });
120
+ const tmp = `${file}.tmp-${process.pid}`;
121
+ writeFileSync(tmp, `${JSON.stringify(state, null, 2)}\n`);
122
+ renameSync(tmp, file);
123
+ appendFileSync(file.replace(/\.json$/, '.journal'), `${JSON.stringify({ ts: Date.now(), route: state.route ?? null })}\n`);
124
+ }
125
+
126
+ export function activeRoute(payload) {
127
+ const state = readSession(payload);
128
+ return state && state.route ? state : null;
129
+ }
130
+
131
+ export function appendLedger(payload, entry) {
132
+ const id = safeId(payload.session_id);
133
+ if (!id) return;
134
+ const dir = realStateDir(payload, 'ledger');
135
+ if (!dir) return;
136
+ const file = join(dir, `${id}.jsonl`);
137
+ if (isLink(file)) return;
138
+ mkdirSync(dirname(file), { recursive: true });
139
+ appendFileSync(file, `${JSON.stringify({ ts: new Date().toISOString(), ...entry })}\n`);
140
+ }
141
+
142
+ export function toolName(payload) {
143
+ return typeof payload.tool_name === 'string' ? payload.tool_name : typeof payload.tool === 'string' ? payload.tool : '';
144
+ }
145
+
146
+ export function toolInput(payload) {
147
+ const input = payload.tool_input ?? payload.input ?? payload.arguments;
148
+ return input && typeof input === 'object' ? input : {};
149
+ }
150
+
151
+ export function pluginVersion() {
152
+ try {
153
+ return JSON.parse(readFileSync(join(PLUGIN_ROOT, '.muse-plugin', 'plugin.json'), 'utf8')).version;
154
+ } catch {
155
+ return 'unknown';
156
+ }
157
+ }
158
+
159
+ export function cachedLatest() {
160
+ try {
161
+ const dataHome = process.env.XDG_DATA_HOME || join(homedir(), '.local', 'share');
162
+ const cache = JSON.parse(readFileSync(join(dataHome, 'litmuse', 'update-check.json'), 'utf8'));
163
+ return typeof cache.latest === 'string' ? cache.latest : null;
164
+ } catch {
165
+ return null;
166
+ }
167
+ }
168
+
169
+ export function newerThan(a, b) {
170
+ const pa = String(a).split('.').map(Number);
171
+ const pb = String(b).split('.').map(Number);
172
+ for (let i = 0; i < 3; i += 1) {
173
+ if ((pa[i] || 0) !== (pb[i] || 0)) return (pa[i] || 0) > (pb[i] || 0);
174
+ }
175
+ return false;
176
+ }
@@ -0,0 +1,157 @@
1
+ import { existsSync, lstatSync, readdirSync, readFileSync, statSync } from 'node:fs';
2
+ import { join } from 'node:path';
3
+ import { appendLedger, block, safeId, workspaceOf, writeSession } from './common.mjs';
4
+
5
+ const MAX_HOLDS = 3;
6
+ const PLAN_ROW = /^- \[( |x|X)\] (\d+|F\d+)\. ?(.*)$/;
7
+ const RELEASE_NOTE = /^(BLOCKED at row \d+|PAUSED at row \d+|CANCELLED):/;
8
+ const PAUSE_WORD = /(^|\s)(stop|pause|cancel|halt|wait)(\s|[.!,?]|$)|멈춰|중단|그만|잠깐|일시\s*정지|취소/i;
9
+ export const WORK_ROUTES = new Set(['start-work', 'lit-loop', 'litgoal']);
10
+
11
+ // Rows outside code fences, column zero only, so a quoted example never counts as work.
12
+ function planRows(text) {
13
+ const rows = [];
14
+ let fenced = false;
15
+ for (const line of text.split('\n')) {
16
+ if (/^\s*(```|~~~)/.test(line)) { fenced = !fenced; continue; }
17
+ if (fenced) continue;
18
+ const m = PLAN_ROW.exec(line);
19
+ if (m) rows.push({ done: m[1] !== ' ', id: m[2], title: m[3].trim() });
20
+ }
21
+ return rows;
22
+ }
23
+
24
+ function readText(file) {
25
+ try {
26
+ if (!statSync(file).isFile()) return null;
27
+ return readFileSync(file, 'utf8');
28
+ } catch {
29
+ return null;
30
+ }
31
+ }
32
+
33
+ function ledgerLines(payload) {
34
+ const id = safeId(payload.session_id);
35
+ if (!id) return [];
36
+ const text = readText(join(workspaceOf(payload), '.litmuse', 'ledger', `${id}.jsonl`));
37
+ if (!text) return [];
38
+ return text.trim().split('\n').slice(-200).map((l) => { try { return JSON.parse(l); } catch { return null; } }).filter(Boolean);
39
+ }
40
+
41
+ // The plan the session last touched (ledger path), else the newest plan that still has an open row.
42
+ function activePlan(payload, cwd) {
43
+ const planRef = /plans\/[A-Za-z0-9._-]+\.md/;
44
+ for (const line of ledgerLines(payload).reverse()) {
45
+ const hit = planRef.exec(`${line.path ?? ''} ${line.text ?? ''}`);
46
+ if (hit && existsSync(join(cwd, hit[0]))) return hit[0];
47
+ }
48
+ const dir = join(cwd, 'plans');
49
+ if (!existsSync(dir)) return null;
50
+ let best = null;
51
+ for (const name of readdirSync(dir).filter((f) => f.endsWith('.md'))) {
52
+ const text = readText(join(dir, name));
53
+ if (!text || !planRows(text).some((r) => !r.done)) continue;
54
+ const mtime = statSync(join(dir, name)).mtimeMs;
55
+ if (!best || mtime > best.mtime) best = { file: `plans/${name}`, mtime };
56
+ }
57
+ return best ? best.file : null;
58
+ }
59
+
60
+ // The last explicit note decides: a release opener ends the hold, any later note or evidence line re-arms it.
61
+ function releasedByLedger(payload) {
62
+ for (const line of ledgerLines(payload).reverse()) {
63
+ if (line.kind === 'note') return RELEASE_NOTE.test(String(line.text ?? '').trim());
64
+ if (line.kind === 'evidence' || line.kind === 'decision') return false;
65
+ }
66
+ return false;
67
+ }
68
+
69
+ function paused(payload, state = {}) {
70
+ if (state.pauseRequested === true) return true;
71
+ const text = payload.prompt ?? payload.last_prompt;
72
+ return typeof text === 'string' && PAUSE_WORD.test(text);
73
+ }
74
+
75
+ // Counts holds that made no progress. A changed fingerprint resets the count; after MAX_HOLDS the turn ends once
76
+ // with a ledger note instead of looping.
77
+ function bounded(payload, state, prefix, fingerprint, label) {
78
+ const same = state[`${prefix}Fingerprint`] === fingerprint;
79
+ const holds = same ? state[`${prefix}Holds`] ?? 0 : 0;
80
+ if (holds >= MAX_HOLDS) {
81
+ if (!state[`${prefix}Released`]) {
82
+ writeSession(payload, { ...state, [`${prefix}Released`]: true });
83
+ appendLedger(payload, { kind: 'note', text: `${label} hold released after ${MAX_HOLDS} holds with no progress; ending the turn.` });
84
+ }
85
+ return null;
86
+ }
87
+ return { ...state, [`${prefix}Fingerprint`]: fingerprint, [`${prefix}Holds`]: holds + 1, [`${prefix}Released`]: false };
88
+ }
89
+
90
+ function startWorkHold(payload, state) {
91
+ if (state.route !== 'start-work' || paused(payload, state) || releasedByLedger(payload)) return false;
92
+ const cwd = workspaceOf(payload);
93
+ const file = activePlan(payload, cwd);
94
+ if (!file) return false;
95
+ const text = readText(join(cwd, file));
96
+ if (!text) return false;
97
+ const status = /^[>\s*_-]*Status\**:\**\s*(.+)$/im.exec(text);
98
+ if (!status || !/^approved\b/i.test(status[1].replace(/^[*_\s]+/, ''))) return false;
99
+ const rows = planRows(text);
100
+ const open = rows.filter((r) => !r.done);
101
+ if (!open.length) return false;
102
+ const next = bounded(payload, state, 'cont', `${file}:${rows.length - open.length}/${rows.length}`, 'start-work');
103
+ if (!next) return false;
104
+ writeSession(payload, next);
105
+ const word = open.length === 1 ? 'row' : 'rows';
106
+ block(`LitMuse start-work: ${file} has ${open.length} open ${word} (next: row ${open[0].id}). Continue with row ${open[0].id}, or write a ledger note starting BLOCKED at row ${open[0].id}: / PAUSED at row ${open[0].id}: / CANCELLED: and end the turn.`);
107
+ return true;
108
+ }
109
+
110
+ function goalDir(cwd) {
111
+ const top = join(cwd, '.litmuse');
112
+ const dir = join(top, 'goals');
113
+ try {
114
+ if (lstatSync(top).isSymbolicLink() || lstatSync(dir).isSymbolicLink() || !lstatSync(dir).isDirectory()) return null;
115
+ return dir;
116
+ } catch {
117
+ return null;
118
+ }
119
+ }
120
+
121
+ function openGoal(payload, cwd) {
122
+ const dir = goalDir(cwd);
123
+ const sid = safeId(payload.session_id);
124
+ if (!dir || !sid) return null;
125
+ for (const name of readdirSync(dir).filter((f) => f.endsWith('.json')).sort()) {
126
+ let rec;
127
+ try { rec = JSON.parse(readText(join(dir, name))); } catch { continue; }
128
+ if (!rec || rec.session_id !== sid || rec.status !== 'active' || rec.hold === false || !Array.isArray(rec.criteria)) continue;
129
+ const open = rec.criteria.find((c) => c && (c.status === 'open' || c.status === 'fail'));
130
+ if (!open) continue;
131
+ const pass = rec.criteria.filter((c) => c && c.status === 'pass').length;
132
+ return { path: `.litmuse/goals/${name}`, open, pass, total: rec.criteria.length, updated: String(rec.updated ?? '') };
133
+ }
134
+ return null;
135
+ }
136
+
137
+ function goalHold(payload, state) {
138
+ if (!WORK_ROUTES.has(state.route) || process.env.LITMUSE_GOAL_HOLD === '0' || paused(payload, state) || releasedByLedger(payload)) return false;
139
+ const turn = payload.turn_id ?? state.turnId ?? 'turn';
140
+ if (state.goalHeldFor === turn) return false;
141
+ const goal = openGoal(payload, workspaceOf(payload));
142
+ if (!goal) return false;
143
+ const next = bounded(payload, state, 'goal', `${goal.path}:${goal.updated}:${goal.pass}`, 'litgoal');
144
+ if (!next) return false;
145
+ writeSession(payload, { ...next, goalHeldFor: turn });
146
+ block(`LitMuse litgoal: ${goal.path} is ${goal.pass}/${goal.total} passed; next open criterion ${goal.open.id}: ${String(goal.open.text ?? '').slice(0, 200)}. Work it, or close the record honestly as blocked with the obstacle, then end the turn.`);
147
+ return true;
148
+ }
149
+
150
+ // block() exits the process; the returns only matter when it is stubbed.
151
+ export function continuationHold(payload, state) {
152
+ try {
153
+ return startWorkHold(payload, state) || goalHold(payload, state);
154
+ } catch {
155
+ return false;
156
+ }
157
+ }
@@ -0,0 +1,39 @@
1
+ import { createHash } from 'node:crypto';
2
+ import { readFileSync, readdirSync } from 'node:fs';
3
+ import { join, dirname, basename } from 'node:path';
4
+ import { fileURLToPath } from 'node:url';
5
+
6
+ const LIB = dirname(fileURLToPath(import.meta.url));
7
+ const CONTEXT = join(LIB, '..', '..', 'context');
8
+
9
+ const PLUGIN = join(LIB, '..', '..');
10
+
11
+ // Files outside hooks/lib that a hook loads at run time: PostToolUse runs the lit-humanizer detector, and Stop runs the
12
+ // lit-typographic-motion done-check with every engine module it imports.
13
+ const MOTION_DONE = ['node/done.mjs', 'node/cover-assets.mjs', 'core/constants.mjs', 'node/chrome.mjs', 'node/cover-image.mjs', 'node/cover-treatment.mjs', 'node/treatment.mjs', 'node/sound.mjs', 'core/util.mjs', 'node/look.mjs', 'node/stills.mjs', 'node/analysis.mjs', 'core/flash.mjs', 'node/png.mjs'];
14
+ export const DIGEST_EXTRAS = ['skills/lit-humanizer/scripts/core.mjs', 'skills/lit-humanizer/rules.json', ...MOTION_DONE.map((f) => `skills/lit-typographic-motion/engine/${f}`)];
15
+
16
+ const listed = (dir, ext) => readdirSync(dir).filter((f) => f.endsWith(ext)).sort().map((f) => join(dir, f));
17
+
18
+ // Digest of everything a hook executes or injects: its own script, the shared hook library, the context text and
19
+ // the skill files a hook loads.
20
+ // Muse keys hook trust on the declared command, so carrying this digest in the command makes any code change a new
21
+ // declaration that the user approves again.
22
+ export function hookDigest(scriptPath) {
23
+ const h = createHash('sha256');
24
+ for (const file of [scriptPath, ...listed(LIB, '.mjs'), ...listed(CONTEXT, '.md'), ...DIGEST_EXTRAS.map((rel) => join(PLUGIN, rel))]) {
25
+ h.update(`${basename(file)}\0`);
26
+ h.update(readFileSync(file));
27
+ h.update('\0');
28
+ }
29
+ return h.digest('hex').slice(0, 16);
30
+ }
31
+
32
+ // Returns null when the hook may run, or the reason it must refuse.
33
+ export function digestMismatch(argv = process.argv) {
34
+ const i = argv.indexOf('--digest');
35
+ if (i < 0) return null;
36
+ const want = argv[i + 1];
37
+ const have = hookDigest(argv[1]);
38
+ return want === have ? null : `declared ${want ?? '(none)'}, code is ${have}`;
39
+ }
@@ -0,0 +1,161 @@
1
+ import { readFileSync, writeFileSync, readdirSync, lstatSync, mkdirSync, renameSync, rmSync, statSync } from 'node:fs';
2
+ import { join } from 'node:path';
3
+ import { activeRoute, workspaceOf, safeId } from './common.mjs';
4
+ import { clip } from './redact.mjs';
5
+
6
+ const KEEP = 5;
7
+ const LEDGER_TAIL = 8;
8
+ const READ_LIMIT = 256 * 1024;
9
+ const FRESH_MS = 24 * 3600 * 1000;
10
+
11
+ function kind(p) {
12
+ try {
13
+ const st = lstatSync(p);
14
+ return st.isSymbolicLink() ? 'link' : st.isDirectory() ? 'dir' : st.isFile() ? 'file' : 'other';
15
+ } catch {
16
+ return null;
17
+ }
18
+ }
19
+
20
+ // A `.litmuse` or subdirectory that is a link would send reads or writes elsewhere, so it counts as absent.
21
+ function realDir(cwd, ...parts) {
22
+ let cur = cwd;
23
+ for (const part of ['.litmuse', ...parts]) {
24
+ cur = join(cur, part);
25
+ if (kind(cur) !== 'dir') return null;
26
+ }
27
+ return cur;
28
+ }
29
+
30
+ function readSmall(file) {
31
+ if (kind(file) !== 'file' || statSync(file).size > READ_LIMIT) return null;
32
+ return readFileSync(file, 'utf8');
33
+ }
34
+
35
+ function newestFiles(dir, ext) {
36
+ if (!dir || kind(dir) !== 'dir') return [];
37
+ return readdirSync(dir).filter((f) => f.endsWith(ext)).map((f) => join(dir, f)).filter((f) => kind(f) === 'file')
38
+ .map((f) => ({ f, m: statSync(f).mtimeMs })).sort((a, b) => b.m - a.m).slice(0, 50).map((x) => x.f);
39
+ }
40
+
41
+ // Rows at column zero outside code fences, as start-work counts them.
42
+ function planRows(text) {
43
+ let fenced = false;
44
+ const open = [];
45
+ let ticked = 0;
46
+ for (const line of text.split('\n')) {
47
+ if (/^\s*(```|~~~)/.test(line)) { fenced = !fenced; continue; }
48
+ if (fenced) continue;
49
+ if (/^- \[ \] /.test(line)) open.push(line);
50
+ else if (/^- \[[xX]\] /.test(line)) ticked += 1;
51
+ }
52
+ return { open, ticked };
53
+ }
54
+
55
+ function planSection(cwd) {
56
+ const dir = join(cwd, 'plans');
57
+ if (kind(dir) !== 'dir') return null;
58
+ for (const file of newestFiles(dir, '.md')) {
59
+ const text = readSmall(file);
60
+ if (text === null) continue;
61
+ const { open, ticked } = planRows(text);
62
+ if (!open.length) continue;
63
+ return [`plan: plans/${file.split('/').pop()} (${ticked} ticked, ${open.length} open)`, `next open row: ${clip(open[0], 200)}`];
64
+ }
65
+ return null;
66
+ }
67
+
68
+ function goalSection(cwd, sessionId) {
69
+ const goals = [];
70
+ for (const file of newestFiles(realDir(cwd, 'goals'), '.json')) {
71
+ try {
72
+ const text = readSmall(file);
73
+ if (text === null) continue;
74
+ const g = JSON.parse(text);
75
+ if (g && typeof g === 'object' && g.status === 'active') goals.push({ g, slug: file.split('/').pop().replace(/\.json$/, '') });
76
+ } catch {
77
+ // an unreadable record is skipped
78
+ }
79
+ }
80
+ const pick = goals.find((x) => x.g.session_id === sessionId) ?? goals[0];
81
+ if (!pick) return null;
82
+ const open = (Array.isArray(pick.g.criteria) ? pick.g.criteria : []).filter((c) => c && c.status !== 'pass');
83
+ const lines = [`goal: ${pick.slug}: ${clip(pick.g.objective, 200)}`];
84
+ for (const c of open.slice(0, 8)) lines.push(`open criterion ${clip(c.id, 20)} [${clip(c.status, 20)}]: ${clip(c.text, 200)}`);
85
+ if (open.length > 8) lines.push(`(${open.length - 8} more open criteria)`);
86
+ return lines;
87
+ }
88
+
89
+ function ledgerSection(cwd, sessionId) {
90
+ const id = safeId(sessionId);
91
+ const dir = realDir(cwd, 'ledger');
92
+ if (!id || !dir) return null;
93
+ const text = readSmall(join(dir, `${id}.jsonl`));
94
+ if (text === null) return null;
95
+ const out = [];
96
+ for (const line of text.trim().split('\n').slice(-LEDGER_TAIL)) {
97
+ try {
98
+ const e = JSON.parse(line);
99
+ const bits = [e.ts, e.kind ?? e.event, e.route, e.tool, e.path, e.text].filter((v) => v !== undefined && v !== null && v !== '');
100
+ out.push(`- ${bits.map((b) => clip(b, 200)).join(' | ')}`);
101
+ } catch {
102
+ // a torn line is skipped
103
+ }
104
+ }
105
+ return out.length ? ['recent ledger lines:', ...out] : null;
106
+ }
107
+
108
+ export function buildSnapshot(payload) {
109
+ const cwd = workspaceOf(payload);
110
+ const state = activeRoute(payload);
111
+ const lines = [
112
+ '# LitMuse compaction snapshot',
113
+ '',
114
+ `saved: ${new Date().toISOString()}`,
115
+ `trigger: ${clip(payload.trigger ?? 'unknown', 40)}`,
116
+ `session: ${safeId(payload.session_id) ?? 'unknown'}`,
117
+ `route: ${state ? clip(state.route, 60) : 'none'}${state?.turnId ? ` (turn ${clip(state.turnId, 60)})` : ''}`,
118
+ ];
119
+ for (const section of [planSection(cwd), goalSection(cwd, payload.session_id), ledgerSection(cwd, payload.session_id)]) {
120
+ if (section) lines.push('', ...section);
121
+ }
122
+ lines.push('', 'Built from hook-visible state only. Verify against the repository before acting.');
123
+ return `${lines.join('\n')}\n`;
124
+ }
125
+
126
+ const stamp = () => new Date().toISOString().replace(/[-:]/g, '').replace('.', '');
127
+
128
+ // Returns the written path, or null when the workspace state directory is unsafe.
129
+ export function writeSnapshot(payload) {
130
+ const cwd = workspaceOf(payload);
131
+ const top = join(cwd, '.litmuse');
132
+ const dir = join(top, 'handoff');
133
+ for (const p of [top, dir]) if (kind(p) && kind(p) !== 'dir') return null;
134
+ mkdirSync(dir, { recursive: true });
135
+ if (kind(top) !== 'dir' || kind(dir) !== 'dir') return null;
136
+ const text = buildSnapshot(payload);
137
+ const put = (name) => {
138
+ const target = join(dir, name);
139
+ if (kind(target) && kind(target) !== 'file') return false;
140
+ const tmp = join(dir, `.${name}.tmp-${process.pid}`);
141
+ writeFileSync(tmp, text, { flag: 'w' });
142
+ renameSync(tmp, target);
143
+ return true;
144
+ };
145
+ put(`${stamp()}.md`);
146
+ if (!put('latest.md')) return null;
147
+ const copies = readdirSync(dir).filter((f) => /^\d{8}T\d{9}Z\.md$/.test(f)).sort();
148
+ for (const old of copies.slice(0, Math.max(0, copies.length - KEEP))) rmSync(join(dir, old), { force: true });
149
+ return join(dir, 'latest.md');
150
+ }
151
+
152
+ // The snapshot for SessionStart: a real file no older than 24 hours, else null.
153
+ export function readFreshSnapshot(cwd, now = Date.now()) {
154
+ const dir = realDir(cwd, 'handoff');
155
+ if (!dir) return null;
156
+ const file = join(dir, 'latest.md');
157
+ if (kind(file) !== 'file') return null;
158
+ const st = statSync(file);
159
+ if (now - st.mtimeMs > FRESH_MS) return null;
160
+ return { text: readFileSync(file, 'utf8'), mtimeMs: st.mtimeMs };
161
+ }