create-yss-spec 1.0.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 (1880) hide show
  1. package/README.md +41 -0
  2. package/bin/create-yss-spec.js +10 -0
  3. package/package.json +17 -0
  4. package/src/cli.js +443 -0
  5. package/template/.agent/skills/ask-matt/SKILL.md +74 -0
  6. package/template/.agent/skills/code-review/SKILL.md +89 -0
  7. package/template/.agent/skills/codebase-design/DEEPENING.md +37 -0
  8. package/template/.agent/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  9. package/template/.agent/skills/codebase-design/SKILL.md +114 -0
  10. package/template/.agent/skills/competitive-intelligence/SKILL.md +94 -0
  11. package/template/.agent/skills/diagnosing-bugs/SKILL.md +134 -0
  12. package/template/.agent/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  13. package/template/.agent/skills/domain-modeling/ADR-FORMAT.md +47 -0
  14. package/template/.agent/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  15. package/template/.agent/skills/domain-modeling/SKILL.md +74 -0
  16. package/template/.agent/skills/grill-with-docs/SKILL.md +7 -0
  17. package/template/.agent/skills/implement/SKILL.md +15 -0
  18. package/template/.agent/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  19. package/template/.agent/skills/improve-codebase-architecture/SKILL.md +66 -0
  20. package/template/.agent/skills/prototype/LOGIC.md +79 -0
  21. package/template/.agent/skills/prototype/SKILL.md +30 -0
  22. package/template/.agent/skills/prototype/UI.md +112 -0
  23. package/template/.agent/skills/research/SKILL.md +12 -0
  24. package/template/.agent/skills/resolving-merge-conflicts/SKILL.md +14 -0
  25. package/template/.agent/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  26. package/template/.agent/skills/setup-matt-pocock-skills/domain.md +51 -0
  27. package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  28. package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  29. package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  30. package/template/.agent/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  31. package/template/.agent/skills/tdd/SKILL.md +36 -0
  32. package/template/.agent/skills/tdd/mocking.md +59 -0
  33. package/template/.agent/skills/tdd/tests.md +77 -0
  34. package/template/.agent/skills/to-issues/SKILL.md +84 -0
  35. package/template/.agent/skills/to-prd/SKILL.md +75 -0
  36. package/template/.agent/skills/triage/AGENT-BRIEF.md +207 -0
  37. package/template/.agent/skills/triage/OUT-OF-SCOPE.md +105 -0
  38. package/template/.agent/skills/triage/SKILL.md +112 -0
  39. package/template/.agents/skills/ask-matt/SKILL.md +74 -0
  40. package/template/.agents/skills/beautiful-article/README.md +450 -0
  41. package/template/.agents/skills/beautiful-article/README.zh-CN.md +450 -0
  42. package/template/.agents/skills/beautiful-article/SKILL.md +466 -0
  43. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
  44. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
  45. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
  46. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
  47. package/template/.agents/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
  48. package/template/.agents/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
  49. package/template/.agents/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
  50. package/template/.agents/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
  51. package/template/.agents/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
  52. package/template/.agents/skills/beautiful-article/manifest.json +15 -0
  53. package/template/.agents/skills/beautiful-article/references/article-types/briefing.md +32 -0
  54. package/template/.agents/skills/beautiful-article/references/article-types/dialogue.md +30 -0
  55. package/template/.agents/skills/beautiful-article/references/article-types/essay.md +31 -0
  56. package/template/.agents/skills/beautiful-article/references/article-types/explainer.md +32 -0
  57. package/template/.agents/skills/beautiful-article/references/article-types/full-report.md +32 -0
  58. package/template/.agents/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
  59. package/template/.agents/skills/beautiful-article/references/article-types/longform.md +32 -0
  60. package/template/.agents/skills/beautiful-article/references/article-types/review.md +32 -0
  61. package/template/.agents/skills/beautiful-article/references/article-types/tutorial.md +30 -0
  62. package/template/.agents/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
  63. package/template/.agents/skills/beautiful-article/references/article-types.md +42 -0
  64. package/template/.agents/skills/beautiful-article/references/asset-policy.md +71 -0
  65. package/template/.agents/skills/beautiful-article/references/component-policy.md +103 -0
  66. package/template/.agents/skills/beautiful-article/references/cover.md +208 -0
  67. package/template/.agents/skills/beautiful-article/references/harness.md +35 -0
  68. package/template/.agents/skills/beautiful-article/references/html-output.md +42 -0
  69. package/template/.agents/skills/beautiful-article/references/information-density.md +50 -0
  70. package/template/.agents/skills/beautiful-article/references/layout.md +46 -0
  71. package/template/.agents/skills/beautiful-article/references/pdf-output.md +208 -0
  72. package/template/.agents/skills/beautiful-article/references/plan-template.md +109 -0
  73. package/template/.agents/skills/beautiful-article/references/raw-policy.md +86 -0
  74. package/template/.agents/skills/beautiful-article/references/repair-policy.md +35 -0
  75. package/template/.agents/skills/beautiful-article/references/review-checklist.md +133 -0
  76. package/template/.agents/skills/beautiful-article/references/scaffold.md +77 -0
  77. package/template/.agents/skills/beautiful-article/references/section-build.md +100 -0
  78. package/template/.agents/skills/beautiful-article/references/source-to-markdown.md +118 -0
  79. package/template/.agents/skills/beautiful-article/references/theme-selection.md +48 -0
  80. package/template/.agents/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
  81. package/template/.agents/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
  82. package/template/.agents/skills/beautiful-article/scripts/scaffold.sh +172 -0
  83. package/template/.agents/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
  84. package/template/.agents/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
  85. package/template/.agents/skills/beautiful-article/theme-profiles/andy.md +57 -0
  86. package/template/.agents/skills/beautiful-article/theme-profiles/bayer.md +57 -0
  87. package/template/.agents/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
  88. package/template/.agents/skills/beautiful-article/theme-profiles/freddie.md +57 -0
  89. package/template/.agents/skills/beautiful-article/theme-profiles/fuller.md +56 -0
  90. package/template/.agents/skills/beautiful-article/theme-profiles/index.json +112 -0
  91. package/template/.agents/skills/beautiful-article/theme-profiles/knuth.md +60 -0
  92. package/template/.agents/skills/beautiful-article/theme-profiles/press.md +61 -0
  93. package/template/.agents/skills/beautiful-article/theme-profiles/shannon.md +64 -0
  94. package/template/.agents/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
  95. package/template/.agents/skills/beautiful-article/theme-profiles/tufte.md +64 -0
  96. package/template/.agents/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
  97. package/template/.agents/skills/code-review/SKILL.md +89 -0
  98. package/template/.agents/skills/codebase-design/DEEPENING.md +37 -0
  99. package/template/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  100. package/template/.agents/skills/codebase-design/SKILL.md +114 -0
  101. package/template/.agents/skills/competitive-intelligence/SKILL.md +94 -0
  102. package/template/.agents/skills/diagnosing-bugs/SKILL.md +134 -0
  103. package/template/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  104. package/template/.agents/skills/dispatching-parallel-agents/SKILL.md +185 -0
  105. package/template/.agents/skills/domain-modeling/ADR-FORMAT.md +47 -0
  106. package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  107. package/template/.agents/skills/domain-modeling/SKILL.md +74 -0
  108. package/template/.agents/skills/excalidraw-diagram-generator/SKILL.md +634 -0
  109. package/template/.agents/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
  110. package/template/.agents/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
  111. package/template/.agents/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
  112. package/template/.agents/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
  113. package/template/.agents/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +406 -0
  114. package/template/.agents/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
  115. package/template/.agents/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
  116. package/template/.agents/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
  117. package/template/.agents/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
  118. package/template/.agents/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
  119. package/template/.agents/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
  120. package/template/.agents/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
  121. package/template/.agents/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
  122. package/template/.agents/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
  123. package/template/.agents/skills/grill-with-docs/SKILL.md +7 -0
  124. package/template/.agents/skills/implement/SKILL.md +15 -0
  125. package/template/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  126. package/template/.agents/skills/improve-codebase-architecture/SKILL.md +66 -0
  127. package/template/.agents/skills/kb-retriever/README.md +197 -0
  128. package/template/.agents/skills/kb-retriever/README.zh-CN.md +197 -0
  129. package/template/.agents/skills/kb-retriever/SKILL.md +250 -0
  130. package/template/.agents/skills/kb-retriever/manifest.json +15 -0
  131. package/template/.agents/skills/kb-retriever/references/excel_analysis.md +129 -0
  132. package/template/.agents/skills/kb-retriever/references/excel_reading.md +72 -0
  133. package/template/.agents/skills/kb-retriever/references/pdf_reading.md +362 -0
  134. package/template/.agents/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
  135. package/template/.agents/skills/prototype/LOGIC.md +79 -0
  136. package/template/.agents/skills/prototype/SKILL.md +30 -0
  137. package/template/.agents/skills/prototype/UI.md +112 -0
  138. package/template/.agents/skills/research/SKILL.md +12 -0
  139. package/template/.agents/skills/resolving-merge-conflicts/SKILL.md +14 -0
  140. package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  141. package/template/.agents/skills/setup-matt-pocock-skills/domain.md +51 -0
  142. package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  143. package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  144. package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  145. package/template/.agents/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  146. package/template/.agents/skills/tdd/SKILL.md +36 -0
  147. package/template/.agents/skills/tdd/mocking.md +59 -0
  148. package/template/.agents/skills/tdd/tests.md +77 -0
  149. package/template/.agents/skills/to-issues/SKILL.md +84 -0
  150. package/template/.agents/skills/to-prd/SKILL.md +75 -0
  151. package/template/.agents/skills/triage/AGENT-BRIEF.md +207 -0
  152. package/template/.agents/skills/triage/OUT-OF-SCOPE.md +105 -0
  153. package/template/.agents/skills/triage/SKILL.md +112 -0
  154. package/template/.agents/skills/using-git-worktrees/SKILL.md +202 -0
  155. package/template/.agents/skills/web-design-engineer/README.md +461 -0
  156. package/template/.agents/skills/web-design-engineer/README.zh-CN.md +461 -0
  157. package/template/.agents/skills/web-design-engineer/SKILL.md +493 -0
  158. package/template/.agents/skills/web-design-engineer/manifest.json +15 -0
  159. package/template/.agents/skills/web-design-engineer/references/advanced-patterns.md +521 -0
  160. package/template/.agents/skills/web-design-engineer/references/critique-guide.md +226 -0
  161. package/template/.agents/skills/web-design-engineer/references/design-directions.md +188 -0
  162. package/template/.agents/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
  163. package/template/.agents/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
  164. package/template/.agents/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
  165. package/template/.agents/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
  166. package/template/.agents/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
  167. package/template/.agents/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
  168. package/template/.agents/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
  169. package/template/.agents/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
  170. package/template/.agents/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
  171. package/template/.agents/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
  172. package/template/.agents/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
  173. package/template/.agents/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
  174. package/template/.agents/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
  175. package/template/.agents/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
  176. package/template/.agents/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
  177. package/template/.agents/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
  178. package/template/.agents/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
  179. package/template/.agents/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
  180. package/template/.agents/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
  181. package/template/.agents/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
  182. package/template/.agents/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
  183. package/template/.agents/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
  184. package/template/.agents/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
  185. package/template/.agents/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
  186. package/template/.agents/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
  187. package/template/.agents/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
  188. package/template/.agents/skills/web-video-presentation/README.md +322 -0
  189. package/template/.agents/skills/web-video-presentation/README.zh-CN.md +322 -0
  190. package/template/.agents/skills/web-video-presentation/SKILL.md +451 -0
  191. package/template/.agents/skills/web-video-presentation/manifest.json +15 -0
  192. package/template/.agents/skills/web-video-presentation/references/AUDIO.md +276 -0
  193. package/template/.agents/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
  194. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
  195. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
  196. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
  197. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
  198. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
  199. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
  200. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
  201. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
  202. package/template/.agents/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
  203. package/template/.agents/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
  204. package/template/.agents/skills/web-video-presentation/references/RECORDING.md +77 -0
  205. package/template/.agents/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
  206. package/template/.agents/skills/web-video-presentation/references/THEMES.md +351 -0
  207. package/template/.agents/skills/web-video-presentation/scripts/scaffold.sh +245 -0
  208. package/template/.agents/skills/web-video-presentation/templates/index.html +12 -0
  209. package/template/.agents/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
  210. package/template/.agents/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
  211. package/template/.agents/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
  212. package/template/.agents/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
  213. package/template/.agents/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
  214. package/template/.agents/skills/web-video-presentation/templates/src/App.tsx +73 -0
  215. package/template/.agents/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
  216. package/template/.agents/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
  217. package/template/.agents/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
  218. package/template/.agents/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
  219. package/template/.agents/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
  220. package/template/.agents/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
  221. package/template/.agents/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
  222. package/template/.agents/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
  223. package/template/.agents/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
  224. package/template/.agents/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
  225. package/template/.agents/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
  226. package/template/.agents/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
  227. package/template/.agents/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
  228. package/template/.agents/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
  229. package/template/.agents/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
  230. package/template/.agents/skills/web-video-presentation/templates/src/main.tsx +9 -0
  231. package/template/.agents/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
  232. package/template/.agents/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
  233. package/template/.agents/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
  234. package/template/.agents/skills/web-video-presentation/templates/src/styles/base.css +415 -0
  235. package/template/.agents/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
  236. package/template/.agents/skills/web-video-presentation/templates/vite.config.ts +10 -0
  237. package/template/.agents/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
  238. package/template/.agents/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
  239. package/template/.agents/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
  240. package/template/.agents/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
  241. package/template/.agents/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
  242. package/template/.agents/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
  243. package/template/.agents/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
  244. package/template/.agents/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
  245. package/template/.agents/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
  246. package/template/.agents/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
  247. package/template/.agents/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
  248. package/template/.agents/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
  249. package/template/.agents/skills/web-video-presentation/themes/dune/theme.json +28 -0
  250. package/template/.agents/skills/web-video-presentation/themes/dune/tokens.css +62 -0
  251. package/template/.agents/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
  252. package/template/.agents/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
  253. package/template/.agents/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
  254. package/template/.agents/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
  255. package/template/.agents/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
  256. package/template/.agents/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
  257. package/template/.agents/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
  258. package/template/.agents/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
  259. package/template/.agents/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
  260. package/template/.agents/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
  261. package/template/.agents/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
  262. package/template/.agents/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
  263. package/template/.agents/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
  264. package/template/.agents/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
  265. package/template/.agents/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
  266. package/template/.agents/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
  267. package/template/.agents/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
  268. package/template/.agents/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
  269. package/template/.agents/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
  270. package/template/.agents/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
  271. package/template/.agents/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
  272. package/template/.agents/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
  273. package/template/.agents/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
  274. package/template/.agents/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
  275. package/template/.agents/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
  276. package/template/.agents/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
  277. package/template/.agents/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
  278. package/template/.agents/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
  279. package/template/.agents/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
  280. package/template/.agents/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
  281. package/template/.agents/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
  282. package/template/.agents/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
  283. package/template/.agents/skills/writing-skills/SKILL.md +689 -0
  284. package/template/.agents/skills/writing-skills/anthropic-best-practices.md +1150 -0
  285. package/template/.agents/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  286. package/template/.agents/skills/writing-skills/graphviz-conventions.dot +172 -0
  287. package/template/.agents/skills/writing-skills/persuasion-principles.md +187 -0
  288. package/template/.agents/skills/writing-skills/render-graphs.js +168 -0
  289. package/template/.agents/skills/writing-skills/testing-skills-with-subagents.md +384 -0
  290. package/template/.claude/skills/ask-matt/SKILL.md +74 -0
  291. package/template/.claude/skills/beautiful-article/README.md +450 -0
  292. package/template/.claude/skills/beautiful-article/README.zh-CN.md +450 -0
  293. package/template/.claude/skills/beautiful-article/SKILL.md +466 -0
  294. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
  295. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
  296. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
  297. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
  298. package/template/.claude/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
  299. package/template/.claude/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
  300. package/template/.claude/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
  301. package/template/.claude/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
  302. package/template/.claude/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
  303. package/template/.claude/skills/beautiful-article/manifest.json +15 -0
  304. package/template/.claude/skills/beautiful-article/references/article-types/briefing.md +32 -0
  305. package/template/.claude/skills/beautiful-article/references/article-types/dialogue.md +30 -0
  306. package/template/.claude/skills/beautiful-article/references/article-types/essay.md +31 -0
  307. package/template/.claude/skills/beautiful-article/references/article-types/explainer.md +32 -0
  308. package/template/.claude/skills/beautiful-article/references/article-types/full-report.md +32 -0
  309. package/template/.claude/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
  310. package/template/.claude/skills/beautiful-article/references/article-types/longform.md +32 -0
  311. package/template/.claude/skills/beautiful-article/references/article-types/review.md +32 -0
  312. package/template/.claude/skills/beautiful-article/references/article-types/tutorial.md +30 -0
  313. package/template/.claude/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
  314. package/template/.claude/skills/beautiful-article/references/article-types.md +42 -0
  315. package/template/.claude/skills/beautiful-article/references/asset-policy.md +71 -0
  316. package/template/.claude/skills/beautiful-article/references/component-policy.md +103 -0
  317. package/template/.claude/skills/beautiful-article/references/cover.md +208 -0
  318. package/template/.claude/skills/beautiful-article/references/harness.md +35 -0
  319. package/template/.claude/skills/beautiful-article/references/html-output.md +42 -0
  320. package/template/.claude/skills/beautiful-article/references/information-density.md +50 -0
  321. package/template/.claude/skills/beautiful-article/references/layout.md +46 -0
  322. package/template/.claude/skills/beautiful-article/references/pdf-output.md +208 -0
  323. package/template/.claude/skills/beautiful-article/references/plan-template.md +109 -0
  324. package/template/.claude/skills/beautiful-article/references/raw-policy.md +86 -0
  325. package/template/.claude/skills/beautiful-article/references/repair-policy.md +35 -0
  326. package/template/.claude/skills/beautiful-article/references/review-checklist.md +133 -0
  327. package/template/.claude/skills/beautiful-article/references/scaffold.md +77 -0
  328. package/template/.claude/skills/beautiful-article/references/section-build.md +100 -0
  329. package/template/.claude/skills/beautiful-article/references/source-to-markdown.md +118 -0
  330. package/template/.claude/skills/beautiful-article/references/theme-selection.md +48 -0
  331. package/template/.claude/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
  332. package/template/.claude/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
  333. package/template/.claude/skills/beautiful-article/scripts/scaffold.sh +172 -0
  334. package/template/.claude/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
  335. package/template/.claude/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
  336. package/template/.claude/skills/beautiful-article/theme-profiles/andy.md +57 -0
  337. package/template/.claude/skills/beautiful-article/theme-profiles/bayer.md +57 -0
  338. package/template/.claude/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
  339. package/template/.claude/skills/beautiful-article/theme-profiles/freddie.md +57 -0
  340. package/template/.claude/skills/beautiful-article/theme-profiles/fuller.md +56 -0
  341. package/template/.claude/skills/beautiful-article/theme-profiles/index.json +112 -0
  342. package/template/.claude/skills/beautiful-article/theme-profiles/knuth.md +60 -0
  343. package/template/.claude/skills/beautiful-article/theme-profiles/press.md +61 -0
  344. package/template/.claude/skills/beautiful-article/theme-profiles/shannon.md +64 -0
  345. package/template/.claude/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
  346. package/template/.claude/skills/beautiful-article/theme-profiles/tufte.md +64 -0
  347. package/template/.claude/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
  348. package/template/.claude/skills/code-review/SKILL.md +89 -0
  349. package/template/.claude/skills/codebase-design/DEEPENING.md +37 -0
  350. package/template/.claude/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  351. package/template/.claude/skills/codebase-design/SKILL.md +114 -0
  352. package/template/.claude/skills/competitive-intelligence/SKILL.md +94 -0
  353. package/template/.claude/skills/diagnosing-bugs/SKILL.md +134 -0
  354. package/template/.claude/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  355. package/template/.claude/skills/domain-modeling/ADR-FORMAT.md +47 -0
  356. package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  357. package/template/.claude/skills/domain-modeling/SKILL.md +74 -0
  358. package/template/.claude/skills/excalidraw-diagram-generator/SKILL.md +613 -0
  359. package/template/.claude/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
  360. package/template/.claude/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
  361. package/template/.claude/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
  362. package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
  363. package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
  364. package/template/.claude/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
  365. package/template/.claude/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
  366. package/template/.claude/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
  367. package/template/.claude/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
  368. package/template/.claude/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
  369. package/template/.claude/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
  370. package/template/.claude/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
  371. package/template/.claude/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
  372. package/template/.claude/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
  373. package/template/.claude/skills/grill-with-docs/SKILL.md +7 -0
  374. package/template/.claude/skills/implement/SKILL.md +15 -0
  375. package/template/.claude/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  376. package/template/.claude/skills/improve-codebase-architecture/SKILL.md +66 -0
  377. package/template/.claude/skills/kb-retriever/README.md +197 -0
  378. package/template/.claude/skills/kb-retriever/README.zh-CN.md +197 -0
  379. package/template/.claude/skills/kb-retriever/SKILL.md +250 -0
  380. package/template/.claude/skills/kb-retriever/manifest.json +15 -0
  381. package/template/.claude/skills/kb-retriever/references/excel_analysis.md +129 -0
  382. package/template/.claude/skills/kb-retriever/references/excel_reading.md +72 -0
  383. package/template/.claude/skills/kb-retriever/references/pdf_reading.md +362 -0
  384. package/template/.claude/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
  385. package/template/.claude/skills/prototype/LOGIC.md +79 -0
  386. package/template/.claude/skills/prototype/SKILL.md +30 -0
  387. package/template/.claude/skills/prototype/UI.md +112 -0
  388. package/template/.claude/skills/research/SKILL.md +12 -0
  389. package/template/.claude/skills/resolving-merge-conflicts/SKILL.md +14 -0
  390. package/template/.claude/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  391. package/template/.claude/skills/setup-matt-pocock-skills/domain.md +51 -0
  392. package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  393. package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  394. package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  395. package/template/.claude/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  396. package/template/.claude/skills/tdd/SKILL.md +36 -0
  397. package/template/.claude/skills/tdd/mocking.md +59 -0
  398. package/template/.claude/skills/tdd/tests.md +77 -0
  399. package/template/.claude/skills/to-issues/SKILL.md +84 -0
  400. package/template/.claude/skills/to-prd/SKILL.md +75 -0
  401. package/template/.claude/skills/triage/AGENT-BRIEF.md +207 -0
  402. package/template/.claude/skills/triage/OUT-OF-SCOPE.md +105 -0
  403. package/template/.claude/skills/triage/SKILL.md +112 -0
  404. package/template/.claude/skills/web-design-engineer/README.md +461 -0
  405. package/template/.claude/skills/web-design-engineer/README.zh-CN.md +461 -0
  406. package/template/.claude/skills/web-design-engineer/SKILL.md +493 -0
  407. package/template/.claude/skills/web-design-engineer/manifest.json +15 -0
  408. package/template/.claude/skills/web-design-engineer/references/advanced-patterns.md +521 -0
  409. package/template/.claude/skills/web-design-engineer/references/critique-guide.md +226 -0
  410. package/template/.claude/skills/web-design-engineer/references/design-directions.md +188 -0
  411. package/template/.claude/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
  412. package/template/.claude/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
  413. package/template/.claude/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
  414. package/template/.claude/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
  415. package/template/.claude/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
  416. package/template/.claude/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
  417. package/template/.claude/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
  418. package/template/.claude/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
  419. package/template/.claude/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
  420. package/template/.claude/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
  421. package/template/.claude/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
  422. package/template/.claude/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
  423. package/template/.claude/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
  424. package/template/.claude/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
  425. package/template/.claude/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
  426. package/template/.claude/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
  427. package/template/.claude/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
  428. package/template/.claude/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
  429. package/template/.claude/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
  430. package/template/.claude/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
  431. package/template/.claude/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
  432. package/template/.claude/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
  433. package/template/.claude/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
  434. package/template/.claude/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
  435. package/template/.claude/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
  436. package/template/.claude/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
  437. package/template/.claude/skills/web-video-presentation/README.md +322 -0
  438. package/template/.claude/skills/web-video-presentation/README.zh-CN.md +322 -0
  439. package/template/.claude/skills/web-video-presentation/SKILL.md +451 -0
  440. package/template/.claude/skills/web-video-presentation/manifest.json +15 -0
  441. package/template/.claude/skills/web-video-presentation/references/AUDIO.md +276 -0
  442. package/template/.claude/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
  443. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
  444. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
  445. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
  446. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
  447. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
  448. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
  449. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
  450. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
  451. package/template/.claude/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
  452. package/template/.claude/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
  453. package/template/.claude/skills/web-video-presentation/references/RECORDING.md +77 -0
  454. package/template/.claude/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
  455. package/template/.claude/skills/web-video-presentation/references/THEMES.md +351 -0
  456. package/template/.claude/skills/web-video-presentation/scripts/scaffold.sh +245 -0
  457. package/template/.claude/skills/web-video-presentation/templates/index.html +12 -0
  458. package/template/.claude/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
  459. package/template/.claude/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
  460. package/template/.claude/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
  461. package/template/.claude/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
  462. package/template/.claude/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
  463. package/template/.claude/skills/web-video-presentation/templates/src/App.tsx +73 -0
  464. package/template/.claude/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
  465. package/template/.claude/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
  466. package/template/.claude/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
  467. package/template/.claude/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
  468. package/template/.claude/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
  469. package/template/.claude/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
  470. package/template/.claude/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
  471. package/template/.claude/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
  472. package/template/.claude/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
  473. package/template/.claude/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
  474. package/template/.claude/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
  475. package/template/.claude/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
  476. package/template/.claude/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
  477. package/template/.claude/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
  478. package/template/.claude/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
  479. package/template/.claude/skills/web-video-presentation/templates/src/main.tsx +9 -0
  480. package/template/.claude/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
  481. package/template/.claude/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
  482. package/template/.claude/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
  483. package/template/.claude/skills/web-video-presentation/templates/src/styles/base.css +415 -0
  484. package/template/.claude/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
  485. package/template/.claude/skills/web-video-presentation/templates/vite.config.ts +10 -0
  486. package/template/.claude/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
  487. package/template/.claude/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
  488. package/template/.claude/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
  489. package/template/.claude/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
  490. package/template/.claude/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
  491. package/template/.claude/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
  492. package/template/.claude/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
  493. package/template/.claude/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
  494. package/template/.claude/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
  495. package/template/.claude/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
  496. package/template/.claude/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
  497. package/template/.claude/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
  498. package/template/.claude/skills/web-video-presentation/themes/dune/theme.json +28 -0
  499. package/template/.claude/skills/web-video-presentation/themes/dune/tokens.css +62 -0
  500. package/template/.claude/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
  501. package/template/.claude/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
  502. package/template/.claude/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
  503. package/template/.claude/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
  504. package/template/.claude/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
  505. package/template/.claude/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
  506. package/template/.claude/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
  507. package/template/.claude/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
  508. package/template/.claude/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
  509. package/template/.claude/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
  510. package/template/.claude/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
  511. package/template/.claude/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
  512. package/template/.claude/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
  513. package/template/.claude/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
  514. package/template/.claude/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
  515. package/template/.claude/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
  516. package/template/.claude/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
  517. package/template/.claude/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
  518. package/template/.claude/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
  519. package/template/.claude/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
  520. package/template/.claude/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
  521. package/template/.claude/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
  522. package/template/.claude/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
  523. package/template/.claude/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
  524. package/template/.claude/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
  525. package/template/.claude/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
  526. package/template/.claude/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
  527. package/template/.claude/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
  528. package/template/.claude/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
  529. package/template/.claude/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
  530. package/template/.claude/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
  531. package/template/.claude/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
  532. package/template/.codex/skills/alibaba-java-code-style/SKILL.md +45 -0
  533. package/template/.codex/skills/alibaba-java-code-style/agents/openai.yaml +4 -0
  534. package/template/.codex/skills/alibaba-java-code-style/references/database-engineering-design.md +147 -0
  535. package/template/.codex/skills/alibaba-java-code-style/references/java-programming.md +178 -0
  536. package/template/.codex/skills/alibaba-java-code-style/references/reliability-test-security.md +89 -0
  537. package/template/.codex/skills/ask-matt/SKILL.md +74 -0
  538. package/template/.codex/skills/code-review/SKILL.md +89 -0
  539. package/template/.codex/skills/code-review-process/SKILL.md +65 -0
  540. package/template/.codex/skills/code-review-process/agents/openai.yaml +4 -0
  541. package/template/.codex/skills/code-review-process/references/automation-and-standards.md +82 -0
  542. package/template/.codex/skills/code-review-process/references/review-workflow.md +88 -0
  543. package/template/.codex/skills/codebase-design/DEEPENING.md +37 -0
  544. package/template/.codex/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  545. package/template/.codex/skills/codebase-design/SKILL.md +114 -0
  546. package/template/.codex/skills/competitive-intelligence/SKILL.md +94 -0
  547. package/template/.codex/skills/component-story-prototype/SKILL.md +55 -0
  548. package/template/.codex/skills/component-story-prototype/agents/openai.yaml +4 -0
  549. package/template/.codex/skills/cross-repo-implementation-routing/SKILL.md +50 -0
  550. package/template/.codex/skills/diagnosing-bugs/SKILL.md +134 -0
  551. package/template/.codex/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  552. package/template/.codex/skills/domain-modeling/ADR-FORMAT.md +47 -0
  553. package/template/.codex/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  554. package/template/.codex/skills/domain-modeling/SKILL.md +74 -0
  555. package/template/.codex/skills/grill-with-docs/SKILL.md +7 -0
  556. package/template/.codex/skills/implement/SKILL.md +15 -0
  557. package/template/.codex/skills/implementation-repo-onboarding/SKILL.md +48 -0
  558. package/template/.codex/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  559. package/template/.codex/skills/improve-codebase-architecture/SKILL.md +66 -0
  560. package/template/.codex/skills/mock-api-prototype/SKILL.md +48 -0
  561. package/template/.codex/skills/mock-api-prototype/agents/openai.yaml +4 -0
  562. package/template/.codex/skills/product-design-prototype/SKILL.md +85 -0
  563. package/template/.codex/skills/product-design-prototype/agents/openai.yaml +4 -0
  564. package/template/.codex/skills/prototype/LOGIC.md +79 -0
  565. package/template/.codex/skills/prototype/SKILL.md +30 -0
  566. package/template/.codex/skills/prototype/UI.md +112 -0
  567. package/template/.codex/skills/prototype-review/SKILL.md +66 -0
  568. package/template/.codex/skills/prototype-review/agents/openai.yaml +4 -0
  569. package/template/.codex/skills/research/SKILL.md +12 -0
  570. package/template/.codex/skills/resolving-merge-conflicts/SKILL.md +14 -0
  571. package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  572. package/template/.codex/skills/setup-matt-pocock-skills/domain.md +51 -0
  573. package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  574. package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  575. package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  576. package/template/.codex/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  577. package/template/.codex/skills/tdd/SKILL.md +36 -0
  578. package/template/.codex/skills/tdd/mocking.md +59 -0
  579. package/template/.codex/skills/tdd/tests.md +77 -0
  580. package/template/.codex/skills/to-issues/SKILL.md +84 -0
  581. package/template/.codex/skills/to-prd/SKILL.md +75 -0
  582. package/template/.codex/skills/triage/AGENT-BRIEF.md +207 -0
  583. package/template/.codex/skills/triage/OUT-OF-SCOPE.md +105 -0
  584. package/template/.codex/skills/triage/SKILL.md +112 -0
  585. package/template/.codex/skills/wireframe-prototype/SKILL.md +52 -0
  586. package/template/.codex/skills/wireframe-prototype/agents/openai.yaml +4 -0
  587. package/template/.codex/skills/yss-anti-scheduler/SKILL.md +53 -0
  588. package/template/.codex/skills/yss-anti-scheduler/agents/openai.yaml +4 -0
  589. package/template/.codex/skills/yss-anti-scheduler/references/source-index.md +157 -0
  590. package/template/.codex/skills/yss-api-integration/SKILL.md +403 -0
  591. package/template/.codex/skills/yss-api-integration/agents/openai.yaml +5 -0
  592. package/template/.codex/skills/yss-audit-log/SKILL.md +64 -0
  593. package/template/.codex/skills/yss-audit-log/agents/openai.yaml +5 -0
  594. package/template/.codex/skills/yss-audit-log/assets/AuditLogAspect.java +262 -0
  595. package/template/.codex/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +37 -0
  596. package/template/.codex/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +18 -0
  597. package/template/.codex/skills/yss-audit-log/assets/YssAuditPublishService.java +69 -0
  598. package/template/.codex/skills/yss-audit-log/references/README.md +69 -0
  599. package/template/.codex/skills/yss-audit-log/references/source-index.md +40 -0
  600. package/template/.codex/skills/yss-cache/SKILL.md +73 -0
  601. package/template/.codex/skills/yss-cache/agents/openai.yaml +5 -0
  602. package/template/.codex/skills/yss-cache/assets/ClearCache.java +34 -0
  603. package/template/.codex/skills/yss-cache/assets/QueryCache.java +36 -0
  604. package/template/.codex/skills/yss-cache/assets/UpdateCache.java +34 -0
  605. package/template/.codex/skills/yss-cache/references/README.md +5 -0
  606. package/template/.codex/skills/yss-cache/references/source-index.md +64 -0
  607. package/template/.codex/skills/yss-components/SKILL.md +311 -0
  608. package/template/.codex/skills/yss-components/agents/openai.yaml +5 -0
  609. package/template/.codex/skills/yss-components/references/frontend-docs.md +9 -0
  610. package/template/.codex/skills/yss-db2mybatis/SKILL.md +94 -0
  611. package/template/.codex/skills/yss-db2mybatis/agents/openai.yaml +5 -0
  612. package/template/.codex/skills/yss-db2mybatis/assets/$.java +19 -0
  613. package/template/.codex/skills/yss-db2mybatis/assets/convertor.java.template +22 -0
  614. package/template/.codex/skills/yss-db2mybatis/assets/domain_gateway.java.template +45 -0
  615. package/template/.codex/skills/yss-db2mybatis/assets/domain_model.java.template +16 -0
  616. package/template/.codex/skills/yss-db2mybatis/assets/gateway_impl.java.template +62 -0
  617. package/template/.codex/skills/yss-db2mybatis/assets/po.java.template +18 -0
  618. package/template/.codex/skills/yss-db2mybatis/assets/repository.java.template +7 -0
  619. package/template/.codex/skills/yss-db2mybatis/config/metadata.json +334 -0
  620. package/template/.codex/skills/yss-db2mybatis/config/temp_datasource.json +12 -0
  621. package/template/.codex/skills/yss-db2mybatis/references/datasource-config.example.json +46 -0
  622. package/template/.codex/skills/yss-db2mybatis/references/project-convention.example.json +14 -0
  623. package/template/.codex/skills/yss-db2mybatis/references/type-mapping.json +31 -0
  624. package/template/.codex/skills/yss-db2mybatis/requirements.txt +4 -0
  625. package/template/.codex/skills/yss-db2mybatis/scripts/db2mybatis.py +1494 -0
  626. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +64 -0
  627. package/template/.codex/skills/yss-ddd-scaffold-generator/agents/openai.yaml +5 -0
  628. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/adapter/UserController.java.template +84 -0
  629. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/application/UserConvertor.java.template +21 -0
  630. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/application/UserService.java.template +48 -0
  631. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/application/UserServiceImpl.java.template +87 -0
  632. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/bootstrap/YssDatamiddleApplication.java.template +28 -0
  633. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +37 -0
  634. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/data.sql.template +2 -0
  635. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +15 -0
  636. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/parent-pom.xml.template +84 -0
  637. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/schema.sql.template +27 -0
  638. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/User.java.template +17 -0
  639. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserAddCmd.java.template +27 -0
  640. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserGateway.java.template +54 -0
  641. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserPageQuery.java.template +12 -0
  642. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserUpdateCmd.java.template +21 -0
  643. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserVO.java.template +52 -0
  644. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/AuditableEntity.java.template +25 -0
  645. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/PageUtil.java.template +13 -0
  646. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserGatewayImpl.java.template +85 -0
  647. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserPO.java.template +35 -0
  648. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserPOConvertor.java.template +28 -0
  649. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserRepository.java.template +7 -0
  650. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/YssDataMybatisConfig.java.template +8 -0
  651. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +19 -0
  652. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +43 -0
  653. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +80 -0
  654. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +36 -0
  655. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +34 -0
  656. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +95 -0
  657. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +44 -0
  658. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +1 -0
  659. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +3 -0
  660. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +128 -0
  661. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
  662. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
  663. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +19 -0
  664. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +316 -0
  665. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +188 -0
  666. package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +194 -0
  667. package/template/.codex/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +424 -0
  668. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +199 -0
  669. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +5 -0
  670. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +127 -0
  671. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +5 -0
  672. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +269 -0
  673. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +5 -0
  674. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +191 -0
  675. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +5 -0
  676. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +132 -0
  677. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +5 -0
  678. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +169 -0
  679. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +5 -0
  680. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +470 -0
  681. package/template/.codex/skills/yss-design-system/SKILL.md +89 -0
  682. package/template/.codex/skills/yss-design-system/agents/openai.yaml +5 -0
  683. package/template/.codex/skills/yss-design-system/references/design-system.md +225 -0
  684. package/template/.codex/skills/yss-design-system/scripts/validate-frontmatter.py +50 -0
  685. package/template/.codex/skills/yss-dictionary/SKILL.md +49 -0
  686. package/template/.codex/skills/yss-dictionary/agents/openai.yaml +4 -0
  687. package/template/.codex/skills/yss-dictionary/references/source-index.md +78 -0
  688. package/template/.codex/skills/yss-dir/SKILL.md +48 -0
  689. package/template/.codex/skills/yss-dir/agents/openai.yaml +4 -0
  690. package/template/.codex/skills/yss-dir/references/source-index.md +64 -0
  691. package/template/.codex/skills/yss-distributed-id/SKILL.md +69 -0
  692. package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +5 -0
  693. package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +246 -0
  694. package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +25 -0
  695. package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +36 -0
  696. package/template/.codex/skills/yss-distributed-id/references/README.md +51 -0
  697. package/template/.codex/skills/yss-distributed-id/references/source-index.md +71 -0
  698. package/template/.codex/skills/yss-domain/SKILL.md +52 -0
  699. package/template/.codex/skills/yss-domain/agents/openai.yaml +5 -0
  700. package/template/.codex/skills/yss-domain-modeling/SKILL.md +47 -0
  701. package/template/.codex/skills/yss-domain-modeling/agents/openai.yaml +4 -0
  702. package/template/.codex/skills/yss-domain-modeling/references/handoff-to-implementation.md +56 -0
  703. package/template/.codex/skills/yss-domain-modeling/references/modeling-output-template.md +64 -0
  704. package/template/.codex/skills/yss-domain-modeling/references/modeling-workflow.md +90 -0
  705. package/template/.codex/skills/yss-domain-modeling/references/yss-ddd-rules.md +36 -0
  706. package/template/.codex/skills/yss-dto/SKILL.md +61 -0
  707. package/template/.codex/skills/yss-dto/agents/openai.yaml +5 -0
  708. package/template/.codex/skills/yss-dto/assets/CommandDTO.java +8 -0
  709. package/template/.codex/skills/yss-dto/assets/PageQuery.java +133 -0
  710. package/template/.codex/skills/yss-dto/assets/QueryDTO.java +6 -0
  711. package/template/.codex/skills/yss-dto/assets/Result.java +105 -0
  712. package/template/.codex/skills/yss-dto/references/README.md +60 -0
  713. package/template/.codex/skills/yss-dto/references/source-index.md +50 -0
  714. package/template/.codex/skills/yss-duckdb/SKILL.md +41 -0
  715. package/template/.codex/skills/yss-duckdb/agents/openai.yaml +4 -0
  716. package/template/.codex/skills/yss-duckdb/references/source-index.md +34 -0
  717. package/template/.codex/skills/yss-excel-mvc/SKILL.md +66 -0
  718. package/template/.codex/skills/yss-excel-mvc/agents/openai.yaml +5 -0
  719. package/template/.codex/skills/yss-excel-mvc/assets/ExcelDynamicData.java +66 -0
  720. package/template/.codex/skills/yss-excel-mvc/assets/RequestExcel.java +33 -0
  721. package/template/.codex/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +272 -0
  722. package/template/.codex/skills/yss-excel-mvc/assets/ResponseExcel.java +46 -0
  723. package/template/.codex/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +154 -0
  724. package/template/.codex/skills/yss-excel-mvc/references/README.md +5 -0
  725. package/template/.codex/skills/yss-excel-mvc/references/source-index.md +72 -0
  726. package/template/.codex/skills/yss-exception/SKILL.md +46 -0
  727. package/template/.codex/skills/yss-exception/agents/openai.yaml +4 -0
  728. package/template/.codex/skills/yss-exception/references/source-index.md +32 -0
  729. package/template/.codex/skills/yss-file/SKILL.md +49 -0
  730. package/template/.codex/skills/yss-file/agents/openai.yaml +4 -0
  731. package/template/.codex/skills/yss-file/references/source-index.md +161 -0
  732. package/template/.codex/skills/yss-filerunner/SKILL.md +48 -0
  733. package/template/.codex/skills/yss-filerunner/agents/openai.yaml +4 -0
  734. package/template/.codex/skills/yss-filerunner/references/source-index.md +43 -0
  735. package/template/.codex/skills/yss-formily/SKILL.md +304 -0
  736. package/template/.codex/skills/yss-formily/agents/openai.yaml +5 -0
  737. package/template/.codex/skills/yss-formily/references/examples.md +65 -0
  738. package/template/.codex/skills/yss-formily-schema-generator/SKILL.md +189 -0
  739. package/template/.codex/skills/yss-formily-schema-generator/agents/openai.yaml +5 -0
  740. package/template/.codex/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +111 -0
  741. package/template/.codex/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +1219 -0
  742. package/template/.codex/skills/yss-formily-schema-generator/references/workflow.md +240 -0
  743. package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +69 -0
  744. package/template/.codex/skills/yss-hook/SKILL.md +131 -0
  745. package/template/.codex/skills/yss-hook/agents/openai.yaml +5 -0
  746. package/template/.codex/skills/yss-hook/references/frontend-docs.md +9 -0
  747. package/template/.codex/skills/yss-jdbc/SKILL.md +73 -0
  748. package/template/.codex/skills/yss-jdbc/agents/openai.yaml +5 -0
  749. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +9 -0
  750. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +33 -0
  751. package/template/.codex/skills/yss-jdbc/assets/DsParam.java +19 -0
  752. package/template/.codex/skills/yss-jdbc/assets/JdbcSqlUtil.java +92 -0
  753. package/template/.codex/skills/yss-jdbc/references/README.md +55 -0
  754. package/template/.codex/skills/yss-jdbc/references/source-index.md +31 -0
  755. package/template/.codex/skills/yss-liquibase/SKILL.md +47 -0
  756. package/template/.codex/skills/yss-liquibase/agents/openai.yaml +4 -0
  757. package/template/.codex/skills/yss-liquibase/references/source-index.md +30 -0
  758. package/template/.codex/skills/yss-log/SKILL.md +46 -0
  759. package/template/.codex/skills/yss-log/agents/openai.yaml +4 -0
  760. package/template/.codex/skills/yss-log/references/source-index.md +32 -0
  761. package/template/.codex/skills/yss-mail/SKILL.md +48 -0
  762. package/template/.codex/skills/yss-mail/agents/openai.yaml +4 -0
  763. package/template/.codex/skills/yss-mail/references/source-index.md +32 -0
  764. package/template/.codex/skills/yss-mapper-dynamic/SKILL.md +50 -0
  765. package/template/.codex/skills/yss-mapper-dynamic/agents/openai.yaml +4 -0
  766. package/template/.codex/skills/yss-mapper-dynamic/references/source-index.md +75 -0
  767. package/template/.codex/skills/yss-microapp-commit/SKILL.md +199 -0
  768. package/template/.codex/skills/yss-microapp-commit/agents/openai.yaml +5 -0
  769. package/template/.codex/skills/yss-microapp-commit/references/scope-mapping.md +204 -0
  770. package/template/.codex/skills/yss-mybatis/SKILL.md +71 -0
  771. package/template/.codex/skills/yss-mybatis/agents/openai.yaml +5 -0
  772. package/template/.codex/skills/yss-mybatis/assets/BaseRepository.java +112 -0
  773. package/template/.codex/skills/yss-mybatis/assets/EntityQueryAspect.java +37 -0
  774. package/template/.codex/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +18 -0
  775. package/template/.codex/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +18 -0
  776. package/template/.codex/skills/yss-mybatis/references/README.md +57 -0
  777. package/template/.codex/skills/yss-mybatis/references/source-index.md +91 -0
  778. package/template/.codex/skills/yss-openapi/SKILL.md +124 -0
  779. package/template/.codex/skills/yss-openapi/agents/openai.yaml +4 -0
  780. package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +67 -0
  781. package/template/.codex/skills/yss-openapi-governance/SKILL.md +145 -0
  782. package/template/.codex/skills/yss-openapi-governance/agents/openai.yaml +4 -0
  783. package/template/.codex/skills/yss-page-module-development/SKILL.md +146 -0
  784. package/template/.codex/skills/yss-page-module-development/agents/openai.yaml +5 -0
  785. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +32 -0
  786. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +158 -0
  787. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +188 -0
  788. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
  789. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +76 -0
  790. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/constant.ts +128 -0
  791. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +144 -0
  792. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +141 -0
  793. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/index.vue +175 -0
  794. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/style.less +83 -0
  795. package/template/.codex/skills/yss-page-module-development/references/frontend-docs.md +11 -0
  796. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +220 -0
  797. package/template/.codex/skills/yss-product-lifecycle/agents/openai.yaml +4 -0
  798. package/template/.codex/skills/yss-product-lifecycle/references/artifact-checklist.md +55 -0
  799. package/template/.codex/skills/yss-product-lifecycle/references/stage-routing.md +78 -0
  800. package/template/.codex/skills/yss-product-lifecycle/references/yss-skill-routing.md +56 -0
  801. package/template/.codex/skills/yss-quality/SKILL.md +45 -0
  802. package/template/.codex/skills/yss-quality/agents/openai.yaml +4 -0
  803. package/template/.codex/skills/yss-quality/references/source-index.md +45 -0
  804. package/template/.codex/skills/yss-repository/SKILL.md +54 -0
  805. package/template/.codex/skills/yss-repository/agents/openai.yaml +5 -0
  806. package/template/.codex/skills/yss-resilience4j/SKILL.md +46 -0
  807. package/template/.codex/skills/yss-resilience4j/agents/openai.yaml +4 -0
  808. package/template/.codex/skills/yss-resilience4j/references/source-index.md +31 -0
  809. package/template/.codex/skills/yss-router/SKILL.md +107 -0
  810. package/template/.codex/skills/yss-router/agents/openai.yaml +4 -0
  811. package/template/.codex/skills/yss-router/references/boundaries.md +67 -0
  812. package/template/.codex/skills/yss-security-algorithm/SKILL.md +48 -0
  813. package/template/.codex/skills/yss-security-algorithm/agents/openai.yaml +4 -0
  814. package/template/.codex/skills/yss-security-algorithm/references/source-index.md +33 -0
  815. package/template/.codex/skills/yss-source-index/SKILL.md +56 -0
  816. package/template/.codex/skills/yss-source-index/agents/openai.yaml +4 -0
  817. package/template/.codex/skills/yss-source-index/references/source-location.md +17 -0
  818. package/template/.codex/skills/yss-source-index/references/source-map-config.md +47 -0
  819. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.py +380 -0
  820. package/template/.codex/skills/yss-sql-condition/SKILL.md +58 -0
  821. package/template/.codex/skills/yss-sql-condition/agents/openai.yaml +4 -0
  822. package/template/.codex/skills/yss-sql-condition/references/source-index.md +35 -0
  823. package/template/.codex/skills/yss-sql-tpl/SKILL.md +49 -0
  824. package/template/.codex/skills/yss-sql-tpl/agents/openai.yaml +4 -0
  825. package/template/.codex/skills/yss-sql-tpl/references/source-index.md +75 -0
  826. package/template/.codex/skills/yss-taskflow/SKILL.md +58 -0
  827. package/template/.codex/skills/yss-taskflow/agents/openai.yaml +4 -0
  828. package/template/.codex/skills/yss-taskflow/references/source-index.md +156 -0
  829. package/template/.codex/skills/yss-ui/SKILL.md +332 -0
  830. package/template/.codex/skills/yss-ui/agents/openai.yaml +5 -0
  831. package/template/.codex/skills/yss-ui/assets/demos/button/auth-basic.vue +24 -0
  832. package/template/.codex/skills/yss-ui/assets/demos/button/auth-dropdown.vue +29 -0
  833. package/template/.codex/skills/yss-ui/assets/demos/button/permission.vue +10 -0
  834. package/template/.codex/skills/yss-ui/assets/demos/button/size.vue +12 -0
  835. package/template/.codex/skills/yss-ui/assets/demos/button/states.vue +12 -0
  836. package/template/.codex/skills/yss-ui/assets/demos/card/basic/index.vue +54 -0
  837. package/template/.codex/skills/yss-ui/assets/demos/card/basic/style.less +41 -0
  838. package/template/.codex/skills/yss-ui/assets/demos/card/cover/index.vue +25 -0
  839. package/template/.codex/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +122 -0
  840. package/template/.codex/skills/yss-ui/assets/demos/card/flexible-layout/style.less +191 -0
  841. package/template/.codex/skills/yss-ui/assets/demos/card/header-extra/index.vue +260 -0
  842. package/template/.codex/skills/yss-ui/assets/demos/card/header-extra/style.less +124 -0
  843. package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +61 -0
  844. package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +72 -0
  845. package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +70 -0
  846. package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/style.less +232 -0
  847. package/template/.codex/skills/yss-ui/assets/demos/card/loading/index.vue +20 -0
  848. package/template/.codex/skills/yss-ui/assets/demos/card/meta/index.vue +19 -0
  849. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +44 -0
  850. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +18 -0
  851. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +100 -0
  852. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +51 -0
  853. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +29 -0
  854. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +23 -0
  855. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +35 -0
  856. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +25 -0
  857. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +24 -0
  858. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +7 -0
  859. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +75 -0
  860. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +23 -0
  861. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +42 -0
  862. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +22 -0
  863. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +138 -0
  864. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +42 -0
  865. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +22 -0
  866. package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +134 -0
  867. package/template/.codex/skills/yss-ui/assets/demos/cron/basic/index.vue +54 -0
  868. package/template/.codex/skills/yss-ui/assets/demos/cron/select/index.vue +145 -0
  869. package/template/.codex/skills/yss-ui/assets/demos/echarts/basic.vue +30 -0
  870. package/template/.codex/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +49 -0
  871. package/template/.codex/skills/yss-ui/assets/demos/echarts/candlestick.vue +30 -0
  872. package/template/.codex/skills/yss-ui/assets/demos/echarts/dark.vue +40 -0
  873. package/template/.codex/skills/yss-ui/assets/demos/echarts/expose-methods.vue +97 -0
  874. package/template/.codex/skills/yss-ui/assets/demos/echarts/funnel.vue +42 -0
  875. package/template/.codex/skills/yss-ui/assets/demos/echarts/gauge.vue +25 -0
  876. package/template/.codex/skills/yss-ui/assets/demos/echarts/line.vue +24 -0
  877. package/template/.codex/skills/yss-ui/assets/demos/echarts/mix.vue +33 -0
  878. package/template/.codex/skills/yss-ui/assets/demos/echarts/pie.vue +34 -0
  879. package/template/.codex/skills/yss-ui/assets/demos/echarts/radar.vue +38 -0
  880. package/template/.codex/skills/yss-ui/assets/demos/echarts/ring-segment.vue +77 -0
  881. package/template/.codex/skills/yss-ui/assets/demos/echarts/scatter.vue +23 -0
  882. package/template/.codex/skills/yss-ui/assets/demos/echarts/stacked-area.vue +55 -0
  883. package/template/.codex/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +52 -0
  884. package/template/.codex/skills/yss-ui/assets/demos/echarts/treemap.vue +30 -0
  885. package/template/.codex/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +259 -0
  886. package/template/.codex/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +33 -0
  887. package/template/.codex/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +201 -0
  888. package/template/.codex/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +45 -0
  889. package/template/.codex/skills/yss-ui/assets/demos/edit-table/basic/index.vue +104 -0
  890. package/template/.codex/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +82 -0
  891. package/template/.codex/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +114 -0
  892. package/template/.codex/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +94 -0
  893. package/template/.codex/skills/yss-ui/assets/demos/edit-table/drag/index.vue +125 -0
  894. package/template/.codex/skills/yss-ui/assets/demos/edit-table/filter/index.vue +107 -0
  895. package/template/.codex/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +181 -0
  896. package/template/.codex/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +131 -0
  897. package/template/.codex/skills/yss-ui/assets/demos/edit-table/required/index.vue +95 -0
  898. package/template/.codex/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +220 -0
  899. package/template/.codex/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +165 -0
  900. package/template/.codex/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +184 -0
  901. package/template/.codex/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +107 -0
  902. package/template/.codex/skills/yss-ui/assets/demos/file-import/basic.vue +54 -0
  903. package/template/.codex/skills/yss-ui/assets/demos/file-import/formily.vue +42 -0
  904. package/template/.codex/skills/yss-ui/assets/demos/file-import/multiple.vue +33 -0
  905. package/template/.codex/skills/yss-ui/assets/demos/file-import/result-slot.vue +30 -0
  906. package/template/.codex/skills/yss-ui/assets/demos/formily/actions.vue +61 -0
  907. package/template/.codex/skills/yss-ui/assets/demos/formily/align.vue +56 -0
  908. package/template/.codex/skills/yss-ui/assets/demos/formily/async-validate.vue +69 -0
  909. package/template/.codex/skills/yss-ui/assets/demos/formily/basic.vue +317 -0
  910. package/template/.codex/skills/yss-ui/assets/demos/formily/collapse.vue +104 -0
  911. package/template/.codex/skills/yss-ui/assets/demos/formily/custom-component.vue +75 -0
  912. package/template/.codex/skills/yss-ui/assets/demos/formily/disabled.vue +71 -0
  913. package/template/.codex/skills/yss-ui/assets/demos/formily/dynamic-array.vue +74 -0
  914. package/template/.codex/skills/yss-ui/assets/demos/formily/dynamic.vue +59 -0
  915. package/template/.codex/skills/yss-ui/assets/demos/formily/effects.vue +117 -0
  916. package/template/.codex/skills/yss-ui/assets/demos/formily/events-inline.vue +82 -0
  917. package/template/.codex/skills/yss-ui/assets/demos/formily/events-scope.vue +101 -0
  918. package/template/.codex/skills/yss-ui/assets/demos/formily/grid.vue +71 -0
  919. package/template/.codex/skills/yss-ui/assets/demos/formily/group.vue +102 -0
  920. package/template/.codex/skills/yss-ui/assets/demos/formily/helper-slot.vue +50 -0
  921. package/template/.codex/skills/yss-ui/assets/demos/formily/label-tip.vue +42 -0
  922. package/template/.codex/skills/yss-ui/assets/demos/formily/linkage-multi.vue +127 -0
  923. package/template/.codex/skills/yss-ui/assets/demos/formily/linkage.vue +78 -0
  924. package/template/.codex/skills/yss-ui/assets/demos/formily/modes.vue +72 -0
  925. package/template/.codex/skills/yss-ui/assets/demos/formily/remote-enum.vue +88 -0
  926. package/template/.codex/skills/yss-ui/assets/demos/formily/slot.vue +54 -0
  927. package/template/.codex/skills/yss-ui/assets/demos/formily/steps.vue +135 -0
  928. package/template/.codex/skills/yss-ui/assets/demos/formily/submit-failed.vue +72 -0
  929. package/template/.codex/skills/yss-ui/assets/demos/monaco/basic.vue +40 -0
  930. package/template/.codex/skills/yss-ui/assets/demos/monaco/diff-basic.vue +143 -0
  931. package/template/.codex/skills/yss-ui/assets/demos/monaco/fullscreen.vue +84 -0
  932. package/template/.codex/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +586 -0
  933. package/template/.codex/skills/yss-ui/assets/demos/monaco/log-viewer.vue +260 -0
  934. package/template/.codex/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +199 -0
  935. package/template/.codex/skills/yss-ui/assets/demos/monaco/monaco.vue +66 -0
  936. package/template/.codex/skills/yss-ui/assets/demos/monaco/readonly.vue +20 -0
  937. package/template/.codex/skills/yss-ui/assets/demos/monaco/resizable.vue +22 -0
  938. package/template/.codex/skills/yss-ui/assets/demos/monaco/sql-schema.vue +20 -0
  939. package/template/.codex/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +48 -0
  940. package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +18 -0
  941. package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +60 -0
  942. package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +39 -0
  943. package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +158 -0
  944. package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +88 -0
  945. package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +73 -0
  946. package/template/.codex/skills/yss-ui/assets/demos/table/action/index.vue +83 -0
  947. package/template/.codex/skills/yss-ui/assets/demos/table/action/style.less +3 -0
  948. package/template/.codex/skills/yss-ui/assets/demos/table/action-auth/index.vue +41 -0
  949. package/template/.codex/skills/yss-ui/assets/demos/table/action-slot/index.vue +62 -0
  950. package/template/.codex/skills/yss-ui/assets/demos/table/action-slot/style.less +36 -0
  951. package/template/.codex/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +205 -0
  952. package/template/.codex/skills/yss-ui/assets/demos/table/basic/index.vue +89 -0
  953. package/template/.codex/skills/yss-ui/assets/demos/table/basic/style.less +28 -0
  954. package/template/.codex/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +236 -0
  955. package/template/.codex/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +141 -0
  956. package/template/.codex/skills/yss-ui/assets/demos/table/column-custom-search/style.less +48 -0
  957. package/template/.codex/skills/yss-ui/assets/demos/table/drag/index.vue +42 -0
  958. package/template/.codex/skills/yss-ui/assets/demos/table/expand/action-expand.vue +142 -0
  959. package/template/.codex/skills/yss-ui/assets/demos/table/expand/index.vue +35 -0
  960. package/template/.codex/skills/yss-ui/assets/demos/table/filter-async/index.vue +93 -0
  961. package/template/.codex/skills/yss-ui/assets/demos/table/filter-auto/index.vue +99 -0
  962. package/template/.codex/skills/yss-ui/assets/demos/table/filter-custom/index.vue +72 -0
  963. package/template/.codex/skills/yss-ui/assets/demos/table/filter-local/index.vue +112 -0
  964. package/template/.codex/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +142 -0
  965. package/template/.codex/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +129 -0
  966. package/template/.codex/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +186 -0
  967. package/template/.codex/skills/yss-ui/assets/demos/table/filter-remote/index.vue +73 -0
  968. package/template/.codex/skills/yss-ui/assets/demos/table/group-header/index.vue +86 -0
  969. package/template/.codex/skills/yss-ui/assets/demos/table/group-header/style.less +3 -0
  970. package/template/.codex/skills/yss-ui/assets/demos/table/header-height/index.vue +29 -0
  971. package/template/.codex/skills/yss-ui/assets/demos/table/header-height/style.less +9 -0
  972. package/template/.codex/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +183 -0
  973. package/template/.codex/skills/yss-ui/assets/demos/table/merge-cells/index.vue +17 -0
  974. package/template/.codex/skills/yss-ui/assets/demos/table/merge-cells/style.less +3 -0
  975. package/template/.codex/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +106 -0
  976. package/template/.codex/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +24 -0
  977. package/template/.codex/skills/yss-ui/assets/demos/table/renderers/index.vue +64 -0
  978. package/template/.codex/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +88 -0
  979. package/template/.codex/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +9 -0
  980. package/template/.codex/skills/yss-ui/assets/demos/table/selection-radio/index.vue +57 -0
  981. package/template/.codex/skills/yss-ui/assets/demos/table/selection-radio/style.less +9 -0
  982. package/template/.codex/skills/yss-ui/assets/demos/table/transform/index.vue +32 -0
  983. package/template/.codex/skills/yss-ui/assets/demos/tree/basic-left/index.vue +124 -0
  984. package/template/.codex/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +31 -0
  985. package/template/.codex/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +86 -0
  986. package/template/.codex/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +76 -0
  987. package/template/.codex/skills/yss-ui/assets/demos/tree/resource-list/index.vue +41 -0
  988. package/template/.codex/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +156 -0
  989. package/template/.codex/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +36 -0
  990. package/template/.codex/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +34 -0
  991. package/template/.codex/skills/yss-ui/assets/docs/components/button.md +79 -0
  992. package/template/.codex/skills/yss-ui/assets/docs/components/card.md +162 -0
  993. package/template/.codex/skills/yss-ui/assets/docs/components/conditionBuilder.md +114 -0
  994. package/template/.codex/skills/yss-ui/assets/docs/components/cron.md +77 -0
  995. package/template/.codex/skills/yss-ui/assets/docs/components/echarts.md +110 -0
  996. package/template/.codex/skills/yss-ui/assets/docs/components/editTable.md +212 -0
  997. package/template/.codex/skills/yss-ui/assets/docs/components/fileImport.md +85 -0
  998. package/template/.codex/skills/yss-ui/assets/docs/components/formily.md +370 -0
  999. package/template/.codex/skills/yss-ui/assets/docs/components/monaco.md +369 -0
  1000. package/template/.codex/skills/yss-ui/assets/docs/components/sheet.md +169 -0
  1001. package/template/.codex/skills/yss-ui/assets/docs/components/split-pane.md +45 -0
  1002. package/template/.codex/skills/yss-ui/assets/docs/components/table.md +398 -0
  1003. package/template/.codex/skills/yss-ui/assets/docs/components/tree.md +102 -0
  1004. package/template/.codex/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +166 -0
  1005. package/template/.codex/skills/yss-ui/assets/docs/guide/index.md +132 -0
  1006. package/template/.codex/skills/yss-ui/assets/docs/guide/installation.md +97 -0
  1007. package/template/.codex/skills/yss-ui/assets/docs/guide/jsp.md +227 -0
  1008. package/template/.codex/skills/yss-ui/assets/docs/guide/llms.md +295 -0
  1009. package/template/.codex/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +149 -0
  1010. package/template/.codex/skills/yss-ui/assets/docs/guide/release-workflow.md +251 -0
  1011. package/template/.codex/skills/yss-ui/assets/docs/hooks/use-table-height.md +101 -0
  1012. package/template/.codex/skills/yss-ui/assets/docs/hooks/use-tree-height.md +115 -0
  1013. package/template/.codex/skills/yss-ui/assets/docs/hooks/useFullscreen.md +130 -0
  1014. package/template/.codex/skills/yss-ui/assets/docs/hooks/useLoading.md +97 -0
  1015. package/template/.codex/skills/yss-ui/assets/docs/root/resources.md +18 -0
  1016. package/template/.codex/skills/yss-ui/assets/keyword-index.json +53 -0
  1017. package/template/.codex/skills/yss-ui/assets/keyword-index.md +47 -0
  1018. package/template/.codex/skills/yss-ui/assets/reference-index.json +55 -0
  1019. package/template/.codex/skills/yss-ui/assets/reference-index.md +74 -0
  1020. package/template/.codex/skills/yss-ui/assets/scenario-index.json +50 -0
  1021. package/template/.codex/skills/yss-ui/assets/scenario-index.md +41 -0
  1022. package/template/.codex/skills/yss-ui/references/checklist.md +89 -0
  1023. package/template/.codex/skills/yss-ui/references/frontend-docs.md +11 -0
  1024. package/template/.codex/skills/yss-ui/references/quick-recipes.md +280 -0
  1025. package/template/.codex/skills/yss-up-springboot3/SKILL.md +40 -0
  1026. package/template/.codex/skills/yss-up-springboot3/agents/openai.yaml +4 -0
  1027. package/template/.codex/skills/yss-use-table-height/SKILL.md +340 -0
  1028. package/template/.codex/skills/yss-use-table-height/agents/openai.yaml +5 -0
  1029. package/template/.codex/skills/yss-use-table-height/references/frontend-docs.md +9 -0
  1030. package/template/.codex/skills/yss-use-tree-height/SKILL.md +431 -0
  1031. package/template/.codex/skills/yss-use-tree-height/agents/openai.yaml +5 -0
  1032. package/template/.codex/skills/yss-use-tree-height/references/frontend-docs.md +9 -0
  1033. package/template/.codex/skills/yss-userinfo/SKILL.md +47 -0
  1034. package/template/.codex/skills/yss-userinfo/agents/openai.yaml +4 -0
  1035. package/template/.codex/skills/yss-userinfo/references/source-index.md +32 -0
  1036. package/template/.codex/skills/yss-validation/SKILL.md +54 -0
  1037. package/template/.codex/skills/yss-validation/agents/openai.yaml +4 -0
  1038. package/template/.codex/skills/yss-validation/references/source-index.md +50 -0
  1039. package/template/.codex/skills/yss-valuation/SKILL.md +40 -0
  1040. package/template/.codex/skills/yss-valuation/agents/openai.yaml +4 -0
  1041. package/template/.codex/skills/yss-valuation/references/source-index.md +35 -0
  1042. package/template/.codex/skills/yss-variable/SKILL.md +47 -0
  1043. package/template/.codex/skills/yss-variable/agents/openai.yaml +4 -0
  1044. package/template/.codex/skills/yss-variable/references/source-index.md +58 -0
  1045. package/template/.codex/skills/yss-web-controller/SKILL.md +61 -0
  1046. package/template/.codex/skills/yss-web-controller/agents/openai.yaml +5 -0
  1047. package/template/.codex/skills/yss-web-controller/assets/templates/Controller.java.template +72 -0
  1048. package/template/.codex/skills/yss-web-controller/assets/templates/WebConvertor.java.template +23 -0
  1049. package/template/.codex/skills/yss-web-controller/assets/templates/domain/dto/cmd/AddCmd.java.template +23 -0
  1050. package/template/.codex/skills/yss-web-controller/assets/templates/domain/dto/cmd/UpdateCmd.java.template +23 -0
  1051. package/template/.codex/skills/yss-web-controller/assets/templates/domain/dto/query/PageQuery.java.template +21 -0
  1052. package/template/.codex/skills/yss-web-controller/assets/templates/domain/vo/VO.java.template +20 -0
  1053. package/template/.codex/skills/yss-web-controller/scripts/generate_controller.py +273 -0
  1054. package/template/.hermes/skills/ask-matt/SKILL.md +74 -0
  1055. package/template/.hermes/skills/beautiful-article/README.md +450 -0
  1056. package/template/.hermes/skills/beautiful-article/README.zh-CN.md +450 -0
  1057. package/template/.hermes/skills/beautiful-article/SKILL.md +466 -0
  1058. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
  1059. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
  1060. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
  1061. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
  1062. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
  1063. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
  1064. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
  1065. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
  1066. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
  1067. package/template/.hermes/skills/beautiful-article/manifest.json +15 -0
  1068. package/template/.hermes/skills/beautiful-article/references/article-types/briefing.md +32 -0
  1069. package/template/.hermes/skills/beautiful-article/references/article-types/dialogue.md +30 -0
  1070. package/template/.hermes/skills/beautiful-article/references/article-types/essay.md +31 -0
  1071. package/template/.hermes/skills/beautiful-article/references/article-types/explainer.md +32 -0
  1072. package/template/.hermes/skills/beautiful-article/references/article-types/full-report.md +32 -0
  1073. package/template/.hermes/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
  1074. package/template/.hermes/skills/beautiful-article/references/article-types/longform.md +32 -0
  1075. package/template/.hermes/skills/beautiful-article/references/article-types/review.md +32 -0
  1076. package/template/.hermes/skills/beautiful-article/references/article-types/tutorial.md +30 -0
  1077. package/template/.hermes/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
  1078. package/template/.hermes/skills/beautiful-article/references/article-types.md +42 -0
  1079. package/template/.hermes/skills/beautiful-article/references/asset-policy.md +71 -0
  1080. package/template/.hermes/skills/beautiful-article/references/component-policy.md +103 -0
  1081. package/template/.hermes/skills/beautiful-article/references/cover.md +208 -0
  1082. package/template/.hermes/skills/beautiful-article/references/harness.md +35 -0
  1083. package/template/.hermes/skills/beautiful-article/references/html-output.md +42 -0
  1084. package/template/.hermes/skills/beautiful-article/references/information-density.md +50 -0
  1085. package/template/.hermes/skills/beautiful-article/references/layout.md +46 -0
  1086. package/template/.hermes/skills/beautiful-article/references/pdf-output.md +208 -0
  1087. package/template/.hermes/skills/beautiful-article/references/plan-template.md +109 -0
  1088. package/template/.hermes/skills/beautiful-article/references/raw-policy.md +86 -0
  1089. package/template/.hermes/skills/beautiful-article/references/repair-policy.md +35 -0
  1090. package/template/.hermes/skills/beautiful-article/references/review-checklist.md +133 -0
  1091. package/template/.hermes/skills/beautiful-article/references/scaffold.md +77 -0
  1092. package/template/.hermes/skills/beautiful-article/references/section-build.md +100 -0
  1093. package/template/.hermes/skills/beautiful-article/references/source-to-markdown.md +118 -0
  1094. package/template/.hermes/skills/beautiful-article/references/theme-selection.md +48 -0
  1095. package/template/.hermes/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
  1096. package/template/.hermes/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
  1097. package/template/.hermes/skills/beautiful-article/scripts/scaffold.sh +172 -0
  1098. package/template/.hermes/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
  1099. package/template/.hermes/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
  1100. package/template/.hermes/skills/beautiful-article/theme-profiles/andy.md +57 -0
  1101. package/template/.hermes/skills/beautiful-article/theme-profiles/bayer.md +57 -0
  1102. package/template/.hermes/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
  1103. package/template/.hermes/skills/beautiful-article/theme-profiles/freddie.md +57 -0
  1104. package/template/.hermes/skills/beautiful-article/theme-profiles/fuller.md +56 -0
  1105. package/template/.hermes/skills/beautiful-article/theme-profiles/index.json +112 -0
  1106. package/template/.hermes/skills/beautiful-article/theme-profiles/knuth.md +60 -0
  1107. package/template/.hermes/skills/beautiful-article/theme-profiles/press.md +61 -0
  1108. package/template/.hermes/skills/beautiful-article/theme-profiles/shannon.md +64 -0
  1109. package/template/.hermes/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
  1110. package/template/.hermes/skills/beautiful-article/theme-profiles/tufte.md +64 -0
  1111. package/template/.hermes/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
  1112. package/template/.hermes/skills/code-review/SKILL.md +89 -0
  1113. package/template/.hermes/skills/codebase-design/DEEPENING.md +37 -0
  1114. package/template/.hermes/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  1115. package/template/.hermes/skills/codebase-design/SKILL.md +114 -0
  1116. package/template/.hermes/skills/competitive-intelligence/SKILL.md +94 -0
  1117. package/template/.hermes/skills/diagnosing-bugs/SKILL.md +134 -0
  1118. package/template/.hermes/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  1119. package/template/.hermes/skills/domain-modeling/ADR-FORMAT.md +47 -0
  1120. package/template/.hermes/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  1121. package/template/.hermes/skills/domain-modeling/SKILL.md +74 -0
  1122. package/template/.hermes/skills/excalidraw-diagram-generator/SKILL.md +613 -0
  1123. package/template/.hermes/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
  1124. package/template/.hermes/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
  1125. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
  1126. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
  1127. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
  1128. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
  1129. package/template/.hermes/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
  1130. package/template/.hermes/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
  1131. package/template/.hermes/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
  1132. package/template/.hermes/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
  1133. package/template/.hermes/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
  1134. package/template/.hermes/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
  1135. package/template/.hermes/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
  1136. package/template/.hermes/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
  1137. package/template/.hermes/skills/grill-with-docs/SKILL.md +7 -0
  1138. package/template/.hermes/skills/implement/SKILL.md +15 -0
  1139. package/template/.hermes/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  1140. package/template/.hermes/skills/improve-codebase-architecture/SKILL.md +66 -0
  1141. package/template/.hermes/skills/kb-retriever/README.md +197 -0
  1142. package/template/.hermes/skills/kb-retriever/README.zh-CN.md +197 -0
  1143. package/template/.hermes/skills/kb-retriever/SKILL.md +250 -0
  1144. package/template/.hermes/skills/kb-retriever/manifest.json +15 -0
  1145. package/template/.hermes/skills/kb-retriever/references/excel_analysis.md +129 -0
  1146. package/template/.hermes/skills/kb-retriever/references/excel_reading.md +72 -0
  1147. package/template/.hermes/skills/kb-retriever/references/pdf_reading.md +362 -0
  1148. package/template/.hermes/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
  1149. package/template/.hermes/skills/prototype/LOGIC.md +79 -0
  1150. package/template/.hermes/skills/prototype/SKILL.md +30 -0
  1151. package/template/.hermes/skills/prototype/UI.md +112 -0
  1152. package/template/.hermes/skills/research/SKILL.md +12 -0
  1153. package/template/.hermes/skills/resolving-merge-conflicts/SKILL.md +14 -0
  1154. package/template/.hermes/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  1155. package/template/.hermes/skills/setup-matt-pocock-skills/domain.md +51 -0
  1156. package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  1157. package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  1158. package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  1159. package/template/.hermes/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  1160. package/template/.hermes/skills/tdd/SKILL.md +36 -0
  1161. package/template/.hermes/skills/tdd/mocking.md +59 -0
  1162. package/template/.hermes/skills/tdd/tests.md +77 -0
  1163. package/template/.hermes/skills/to-issues/SKILL.md +84 -0
  1164. package/template/.hermes/skills/to-prd/SKILL.md +75 -0
  1165. package/template/.hermes/skills/triage/AGENT-BRIEF.md +207 -0
  1166. package/template/.hermes/skills/triage/OUT-OF-SCOPE.md +105 -0
  1167. package/template/.hermes/skills/triage/SKILL.md +112 -0
  1168. package/template/.hermes/skills/web-design-engineer/README.md +461 -0
  1169. package/template/.hermes/skills/web-design-engineer/README.zh-CN.md +461 -0
  1170. package/template/.hermes/skills/web-design-engineer/SKILL.md +493 -0
  1171. package/template/.hermes/skills/web-design-engineer/manifest.json +15 -0
  1172. package/template/.hermes/skills/web-design-engineer/references/advanced-patterns.md +521 -0
  1173. package/template/.hermes/skills/web-design-engineer/references/critique-guide.md +226 -0
  1174. package/template/.hermes/skills/web-design-engineer/references/design-directions.md +188 -0
  1175. package/template/.hermes/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
  1176. package/template/.hermes/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
  1177. package/template/.hermes/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
  1178. package/template/.hermes/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
  1179. package/template/.hermes/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
  1180. package/template/.hermes/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
  1181. package/template/.hermes/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
  1182. package/template/.hermes/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
  1183. package/template/.hermes/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
  1184. package/template/.hermes/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
  1185. package/template/.hermes/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
  1186. package/template/.hermes/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
  1187. package/template/.hermes/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
  1188. package/template/.hermes/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
  1189. package/template/.hermes/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
  1190. package/template/.hermes/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
  1191. package/template/.hermes/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
  1192. package/template/.hermes/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
  1193. package/template/.hermes/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
  1194. package/template/.hermes/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
  1195. package/template/.hermes/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
  1196. package/template/.hermes/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
  1197. package/template/.hermes/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
  1198. package/template/.hermes/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
  1199. package/template/.hermes/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
  1200. package/template/.hermes/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
  1201. package/template/.hermes/skills/web-video-presentation/README.md +322 -0
  1202. package/template/.hermes/skills/web-video-presentation/README.zh-CN.md +322 -0
  1203. package/template/.hermes/skills/web-video-presentation/SKILL.md +451 -0
  1204. package/template/.hermes/skills/web-video-presentation/manifest.json +15 -0
  1205. package/template/.hermes/skills/web-video-presentation/references/AUDIO.md +276 -0
  1206. package/template/.hermes/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
  1207. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
  1208. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
  1209. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
  1210. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
  1211. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
  1212. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
  1213. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
  1214. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
  1215. package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
  1216. package/template/.hermes/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
  1217. package/template/.hermes/skills/web-video-presentation/references/RECORDING.md +77 -0
  1218. package/template/.hermes/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
  1219. package/template/.hermes/skills/web-video-presentation/references/THEMES.md +351 -0
  1220. package/template/.hermes/skills/web-video-presentation/scripts/scaffold.sh +245 -0
  1221. package/template/.hermes/skills/web-video-presentation/templates/index.html +12 -0
  1222. package/template/.hermes/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
  1223. package/template/.hermes/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
  1224. package/template/.hermes/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
  1225. package/template/.hermes/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
  1226. package/template/.hermes/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
  1227. package/template/.hermes/skills/web-video-presentation/templates/src/App.tsx +73 -0
  1228. package/template/.hermes/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
  1229. package/template/.hermes/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
  1230. package/template/.hermes/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
  1231. package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
  1232. package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
  1233. package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
  1234. package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
  1235. package/template/.hermes/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
  1236. package/template/.hermes/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
  1237. package/template/.hermes/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
  1238. package/template/.hermes/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
  1239. package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
  1240. package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
  1241. package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
  1242. package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
  1243. package/template/.hermes/skills/web-video-presentation/templates/src/main.tsx +9 -0
  1244. package/template/.hermes/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
  1245. package/template/.hermes/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
  1246. package/template/.hermes/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
  1247. package/template/.hermes/skills/web-video-presentation/templates/src/styles/base.css +415 -0
  1248. package/template/.hermes/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
  1249. package/template/.hermes/skills/web-video-presentation/templates/vite.config.ts +10 -0
  1250. package/template/.hermes/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
  1251. package/template/.hermes/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
  1252. package/template/.hermes/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
  1253. package/template/.hermes/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
  1254. package/template/.hermes/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
  1255. package/template/.hermes/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
  1256. package/template/.hermes/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
  1257. package/template/.hermes/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
  1258. package/template/.hermes/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
  1259. package/template/.hermes/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
  1260. package/template/.hermes/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
  1261. package/template/.hermes/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
  1262. package/template/.hermes/skills/web-video-presentation/themes/dune/theme.json +28 -0
  1263. package/template/.hermes/skills/web-video-presentation/themes/dune/tokens.css +62 -0
  1264. package/template/.hermes/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
  1265. package/template/.hermes/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
  1266. package/template/.hermes/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
  1267. package/template/.hermes/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
  1268. package/template/.hermes/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
  1269. package/template/.hermes/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
  1270. package/template/.hermes/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
  1271. package/template/.hermes/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
  1272. package/template/.hermes/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
  1273. package/template/.hermes/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
  1274. package/template/.hermes/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
  1275. package/template/.hermes/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
  1276. package/template/.hermes/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
  1277. package/template/.hermes/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
  1278. package/template/.hermes/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
  1279. package/template/.hermes/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
  1280. package/template/.hermes/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
  1281. package/template/.hermes/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
  1282. package/template/.hermes/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
  1283. package/template/.hermes/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
  1284. package/template/.hermes/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
  1285. package/template/.hermes/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
  1286. package/template/.hermes/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
  1287. package/template/.hermes/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
  1288. package/template/.hermes/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
  1289. package/template/.hermes/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
  1290. package/template/.hermes/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
  1291. package/template/.hermes/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
  1292. package/template/.hermes/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
  1293. package/template/.hermes/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
  1294. package/template/.hermes/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
  1295. package/template/.hermes/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
  1296. package/template/.pi/skills/ask-matt/SKILL.md +74 -0
  1297. package/template/.pi/skills/beautiful-article/README.md +450 -0
  1298. package/template/.pi/skills/beautiful-article/README.zh-CN.md +450 -0
  1299. package/template/.pi/skills/beautiful-article/SKILL.md +466 -0
  1300. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
  1301. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
  1302. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
  1303. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
  1304. package/template/.pi/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
  1305. package/template/.pi/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
  1306. package/template/.pi/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
  1307. package/template/.pi/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
  1308. package/template/.pi/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
  1309. package/template/.pi/skills/beautiful-article/manifest.json +15 -0
  1310. package/template/.pi/skills/beautiful-article/references/article-types/briefing.md +32 -0
  1311. package/template/.pi/skills/beautiful-article/references/article-types/dialogue.md +30 -0
  1312. package/template/.pi/skills/beautiful-article/references/article-types/essay.md +31 -0
  1313. package/template/.pi/skills/beautiful-article/references/article-types/explainer.md +32 -0
  1314. package/template/.pi/skills/beautiful-article/references/article-types/full-report.md +32 -0
  1315. package/template/.pi/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
  1316. package/template/.pi/skills/beautiful-article/references/article-types/longform.md +32 -0
  1317. package/template/.pi/skills/beautiful-article/references/article-types/review.md +32 -0
  1318. package/template/.pi/skills/beautiful-article/references/article-types/tutorial.md +30 -0
  1319. package/template/.pi/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
  1320. package/template/.pi/skills/beautiful-article/references/article-types.md +42 -0
  1321. package/template/.pi/skills/beautiful-article/references/asset-policy.md +71 -0
  1322. package/template/.pi/skills/beautiful-article/references/component-policy.md +103 -0
  1323. package/template/.pi/skills/beautiful-article/references/cover.md +208 -0
  1324. package/template/.pi/skills/beautiful-article/references/harness.md +35 -0
  1325. package/template/.pi/skills/beautiful-article/references/html-output.md +42 -0
  1326. package/template/.pi/skills/beautiful-article/references/information-density.md +50 -0
  1327. package/template/.pi/skills/beautiful-article/references/layout.md +46 -0
  1328. package/template/.pi/skills/beautiful-article/references/pdf-output.md +208 -0
  1329. package/template/.pi/skills/beautiful-article/references/plan-template.md +109 -0
  1330. package/template/.pi/skills/beautiful-article/references/raw-policy.md +86 -0
  1331. package/template/.pi/skills/beautiful-article/references/repair-policy.md +35 -0
  1332. package/template/.pi/skills/beautiful-article/references/review-checklist.md +133 -0
  1333. package/template/.pi/skills/beautiful-article/references/scaffold.md +77 -0
  1334. package/template/.pi/skills/beautiful-article/references/section-build.md +100 -0
  1335. package/template/.pi/skills/beautiful-article/references/source-to-markdown.md +118 -0
  1336. package/template/.pi/skills/beautiful-article/references/theme-selection.md +48 -0
  1337. package/template/.pi/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
  1338. package/template/.pi/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
  1339. package/template/.pi/skills/beautiful-article/scripts/scaffold.sh +172 -0
  1340. package/template/.pi/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
  1341. package/template/.pi/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
  1342. package/template/.pi/skills/beautiful-article/theme-profiles/andy.md +57 -0
  1343. package/template/.pi/skills/beautiful-article/theme-profiles/bayer.md +57 -0
  1344. package/template/.pi/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
  1345. package/template/.pi/skills/beautiful-article/theme-profiles/freddie.md +57 -0
  1346. package/template/.pi/skills/beautiful-article/theme-profiles/fuller.md +56 -0
  1347. package/template/.pi/skills/beautiful-article/theme-profiles/index.json +112 -0
  1348. package/template/.pi/skills/beautiful-article/theme-profiles/knuth.md +60 -0
  1349. package/template/.pi/skills/beautiful-article/theme-profiles/press.md +61 -0
  1350. package/template/.pi/skills/beautiful-article/theme-profiles/shannon.md +64 -0
  1351. package/template/.pi/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
  1352. package/template/.pi/skills/beautiful-article/theme-profiles/tufte.md +64 -0
  1353. package/template/.pi/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
  1354. package/template/.pi/skills/code-review/SKILL.md +89 -0
  1355. package/template/.pi/skills/codebase-design/DEEPENING.md +37 -0
  1356. package/template/.pi/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  1357. package/template/.pi/skills/codebase-design/SKILL.md +114 -0
  1358. package/template/.pi/skills/competitive-intelligence/SKILL.md +94 -0
  1359. package/template/.pi/skills/diagnosing-bugs/SKILL.md +134 -0
  1360. package/template/.pi/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  1361. package/template/.pi/skills/domain-modeling/ADR-FORMAT.md +47 -0
  1362. package/template/.pi/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  1363. package/template/.pi/skills/domain-modeling/SKILL.md +74 -0
  1364. package/template/.pi/skills/excalidraw-diagram-generator/SKILL.md +613 -0
  1365. package/template/.pi/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
  1366. package/template/.pi/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
  1367. package/template/.pi/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
  1368. package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
  1369. package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
  1370. package/template/.pi/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
  1371. package/template/.pi/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
  1372. package/template/.pi/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
  1373. package/template/.pi/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
  1374. package/template/.pi/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
  1375. package/template/.pi/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
  1376. package/template/.pi/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
  1377. package/template/.pi/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
  1378. package/template/.pi/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
  1379. package/template/.pi/skills/grill-with-docs/SKILL.md +7 -0
  1380. package/template/.pi/skills/implement/SKILL.md +15 -0
  1381. package/template/.pi/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  1382. package/template/.pi/skills/improve-codebase-architecture/SKILL.md +66 -0
  1383. package/template/.pi/skills/kb-retriever/README.md +197 -0
  1384. package/template/.pi/skills/kb-retriever/README.zh-CN.md +197 -0
  1385. package/template/.pi/skills/kb-retriever/SKILL.md +250 -0
  1386. package/template/.pi/skills/kb-retriever/manifest.json +15 -0
  1387. package/template/.pi/skills/kb-retriever/references/excel_analysis.md +129 -0
  1388. package/template/.pi/skills/kb-retriever/references/excel_reading.md +72 -0
  1389. package/template/.pi/skills/kb-retriever/references/pdf_reading.md +362 -0
  1390. package/template/.pi/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
  1391. package/template/.pi/skills/prototype/LOGIC.md +79 -0
  1392. package/template/.pi/skills/prototype/SKILL.md +30 -0
  1393. package/template/.pi/skills/prototype/UI.md +112 -0
  1394. package/template/.pi/skills/research/SKILL.md +12 -0
  1395. package/template/.pi/skills/resolving-merge-conflicts/SKILL.md +14 -0
  1396. package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  1397. package/template/.pi/skills/setup-matt-pocock-skills/domain.md +51 -0
  1398. package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  1399. package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  1400. package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  1401. package/template/.pi/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  1402. package/template/.pi/skills/tdd/SKILL.md +36 -0
  1403. package/template/.pi/skills/tdd/mocking.md +59 -0
  1404. package/template/.pi/skills/tdd/tests.md +77 -0
  1405. package/template/.pi/skills/to-issues/SKILL.md +84 -0
  1406. package/template/.pi/skills/to-prd/SKILL.md +75 -0
  1407. package/template/.pi/skills/triage/AGENT-BRIEF.md +207 -0
  1408. package/template/.pi/skills/triage/OUT-OF-SCOPE.md +105 -0
  1409. package/template/.pi/skills/triage/SKILL.md +112 -0
  1410. package/template/.pi/skills/web-design-engineer/README.md +461 -0
  1411. package/template/.pi/skills/web-design-engineer/README.zh-CN.md +461 -0
  1412. package/template/.pi/skills/web-design-engineer/SKILL.md +493 -0
  1413. package/template/.pi/skills/web-design-engineer/manifest.json +15 -0
  1414. package/template/.pi/skills/web-design-engineer/references/advanced-patterns.md +521 -0
  1415. package/template/.pi/skills/web-design-engineer/references/critique-guide.md +226 -0
  1416. package/template/.pi/skills/web-design-engineer/references/design-directions.md +188 -0
  1417. package/template/.pi/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
  1418. package/template/.pi/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
  1419. package/template/.pi/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
  1420. package/template/.pi/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
  1421. package/template/.pi/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
  1422. package/template/.pi/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
  1423. package/template/.pi/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
  1424. package/template/.pi/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
  1425. package/template/.pi/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
  1426. package/template/.pi/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
  1427. package/template/.pi/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
  1428. package/template/.pi/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
  1429. package/template/.pi/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
  1430. package/template/.pi/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
  1431. package/template/.pi/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
  1432. package/template/.pi/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
  1433. package/template/.pi/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
  1434. package/template/.pi/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
  1435. package/template/.pi/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
  1436. package/template/.pi/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
  1437. package/template/.pi/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
  1438. package/template/.pi/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
  1439. package/template/.pi/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
  1440. package/template/.pi/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
  1441. package/template/.pi/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
  1442. package/template/.pi/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
  1443. package/template/.pi/skills/web-video-presentation/README.md +322 -0
  1444. package/template/.pi/skills/web-video-presentation/README.zh-CN.md +322 -0
  1445. package/template/.pi/skills/web-video-presentation/SKILL.md +451 -0
  1446. package/template/.pi/skills/web-video-presentation/manifest.json +15 -0
  1447. package/template/.pi/skills/web-video-presentation/references/AUDIO.md +276 -0
  1448. package/template/.pi/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
  1449. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
  1450. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
  1451. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
  1452. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
  1453. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
  1454. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
  1455. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
  1456. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
  1457. package/template/.pi/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
  1458. package/template/.pi/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
  1459. package/template/.pi/skills/web-video-presentation/references/RECORDING.md +77 -0
  1460. package/template/.pi/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
  1461. package/template/.pi/skills/web-video-presentation/references/THEMES.md +351 -0
  1462. package/template/.pi/skills/web-video-presentation/scripts/scaffold.sh +245 -0
  1463. package/template/.pi/skills/web-video-presentation/templates/index.html +12 -0
  1464. package/template/.pi/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
  1465. package/template/.pi/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
  1466. package/template/.pi/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
  1467. package/template/.pi/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
  1468. package/template/.pi/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
  1469. package/template/.pi/skills/web-video-presentation/templates/src/App.tsx +73 -0
  1470. package/template/.pi/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
  1471. package/template/.pi/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
  1472. package/template/.pi/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
  1473. package/template/.pi/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
  1474. package/template/.pi/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
  1475. package/template/.pi/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
  1476. package/template/.pi/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
  1477. package/template/.pi/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
  1478. package/template/.pi/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
  1479. package/template/.pi/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
  1480. package/template/.pi/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
  1481. package/template/.pi/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
  1482. package/template/.pi/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
  1483. package/template/.pi/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
  1484. package/template/.pi/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
  1485. package/template/.pi/skills/web-video-presentation/templates/src/main.tsx +9 -0
  1486. package/template/.pi/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
  1487. package/template/.pi/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
  1488. package/template/.pi/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
  1489. package/template/.pi/skills/web-video-presentation/templates/src/styles/base.css +415 -0
  1490. package/template/.pi/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
  1491. package/template/.pi/skills/web-video-presentation/templates/vite.config.ts +10 -0
  1492. package/template/.pi/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
  1493. package/template/.pi/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
  1494. package/template/.pi/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
  1495. package/template/.pi/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
  1496. package/template/.pi/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
  1497. package/template/.pi/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
  1498. package/template/.pi/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
  1499. package/template/.pi/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
  1500. package/template/.pi/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
  1501. package/template/.pi/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
  1502. package/template/.pi/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
  1503. package/template/.pi/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
  1504. package/template/.pi/skills/web-video-presentation/themes/dune/theme.json +28 -0
  1505. package/template/.pi/skills/web-video-presentation/themes/dune/tokens.css +62 -0
  1506. package/template/.pi/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
  1507. package/template/.pi/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
  1508. package/template/.pi/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
  1509. package/template/.pi/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
  1510. package/template/.pi/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
  1511. package/template/.pi/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
  1512. package/template/.pi/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
  1513. package/template/.pi/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
  1514. package/template/.pi/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
  1515. package/template/.pi/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
  1516. package/template/.pi/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
  1517. package/template/.pi/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
  1518. package/template/.pi/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
  1519. package/template/.pi/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
  1520. package/template/.pi/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
  1521. package/template/.pi/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
  1522. package/template/.pi/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
  1523. package/template/.pi/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
  1524. package/template/.pi/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
  1525. package/template/.pi/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
  1526. package/template/.pi/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
  1527. package/template/.pi/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
  1528. package/template/.pi/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
  1529. package/template/.pi/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
  1530. package/template/.pi/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
  1531. package/template/.pi/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
  1532. package/template/.pi/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
  1533. package/template/.pi/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
  1534. package/template/.pi/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
  1535. package/template/.pi/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
  1536. package/template/.pi/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
  1537. package/template/.pi/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
  1538. package/template/.trae/skills/ask-matt/SKILL.md +74 -0
  1539. package/template/.trae/skills/beautiful-article/README.md +450 -0
  1540. package/template/.trae/skills/beautiful-article/README.zh-CN.md +450 -0
  1541. package/template/.trae/skills/beautiful-article/SKILL.md +466 -0
  1542. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
  1543. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
  1544. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
  1545. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
  1546. package/template/.trae/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
  1547. package/template/.trae/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
  1548. package/template/.trae/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
  1549. package/template/.trae/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
  1550. package/template/.trae/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
  1551. package/template/.trae/skills/beautiful-article/manifest.json +15 -0
  1552. package/template/.trae/skills/beautiful-article/references/article-types/briefing.md +32 -0
  1553. package/template/.trae/skills/beautiful-article/references/article-types/dialogue.md +30 -0
  1554. package/template/.trae/skills/beautiful-article/references/article-types/essay.md +31 -0
  1555. package/template/.trae/skills/beautiful-article/references/article-types/explainer.md +32 -0
  1556. package/template/.trae/skills/beautiful-article/references/article-types/full-report.md +32 -0
  1557. package/template/.trae/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
  1558. package/template/.trae/skills/beautiful-article/references/article-types/longform.md +32 -0
  1559. package/template/.trae/skills/beautiful-article/references/article-types/review.md +32 -0
  1560. package/template/.trae/skills/beautiful-article/references/article-types/tutorial.md +30 -0
  1561. package/template/.trae/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
  1562. package/template/.trae/skills/beautiful-article/references/article-types.md +42 -0
  1563. package/template/.trae/skills/beautiful-article/references/asset-policy.md +71 -0
  1564. package/template/.trae/skills/beautiful-article/references/component-policy.md +103 -0
  1565. package/template/.trae/skills/beautiful-article/references/cover.md +208 -0
  1566. package/template/.trae/skills/beautiful-article/references/harness.md +35 -0
  1567. package/template/.trae/skills/beautiful-article/references/html-output.md +42 -0
  1568. package/template/.trae/skills/beautiful-article/references/information-density.md +50 -0
  1569. package/template/.trae/skills/beautiful-article/references/layout.md +46 -0
  1570. package/template/.trae/skills/beautiful-article/references/pdf-output.md +208 -0
  1571. package/template/.trae/skills/beautiful-article/references/plan-template.md +109 -0
  1572. package/template/.trae/skills/beautiful-article/references/raw-policy.md +86 -0
  1573. package/template/.trae/skills/beautiful-article/references/repair-policy.md +35 -0
  1574. package/template/.trae/skills/beautiful-article/references/review-checklist.md +133 -0
  1575. package/template/.trae/skills/beautiful-article/references/scaffold.md +77 -0
  1576. package/template/.trae/skills/beautiful-article/references/section-build.md +100 -0
  1577. package/template/.trae/skills/beautiful-article/references/source-to-markdown.md +118 -0
  1578. package/template/.trae/skills/beautiful-article/references/theme-selection.md +48 -0
  1579. package/template/.trae/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
  1580. package/template/.trae/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
  1581. package/template/.trae/skills/beautiful-article/scripts/scaffold.sh +172 -0
  1582. package/template/.trae/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
  1583. package/template/.trae/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
  1584. package/template/.trae/skills/beautiful-article/theme-profiles/andy.md +57 -0
  1585. package/template/.trae/skills/beautiful-article/theme-profiles/bayer.md +57 -0
  1586. package/template/.trae/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
  1587. package/template/.trae/skills/beautiful-article/theme-profiles/freddie.md +57 -0
  1588. package/template/.trae/skills/beautiful-article/theme-profiles/fuller.md +56 -0
  1589. package/template/.trae/skills/beautiful-article/theme-profiles/index.json +112 -0
  1590. package/template/.trae/skills/beautiful-article/theme-profiles/knuth.md +60 -0
  1591. package/template/.trae/skills/beautiful-article/theme-profiles/press.md +61 -0
  1592. package/template/.trae/skills/beautiful-article/theme-profiles/shannon.md +64 -0
  1593. package/template/.trae/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
  1594. package/template/.trae/skills/beautiful-article/theme-profiles/tufte.md +64 -0
  1595. package/template/.trae/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
  1596. package/template/.trae/skills/code-review/SKILL.md +89 -0
  1597. package/template/.trae/skills/codebase-design/DEEPENING.md +37 -0
  1598. package/template/.trae/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  1599. package/template/.trae/skills/codebase-design/SKILL.md +114 -0
  1600. package/template/.trae/skills/competitive-intelligence/SKILL.md +94 -0
  1601. package/template/.trae/skills/diagnosing-bugs/SKILL.md +134 -0
  1602. package/template/.trae/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  1603. package/template/.trae/skills/domain-modeling/ADR-FORMAT.md +47 -0
  1604. package/template/.trae/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  1605. package/template/.trae/skills/domain-modeling/SKILL.md +74 -0
  1606. package/template/.trae/skills/excalidraw-diagram-generator/SKILL.md +613 -0
  1607. package/template/.trae/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
  1608. package/template/.trae/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
  1609. package/template/.trae/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
  1610. package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
  1611. package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
  1612. package/template/.trae/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
  1613. package/template/.trae/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
  1614. package/template/.trae/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
  1615. package/template/.trae/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
  1616. package/template/.trae/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
  1617. package/template/.trae/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
  1618. package/template/.trae/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
  1619. package/template/.trae/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
  1620. package/template/.trae/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
  1621. package/template/.trae/skills/grill-with-docs/SKILL.md +7 -0
  1622. package/template/.trae/skills/implement/SKILL.md +15 -0
  1623. package/template/.trae/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  1624. package/template/.trae/skills/improve-codebase-architecture/SKILL.md +66 -0
  1625. package/template/.trae/skills/kb-retriever/README.md +197 -0
  1626. package/template/.trae/skills/kb-retriever/README.zh-CN.md +197 -0
  1627. package/template/.trae/skills/kb-retriever/SKILL.md +250 -0
  1628. package/template/.trae/skills/kb-retriever/manifest.json +15 -0
  1629. package/template/.trae/skills/kb-retriever/references/excel_analysis.md +129 -0
  1630. package/template/.trae/skills/kb-retriever/references/excel_reading.md +72 -0
  1631. package/template/.trae/skills/kb-retriever/references/pdf_reading.md +362 -0
  1632. package/template/.trae/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
  1633. package/template/.trae/skills/prototype/LOGIC.md +79 -0
  1634. package/template/.trae/skills/prototype/SKILL.md +30 -0
  1635. package/template/.trae/skills/prototype/UI.md +112 -0
  1636. package/template/.trae/skills/research/SKILL.md +12 -0
  1637. package/template/.trae/skills/resolving-merge-conflicts/SKILL.md +14 -0
  1638. package/template/.trae/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  1639. package/template/.trae/skills/setup-matt-pocock-skills/domain.md +51 -0
  1640. package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  1641. package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  1642. package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  1643. package/template/.trae/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  1644. package/template/.trae/skills/tdd/SKILL.md +36 -0
  1645. package/template/.trae/skills/tdd/mocking.md +59 -0
  1646. package/template/.trae/skills/tdd/tests.md +77 -0
  1647. package/template/.trae/skills/to-issues/SKILL.md +84 -0
  1648. package/template/.trae/skills/to-prd/SKILL.md +75 -0
  1649. package/template/.trae/skills/triage/AGENT-BRIEF.md +207 -0
  1650. package/template/.trae/skills/triage/OUT-OF-SCOPE.md +105 -0
  1651. package/template/.trae/skills/triage/SKILL.md +112 -0
  1652. package/template/.trae/skills/web-design-engineer/README.md +461 -0
  1653. package/template/.trae/skills/web-design-engineer/README.zh-CN.md +461 -0
  1654. package/template/.trae/skills/web-design-engineer/SKILL.md +493 -0
  1655. package/template/.trae/skills/web-design-engineer/manifest.json +15 -0
  1656. package/template/.trae/skills/web-design-engineer/references/advanced-patterns.md +521 -0
  1657. package/template/.trae/skills/web-design-engineer/references/critique-guide.md +226 -0
  1658. package/template/.trae/skills/web-design-engineer/references/design-directions.md +188 -0
  1659. package/template/.trae/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
  1660. package/template/.trae/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
  1661. package/template/.trae/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
  1662. package/template/.trae/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
  1663. package/template/.trae/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
  1664. package/template/.trae/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
  1665. package/template/.trae/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
  1666. package/template/.trae/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
  1667. package/template/.trae/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
  1668. package/template/.trae/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
  1669. package/template/.trae/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
  1670. package/template/.trae/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
  1671. package/template/.trae/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
  1672. package/template/.trae/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
  1673. package/template/.trae/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
  1674. package/template/.trae/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
  1675. package/template/.trae/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
  1676. package/template/.trae/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
  1677. package/template/.trae/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
  1678. package/template/.trae/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
  1679. package/template/.trae/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
  1680. package/template/.trae/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
  1681. package/template/.trae/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
  1682. package/template/.trae/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
  1683. package/template/.trae/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
  1684. package/template/.trae/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
  1685. package/template/.trae/skills/web-video-presentation/README.md +322 -0
  1686. package/template/.trae/skills/web-video-presentation/README.zh-CN.md +322 -0
  1687. package/template/.trae/skills/web-video-presentation/SKILL.md +451 -0
  1688. package/template/.trae/skills/web-video-presentation/manifest.json +15 -0
  1689. package/template/.trae/skills/web-video-presentation/references/AUDIO.md +276 -0
  1690. package/template/.trae/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
  1691. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
  1692. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
  1693. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
  1694. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
  1695. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
  1696. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
  1697. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
  1698. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
  1699. package/template/.trae/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
  1700. package/template/.trae/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
  1701. package/template/.trae/skills/web-video-presentation/references/RECORDING.md +77 -0
  1702. package/template/.trae/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
  1703. package/template/.trae/skills/web-video-presentation/references/THEMES.md +351 -0
  1704. package/template/.trae/skills/web-video-presentation/scripts/scaffold.sh +245 -0
  1705. package/template/.trae/skills/web-video-presentation/templates/index.html +12 -0
  1706. package/template/.trae/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
  1707. package/template/.trae/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
  1708. package/template/.trae/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
  1709. package/template/.trae/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
  1710. package/template/.trae/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
  1711. package/template/.trae/skills/web-video-presentation/templates/src/App.tsx +73 -0
  1712. package/template/.trae/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
  1713. package/template/.trae/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
  1714. package/template/.trae/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
  1715. package/template/.trae/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
  1716. package/template/.trae/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
  1717. package/template/.trae/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
  1718. package/template/.trae/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
  1719. package/template/.trae/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
  1720. package/template/.trae/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
  1721. package/template/.trae/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
  1722. package/template/.trae/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
  1723. package/template/.trae/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
  1724. package/template/.trae/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
  1725. package/template/.trae/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
  1726. package/template/.trae/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
  1727. package/template/.trae/skills/web-video-presentation/templates/src/main.tsx +9 -0
  1728. package/template/.trae/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
  1729. package/template/.trae/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
  1730. package/template/.trae/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
  1731. package/template/.trae/skills/web-video-presentation/templates/src/styles/base.css +415 -0
  1732. package/template/.trae/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
  1733. package/template/.trae/skills/web-video-presentation/templates/vite.config.ts +10 -0
  1734. package/template/.trae/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
  1735. package/template/.trae/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
  1736. package/template/.trae/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
  1737. package/template/.trae/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
  1738. package/template/.trae/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
  1739. package/template/.trae/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
  1740. package/template/.trae/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
  1741. package/template/.trae/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
  1742. package/template/.trae/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
  1743. package/template/.trae/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
  1744. package/template/.trae/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
  1745. package/template/.trae/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
  1746. package/template/.trae/skills/web-video-presentation/themes/dune/theme.json +28 -0
  1747. package/template/.trae/skills/web-video-presentation/themes/dune/tokens.css +62 -0
  1748. package/template/.trae/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
  1749. package/template/.trae/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
  1750. package/template/.trae/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
  1751. package/template/.trae/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
  1752. package/template/.trae/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
  1753. package/template/.trae/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
  1754. package/template/.trae/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
  1755. package/template/.trae/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
  1756. package/template/.trae/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
  1757. package/template/.trae/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
  1758. package/template/.trae/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
  1759. package/template/.trae/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
  1760. package/template/.trae/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
  1761. package/template/.trae/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
  1762. package/template/.trae/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
  1763. package/template/.trae/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
  1764. package/template/.trae/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
  1765. package/template/.trae/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
  1766. package/template/.trae/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
  1767. package/template/.trae/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
  1768. package/template/.trae/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
  1769. package/template/.trae/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
  1770. package/template/.trae/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
  1771. package/template/.trae/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
  1772. package/template/.trae/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
  1773. package/template/.trae/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
  1774. package/template/.trae/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
  1775. package/template/.trae/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
  1776. package/template/.trae/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
  1777. package/template/.trae/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
  1778. package/template/.trae/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
  1779. package/template/.trae/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
  1780. package/template/AGENTS.md +293 -0
  1781. package/template/CONTEXT.md +26 -0
  1782. package/template/README.md +139 -0
  1783. package/template/docs/adr/template.md +39 -0
  1784. package/template/docs/agents/README.md +24 -0
  1785. package/template/docs/agents/domain.md +31 -0
  1786. package/template/docs/agents/gitlab-workflow-skills.md +160 -0
  1787. package/template/docs/agents/issue-tracker.md +81 -0
  1788. package/template/docs/agents/skills-maintenance.md +126 -0
  1789. package/template/docs/agents/triage-labels.md +15 -0
  1790. package/template/docs/api/.gitkeep +0 -0
  1791. package/template/docs/api/specs/.gitkeep +0 -0
  1792. package/template/docs/api/templates/openapi-draft-review-checklist.md +56 -0
  1793. package/template/docs/api/templates/openapi-freeze-record-template.md +60 -0
  1794. package/template/docs/architecture/.gitkeep +0 -0
  1795. package/template/docs/architecture/README.md +108 -0
  1796. package/template/docs/architecture/templates/architecture-deepening-template.md +64 -0
  1797. package/template/docs/architecture/templates/architecture-review-checklist.md +106 -0
  1798. package/template/docs/architecture/templates/business-architecture-template.md +70 -0
  1799. package/template/docs/architecture/templates/data-architecture-template.md +83 -0
  1800. package/template/docs/architecture/templates/engineering-baseline-review-template.md +67 -0
  1801. package/template/docs/architecture/templates/functional-architecture-template.md +71 -0
  1802. package/template/docs/architecture/templates/system-overview-design-template.md +129 -0
  1803. package/template/docs/architecture/templates/tech-design-template.md +129 -0
  1804. package/template/docs/design/README.md +45 -0
  1805. package/template/docs/design/design.md +220 -0
  1806. package/template/docs/design/diagrams/README.md +11 -0
  1807. package/template/docs/design/templates/interaction-spec-template.md +113 -0
  1808. package/template/docs/design/templates/product-overview-design-template.md +98 -0
  1809. package/template/docs/design/templates/prototype-review-checklist.md +63 -0
  1810. package/template/docs/design/templates/state-matrix-template.md +40 -0
  1811. package/template/docs/design/tokens/theme.json +24 -0
  1812. package/template/docs/design/tokens/tokens.compact.json +251 -0
  1813. package/template/docs/design/tokens/tokens.dark.json +251 -0
  1814. package/template/docs/design/tokens/tokens.default.json +251 -0
  1815. package/template/docs/design/tokens/variables.css +441 -0
  1816. package/template/docs/design/tokens/variables.dark.css +220 -0
  1817. package/template/docs/discovery/IDEATION.md +96 -0
  1818. package/template/docs/discovery/README.md +87 -0
  1819. package/template/docs/discovery/reports/.gitkeep +0 -0
  1820. package/template/docs/discovery/reports/competitor-deep-dive/.gitkeep +0 -0
  1821. package/template/docs/discovery/templates/competitive-analysis-template.md +261 -0
  1822. package/template/docs/discovery/templates/competitive-matrix-template.md +28 -0
  1823. package/template/docs/discovery/templates/discovery-template.md +95 -0
  1824. package/template/docs/discovery/templates/market-analysis-template.md +55 -0
  1825. package/template/docs/discovery/templates/user-pain-points-template.md +49 -0
  1826. package/template/docs/implementation/.gitkeep +1 -0
  1827. package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +197 -0
  1828. package/template/docs/process/PDCA-SCRUM.md +186 -0
  1829. package/template/docs/process/harness-automation-candidates.md +46 -0
  1830. package/template/docs/process/harness-executive-blueprint.md +65 -0
  1831. package/template/docs/process/harness-optimization-backlog.md +53 -0
  1832. package/template/docs/process/harness-pilot-retro-metrics.md +64 -0
  1833. package/template/docs/process/harness-pilot-selection.md +52 -0
  1834. package/template/docs/process/harness-process-tailoring.md +49 -0
  1835. package/template/docs/process/harness-work-unit-map.md +33 -0
  1836. package/template/docs/process/implementation-repo-integration.md +100 -0
  1837. package/template/docs/process/lifecycle-artifact-map.md +112 -0
  1838. package/template/docs/process/skill-governance.md +50 -0
  1839. package/template/docs/process/sprint-retros/.gitkeep +0 -0
  1840. package/template/docs/process/sprint-reviews/.gitkeep +0 -0
  1841. package/template/docs/process/templates/daily-standup-template.md +46 -0
  1842. package/template/docs/process/templates/sprint-planning-template.md +59 -0
  1843. package/template/docs/process/templates/sprint-retro-template.md +113 -0
  1844. package/template/docs/process/templates/sprint-review-template.md +53 -0
  1845. package/template/docs/process/templates/stage-checkpoint-template.md +66 -0
  1846. package/template/docs/releases/.gitkeep +1 -0
  1847. package/template/docs/requirements/README.md +83 -0
  1848. package/template/docs/requirements/issues/.gitkeep +1 -0
  1849. package/template/docs/templates/agent-brief-template.md +46 -0
  1850. package/template/docs/templates/architecture-proposal-template.md +18 -0
  1851. package/template/docs/templates/build-architecture-checklist-template.md +69 -0
  1852. package/template/docs/templates/cross-repo-slice-template.md +81 -0
  1853. package/template/docs/templates/implementation-plan-template.md +16 -0
  1854. package/template/docs/templates/implementation-repo-registry-template.md +64 -0
  1855. package/template/docs/templates/implementation-routing-template.md +95 -0
  1856. package/template/docs/templates/openapi-spec-template.yaml +11 -0
  1857. package/template/docs/templates/prd-template.md +93 -0
  1858. package/template/docs/templates/release-note-template.md +14 -0
  1859. package/template/docs/templates/requirement-freeze-template.md +62 -0
  1860. package/template/docs/templates/retro-report-template.md +16 -0
  1861. package/template/docs/templates/review-report-template.md +16 -0
  1862. package/template/docs/templates/risk-register-template.md +11 -0
  1863. package/template/docs/templates/spec-delta-template.md +69 -0
  1864. package/template/docs/templates/user-story-template.md +20 -0
  1865. package/template/docs/templates/verification-record-template.md +53 -0
  1866. package/template/docs/templates/vertical-slice-issue-template.md +61 -0
  1867. package/template/docs/testing/README.md +110 -0
  1868. package/template/docs/user-guide/README.md +31 -0
  1869. package/template/docs/user-guide/create-yss-spec-cli-guide.md +194 -0
  1870. package/template/docs/user-guide/excalidraw-diagram-generator-guide.md +143 -0
  1871. package/template/docs/user-guide/grill-with-docs-best-practices.md +275 -0
  1872. package/template/docs/user-guide/grill-with-docs-guide.md +229 -0
  1873. package/template/docs/user-guide/lifecycle-best-practices.md +576 -0
  1874. package/template/docs/user-guide/product-lifecycle-workflow.md +222 -0
  1875. package/template/docs/user-guide/product-rd-lifecycle-best-practices.md +1082 -0
  1876. package/template/docs/user-guide/templates/user-guide-template.md +53 -0
  1877. package/template/scripts/gitworks +164 -0
  1878. package/template/scripts/verify-template +204 -0
  1879. package/template/skills-lock.json +71 -0
  1880. package/template.manifest.json +41 -0
@@ -0,0 +1,1494 @@
1
+ #!/usr/bin/env python3
2
+ import argparse
3
+ import json
4
+ import re
5
+ import sys
6
+ from pathlib import Path
7
+ from typing import Dict, List
8
+
9
+ import tempfile
10
+
11
+ DEFAULT_AUDIT_COLUMNS = {"created_by", "created_date", "last_modified_by", "last_modified_date"}
12
+ DEFAULT_LOGIC_DELETE_FIELDS = ["deleted", "is_deleted"]
13
+ JAVA_IMPORTS = {
14
+ "BigDecimal": "import java.math.BigDecimal;",
15
+ "LocalDateTime": "import java.time.LocalDateTime;",
16
+ "LocalDate": "import java.time.LocalDate;",
17
+ "LocalTime": "import java.time.LocalTime;",
18
+ }
19
+
20
+
21
+ class SkillError(RuntimeError):
22
+ pass
23
+
24
+
25
+ def log(message: str, verbose: bool = False):
26
+ if verbose:
27
+ print(f"[INFO] {message}")
28
+
29
+
30
+ def read_text(path: str) -> str:
31
+ return Path(path).read_text(encoding="utf-8")
32
+
33
+
34
+ def write_text(path: str, content: str):
35
+ p = Path(path)
36
+ p.parent.mkdir(parents=True, exist_ok=True)
37
+ p.write_text(content, encoding="utf-8")
38
+
39
+
40
+ def load_json(path: str) -> Dict:
41
+ return json.loads(read_text(path))
42
+
43
+
44
+ def to_pascal_case(name: str) -> str:
45
+ return "".join(part.capitalize() for part in re.split(r"[_\-\s]+", name) if part)
46
+
47
+
48
+ def to_camel_case(name: str) -> str:
49
+ pascal = to_pascal_case(name)
50
+ return pascal[:1].lower() + pascal[1:] if pascal else pascal
51
+
52
+
53
+ def lower_first(name: str) -> str:
54
+ return name[:1].lower() + name[1:] if name else name
55
+
56
+
57
+ def upper_first(name: str) -> str:
58
+ return name[:1].upper() + name[1:] if name else name
59
+
60
+
61
+ def normalize_sql_type(sql_type: str) -> str:
62
+ if not sql_type:
63
+ return ""
64
+ t = sql_type.strip().lower()
65
+ t = re.sub(r"\(.*\)", "", t)
66
+ t = re.sub(r"\s+", " ", t)
67
+ return t
68
+
69
+
70
+ def strip_sql_type(sql_type: str) -> str:
71
+ normalized = normalize_sql_type(sql_type)
72
+ return normalized.split()[0] if normalized else ""
73
+
74
+
75
+ def fill_template(template: str, values: Dict[str, str]) -> str:
76
+ content = template
77
+ for key, value in values.items():
78
+ content = content.replace("${" + key + "}", value)
79
+ return content
80
+
81
+
82
+ def default_path(skill_root: str, rel: str) -> str:
83
+ return str((Path(skill_root) / rel).resolve())
84
+
85
+
86
+ def normalize_tables(tables: str):
87
+ if not tables:
88
+ return None
89
+ return [x.strip() for x in tables.split(",") if x.strip()]
90
+
91
+
92
+ def apply_table_regex_filters(tables: List[Dict], include_regex: str, exclude_regex: str) -> List[Dict]:
93
+ include_re = re.compile(include_regex) if include_regex else None
94
+ exclude_re = re.compile(exclude_regex) if exclude_regex else None
95
+
96
+ filtered = []
97
+ for table in tables:
98
+ name = table.get("table_name", "")
99
+ if include_re and not include_re.search(name):
100
+ continue
101
+ if exclude_re and exclude_re.search(name):
102
+ continue
103
+ filtered.append(table)
104
+ return filtered
105
+
106
+
107
+ def unquote_identifier(value: str) -> str:
108
+ v = value.strip()
109
+ if (v.startswith("`") and v.endswith("`")) or (v.startswith('"') and v.endswith('"')):
110
+ v = v[1:-1]
111
+ if "." in v:
112
+ v = v.split(".")[-1]
113
+ return v
114
+
115
+
116
+ def split_top_level(text: str, delimiter: str = ",") -> List[str]:
117
+ parts = []
118
+ buf = []
119
+ depth = 0
120
+ quote = ""
121
+ i = 0
122
+ while i < len(text):
123
+ ch = text[i]
124
+ if quote:
125
+ buf.append(ch)
126
+ if ch == quote and (i == 0 or text[i - 1] != "\\"):
127
+ quote = ""
128
+ else:
129
+ if ch in ("'", '"', "`"):
130
+ quote = ch
131
+ buf.append(ch)
132
+ elif ch == "(":
133
+ depth += 1
134
+ buf.append(ch)
135
+ elif ch == ")":
136
+ depth = max(0, depth - 1)
137
+ buf.append(ch)
138
+ elif ch == delimiter and depth == 0:
139
+ part = "".join(buf).strip()
140
+ if part:
141
+ parts.append(part)
142
+ buf = []
143
+ else:
144
+ buf.append(ch)
145
+ i += 1
146
+ tail = "".join(buf).strip()
147
+ if tail:
148
+ parts.append(tail)
149
+ return parts
150
+
151
+
152
+ def parse_sql_type(definition: str) -> str:
153
+ lower_def = definition.lower()
154
+ keywords = [
155
+ r"\bnot\s+null\b",
156
+ r"\bnull\b",
157
+ r"\bdefault\b",
158
+ r"\bcomment\b",
159
+ r"\bprimary\s+key\b",
160
+ r"\bauto_increment\b",
161
+ r"\bgenerated\b",
162
+ r"\bunique\b",
163
+ r"\breferences\b",
164
+ r"\bconstraint\b",
165
+ r"\bcheck\b",
166
+ ]
167
+ pos = len(definition)
168
+ for pattern in keywords:
169
+ m = re.search(pattern, lower_def, re.IGNORECASE)
170
+ if m:
171
+ pos = min(pos, m.start())
172
+ return definition[:pos].strip()
173
+
174
+
175
+ def parse_ddl_table(ddl_stmt: str) -> Dict:
176
+ m = re.search(r"create\s+table\s+(?:if\s+not\s+exists\s+)?([`\".\w]+)", ddl_stmt, re.IGNORECASE)
177
+ if not m:
178
+ raise SkillError("DDL 解析失败:未识别 CREATE TABLE 语句")
179
+ table_name = unquote_identifier(m.group(1))
180
+
181
+ left = ddl_stmt.find("(", m.end())
182
+ if left < 0:
183
+ raise SkillError(f"DDL 解析失败:表 {table_name} 缺少字段定义")
184
+
185
+ depth = 1
186
+ quote = ""
187
+ right = -1
188
+ i = left + 1
189
+ while i < len(ddl_stmt):
190
+ ch = ddl_stmt[i]
191
+ if quote:
192
+ if ch == quote and ddl_stmt[i - 1] != "\\":
193
+ quote = ""
194
+ else:
195
+ if ch in ("'", '"', "`"):
196
+ quote = ch
197
+ elif ch == "(":
198
+ depth += 1
199
+ elif ch == ")":
200
+ depth -= 1
201
+ if depth == 0:
202
+ right = i
203
+ break
204
+ i += 1
205
+ if right < 0:
206
+ raise SkillError(f"DDL 解析失败:表 {table_name} 字段括号未闭合")
207
+
208
+ body = ddl_stmt[left + 1:right]
209
+ tail = ddl_stmt[right + 1:]
210
+ table_comment = ""
211
+ cm = re.search(r"comment\s*=\s*'([^']*)'", tail, re.IGNORECASE)
212
+ if cm:
213
+ table_comment = cm.group(1)
214
+
215
+ columns = []
216
+ primary_keys = []
217
+ for item in split_top_level(body):
218
+ s = item.strip().rstrip(",")
219
+ lower_s = s.lower()
220
+ if not s:
221
+ continue
222
+
223
+ if lower_s.startswith("primary key") or ("constraint" in lower_s and "primary key" in lower_s):
224
+ pm = re.search(r"\((.*?)\)", s, re.IGNORECASE | re.DOTALL)
225
+ if pm:
226
+ for c in split_top_level(pm.group(1)):
227
+ primary_keys.append(unquote_identifier(c))
228
+ continue
229
+
230
+ if lower_s.startswith("key ") or lower_s.startswith("index ") or lower_s.startswith("unique key") \
231
+ or lower_s.startswith("unique index") or lower_s.startswith("constraint") \
232
+ or lower_s.startswith("foreign key"):
233
+ continue
234
+
235
+ cm = re.match(r"^\s*([`\".\w]+)\s+(.+)$", s, re.DOTALL)
236
+ if not cm:
237
+ continue
238
+ col_name = unquote_identifier(cm.group(1))
239
+ col_def = cm.group(2).strip()
240
+ sql_type = parse_sql_type(col_def)
241
+ lower_def = col_def.lower()
242
+ nullable = not bool(re.search(r"\bnot\s+null\b", lower_def))
243
+ primary_inline = bool(re.search(r"\bprimary\s+key\b", lower_def))
244
+ auto_increment = bool(re.search(r"\bauto_increment\b", lower_def) or re.search(r"\bidentity\b", lower_def))
245
+ comment = ""
246
+ comment_m = re.search(r"comment\s+'([^']*)'", col_def, re.IGNORECASE)
247
+ if comment_m:
248
+ comment = comment_m.group(1)
249
+
250
+ columns.append({
251
+ "name": col_name,
252
+ "sql_type": sql_type,
253
+ "nullable": nullable,
254
+ "primary": primary_inline,
255
+ "auto_increment": auto_increment,
256
+ "comment": comment,
257
+ })
258
+ if primary_inline and col_name not in primary_keys:
259
+ primary_keys.append(col_name)
260
+
261
+ pk_set = set(primary_keys)
262
+ for col in columns:
263
+ if col["name"] in pk_set:
264
+ col["primary"] = True
265
+ col["nullable"] = False
266
+
267
+ return {
268
+ "table_name": table_name,
269
+ "table_comment": table_comment or table_name,
270
+ "primary_keys": primary_keys,
271
+ "columns": columns,
272
+ "indexes": [],
273
+ "foreign_keys": [],
274
+ }
275
+
276
+
277
+ def metadata_from_ddl(ddl_text: str, db_type: str = "mysql", database: str = "ddl", schema: str = None) -> Dict:
278
+ tables = []
279
+ pos = 0
280
+ pattern = re.compile(r"\bcreate\s+table\b", re.IGNORECASE)
281
+ while True:
282
+ m = pattern.search(ddl_text, pos)
283
+ if not m:
284
+ break
285
+ start = m.start()
286
+ next_m = pattern.search(ddl_text, m.end())
287
+ end = next_m.start() if next_m else len(ddl_text)
288
+ stmt = ddl_text[start:end].strip()
289
+ if stmt:
290
+ tables.append(parse_ddl_table(stmt))
291
+ pos = end
292
+
293
+ return {
294
+ "db_type": db_type,
295
+ "database": database,
296
+ "schema": schema or database,
297
+ "tables": tables,
298
+ }
299
+
300
+
301
+ def read_ddl_input(args) -> str:
302
+ if args.ddl_file and args.ddl_sql:
303
+ raise SkillError("不能同时使用 --ddl-file 和 --ddl-sql")
304
+ if args.ddl_file:
305
+ return read_text(args.ddl_file)
306
+ if args.ddl_sql:
307
+ return args.ddl_sql
308
+ raise SkillError("请提供 --ddl-file 或 --ddl-sql")
309
+
310
+
311
+ def resolve_java_type(sql_type: str, mapping: Dict[str, str]) -> str:
312
+ normalized = normalize_sql_type(sql_type)
313
+ base = strip_sql_type(sql_type)
314
+ if normalized in mapping:
315
+ return mapping[normalized]
316
+ if base in mapping:
317
+ return mapping[base]
318
+ return "String"
319
+
320
+
321
+ def infer_domain_name(table_name: str, table_prefix: str) -> str:
322
+ name = table_name
323
+ if table_prefix and table_name.startswith(table_prefix):
324
+ name = table_name[len(table_prefix):]
325
+ return to_pascal_case(name)
326
+
327
+
328
+ def merge_datasource_args(args):
329
+ if not args.datasource_config:
330
+ return args
331
+ cfg = load_json(args.datasource_config)
332
+ dss = cfg.get("datasources") or {}
333
+ if not args.datasource_name:
334
+ raise SkillError("使用 --datasource-config 时必须传 --datasource-name")
335
+
336
+ # 优先从 datasources 键下获取,如果没找到,尝试直接从根对象获取
337
+ ds = dss.get(args.datasource_name)
338
+ if not ds:
339
+ ds = cfg.get(args.datasource_name)
340
+
341
+ if not ds:
342
+ raise SkillError(f"datasource 未找到: {args.datasource_name}")
343
+
344
+ for key in ["db_type", "host", "port", "user", "password", "database", "schema"]:
345
+ if getattr(args, key, None) in (None, "") and ds.get(key) not in (None, ""):
346
+ setattr(args, key, ds.get(key))
347
+ return args
348
+
349
+
350
+ def require_conn_args(args):
351
+ if not args.db_type:
352
+ raise SkillError("缺少 --db-type")
353
+ missing = [k for k in ["host", "port", "user", "password", "database"] if not getattr(args, k, None)]
354
+ if missing:
355
+ raise SkillError("缺少连接参数: " + ", ".join(missing))
356
+
357
+
358
+ def mysql_metadata(args, db_type="mysql"):
359
+ try:
360
+ import pymysql
361
+ except ImportError as e:
362
+ raise SkillError(f"{db_type} 需要安装 pymysql: pip install pymysql") from e
363
+
364
+ try:
365
+ conn = pymysql.connect(
366
+ host=args.host,
367
+ port=int(args.port),
368
+ user=args.user,
369
+ password=args.password,
370
+ database=args.database,
371
+ charset="utf8mb4",
372
+ cursorclass=pymysql.cursors.DictCursor,
373
+ )
374
+ except pymysql.MySQLError as e:
375
+ raise SkillError(f"数据库连接失败: {str(e)}\n\n排查建议:\n 1. 检查数据库服务是否启动\n 2. 检查主机地址和端口是否正确\n 3. 检查用户名和密码是否正确\n 4. 检查数据库名是否正确\n 5. 检查网络连接是否正常\n") from e
376
+
377
+ wanted = normalize_tables(args.tables)
378
+ tables = []
379
+ try:
380
+ with conn.cursor() as cursor:
381
+ if wanted:
382
+ placeholders = ",".join(["%s"] * len(wanted))
383
+ cursor.execute(
384
+ f"""
385
+ SELECT TABLE_NAME, TABLE_COMMENT
386
+ FROM information_schema.tables
387
+ WHERE table_schema=%s AND table_type='BASE TABLE' AND table_name IN ({placeholders})
388
+ ORDER BY table_name
389
+ """,
390
+ [args.database] + wanted,
391
+ )
392
+ else:
393
+ cursor.execute(
394
+ """
395
+ SELECT TABLE_NAME, TABLE_COMMENT
396
+ FROM information_schema.tables
397
+ WHERE table_schema=%s AND table_type='BASE TABLE'
398
+ ORDER BY table_name
399
+ """,
400
+ [args.database],
401
+ )
402
+ table_rows = cursor.fetchall()
403
+
404
+ for row in table_rows:
405
+ table_name = row["TABLE_NAME"]
406
+ cursor.execute(
407
+ """
408
+ SELECT COLUMN_NAME, DATA_TYPE, COLUMN_TYPE, IS_NULLABLE,
409
+ COLUMN_KEY, EXTRA, COLUMN_COMMENT
410
+ FROM information_schema.columns
411
+ WHERE table_schema=%s AND table_name=%s
412
+ ORDER BY ORDINAL_POSITION
413
+ """,
414
+ [args.database, table_name],
415
+ )
416
+ cols = cursor.fetchall()
417
+ pks = []
418
+ columns = []
419
+ for col in cols:
420
+ is_pk = col["COLUMN_KEY"] == "PRI"
421
+ if is_pk:
422
+ pks.append(col["COLUMN_NAME"])
423
+ columns.append(
424
+ {
425
+ "name": col["COLUMN_NAME"],
426
+ "sql_type": col["COLUMN_TYPE"] or col["DATA_TYPE"],
427
+ "nullable": col["IS_NULLABLE"] == "YES",
428
+ "primary": is_pk,
429
+ "auto_increment": "auto_increment" in (col.get("EXTRA") or "").lower(),
430
+ "comment": col.get("COLUMN_COMMENT") or "",
431
+ }
432
+ )
433
+
434
+ cursor.execute(
435
+ """
436
+ SELECT
437
+ INDEX_NAME AS index_name,
438
+ COLUMN_NAME AS column_name,
439
+ NON_UNIQUE = 0 AS is_unique,
440
+ INDEX_NAME = 'PRIMARY' AS is_primary
441
+ FROM information_schema.STATISTICS
442
+ WHERE TABLE_SCHEMA = %s AND TABLE_NAME = %s
443
+ ORDER BY INDEX_NAME, SEQ_IN_INDEX
444
+ """,
445
+ [args.database, table_name],
446
+ )
447
+ index_rows = cursor.fetchall()
448
+ indexes = {}
449
+ for idx_row in index_rows:
450
+ idx_name = idx_row["index_name"]
451
+ if idx_name not in indexes:
452
+ indexes[idx_name] = {
453
+ "name": idx_name,
454
+ "columns": [],
455
+ "unique": idx_row["is_unique"],
456
+ "primary": idx_row["is_primary"]
457
+ }
458
+ indexes[idx_name]["columns"].append(idx_row["column_name"])
459
+
460
+ cursor.execute(
461
+ """
462
+ SELECT
463
+ CONSTRAINT_NAME AS fk_name,
464
+ COLUMN_NAME AS column_name,
465
+ REFERENCED_TABLE_NAME AS referenced_table,
466
+ REFERENCED_COLUMN_NAME AS referenced_column
467
+ FROM information_schema.KEY_COLUMN_USAGE
468
+ WHERE TABLE_SCHEMA = %s
469
+ AND TABLE_NAME = %s
470
+ AND REFERENCED_TABLE_NAME IS NOT NULL
471
+ ORDER BY CONSTRAINT_NAME, ORDINAL_POSITION
472
+ """,
473
+ [args.database, table_name],
474
+ )
475
+ fk_rows = cursor.fetchall()
476
+ foreign_keys = {}
477
+ for fk_row in fk_rows:
478
+ fk_name = fk_row["fk_name"]
479
+ if fk_name not in foreign_keys:
480
+ foreign_keys[fk_name] = {
481
+ "name": fk_name,
482
+ "columns": [],
483
+ "referenced_table": fk_row["referenced_table"],
484
+ "referenced_columns": []
485
+ }
486
+ foreign_keys[fk_name]["columns"].append(fk_row["column_name"])
487
+ foreign_keys[fk_name]["referenced_columns"].append(fk_row["referenced_column"])
488
+
489
+ tables.append(
490
+ {
491
+ "table_name": table_name,
492
+ "table_comment": row.get("TABLE_COMMENT") or table_name,
493
+ "primary_keys": pks,
494
+ "columns": columns,
495
+ "indexes": list(indexes.values()),
496
+ "foreign_keys": list(foreign_keys.values()),
497
+ }
498
+ )
499
+ finally:
500
+ conn.close()
501
+
502
+ return {"db_type": db_type, "database": args.database, "schema": args.database, "tables": tables}
503
+
504
+
505
+ def postgres_metadata(args, db_type="postgres"):
506
+ try:
507
+ import psycopg2
508
+ import psycopg2.extras
509
+ except ImportError as e:
510
+ raise SkillError(f"{db_type} 需要安装 psycopg2-binary: pip install psycopg2-binary") from e
511
+
512
+ schema = args.schema or "public"
513
+ conn = psycopg2.connect(
514
+ host=args.host,
515
+ port=int(args.port),
516
+ user=args.user,
517
+ password=args.password,
518
+ dbname=args.database,
519
+ )
520
+ wanted = normalize_tables(args.tables)
521
+ tables = []
522
+ try:
523
+ with conn.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
524
+ if wanted:
525
+ cursor.execute(
526
+ """
527
+ SELECT t.table_name, pgd.description AS table_comment
528
+ FROM information_schema.tables t
529
+ LEFT JOIN pg_catalog.pg_statio_all_tables st
530
+ ON st.schemaname = t.table_schema
531
+ AND st.relname = t.table_name
532
+ LEFT JOIN pg_catalog.pg_description pgd
533
+ ON pgd.objoid = st.relid
534
+ AND pgd.objsubid = 0
535
+ WHERE t.table_schema=%s AND t.table_type='BASE TABLE' AND t.table_name = ANY(%s)
536
+ ORDER BY t.table_name
537
+ """,
538
+ [schema, wanted],
539
+ )
540
+ else:
541
+ cursor.execute(
542
+ """
543
+ SELECT t.table_name, pgd.description AS table_comment
544
+ FROM information_schema.tables t
545
+ LEFT JOIN pg_catalog.pg_statio_all_tables st
546
+ ON st.schemaname = t.table_schema
547
+ AND st.relname = t.table_name
548
+ LEFT JOIN pg_catalog.pg_description pgd
549
+ ON pgd.objoid = st.relid
550
+ AND pgd.objsubid = 0
551
+ WHERE t.table_schema=%s AND t.table_type='BASE TABLE'
552
+ ORDER BY t.table_name
553
+ """,
554
+ [schema],
555
+ )
556
+ table_rows = cursor.fetchall()
557
+
558
+ for row in table_rows:
559
+ table_name = row["table_name"]
560
+ table_comment = row.get("table_comment") or table_name
561
+ cursor.execute(
562
+ """
563
+ SELECT c.column_name,
564
+ c.data_type,
565
+ c.udt_name,
566
+ c.is_nullable,
567
+ pgd.description AS column_comment
568
+ FROM information_schema.columns c
569
+ LEFT JOIN pg_catalog.pg_statio_all_tables st
570
+ ON st.schemaname = c.table_schema
571
+ AND st.relname = c.table_name
572
+ LEFT JOIN pg_catalog.pg_description pgd
573
+ ON pgd.objoid = st.relid
574
+ AND pgd.objsubid = c.ordinal_position
575
+ WHERE c.table_schema=%s AND c.table_name=%s
576
+ ORDER BY c.ordinal_position
577
+ """,
578
+ [schema, table_name],
579
+ )
580
+ col_rows = cursor.fetchall()
581
+
582
+ cursor.execute(
583
+ """
584
+ SELECT kcu.column_name
585
+ FROM information_schema.table_constraints tc
586
+ JOIN information_schema.key_column_usage kcu
587
+ ON tc.constraint_name = kcu.constraint_name
588
+ AND tc.table_schema = kcu.table_schema
589
+ AND tc.table_name = kcu.table_name
590
+ WHERE tc.table_schema=%s AND tc.table_name=%s AND tc.constraint_type='PRIMARY KEY'
591
+ ORDER BY kcu.ordinal_position
592
+ """,
593
+ [schema, table_name],
594
+ )
595
+ pk_rows = cursor.fetchall()
596
+ pks = [x["column_name"] for x in pk_rows]
597
+ pk_set = set(pks)
598
+
599
+ cursor.execute(
600
+ """
601
+ SELECT
602
+ ic.relname AS index_name,
603
+ a.attname AS column_name,
604
+ idx.indisunique AS is_unique,
605
+ idx.indisprimary AS is_primary
606
+ FROM pg_index idx
607
+ JOIN pg_class ic ON idx.indexrelid = ic.oid
608
+ JOIN pg_class t ON idx.indrelid = t.oid
609
+ JOIN pg_namespace n ON t.relnamespace = n.oid
610
+ JOIN pg_attribute a ON a.attrelid = t.oid AND a.attnum = ANY(idx.indkey)
611
+ WHERE n.nspname = %s AND t.relname = %s
612
+ ORDER BY ic.relname, a.attnum
613
+ """,
614
+ [schema, table_name],
615
+ )
616
+ index_rows = cursor.fetchall()
617
+ indexes = {}
618
+ for idx_row in index_rows:
619
+ idx_name = idx_row["index_name"]
620
+ if idx_name not in indexes:
621
+ indexes[idx_name] = {
622
+ "name": idx_name,
623
+ "columns": [],
624
+ "unique": idx_row["is_unique"],
625
+ "primary": idx_row["is_primary"]
626
+ }
627
+ indexes[idx_name]["columns"].append(idx_row["column_name"])
628
+
629
+ cursor.execute(
630
+ """
631
+ SELECT
632
+ tc.constraint_name AS fk_name,
633
+ kcu.column_name AS column_name,
634
+ ccu.table_name AS referenced_table,
635
+ ccu.column_name AS referenced_column
636
+ FROM information_schema.table_constraints tc
637
+ JOIN information_schema.key_column_usage kcu
638
+ ON tc.constraint_name = kcu.constraint_name
639
+ JOIN information_schema.constraint_column_usage ccu
640
+ ON ccu.constraint_name = tc.constraint_name
641
+ WHERE tc.table_schema = %s
642
+ AND tc.table_name = %s
643
+ AND tc.constraint_type = 'FOREIGN KEY'
644
+ ORDER BY tc.constraint_name, kcu.ordinal_position
645
+ """,
646
+ [schema, table_name],
647
+ )
648
+ fk_rows = cursor.fetchall()
649
+ foreign_keys = {}
650
+ for fk_row in fk_rows:
651
+ fk_name = fk_row["fk_name"]
652
+ if fk_name not in foreign_keys:
653
+ foreign_keys[fk_name] = {
654
+ "name": fk_name,
655
+ "columns": [],
656
+ "referenced_table": fk_row["referenced_table"],
657
+ "referenced_columns": []
658
+ }
659
+ foreign_keys[fk_name]["columns"].append(fk_row["column_name"])
660
+ foreign_keys[fk_name]["referenced_columns"].append(fk_row["referenced_column"])
661
+
662
+ columns = []
663
+ for col in col_rows:
664
+ raw_type = col["data_type"]
665
+ if col["udt_name"]:
666
+ raw_type = col["udt_name"]
667
+ columns.append(
668
+ {
669
+ "name": col["column_name"],
670
+ "sql_type": raw_type,
671
+ "nullable": col["is_nullable"] == "YES",
672
+ "primary": col["column_name"] in pk_set,
673
+ "auto_increment": col["udt_name"] in {"serial", "bigserial"},
674
+ "comment": col.get("column_comment") or "",
675
+ }
676
+ )
677
+
678
+ tables.append(
679
+ {
680
+ "table_name": table_name,
681
+ "table_comment": table_comment,
682
+ "primary_keys": pks,
683
+ "columns": columns,
684
+ "indexes": list(indexes.values()),
685
+ "foreign_keys": list(foreign_keys.values()),
686
+ }
687
+ )
688
+ finally:
689
+ conn.close()
690
+
691
+ return {"db_type": db_type, "database": args.database, "schema": schema, "tables": tables}
692
+
693
+
694
+ def oracle_metadata(args):
695
+ try:
696
+ import oracledb
697
+ except ImportError as e:
698
+ raise SkillError("oracle 需要安装 oracledb: pip install oracledb") from e
699
+
700
+ dsn = f"{args.host}:{int(args.port)}/{args.database}"
701
+ conn = oracledb.connect(user=args.user, password=args.password, dsn=dsn)
702
+ wanted = normalize_tables(args.tables)
703
+ tables = []
704
+ try:
705
+ cursor = conn.cursor()
706
+ if wanted:
707
+ names = [x.upper() for x in wanted]
708
+ binds = {}
709
+ bind_keys = []
710
+ for idx, name in enumerate(names):
711
+ key = f"t{idx}"
712
+ bind_keys.append(f":{key}")
713
+ binds[key] = name
714
+ cursor.execute(
715
+ f"SELECT table_name FROM user_tables WHERE table_name IN ({','.join(bind_keys)}) ORDER BY table_name",
716
+ binds,
717
+ )
718
+ else:
719
+ cursor.execute("SELECT table_name FROM user_tables ORDER BY table_name")
720
+ table_rows = cursor.fetchall()
721
+
722
+ for row in table_rows:
723
+ table_name = row[0]
724
+ cursor.execute(
725
+ """
726
+ SELECT utc.column_name,
727
+ utc.data_type,
728
+ utc.data_precision,
729
+ utc.data_scale,
730
+ utc.nullable,
731
+ ucc.comments
732
+ FROM user_tab_columns utc
733
+ LEFT JOIN user_col_comments ucc
734
+ ON utc.table_name = ucc.table_name
735
+ AND utc.column_name = ucc.column_name
736
+ WHERE utc.table_name = :table_name
737
+ ORDER BY utc.column_id
738
+ """,
739
+ {"table_name": table_name},
740
+ )
741
+ col_rows = cursor.fetchall()
742
+
743
+ cursor.execute(
744
+ """
745
+ SELECT cols.column_name
746
+ FROM user_constraints cons
747
+ JOIN user_cons_columns cols
748
+ ON cons.constraint_name = cols.constraint_name
749
+ WHERE cons.constraint_type='P' AND cons.table_name=:table_name
750
+ ORDER BY cols.position
751
+ """,
752
+ {"table_name": table_name},
753
+ )
754
+ pks = [x[0].lower() for x in cursor.fetchall()]
755
+ pk_set = set(pks)
756
+
757
+ cursor.execute(
758
+ """
759
+ SELECT column_name
760
+ FROM user_tab_identity_cols
761
+ WHERE table_name = :table_name
762
+ """,
763
+ {"table_name": table_name},
764
+ )
765
+ identity_cols = {x[0].lower() for x in cursor.fetchall()}
766
+
767
+ cursor.execute(
768
+ """
769
+ SELECT
770
+ ui.index_name,
771
+ uic.column_name,
772
+ ui.uniqueness = 'UNIQUE' AS is_unique,
773
+ ui.index_name IN (
774
+ SELECT uc.constraint_name
775
+ FROM user_constraints uc
776
+ WHERE uc.table_name = :table_name AND uc.constraint_type = 'P'
777
+ ) AS is_primary
778
+ FROM user_indexes ui
779
+ JOIN user_ind_columns uic
780
+ ON ui.index_name = uic.index_name
781
+ WHERE ui.table_name = :table_name
782
+ ORDER BY ui.index_name, uic.column_position
783
+ """,
784
+ {"table_name": table_name},
785
+ )
786
+ index_rows = cursor.fetchall()
787
+ indexes = {}
788
+ for idx_row in index_rows:
789
+ idx_name = idx_row[0].lower()
790
+ if idx_name not in indexes:
791
+ indexes[idx_name] = {
792
+ "name": idx_name,
793
+ "columns": [],
794
+ "unique": idx_row[2],
795
+ "primary": idx_row[3]
796
+ }
797
+ indexes[idx_name]["columns"].append(idx_row[1].lower())
798
+
799
+ cursor.execute(
800
+ """
801
+ SELECT
802
+ uc.constraint_name AS fk_name,
803
+ ucc.column_name AS column_name,
804
+ ruc.table_name AS referenced_table,
805
+ rucc.column_name AS referenced_column
806
+ FROM user_constraints uc
807
+ JOIN user_cons_columns ucc
808
+ ON uc.constraint_name = ucc.constraint_name
809
+ JOIN user_constraints ruc
810
+ ON uc.r_constraint_name = ruc.constraint_name
811
+ JOIN user_cons_columns rucc
812
+ ON ruc.constraint_name = rucc.constraint_name
813
+ AND ucc.position = rucc.position
814
+ WHERE uc.table_name = :table_name
815
+ AND uc.constraint_type = 'R'
816
+ ORDER BY uc.constraint_name, ucc.position
817
+ """,
818
+ {"table_name": table_name},
819
+ )
820
+ fk_rows = cursor.fetchall()
821
+ foreign_keys = {}
822
+ for fk_row in fk_rows:
823
+ fk_name = fk_row[0].lower()
824
+ if fk_name not in foreign_keys:
825
+ foreign_keys[fk_name] = {
826
+ "name": fk_name,
827
+ "columns": [],
828
+ "referenced_table": fk_row[2].lower(),
829
+ "referenced_columns": []
830
+ }
831
+ foreign_keys[fk_name]["columns"].append(fk_row[1].lower())
832
+ foreign_keys[fk_name]["referenced_columns"].append(fk_row[3].lower())
833
+
834
+ cursor.execute(
835
+ """
836
+ SELECT comments
837
+ FROM user_tab_comments
838
+ WHERE table_name = :table_name
839
+ """,
840
+ {"table_name": table_name},
841
+ )
842
+ table_comment_row = cursor.fetchone()
843
+ table_comment = (table_comment_row[0] or table_name.lower()) if table_comment_row else table_name.lower()
844
+
845
+ columns = []
846
+ for col in col_rows:
847
+ col_name = col[0].lower()
848
+ data_type = (col[1] or "").lower()
849
+ precision = col[2]
850
+ scale = col[3]
851
+
852
+ sql_type = data_type
853
+ if data_type == "number":
854
+ if scale and int(scale) > 0:
855
+ sql_type = "numeric"
856
+ elif precision and int(precision) <= 9:
857
+ sql_type = "integer"
858
+ else:
859
+ sql_type = "bigint"
860
+
861
+ columns.append(
862
+ {
863
+ "name": col_name,
864
+ "sql_type": sql_type,
865
+ "nullable": col[4] == "Y",
866
+ "primary": col_name in pk_set,
867
+ "auto_increment": col_name in identity_cols,
868
+ "comment": col[5] or "",
869
+ }
870
+ )
871
+
872
+ tables.append(
873
+ {
874
+ "table_name": table_name.lower(),
875
+ "table_comment": table_comment,
876
+ "primary_keys": pks,
877
+ "columns": columns,
878
+ "indexes": list(indexes.values()),
879
+ "foreign_keys": list(foreign_keys.values()),
880
+ }
881
+ )
882
+ finally:
883
+ conn.close()
884
+
885
+ return {"db_type": "oracle", "database": args.database, "schema": args.user, "tables": tables}
886
+
887
+
888
+ def extract_metadata(args):
889
+ args = merge_datasource_args(args)
890
+ require_conn_args(args)
891
+
892
+ try:
893
+ if args.db_type == "mysql":
894
+ metadata = mysql_metadata(args, db_type="mysql")
895
+ elif args.db_type == "postgres":
896
+ metadata = postgres_metadata(args, db_type="postgres")
897
+ elif args.db_type == "oracle":
898
+ metadata = oracle_metadata(args)
899
+ elif args.db_type == "opengauss":
900
+ metadata = postgres_metadata(args, db_type="opengauss")
901
+ elif args.db_type == "oceanbase":
902
+ metadata = mysql_metadata(args, db_type="oceanbase")
903
+ else:
904
+ raise SkillError(f"不支持的 db_type: {args.db_type}")
905
+ except Exception as e:
906
+ error_msg = f"数据库连接失败: {e}\n\n"
907
+ error_msg += "排查建议:\n"
908
+ error_msg += " 1. 检查数据库服务是否启动\n"
909
+ error_msg += " 2. 检查主机地址和端口是否正确\n"
910
+ error_msg += " 3. 检查用户名和密码是否正确\n"
911
+ error_msg += " 4. 检查数据库名是否正确\n"
912
+ if args.db_type == "postgres":
913
+ error_msg += " 5. 检查 schema 是否正确(PostgreSQL 默认为 public)\n"
914
+ error_msg += " 6. 检查网络连接是否正常\n"
915
+ raise SkillError(error_msg) from e
916
+
917
+ all_tables = metadata.get("tables", [])
918
+ filtered_tables = apply_table_regex_filters(all_tables, args.include_tables_regex, args.exclude_tables_regex)
919
+
920
+ if not filtered_tables and all_tables:
921
+ available_tables = ", ".join([t["table_name"] for t in all_tables])
922
+ raise SkillError(f"没有匹配到表。可用表:{available_tables}")
923
+
924
+ metadata["tables"] = filtered_tables
925
+ return metadata
926
+
927
+
928
+ def java_imports_for_columns(columns: List[Dict], mapping: Dict[str, str]) -> str:
929
+ imports = set()
930
+ for col in columns:
931
+ java_type = resolve_java_type(col["sql_type"], mapping)
932
+ if java_type in JAVA_IMPORTS:
933
+ imports.add(JAVA_IMPORTS[java_type])
934
+ return "\n".join(sorted(imports))
935
+
936
+
937
+ def build_fields(columns: List[Dict], mapping: Dict[str, str], skip_columns: set, for_po: bool):
938
+ lines = []
939
+ usable = []
940
+ for col in columns:
941
+ if col["name"] in skip_columns:
942
+ continue
943
+ usable.append(col)
944
+ field_name = to_camel_case(col["name"])
945
+ java_type = resolve_java_type(col["sql_type"], mapping)
946
+ if col.get("comment"):
947
+ lines.append(f"/** {col['comment']} */")
948
+ if for_po:
949
+ if col.get("primary"):
950
+ id_type = "AUTO" if col.get("auto_increment") else "ASSIGN_ID"
951
+ lines.append(f'@TableId(value = "{col["name"]}", type = IdType.{id_type})')
952
+ else:
953
+ lines.append(f' @TableField("{col["name"]}")')
954
+ lines.append(f" private {java_type} {field_name};")
955
+ lines.append("")
956
+
957
+ while lines and not lines[-1].strip():
958
+ lines.pop()
959
+ return "\n".join(lines), usable
960
+
961
+
962
+ def pick_primary_column(table: Dict, columns: List[Dict], pk_strategy: str) -> Dict:
963
+ pks = table.get("primary_keys") or []
964
+ if len(pks) > 1 and pk_strategy == "error":
965
+ raise SkillError(f"表 {table['table_name']} 为联合主键 {pks},当前 pk_strategy=error。可改用 --pk-strategy first")
966
+
967
+ if pks:
968
+ first = pks[0]
969
+ for col in columns:
970
+ if col["name"] == first:
971
+ return col
972
+ for col in columns:
973
+ if col.get("primary"):
974
+ return col
975
+ for col in columns:
976
+ if col["name"] == "id":
977
+ return col
978
+ return {"name": "id", "sql_type": "bigint", "primary": True, "auto_increment": False}
979
+
980
+
981
+ def order_by_expr(columns: List[Dict], domain_name: str, pk_field_name: str) -> str:
982
+ names = {x["name"] for x in columns}
983
+ if "created_date" in names:
984
+ return f"{domain_name}PO::getCreatedDate"
985
+ return f"{domain_name}PO::get{upper_first(pk_field_name)}"
986
+
987
+
988
+ def write_java_file(path: Path, content: str, dry_run: bool, overwrite: bool):
989
+ if path.exists() and not overwrite:
990
+ raise SkillError(f"文件已存在: {path}. 如需覆盖请添加 --overwrite")
991
+ if dry_run:
992
+ return
993
+ path.parent.mkdir(parents=True, exist_ok=True)
994
+ path.write_text(content.strip() + "\n", encoding="utf-8")
995
+
996
+
997
+ def normalize_scaffold_args(args):
998
+ if not args.type_mapping:
999
+ args.type_mapping = default_path(args.skill_root, "references/type-mapping.json")
1000
+ if not args.po_template:
1001
+ args.po_template = default_path(args.skill_root, "assets/po.java.template")
1002
+ if not args.domain_model_template:
1003
+ args.domain_model_template = default_path(args.skill_root, "assets/domain_model.java.template")
1004
+ if not args.repository_template:
1005
+ args.repository_template = default_path(args.skill_root, "assets/repository.java.template")
1006
+ if not args.domain_gateway_template:
1007
+ args.domain_gateway_template = default_path(args.skill_root, "assets/domain_gateway.java.template")
1008
+ if not args.gateway_impl_template:
1009
+ args.gateway_impl_template = default_path(args.skill_root, "assets/gateway_impl.java.template")
1010
+ if not args.convertor_template:
1011
+ args.convertor_template = default_path(args.skill_root, "assets/convertor.java.template")
1012
+
1013
+ convention = {
1014
+ "audit_columns": list(DEFAULT_AUDIT_COLUMNS),
1015
+ "logic_delete_fields": list(DEFAULT_LOGIC_DELETE_FIELDS),
1016
+ "pk_strategy": args.pk_strategy,
1017
+ "page_method_name": "page",
1018
+ }
1019
+
1020
+ if args.convention_file:
1021
+ external = load_json(args.convention_file)
1022
+ convention.update(external)
1023
+
1024
+ if args.keep_audit_columns:
1025
+ convention["audit_columns"] = []
1026
+ args._convention = convention
1027
+ return args
1028
+
1029
+
1030
+ def build_paths(args, domain_name: str, domain_segment: str) -> Dict[str, Path]:
1031
+ domain_root = Path(args.domain_java_root)
1032
+ infra_root = Path(args.infra_java_root)
1033
+
1034
+ base_path = Path(args.base_package.replace(".", "/"))
1035
+
1036
+ if domain_segment:
1037
+ domain_sub_path = base_path / "domain" / domain_segment
1038
+ else:
1039
+ domain_sub_path = base_path / "domain" / domain_name.lower()
1040
+
1041
+ return {
1042
+ "domain_model": domain_root / domain_sub_path / "model" / f"{domain_name}.java",
1043
+ "domain_gateway": domain_root / domain_sub_path / "gateway" / f"{domain_name}Gateway.java",
1044
+ "po": infra_root / base_path / "repository" / "entity" / f"{domain_name}PO.java",
1045
+ "repo": infra_root / base_path / "repository" / f"{domain_name}Repository.java",
1046
+ "gateway_impl": infra_root / base_path / "repository" / "gateway" / "impl" / f"{domain_name}GatewayImpl.java",
1047
+ "convertor": infra_root / base_path / "repository" / "convertor" / f"{domain_name}Convertor.java",
1048
+ }
1049
+
1050
+
1051
+ def template_text(path: str) -> str:
1052
+ return read_text(path)
1053
+
1054
+
1055
+ def generate_table(table: Dict, args, mapping: Dict[str, str]) -> List[Path]:
1056
+ conv = args._convention
1057
+ skip_columns = set(conv.get("audit_columns") or [])
1058
+ logic_delete_fields = conv.get("logic_delete_fields") or []
1059
+ base_entity_class = conv.get("base_entity_class")
1060
+
1061
+ domain_name = infer_domain_name(table["table_name"], args.table_prefix)
1062
+ domain_segment = args.domain_segment
1063
+
1064
+ if domain_segment:
1065
+ model_pkg = f"{args.base_package}.domain.{domain_segment}.model"
1066
+ gateway_pkg = f"{args.base_package}.domain.{domain_segment}.gateway"
1067
+ else:
1068
+ model_pkg = f"{args.base_package}.domain.{domain_name.lower()}.model"
1069
+ gateway_pkg = f"{args.base_package}.domain.{domain_name.lower()}.gateway"
1070
+
1071
+ method_add = f"add{domain_name}"
1072
+ method_update = f"update{domain_name}"
1073
+ method_delete = f"delete{domain_name}"
1074
+ method_get = f"get{domain_name}ById"
1075
+ method_page = f"page{domain_name}"
1076
+
1077
+ po_fields_block, po_columns = build_fields(table.get("columns", []), mapping, skip_columns, for_po=True)
1078
+ domain_fields_block, domain_columns = build_fields(table.get("columns", []), mapping, skip_columns, for_po=False)
1079
+
1080
+ pk_col = pick_primary_column(table, domain_columns, conv.get("pk_strategy", "error"))
1081
+ pk_field_name = to_camel_case(pk_col["name"])
1082
+ pk_java_type = resolve_java_type(pk_col["sql_type"], mapping)
1083
+ pk_getter = "get" + upper_first(to_camel_case(pk_col["name"]))
1084
+
1085
+ paths = build_paths(args, domain_name, domain_segment)
1086
+
1087
+
1088
+ table_comment = (table.get("table_comment") or table["table_name"]).replace("*/", "")
1089
+ po_content = fill_template(template_text(args.po_template), {
1090
+ "base_package": args.base_package,
1091
+ "table_name": table["table_name"],
1092
+ "table_comment": table_comment,
1093
+ "domain_name": domain_name,
1094
+ "fields_block": po_fields_block,
1095
+ "extra_imports": java_imports_for_columns(po_columns, mapping),
1096
+ })
1097
+ domain_model_content = fill_template(template_text(args.domain_model_template), {
1098
+ "base_package": args.base_package,
1099
+ "model_pkg": model_pkg,
1100
+ "domain_segment": domain_segment,
1101
+ "table_comment": table_comment,
1102
+ "domain_name": domain_name,
1103
+ "fields_block": domain_fields_block,
1104
+ "extra_imports": java_imports_for_columns(domain_columns, mapping),
1105
+ })
1106
+ repo_content = fill_template(template_text(args.repository_template), {
1107
+ "base_package": args.base_package,
1108
+ "domain_name": domain_name,
1109
+ })
1110
+ domain_gateway_content = fill_template(template_text(args.domain_gateway_template), {
1111
+ "base_package": args.base_package,
1112
+ "gateway_pkg": gateway_pkg,
1113
+ "model_pkg": model_pkg,
1114
+ "domain_segment": domain_segment,
1115
+ "domain_name": domain_name,
1116
+ "pk_java_type": pk_java_type,
1117
+ "pk_field_name": pk_field_name,
1118
+ "method_add": method_add,
1119
+ "method_update": method_update,
1120
+ "method_delete": method_delete,
1121
+ "method_get": method_get,
1122
+ "method_page": method_page,
1123
+ })
1124
+
1125
+ logic_delete_condition = ""
1126
+ field_names = {c["name"] for c in domain_columns}
1127
+ for logic_field in logic_delete_fields:
1128
+ if logic_field in field_names:
1129
+ logic_delete_condition = f" wrapper.eq({domain_name}PO::get{upper_first(to_camel_case(logic_field))}, 0);"
1130
+ break
1131
+
1132
+ convertor_content = fill_template(template_text(args.convertor_template), {
1133
+ "base_package": args.base_package,
1134
+ "model_pkg": model_pkg,
1135
+ "domain_segment": domain_segment,
1136
+ "domain_name": domain_name,
1137
+ })
1138
+
1139
+ gw_impl_content = fill_template(template_text(args.gateway_impl_template), {
1140
+ "base_package": args.base_package,
1141
+ "gateway_pkg": gateway_pkg,
1142
+ "model_pkg": model_pkg,
1143
+ "domain_segment": domain_segment,
1144
+ "domain_name": domain_name,
1145
+ "repository_field_name": lower_first(domain_name) + "Repository",
1146
+ "pk_java_type": pk_java_type,
1147
+ "pk_field_name": pk_field_name,
1148
+ "pk_getter": pk_getter,
1149
+ "order_by_expr": order_by_expr(domain_columns, domain_name, pk_field_name),
1150
+ "logic_delete_condition": logic_delete_condition,
1151
+ "method_add": method_add,
1152
+ "method_update": method_update,
1153
+ "method_delete": method_delete,
1154
+ "method_get": method_get,
1155
+ "method_page": method_page,
1156
+ })
1157
+
1158
+ plan = [
1159
+ (paths["domain_model"], domain_model_content),
1160
+ (paths["domain_gateway"], domain_gateway_content),
1161
+ (paths["po"], po_content),
1162
+ (paths["repo"], repo_content),
1163
+ (paths["gateway_impl"], gw_impl_content),
1164
+ (paths["convertor"], convertor_content),
1165
+ ]
1166
+
1167
+ generated = []
1168
+ for target, content in plan:
1169
+ generated.append(target)
1170
+ write_java_file(target, content, args.dry_run, args.overwrite)
1171
+ return generated
1172
+
1173
+
1174
+ def validate_templates(args):
1175
+ expected = {
1176
+ args.po_template: ["${domain_name}", "${fields_block}", "${table_name}"],
1177
+ args.domain_model_template: ["${domain_name}"],
1178
+ args.repository_template: ["${domain_name}"],
1179
+ args.domain_gateway_template: ["${domain_name}", "${pk_java_type}"],
1180
+ args.gateway_impl_template: ["${domain_name}", "${repository_field_name}"],
1181
+ args.convertor_template: ["${domain_name}"],
1182
+ }
1183
+ for file_path, tokens in expected.items():
1184
+ text = read_text(file_path)
1185
+ for token in tokens:
1186
+ if token not in text:
1187
+ raise SkillError(f"模板 {file_path} 缺少占位符 {token}")
1188
+
1189
+
1190
+ def run_extract(args):
1191
+ metadata = extract_metadata(args)
1192
+ write_text(args.output, json.dumps(metadata, ensure_ascii=False, indent=2) + "\n")
1193
+ print(f"metadata written: {args.output}")
1194
+ print(f"tables: {len(metadata.get('tables', []))}")
1195
+
1196
+
1197
+ def run_ddl2metadata(args):
1198
+ ddl_text = read_ddl_input(args)
1199
+ metadata = metadata_from_ddl(
1200
+ ddl_text=ddl_text,
1201
+ db_type=(args.db_type or "mysql"),
1202
+ database=(args.database or "ddl"),
1203
+ schema=args.schema,
1204
+ )
1205
+ if not metadata.get("tables"):
1206
+ raise SkillError("DDL 中未识别到 CREATE TABLE")
1207
+ write_text(args.output, json.dumps(metadata, ensure_ascii=False, indent=2) + "\n")
1208
+ print(f"metadata written: {args.output}")
1209
+ print(f"tables: {len(metadata.get('tables', []))}")
1210
+
1211
+
1212
+ def print_progress_bar(current: int, total: int, prefix: str = ""):
1213
+ bar_length = 40
1214
+ progress = current / total
1215
+ filled_length = int(bar_length * progress)
1216
+ bar = "█" * filled_length + "░" * (bar_length - filled_length)
1217
+ sys.stdout.write(f"\r{prefix}[{bar}] {current}/{total} ({int(progress * 100)}%)")
1218
+ sys.stdout.flush()
1219
+
1220
+
1221
+ def run_scaffold(args):
1222
+ normalize_scaffold_args(args)
1223
+ validate_templates(args)
1224
+ mapping = load_json(args.type_mapping)
1225
+
1226
+ if args.metadata_file:
1227
+ metadata = load_json(args.metadata_file)
1228
+ metadata["tables"] = apply_table_regex_filters(metadata.get("tables", []), args.include_tables_regex, args.exclude_tables_regex)
1229
+ elif args.ddl_file or args.ddl_sql:
1230
+ metadata = metadata_from_ddl(
1231
+ ddl_text=read_ddl_input(args),
1232
+ db_type=(args.db_type or "mysql"),
1233
+ database=(args.database or "ddl"),
1234
+ schema=args.schema,
1235
+ )
1236
+ metadata["tables"] = apply_table_regex_filters(metadata.get("tables", []), args.include_tables_regex, args.exclude_tables_regex)
1237
+ else:
1238
+ metadata = extract_metadata(args)
1239
+
1240
+ tables = metadata.get("tables") or []
1241
+ if not tables:
1242
+ raise SkillError("没有匹配到可生成的表")
1243
+
1244
+ generated_files = []
1245
+ total = len(tables)
1246
+ for i, table in enumerate(tables, 1):
1247
+ if not args.verbose and total > 1:
1248
+ print_progress_bar(i, total, prefix="生成进度: ")
1249
+ log(f"generate table: {table['table_name']}", args.verbose)
1250
+ generated_files.extend(generate_table(table, args, mapping))
1251
+
1252
+ if not args.verbose and total > 1:
1253
+ print()
1254
+
1255
+ for path in generated_files:
1256
+ prefix = "planned" if args.dry_run else "generated"
1257
+ print(f"{prefix}: {path}")
1258
+ print(f"done. file count: {len(generated_files)}")
1259
+
1260
+
1261
+ def run_validate(args):
1262
+ normalize_scaffold_args(args)
1263
+ validate_templates(args)
1264
+ checks = []
1265
+
1266
+ if args.datasource_config:
1267
+ cfg = load_json(args.datasource_config)
1268
+ if "datasources" not in cfg or not isinstance(cfg["datasources"], dict):
1269
+ raise SkillError("datasource 配置文件缺少 datasources 对象")
1270
+ checks.append("datasource-config")
1271
+
1272
+ if args.convention_file:
1273
+ conv = load_json(args.convention_file)
1274
+ if not isinstance(conv, dict):
1275
+ raise SkillError("convention 文件必须为 JSON 对象")
1276
+ checks.append("convention-file")
1277
+
1278
+ checks.append("templates")
1279
+
1280
+ print("validate passed")
1281
+ print("checks: " + ", ".join(checks))
1282
+
1283
+
1284
+ def add_conn_args(p):
1285
+ p.add_argument("--datasource-config", help="数据源配置 JSON")
1286
+ p.add_argument("--datasource-name", help="数据源名称")
1287
+ p.add_argument("--db-type", choices=["mysql", "oracle", "postgres"], help="数据库类型")
1288
+ p.add_argument("--host")
1289
+ p.add_argument("--port")
1290
+ p.add_argument("--user")
1291
+ p.add_argument("--password")
1292
+ p.add_argument("--database")
1293
+ p.add_argument("--schema")
1294
+ p.add_argument("--tables", help="逗号分隔的表名")
1295
+ p.add_argument("--include-tables-regex", help="包含表名正则")
1296
+ p.add_argument("--exclude-tables-regex", help="排除表名正则")
1297
+
1298
+
1299
+ def add_scaffold_args(p):
1300
+ p.add_argument("--skill-root", required=True)
1301
+ p.add_argument("--base-package", required=True)
1302
+ p.add_argument("--domain-segment", required=True)
1303
+ p.add_argument("--domain-java-root", required=True)
1304
+ p.add_argument("--infra-java-root", required=True)
1305
+ p.add_argument("--table-prefix", default="t_")
1306
+ p.add_argument("--po-template")
1307
+ p.add_argument("--domain-model-template")
1308
+ p.add_argument("--repository-template")
1309
+ p.add_argument("--domain-gateway-template")
1310
+ p.add_argument("--gateway-impl-template")
1311
+ p.add_argument("--convertor-template")
1312
+ p.add_argument("--type-mapping")
1313
+ p.add_argument("--convention-file")
1314
+ p.add_argument("--pk-strategy", choices=["error", "first"], default="error")
1315
+ p.add_argument("--keep-audit-columns", action="store_true")
1316
+ p.add_argument("--overwrite", action="store_true", help="允许覆盖已存在文件")
1317
+ p.add_argument("--dry-run", action="store_true", help="只打印计划,不写文件")
1318
+ p.add_argument("--verbose", action="store_true")
1319
+ p.add_argument("--ddl-file", help="DDL SQL 文件路径(可替代 --metadata-file 与数据库连接)")
1320
+ p.add_argument("--ddl-sql", help="DDL SQL 文本(可替代 --metadata-file 与数据库连接)")
1321
+
1322
+
1323
+ def build_parser():
1324
+ parser = argparse.ArgumentParser(description="db metadata to yss mybatis scaffold")
1325
+ sub = parser.add_subparsers(dest="cmd", required=True)
1326
+
1327
+ p_init = sub.add_parser("init", help="交互式配置向导")
1328
+ p_init.add_argument("--skill-root", required=True, help="skill 根目录路径")
1329
+
1330
+ p_extract = sub.add_parser("extract", help="提取数据库元数据")
1331
+ add_conn_args(p_extract)
1332
+ p_extract.add_argument("--output", required=True)
1333
+
1334
+ p_ddl = sub.add_parser("ddl2metadata", help="根据 DDL 文本生成 metadata.json")
1335
+ p_ddl.add_argument("--ddl-file", help="DDL SQL 文件路径")
1336
+ p_ddl.add_argument("--ddl-sql", help="DDL SQL 文本")
1337
+ p_ddl.add_argument("--db-type", choices=["mysql", "oracle", "postgres", "opengauss", "oceanbase"])
1338
+ p_ddl.add_argument("--database")
1339
+ p_ddl.add_argument("--schema")
1340
+ p_ddl.add_argument("--output", required=True)
1341
+
1342
+ p_scaffold = sub.add_parser("scaffold", help="根据元数据生成代码")
1343
+ add_conn_args(p_scaffold)
1344
+ p_scaffold.add_argument("--metadata-file", help="元数据文件,优先级高于数据库连接")
1345
+ add_scaffold_args(p_scaffold)
1346
+
1347
+ p_validate = sub.add_parser("validate", help="校验配置和模板")
1348
+ p_validate.add_argument("--datasource-config")
1349
+ add_scaffold_args(p_validate)
1350
+
1351
+ return parser
1352
+
1353
+
1354
+ def prompt_input(prompt: str, default: str = None) -> str:
1355
+ if default:
1356
+ prompt = f"{prompt} [{default}]: "
1357
+ else:
1358
+ prompt = f"{prompt}: "
1359
+ value = input(prompt).strip()
1360
+ return value if value else (default or "")
1361
+
1362
+
1363
+ def prompt_choice(prompt: str, choices: list, default: str = None) -> str:
1364
+ while True:
1365
+ print(f"\n{prompt}")
1366
+ for i, choice in enumerate(choices, 1):
1367
+ if choice == default:
1368
+ print(f" {i}. {choice} (default)")
1369
+ else:
1370
+ print(f" {i}. {choice}")
1371
+ try:
1372
+ choice = input(f"请选择 (1-{len(choices)}){f' [{default}]' if default else ''}: ").strip()
1373
+ if not choice and default:
1374
+ return default
1375
+ idx = int(choice) - 1
1376
+ if 0 <= idx < len(choices):
1377
+ return choices[idx]
1378
+ except ValueError:
1379
+ pass
1380
+ print(f"请输入 1-{len(choices)} 之间的数字")
1381
+
1382
+
1383
+ def run_init(args):
1384
+ print("=" * 60)
1385
+ print(" yss-db2mybatis 配置向导")
1386
+ print("=" * 60)
1387
+ print("\n请按照提示输入配置信息\n")
1388
+
1389
+ db_type = prompt_choice("请选择数据库类型", ["mysql", "postgres", "oracle"], "postgres")
1390
+
1391
+ host = prompt_input("数据库主机地址", "localhost")
1392
+
1393
+ default_port = {"mysql": "3306", "postgres": "5432", "oracle": "1521"}[db_type]
1394
+ port = prompt_input("数据库端口", default_port)
1395
+
1396
+ user = prompt_input("数据库用户名", "dmz")
1397
+ password = prompt_input("数据库密码", "dmz")
1398
+ database = prompt_input("数据库名", "yss_metadata")
1399
+
1400
+ schema = None
1401
+ if db_type == "postgres":
1402
+ schema = prompt_input("Schema 名称", "public")
1403
+
1404
+ datasource_name = prompt_input("数据源名称", "my-datasource")
1405
+
1406
+ base_package = prompt_input("基础包名", "com.yss.metadata")
1407
+ domain_segment = prompt_input("领域分段名", "metadata")
1408
+
1409
+ print("\n" + "=" * 60)
1410
+ print(" 配置信息确认")
1411
+ print("=" * 60)
1412
+ print(f" 数据库类型: {db_type}")
1413
+ print(f" 主机: {host}:{port}")
1414
+ print(f" 用户名: {user}")
1415
+ print(f" 数据库: {database}")
1416
+ if schema:
1417
+ print(f" Schema: {schema}")
1418
+ print(f" 基础包名: {base_package}")
1419
+ print(f" 领域分段: {domain_segment}")
1420
+ print("=" * 60)
1421
+
1422
+ confirm = prompt_input("\n确认生成配置文件? (y/n)", "y").lower()
1423
+ if confirm not in ["y", "yes", ""]:
1424
+ print("已取消")
1425
+ return
1426
+
1427
+ datasource_config = {
1428
+ "datasources": {
1429
+ datasource_name: {
1430
+ "db_type": db_type,
1431
+ "host": host,
1432
+ "port": int(port),
1433
+ "user": user,
1434
+ "password": password,
1435
+ "database": database,
1436
+ }
1437
+ }
1438
+ }
1439
+ if schema:
1440
+ datasource_config["datasources"][datasource_name]["schema"] = schema
1441
+
1442
+ config_dir = Path(tempfile.gettempdir()) / "yss-db2mybatis"
1443
+ config_dir.mkdir(parents=True, exist_ok=True)
1444
+ datasource_file = config_dir / "datasource-config.json"
1445
+
1446
+ metadata_file = config_dir / "metadata.json"
1447
+
1448
+ write_text(str(datasource_file), json.dumps(datasource_config, ensure_ascii=False, indent=2))
1449
+ print(f"\n✅ 数据源配置文件已生成: {datasource_file}")
1450
+
1451
+ print("\n" + "=" * 60)
1452
+ print(" 下一步")
1453
+ print("=" * 60)
1454
+ print(f"1. 提取元数据:")
1455
+ print(f" python3 {args.skill_root}/scripts/db2mybatis.py extract \\")
1456
+ print(f" --datasource-config {datasource_file} \\")
1457
+ print(f" --datasource-name {datasource_name} \\")
1458
+ print(f" --include-tables-regex '.*' \\")
1459
+ print(f" --output {metadata_file}")
1460
+ print(f"\n2. 生成代码:")
1461
+ print(f" python3 {args.skill_root}/scripts/db2mybatis.py scaffold \\")
1462
+ print(f" --skill-root {args.skill_root} \\")
1463
+ print(f" --metadata-file {metadata_file} \\")
1464
+ print(f" --base-package {base_package} \\")
1465
+ print(f" --domain-segment {domain_segment} \\")
1466
+ print(f" --domain-java-root ./domain \\")
1467
+ print(f" --infra-java-root ./infrastructure \\")
1468
+ print(f" --dry-run")
1469
+ print("=" * 60)
1470
+
1471
+
1472
+ def main():
1473
+ parser = build_parser()
1474
+ args = parser.parse_args()
1475
+ try:
1476
+ if args.cmd == "extract":
1477
+ run_extract(args)
1478
+ elif args.cmd == "ddl2metadata":
1479
+ run_ddl2metadata(args)
1480
+ elif args.cmd == "scaffold":
1481
+ run_scaffold(args)
1482
+ elif args.cmd == "init":
1483
+ run_init(args)
1484
+ elif args.cmd == "validate":
1485
+ run_validate(args)
1486
+ else:
1487
+ raise SkillError(f"不支持的命令: {args.cmd}")
1488
+ except SkillError as e:
1489
+ print(f"error: {e}")
1490
+ raise SystemExit(2)
1491
+
1492
+
1493
+ if __name__ == "__main__":
1494
+ main()