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,1219 @@
1
+ package com.yss.formily.sdk;
2
+
3
+ import java.util.ArrayList;
4
+ import java.util.Arrays;
5
+ import java.util.Collections;
6
+ import java.util.LinkedHashMap;
7
+ import java.util.List;
8
+ import java.util.Map;
9
+
10
+ /**
11
+ * Java DSL for building YssFormily form definitions.
12
+ *
13
+ * <p>This SDK models:
14
+ * <ul>
15
+ * <li>schema body</li>
16
+ * <li>form container config such as mode, detail-options, scope, effects</li>
17
+ * <li>typed enums for common schema types, components, events and options</li>
18
+ * </ul>
19
+ */
20
+ public final class YssFormilyDsl {
21
+
22
+ private YssFormilyDsl() {
23
+ }
24
+
25
+ public interface WireValue {
26
+ Object wireValue();
27
+ }
28
+
29
+ private interface HasMapValue {
30
+ Map<String, Object> toMap();
31
+ }
32
+
33
+ public enum SchemaType implements WireValue {
34
+ OBJECT("object"),
35
+ VOID("void"),
36
+ STRING("string"),
37
+ NUMBER("number"),
38
+ BOOLEAN("boolean"),
39
+ ARRAY("array");
40
+
41
+ private final String value;
42
+
43
+ SchemaType(String value) {
44
+ this.value = value;
45
+ }
46
+
47
+ @Override
48
+ public String wireValue() {
49
+ return value;
50
+ }
51
+ }
52
+
53
+ public enum Component implements WireValue {
54
+ FORM_LAYOUT("FormLayout"),
55
+ FORM_GRID("FormGrid"),
56
+ FORM_ITEM("FormItem"),
57
+ INPUT("Input"),
58
+ INPUT_TEXT_AREA("Input.TextArea"),
59
+ INPUT_NUMBER("InputNumber"),
60
+ SELECT("Select"),
61
+ RADIO_GROUP("Radio.Group"),
62
+ SWITCH("Switch"),
63
+ DATE_PICKER("DatePicker"),
64
+ DATE_RANGE_PICKER("DatePicker.RangePicker"),
65
+ SLOT("Slot"),
66
+ GROUP_HEADER("GroupHeader"),
67
+ SUBMIT("Submit"),
68
+ RESET("Reset"),
69
+ AUTO_BUTTON_GROUP("AutoButtonGroup");
70
+
71
+ private final String value;
72
+
73
+ Component(String value) {
74
+ this.value = value;
75
+ }
76
+
77
+ @Override
78
+ public String wireValue() {
79
+ return value;
80
+ }
81
+ }
82
+
83
+ public enum Decorator implements WireValue {
84
+ FORM_ITEM("FormItem");
85
+
86
+ private final String value;
87
+
88
+ Decorator(String value) {
89
+ this.value = value;
90
+ }
91
+
92
+ @Override
93
+ public String wireValue() {
94
+ return value;
95
+ }
96
+ }
97
+
98
+ public enum LayoutType implements WireValue {
99
+ HORIZONTAL("horizontal"),
100
+ VERTICAL("vertical");
101
+
102
+ private final String value;
103
+
104
+ LayoutType(String value) {
105
+ this.value = value;
106
+ }
107
+
108
+ @Override
109
+ public String wireValue() {
110
+ return value;
111
+ }
112
+ }
113
+
114
+ public enum LabelAlign implements WireValue {
115
+ LEFT("left"),
116
+ RIGHT("right");
117
+
118
+ private final String value;
119
+
120
+ LabelAlign(String value) {
121
+ this.value = value;
122
+ }
123
+
124
+ @Override
125
+ public String wireValue() {
126
+ return value;
127
+ }
128
+ }
129
+
130
+ public enum FormSize implements WireValue {
131
+ SMALL("small"),
132
+ MIDDLE("middle"),
133
+ LARGE("large");
134
+
135
+ private final String value;
136
+
137
+ FormSize(String value) {
138
+ this.value = value;
139
+ }
140
+
141
+ @Override
142
+ public String wireValue() {
143
+ return value;
144
+ }
145
+ }
146
+
147
+ public enum EventType implements WireValue {
148
+ ON_UPDATE_VALUE("onUpdate:value"),
149
+ ON_CHANGE("onChange"),
150
+ ON_SUBMIT("onSubmit");
151
+
152
+ private final String value;
153
+
154
+ EventType(String value) {
155
+ this.value = value;
156
+ }
157
+
158
+ @Override
159
+ public String wireValue() {
160
+ return value;
161
+ }
162
+ }
163
+
164
+ public enum ValidatorTrigger implements WireValue {
165
+ ON_BLUR("onBlur"),
166
+ ON_CHANGE("onChange"),
167
+ ON_INPUT("onInput");
168
+
169
+ private final String value;
170
+
171
+ ValidatorTrigger(String value) {
172
+ this.value = value;
173
+ }
174
+
175
+ @Override
176
+ public String wireValue() {
177
+ return value;
178
+ }
179
+ }
180
+
181
+ public enum DetailOptionKey implements WireValue {
182
+ COLUMNS("columns"),
183
+ BORDERED("bordered"),
184
+ HIDE_EMPTY("hideEmpty"),
185
+ EMPTY_PLACEHOLDER("emptyPlaceholder"),
186
+ LABEL_WIDTH("labelWidth"),
187
+ RESPONSIVE("responsive"),
188
+ MAX_COLUMNS("maxColumns"),
189
+ MIN_COLUMNS("minColumns"),
190
+ MIN_WIDTH("minWidth");
191
+
192
+ private final String value;
193
+
194
+ DetailOptionKey(String value) {
195
+ this.value = value;
196
+ }
197
+
198
+ @Override
199
+ public String wireValue() {
200
+ return value;
201
+ }
202
+ }
203
+
204
+ public enum FormEffectType implements WireValue {
205
+ ON_FORM_SUBMIT("onFormSubmit"),
206
+ ON_FORM_SUBMIT_FAILED("onFormSubmitFailed");
207
+
208
+ private final String value;
209
+
210
+ FormEffectType(String value) {
211
+ this.value = value;
212
+ }
213
+
214
+ @Override
215
+ public String wireValue() {
216
+ return value;
217
+ }
218
+ }
219
+
220
+ public enum FieldEffectType implements WireValue {
221
+ ON_FIELD_VALUE_CHANGE("onFieldValueChange");
222
+
223
+ private final String value;
224
+
225
+ FieldEffectType(String value) {
226
+ this.value = value;
227
+ }
228
+
229
+ @Override
230
+ public String wireValue() {
231
+ return value;
232
+ }
233
+ }
234
+
235
+ public enum Mode implements WireValue {
236
+ CREATE(0),
237
+ EDIT(1),
238
+ DETAIL(2);
239
+
240
+ private final Integer code;
241
+
242
+ Mode(Integer code) {
243
+ this.code = code;
244
+ }
245
+
246
+ @Override
247
+ public Integer wireValue() {
248
+ return code;
249
+ }
250
+ }
251
+
252
+ public static FormDefinitionBuilder form() {
253
+ return new FormDefinitionBuilder();
254
+ }
255
+
256
+ public static NodeBuilder input(String name, String title) {
257
+ return field(name, SchemaType.STRING, title, Component.INPUT);
258
+ }
259
+
260
+ public static NodeBuilder textArea(String name, String title) {
261
+ return field(name, SchemaType.STRING, title, Component.INPUT_TEXT_AREA);
262
+ }
263
+
264
+ public static NodeBuilder inputNumber(String name, String title) {
265
+ return field(name, SchemaType.NUMBER, title, Component.INPUT_NUMBER);
266
+ }
267
+
268
+ public static NodeBuilder select(String name, String title) {
269
+ return field(name, SchemaType.STRING, title, Component.SELECT);
270
+ }
271
+
272
+ public static NodeBuilder multiSelect(String name, String title) {
273
+ return field(name, SchemaType.ARRAY, title, Component.SELECT).componentProp("mode", "multiple");
274
+ }
275
+
276
+ public static NodeBuilder radioGroup(String name, String title) {
277
+ return field(name, SchemaType.STRING, title, Component.RADIO_GROUP);
278
+ }
279
+
280
+ public static NodeBuilder switchField(String name, String title) {
281
+ return field(name, SchemaType.BOOLEAN, title, Component.SWITCH);
282
+ }
283
+
284
+ public static NodeBuilder datePicker(String name, String title) {
285
+ return field(name, SchemaType.STRING, title, Component.DATE_PICKER);
286
+ }
287
+
288
+ public static NodeBuilder rangePicker(String name, String title) {
289
+ return field(name, SchemaType.ARRAY, title, Component.DATE_RANGE_PICKER);
290
+ }
291
+
292
+ public static NodeBuilder slot(String name, String title, String slotName) {
293
+ return field(name, SchemaType.STRING, title, Component.SLOT).componentProp("name", slotName);
294
+ }
295
+
296
+ public static NodeBuilder groupHeader(String name, String title) {
297
+ SchemaNode node = SchemaNode.of(SchemaType.VOID)
298
+ .component(Component.GROUP_HEADER)
299
+ .componentProp("title", title);
300
+ return new NodeBuilder(name, node);
301
+ }
302
+
303
+ public static NodeBuilder submit(String name, String text, String onSubmitExpression) {
304
+ SchemaNode node = SchemaNode.of(SchemaType.VOID)
305
+ .component(Component.SUBMIT)
306
+ .content(text)
307
+ .componentProp(EventType.ON_SUBMIT, onSubmitExpression);
308
+ return new NodeBuilder(name, node);
309
+ }
310
+
311
+ public static NodeBuilder reset(String name, String text) {
312
+ SchemaNode node = SchemaNode.of(SchemaType.VOID)
313
+ .component(Component.RESET)
314
+ .content(text);
315
+ return new NodeBuilder(name, node);
316
+ }
317
+
318
+ public static NodeBuilder autoButtonGroup(String name) {
319
+ SchemaNode node = SchemaNode.of(SchemaType.VOID)
320
+ .decorator(Decorator.FORM_ITEM)
321
+ .component(Component.AUTO_BUTTON_GROUP);
322
+ return new NodeBuilder(name, node);
323
+ }
324
+
325
+ public static NodeBuilder field(String name, SchemaType type, String title, Component component) {
326
+ SchemaNode node = SchemaNode.of(type)
327
+ .title(title)
328
+ .decorator(Decorator.FORM_ITEM)
329
+ .component(component);
330
+ return new NodeBuilder(name, node);
331
+ }
332
+
333
+ public static NodeBuilder field(String name, String type, String title, String component) {
334
+ return new NodeBuilder(name, SchemaNode.of(type).title(title).decorator(Decorator.FORM_ITEM.wireValue().toString()).component(component));
335
+ }
336
+
337
+ public static Option option(Object value, String label) {
338
+ return new Option(value, label);
339
+ }
340
+
341
+ public static EventBinding event(String name, String expression) {
342
+ return new EventBinding(name, expression);
343
+ }
344
+
345
+ public static EventBinding event(EventType eventType, String expression) {
346
+ return new EventBinding(eventType.wireValue().toString(), expression);
347
+ }
348
+
349
+ public static Validator requiredValidator(String message) {
350
+ return Validator.required(message);
351
+ }
352
+
353
+ public static Validator asyncValidator(String triggerType, String expression, String message) {
354
+ return Validator.async(triggerType, expression, message);
355
+ }
356
+
357
+ public static Validator asyncValidator(ValidatorTrigger trigger, String expression, String message) {
358
+ return Validator.async(trigger.wireValue().toString(), expression, message);
359
+ }
360
+
361
+ public static Reaction reaction() {
362
+ return new Reaction();
363
+ }
364
+
365
+ public static DictConfig remoteDict(String dictCode, String optionsScopeKey) {
366
+ return new DictConfig(dictCode, optionsScopeKey);
367
+ }
368
+
369
+ public static FieldEffect onFieldValueChange(String fieldPattern, String expression) {
370
+ return FieldEffect.of(FieldEffectType.ON_FIELD_VALUE_CHANGE, fieldPattern, expression);
371
+ }
372
+
373
+ public static FormEffect onFormSubmit(String expression) {
374
+ return FormEffect.of(FormEffectType.ON_FORM_SUBMIT, expression);
375
+ }
376
+
377
+ public static FormEffect onFormSubmitFailed(String expression) {
378
+ return FormEffect.of(FormEffectType.ON_FORM_SUBMIT_FAILED, expression);
379
+ }
380
+
381
+ public static final class FormDefinitionBuilder {
382
+ private final YssFormDefinition definition;
383
+ private final SchemaNode layoutNode;
384
+ private final SchemaNode gridNode;
385
+
386
+ public FormDefinitionBuilder() {
387
+ this.definition = new YssFormDefinition();
388
+ this.layoutNode = SchemaNode.of(SchemaType.VOID).component(Component.FORM_LAYOUT);
389
+ this.gridNode = SchemaNode.of(SchemaType.VOID).component(Component.FORM_GRID);
390
+ this.layoutNode.property("grid", this.gridNode);
391
+ this.definition.schema.property("layout", this.layoutNode);
392
+
393
+ horizontal(120);
394
+ gridDefaults(3, 1, 260, 16, 0);
395
+ }
396
+
397
+ public FormDefinitionBuilder horizontal(int labelWidth) {
398
+ this.layoutNode.componentProp("layout", LayoutType.HORIZONTAL);
399
+ this.layoutNode.componentProp("labelWidth", labelWidth);
400
+ return this;
401
+ }
402
+
403
+ public FormDefinitionBuilder vertical() {
404
+ this.layoutNode.componentProp("layout", LayoutType.VERTICAL);
405
+ this.layoutNode.removeComponentProp("labelWidth");
406
+ return this;
407
+ }
408
+
409
+ public FormDefinitionBuilder labelAlign(LabelAlign labelAlign) {
410
+ this.layoutNode.componentProp("labelAlign", labelAlign);
411
+ return this;
412
+ }
413
+
414
+ public FormDefinitionBuilder labelAlign(String labelAlign) {
415
+ this.layoutNode.componentProp("labelAlign", labelAlign);
416
+ return this;
417
+ }
418
+
419
+ public FormDefinitionBuilder size(FormSize size) {
420
+ this.layoutNode.componentProp("size", size);
421
+ return this;
422
+ }
423
+
424
+ public FormDefinitionBuilder size(String size) {
425
+ this.layoutNode.componentProp("size", size);
426
+ return this;
427
+ }
428
+
429
+ public FormDefinitionBuilder gridDefaults(int maxColumns, int minColumns, int minWidth, int columnGap, int rowGap) {
430
+ this.gridNode.componentProp("maxColumns", maxColumns);
431
+ this.gridNode.componentProp("minColumns", minColumns);
432
+ this.gridNode.componentProp("minWidth", minWidth);
433
+ this.gridNode.componentProp("columnGap", columnGap);
434
+ this.gridNode.componentProp("rowGap", rowGap);
435
+ this.definition.gridDefaults.put("maxColumns", maxColumns);
436
+ this.definition.gridDefaults.put("minColumns", minColumns);
437
+ this.definition.gridDefaults.put("minWidth", minWidth);
438
+ this.definition.gridDefaults.put("columnGap", columnGap);
439
+ this.definition.gridDefaults.put("rowGap", rowGap);
440
+ return this;
441
+ }
442
+
443
+ public FormDefinitionBuilder mode(Mode mode) {
444
+ this.definition.mode = (Integer) mode.wireValue();
445
+ if (mode == Mode.DETAIL) {
446
+ this.definition.readPretty = true;
447
+ }
448
+ return this;
449
+ }
450
+
451
+ public FormDefinitionBuilder readPretty(boolean readPretty) {
452
+ this.definition.readPretty = readPretty;
453
+ return this;
454
+ }
455
+
456
+ public FormDefinitionBuilder initialValues(Map<String, Object> initialValues) {
457
+ this.definition.initialValues = initialValues;
458
+ return this;
459
+ }
460
+
461
+ public FormDefinitionBuilder modelShape(Map<String, Object> modelShape) {
462
+ this.definition.modelShape = modelShape;
463
+ return this;
464
+ }
465
+
466
+ public FormDefinitionBuilder scopeKey(String scopeKey) {
467
+ this.definition.scopeKeys.add(scopeKey);
468
+ return this;
469
+ }
470
+
471
+ public FormDefinitionBuilder scopeKeys(String... scopeKeys) {
472
+ this.definition.scopeKeys.addAll(Arrays.asList(scopeKeys));
473
+ return this;
474
+ }
475
+
476
+ public FormDefinitionBuilder componentKey(String componentKey) {
477
+ this.definition.componentKeys.add(componentKey);
478
+ return this;
479
+ }
480
+
481
+ public FormDefinitionBuilder components(String... componentKeys) {
482
+ this.definition.componentKeys.addAll(Arrays.asList(componentKeys));
483
+ return this;
484
+ }
485
+
486
+ public FormDefinitionBuilder detailOption(DetailOptionKey key, Object value) {
487
+ this.definition.detailOptions.put(key.wireValue().toString(), unwrap(value));
488
+ return this;
489
+ }
490
+
491
+ public FormDefinitionBuilder detailOption(String key, Object value) {
492
+ this.definition.detailOptions.put(key, unwrap(value));
493
+ return this;
494
+ }
495
+
496
+ public FormDefinitionBuilder detailOptions(Map<String, Object> detailOptions) {
497
+ this.definition.detailOptions.putAll(detailOptions);
498
+ return this;
499
+ }
500
+
501
+ public FormDefinitionBuilder effect(FormEffect effect) {
502
+ this.definition.formEffects.add(effect);
503
+ return this;
504
+ }
505
+
506
+ public FormDefinitionBuilder effects(FormEffect... effects) {
507
+ this.definition.formEffects.addAll(Arrays.asList(effects));
508
+ return this;
509
+ }
510
+
511
+ public FormDefinitionBuilder fieldEffect(FieldEffect fieldEffect) {
512
+ this.definition.fieldEffects.add(fieldEffect);
513
+ return this;
514
+ }
515
+
516
+ public FormDefinitionBuilder fieldEffects(FieldEffect... fieldEffects) {
517
+ this.definition.fieldEffects.addAll(Arrays.asList(fieldEffects));
518
+ return this;
519
+ }
520
+
521
+ public FormDefinitionBuilder node(NodeBuilder builder) {
522
+ this.gridNode.property(builder.name(), builder.build());
523
+ return this;
524
+ }
525
+
526
+ public FormDefinitionBuilder nodes(NodeBuilder... builders) {
527
+ for (NodeBuilder builder : builders) {
528
+ node(builder);
529
+ }
530
+ return this;
531
+ }
532
+
533
+ public YssFormDefinition build() {
534
+ return this.definition;
535
+ }
536
+
537
+ public Map<String, Object> buildMap() {
538
+ return this.definition.toMap();
539
+ }
540
+ }
541
+
542
+ public static final class NodeBuilder {
543
+ private final String name;
544
+ private final SchemaNode node;
545
+
546
+ private NodeBuilder(String name, SchemaNode node) {
547
+ this.name = name;
548
+ this.node = node;
549
+ }
550
+
551
+ public String name() {
552
+ return name;
553
+ }
554
+
555
+ public SchemaNode build() {
556
+ return node;
557
+ }
558
+
559
+ public NodeBuilder title(String title) {
560
+ node.title(title);
561
+ return this;
562
+ }
563
+
564
+ public NodeBuilder required() {
565
+ node.required(true);
566
+ return this;
567
+ }
568
+
569
+ public NodeBuilder required(boolean required) {
570
+ node.required(required);
571
+ return this;
572
+ }
573
+
574
+ public NodeBuilder decorator(Decorator decorator) {
575
+ node.decorator(decorator);
576
+ return this;
577
+ }
578
+
579
+ public NodeBuilder decorator(String decorator) {
580
+ node.decorator(decorator);
581
+ return this;
582
+ }
583
+
584
+ public NodeBuilder component(Component component) {
585
+ node.component(component);
586
+ return this;
587
+ }
588
+
589
+ public NodeBuilder component(String component) {
590
+ node.component(component);
591
+ return this;
592
+ }
593
+
594
+ public NodeBuilder componentProp(String key, Object value) {
595
+ node.componentProp(key, value);
596
+ return this;
597
+ }
598
+
599
+ public NodeBuilder decoratorProp(String key, Object value) {
600
+ node.decoratorProp(key, value);
601
+ return this;
602
+ }
603
+
604
+ public NodeBuilder placeholder(String placeholder) {
605
+ node.componentProp("placeholder", placeholder);
606
+ return this;
607
+ }
608
+
609
+ public NodeBuilder tooltip(String tooltip) {
610
+ node.decoratorProp("tooltip", tooltip);
611
+ return this;
612
+ }
613
+
614
+ public NodeBuilder gridSpan(int gridSpan) {
615
+ node.decoratorProp("gridSpan", gridSpan);
616
+ return this;
617
+ }
618
+
619
+ public NodeBuilder visibleExpr(String expression) {
620
+ node.xVisible(expression);
621
+ return this;
622
+ }
623
+
624
+ public NodeBuilder disabledExpr(String expression) {
625
+ node.xDisabled(expression);
626
+ return this;
627
+ }
628
+
629
+ public NodeBuilder reactions(Object reactions) {
630
+ node.xReactions(reactions);
631
+ return this;
632
+ }
633
+
634
+ public NodeBuilder reaction(Reaction reaction) {
635
+ node.reaction(reaction);
636
+ return this;
637
+ }
638
+
639
+ public NodeBuilder event(String eventName, String expression) {
640
+ node.event(new EventBinding(eventName, expression));
641
+ return this;
642
+ }
643
+
644
+ public NodeBuilder event(EventType eventType, String expression) {
645
+ node.event(new EventBinding(eventType.wireValue().toString(), expression));
646
+ return this;
647
+ }
648
+
649
+ public NodeBuilder event(EventBinding eventBinding) {
650
+ node.event(eventBinding);
651
+ return this;
652
+ }
653
+
654
+ public NodeBuilder validator(Validator validator) {
655
+ node.validator(validator);
656
+ return this;
657
+ }
658
+
659
+ public NodeBuilder validators(Validator... validators) {
660
+ node.validators(Arrays.asList(validators));
661
+ return this;
662
+ }
663
+
664
+ public NodeBuilder previewFormat(String expression) {
665
+ node.previewFormat(expression);
666
+ return this;
667
+ }
668
+
669
+ public NodeBuilder content(String content) {
670
+ node.content(content);
671
+ return this;
672
+ }
673
+
674
+ public NodeBuilder option(Object value, String label) {
675
+ node.option(value, label);
676
+ return this;
677
+ }
678
+
679
+ public NodeBuilder options(Option... options) {
680
+ node.options(Arrays.asList(options));
681
+ return this;
682
+ }
683
+
684
+ public NodeBuilder enumExpression(String expression) {
685
+ node.setEnum(expression);
686
+ return this;
687
+ }
688
+
689
+ public NodeBuilder remoteDict(DictConfig dictConfig) {
690
+ node.remoteDict(dictConfig);
691
+ return this;
692
+ }
693
+
694
+ public NodeBuilder property(String childName, SchemaNode childNode) {
695
+ node.property(childName, childNode);
696
+ return this;
697
+ }
698
+ }
699
+
700
+ public static final class YssFormDefinition {
701
+ private final YssSchema schema = new YssSchema();
702
+ private Integer mode = (Integer) Mode.CREATE.wireValue();
703
+ private Boolean readPretty = false;
704
+ private Map<String, Object> initialValues = new LinkedHashMap<>();
705
+ private Map<String, Object> modelShape = new LinkedHashMap<>();
706
+ private final Map<String, Object> detailOptions = new LinkedHashMap<>();
707
+ private final Map<String, Object> gridDefaults = new LinkedHashMap<>();
708
+ private final List<String> scopeKeys = new ArrayList<>();
709
+ private final List<String> componentKeys = new ArrayList<>();
710
+ private final List<FormEffect> formEffects = new ArrayList<>();
711
+ private final List<FieldEffect> fieldEffects = new ArrayList<>();
712
+
713
+ public Map<String, Object> toMap() {
714
+ Map<String, Object> result = new LinkedHashMap<>();
715
+ result.put("schema", schema.toMap());
716
+ putIfNotNull(result, "mode", mode);
717
+ putIfNotNull(result, "readPretty", readPretty);
718
+ putIfNotEmpty(result, "initialValues", initialValues);
719
+ putIfNotEmpty(result, "modelShape", modelShape);
720
+ putIfNotEmpty(result, "detailOptions", detailOptions);
721
+ putIfNotEmpty(result, "gridDefaults", gridDefaults);
722
+ putIfNotEmpty(result, "scopeKeys", scopeKeys);
723
+ putIfNotEmpty(result, "componentKeys", componentKeys);
724
+ putIfNotEmpty(result, "effects", convertNamedList(formEffects));
725
+ putIfNotEmpty(result, "fieldEffects", convertNamedList(fieldEffects));
726
+ return result;
727
+ }
728
+ }
729
+
730
+ public static final class YssSchema {
731
+ private final String type = SchemaType.OBJECT.wireValue().toString();
732
+ private final Map<String, SchemaNode> properties = new LinkedHashMap<>();
733
+
734
+ public YssSchema property(String name, SchemaNode node) {
735
+ this.properties.put(name, node);
736
+ return this;
737
+ }
738
+
739
+ public Map<String, Object> toMap() {
740
+ Map<String, Object> result = new LinkedHashMap<>();
741
+ result.put("type", type);
742
+ result.put("properties", convertProperties(properties));
743
+ return result;
744
+ }
745
+ }
746
+
747
+ public static final class SchemaNode {
748
+ private String type;
749
+ private String title;
750
+ private Boolean required;
751
+ private String xComponent;
752
+ private String xDecorator;
753
+ private final Map<String, Object> xComponentProps = new LinkedHashMap<>();
754
+ private final Map<String, Object> xDecoratorProps = new LinkedHashMap<>();
755
+ private Object xVisible;
756
+ private Object xDisabled;
757
+ private Object xReactions;
758
+ private Object xEnum;
759
+ private Object xValidator;
760
+ private String xPreviewFormat;
761
+ private String xContent;
762
+ private final Map<String, SchemaNode> properties = new LinkedHashMap<>();
763
+ private DictConfig dictConfig;
764
+
765
+ public static SchemaNode of(SchemaType type) {
766
+ return of(type.wireValue().toString());
767
+ }
768
+
769
+ public static SchemaNode of(String type) {
770
+ SchemaNode node = new SchemaNode();
771
+ node.type = type;
772
+ return node;
773
+ }
774
+
775
+ public SchemaNode title(String title) {
776
+ this.title = title;
777
+ return this;
778
+ }
779
+
780
+ public SchemaNode required(Boolean required) {
781
+ this.required = required;
782
+ return this;
783
+ }
784
+
785
+ public SchemaNode component(Component xComponent) {
786
+ this.xComponent = xComponent.wireValue().toString();
787
+ return this;
788
+ }
789
+
790
+ public SchemaNode component(String xComponent) {
791
+ this.xComponent = xComponent;
792
+ return this;
793
+ }
794
+
795
+ public SchemaNode decorator(Decorator xDecorator) {
796
+ this.xDecorator = xDecorator.wireValue().toString();
797
+ return this;
798
+ }
799
+
800
+ public SchemaNode decorator(String xDecorator) {
801
+ this.xDecorator = xDecorator;
802
+ return this;
803
+ }
804
+
805
+ public SchemaNode componentProp(String key, Object value) {
806
+ this.xComponentProps.put(key, unwrap(value));
807
+ return this;
808
+ }
809
+
810
+ public SchemaNode removeComponentProp(String key) {
811
+ this.xComponentProps.remove(key);
812
+ return this;
813
+ }
814
+
815
+ public SchemaNode decoratorProp(String key, Object value) {
816
+ this.xDecoratorProps.put(key, unwrap(value));
817
+ return this;
818
+ }
819
+
820
+ public SchemaNode xVisible(Object xVisible) {
821
+ this.xVisible = unwrap(xVisible);
822
+ return this;
823
+ }
824
+
825
+ public SchemaNode xDisabled(Object xDisabled) {
826
+ this.xDisabled = unwrap(xDisabled);
827
+ return this;
828
+ }
829
+
830
+ public SchemaNode xReactions(Object xReactions) {
831
+ this.xReactions = unwrap(xReactions);
832
+ return this;
833
+ }
834
+
835
+ public SchemaNode reaction(Reaction reaction) {
836
+ if (!(xReactions instanceof List<?>)) {
837
+ xReactions = new ArrayList<Map<String, Object>>();
838
+ }
839
+ @SuppressWarnings("unchecked")
840
+ List<Map<String, Object>> reactions = (List<Map<String, Object>>) xReactions;
841
+ reactions.add(reaction.toMap());
842
+ return this;
843
+ }
844
+
845
+ public SchemaNode event(EventBinding eventBinding) {
846
+ this.xComponentProps.put(eventBinding.name, eventBinding.expression);
847
+ return this;
848
+ }
849
+
850
+ public SchemaNode validator(Validator validator) {
851
+ if (!(xValidator instanceof List<?>)) {
852
+ xValidator = new ArrayList<Map<String, Object>>();
853
+ }
854
+ @SuppressWarnings("unchecked")
855
+ List<Map<String, Object>> validators = (List<Map<String, Object>>) xValidator;
856
+ validators.add(validator.toMap());
857
+ return this;
858
+ }
859
+
860
+ public SchemaNode validators(List<Validator> validators) {
861
+ List<Map<String, Object>> result = new ArrayList<>();
862
+ for (Validator validator : validators) {
863
+ result.add(validator.toMap());
864
+ }
865
+ this.xValidator = result;
866
+ return this;
867
+ }
868
+
869
+ public SchemaNode previewFormat(String expression) {
870
+ this.xPreviewFormat = expression;
871
+ return this;
872
+ }
873
+
874
+ public SchemaNode setEnum(Object xEnum) {
875
+ this.xEnum = unwrap(xEnum);
876
+ return this;
877
+ }
878
+
879
+ public SchemaNode content(String xContent) {
880
+ this.xContent = xContent;
881
+ return this;
882
+ }
883
+
884
+ public SchemaNode option(Object value, String label) {
885
+ if (!(xEnum instanceof List<?>)) {
886
+ xEnum = new ArrayList<Map<String, Object>>();
887
+ }
888
+ @SuppressWarnings("unchecked")
889
+ List<Map<String, Object>> options = (List<Map<String, Object>>) xEnum;
890
+ Map<String, Object> option = new LinkedHashMap<>();
891
+ option.put("label", label);
892
+ option.put("value", value);
893
+ options.add(option);
894
+ return this;
895
+ }
896
+
897
+ public SchemaNode options(List<Option> options) {
898
+ List<Map<String, Object>> values = new ArrayList<>();
899
+ for (Option option : options) {
900
+ values.add(option.toMap());
901
+ }
902
+ this.xEnum = values;
903
+ return this;
904
+ }
905
+
906
+ public SchemaNode remoteDict(DictConfig dictConfig) {
907
+ this.dictConfig = dictConfig;
908
+ this.xEnum = dictConfig.toEnumExpression();
909
+ if (dictConfig.previewFormatExpression != null) {
910
+ this.xPreviewFormat = dictConfig.previewFormatExpression;
911
+ }
912
+ return this;
913
+ }
914
+
915
+ public SchemaNode property(String name, SchemaNode node) {
916
+ this.properties.put(name, node);
917
+ return this;
918
+ }
919
+
920
+ public Map<String, Object> toMap() {
921
+ Map<String, Object> result = new LinkedHashMap<>();
922
+ putIfNotNull(result, "type", type);
923
+ putIfNotNull(result, "title", title);
924
+ putIfNotNull(result, "required", required);
925
+ putIfNotNull(result, "x-component", xComponent);
926
+ putIfNotNull(result, "x-decorator", xDecorator);
927
+ putIfNotEmpty(result, "x-component-props", xComponentProps);
928
+ putIfNotEmpty(result, "x-decorator-props", xDecoratorProps);
929
+ putIfNotNull(result, "x-visible", xVisible);
930
+ putIfNotNull(result, "x-disabled", xDisabled);
931
+ putIfNotNull(result, "x-reactions", xReactions);
932
+ putIfNotNull(result, "enum", xEnum);
933
+ putIfNotNull(result, "x-validator", xValidator);
934
+ putIfNotNull(result, "x-preview-format", xPreviewFormat);
935
+ putIfNotNull(result, "x-content", xContent);
936
+ if (dictConfig != null) {
937
+ result.put("x-yss-dict", dictConfig.toMap());
938
+ }
939
+ if (!properties.isEmpty()) {
940
+ result.put("properties", convertProperties(properties));
941
+ }
942
+ return result;
943
+ }
944
+ }
945
+
946
+ public static final class EventBinding {
947
+ private final String name;
948
+ private final String expression;
949
+
950
+ public EventBinding(String name, String expression) {
951
+ this.name = name;
952
+ this.expression = expression;
953
+ }
954
+ }
955
+
956
+ public static final class DictConfig {
957
+ private final String dictCode;
958
+ private final String optionsScopeKey;
959
+ private String labelKey = "label";
960
+ private String valueKey = "value";
961
+ private String previewFormatExpression;
962
+ private String optionsExpression;
963
+
964
+ public DictConfig(String dictCode, String optionsScopeKey) {
965
+ this.dictCode = dictCode;
966
+ this.optionsScopeKey = optionsScopeKey;
967
+ }
968
+
969
+ public DictConfig labelKey(String labelKey) {
970
+ this.labelKey = labelKey;
971
+ return this;
972
+ }
973
+
974
+ public DictConfig valueKey(String valueKey) {
975
+ this.valueKey = valueKey;
976
+ return this;
977
+ }
978
+
979
+ public DictConfig optionsExpression(String optionsExpression) {
980
+ this.optionsExpression = optionsExpression;
981
+ return this;
982
+ }
983
+
984
+ public DictConfig previewFormat(String previewFormatExpression) {
985
+ this.previewFormatExpression = previewFormatExpression;
986
+ return this;
987
+ }
988
+
989
+ public String toEnumExpression() {
990
+ if (optionsExpression != null) {
991
+ return optionsExpression;
992
+ }
993
+ return "{{ dicts." + optionsScopeKey + " }}";
994
+ }
995
+
996
+ public Map<String, Object> toMap() {
997
+ Map<String, Object> result = new LinkedHashMap<>();
998
+ result.put("dictCode", dictCode);
999
+ result.put("optionsScopeKey", optionsScopeKey);
1000
+ result.put("labelKey", labelKey);
1001
+ result.put("valueKey", valueKey);
1002
+ putIfNotNull(result, "previewFormatExpression", previewFormatExpression);
1003
+ putIfNotNull(result, "optionsExpression", optionsExpression);
1004
+ return result;
1005
+ }
1006
+ }
1007
+
1008
+ public static final class Validator {
1009
+ private final Map<String, Object> attributes = new LinkedHashMap<>();
1010
+
1011
+ public static Validator required(String message) {
1012
+ Validator validator = new Validator();
1013
+ validator.attributes.put("required", true);
1014
+ putIfNotNull(validator.attributes, "message", message);
1015
+ return validator;
1016
+ }
1017
+
1018
+ public static Validator async(String triggerType, String expression, String message) {
1019
+ Validator validator = new Validator();
1020
+ validator.attributes.put("triggerType", triggerType);
1021
+ validator.attributes.put("validator", expression);
1022
+ putIfNotNull(validator.attributes, "message", message);
1023
+ validator.attributes.put("async", true);
1024
+ return validator;
1025
+ }
1026
+
1027
+ public Validator pattern(String pattern) {
1028
+ attributes.put("pattern", pattern);
1029
+ return this;
1030
+ }
1031
+
1032
+ public Validator max(int max) {
1033
+ attributes.put("max", max);
1034
+ return this;
1035
+ }
1036
+
1037
+ public Validator min(int min) {
1038
+ attributes.put("min", min);
1039
+ return this;
1040
+ }
1041
+
1042
+ public Validator message(String message) {
1043
+ attributes.put("message", message);
1044
+ return this;
1045
+ }
1046
+
1047
+ public Map<String, Object> toMap() {
1048
+ return attributes;
1049
+ }
1050
+ }
1051
+
1052
+ public static final class Reaction {
1053
+ private final List<String> dependencies = new ArrayList<>();
1054
+ private final Map<String, Object> fulfillState = new LinkedHashMap<>();
1055
+ private final Map<String, Object> otherwiseState = new LinkedHashMap<>();
1056
+ private String whenExpression;
1057
+ private String runExpression;
1058
+
1059
+ public Reaction dependency(String dependency) {
1060
+ this.dependencies.add(dependency);
1061
+ return this;
1062
+ }
1063
+
1064
+ public Reaction dependencies(String... dependencies) {
1065
+ this.dependencies.addAll(Arrays.asList(dependencies));
1066
+ return this;
1067
+ }
1068
+
1069
+ public Reaction when(String whenExpression) {
1070
+ this.whenExpression = whenExpression;
1071
+ return this;
1072
+ }
1073
+
1074
+ public Reaction run(String runExpression) {
1075
+ this.runExpression = runExpression;
1076
+ return this;
1077
+ }
1078
+
1079
+ public Reaction fulfillState(String key, Object value) {
1080
+ this.fulfillState.put(key, unwrap(value));
1081
+ return this;
1082
+ }
1083
+
1084
+ public Reaction otherwiseState(String key, Object value) {
1085
+ this.otherwiseState.put(key, unwrap(value));
1086
+ return this;
1087
+ }
1088
+
1089
+ public Map<String, Object> toMap() {
1090
+ Map<String, Object> result = new LinkedHashMap<>();
1091
+ putIfNotEmpty(result, "dependencies", dependencies);
1092
+ putIfNotNull(result, "when", whenExpression);
1093
+ putIfNotNull(result, "run", runExpression);
1094
+ if (!fulfillState.isEmpty()) {
1095
+ Map<String, Object> fulfill = new LinkedHashMap<>();
1096
+ fulfill.put("state", fulfillState);
1097
+ result.put("fulfill", fulfill);
1098
+ }
1099
+ if (!otherwiseState.isEmpty()) {
1100
+ Map<String, Object> otherwise = new LinkedHashMap<>();
1101
+ otherwise.put("state", otherwiseState);
1102
+ result.put("otherwise", otherwise);
1103
+ }
1104
+ return result;
1105
+ }
1106
+ }
1107
+
1108
+ public static final class FormEffect implements HasMapValue {
1109
+ private final String type;
1110
+ private final String expression;
1111
+
1112
+ private FormEffect(String type, String expression) {
1113
+ this.type = type;
1114
+ this.expression = expression;
1115
+ }
1116
+
1117
+ public static FormEffect of(FormEffectType type, String expression) {
1118
+ return new FormEffect(type.wireValue().toString(), expression);
1119
+ }
1120
+
1121
+ public static FormEffect of(String type, String expression) {
1122
+ return new FormEffect(type, expression);
1123
+ }
1124
+
1125
+ @Override
1126
+ public Map<String, Object> toMap() {
1127
+ Map<String, Object> result = new LinkedHashMap<>();
1128
+ result.put("type", type);
1129
+ result.put("expression", expression);
1130
+ return result;
1131
+ }
1132
+ }
1133
+
1134
+ public static final class FieldEffect implements HasMapValue {
1135
+ private final String type;
1136
+ private final String fieldPattern;
1137
+ private final String expression;
1138
+
1139
+ private FieldEffect(String type, String fieldPattern, String expression) {
1140
+ this.type = type;
1141
+ this.fieldPattern = fieldPattern;
1142
+ this.expression = expression;
1143
+ }
1144
+
1145
+ public static FieldEffect of(FieldEffectType type, String fieldPattern, String expression) {
1146
+ return new FieldEffect(type.wireValue().toString(), fieldPattern, expression);
1147
+ }
1148
+
1149
+ @Override
1150
+ public Map<String, Object> toMap() {
1151
+ Map<String, Object> result = new LinkedHashMap<>();
1152
+ result.put("type", type);
1153
+ result.put("fieldPattern", fieldPattern);
1154
+ result.put("expression", expression);
1155
+ return result;
1156
+ }
1157
+ }
1158
+
1159
+ public static final class Option {
1160
+ private final Object value;
1161
+ private final String label;
1162
+
1163
+ public Option(Object value, String label) {
1164
+ this.value = value;
1165
+ this.label = label;
1166
+ }
1167
+
1168
+ public Map<String, Object> toMap() {
1169
+ Map<String, Object> result = new LinkedHashMap<>();
1170
+ result.put("label", label);
1171
+ result.put("value", value);
1172
+ return result;
1173
+ }
1174
+ }
1175
+
1176
+ private static Map<String, Object> convertProperties(Map<String, SchemaNode> properties) {
1177
+ if (properties == null || properties.isEmpty()) {
1178
+ return Collections.emptyMap();
1179
+ }
1180
+ Map<String, Object> result = new LinkedHashMap<>();
1181
+ for (Map.Entry<String, SchemaNode> entry : properties.entrySet()) {
1182
+ result.put(entry.getKey(), entry.getValue().toMap());
1183
+ }
1184
+ return result;
1185
+ }
1186
+
1187
+ private static List<Map<String, Object>> convertNamedList(List<? extends HasMapValue> values) {
1188
+ List<Map<String, Object>> result = new ArrayList<>();
1189
+ for (HasMapValue value : values) {
1190
+ result.add(value.toMap());
1191
+ }
1192
+ return result;
1193
+ }
1194
+
1195
+ private static Object unwrap(Object value) {
1196
+ if (value instanceof WireValue) {
1197
+ return ((WireValue) value).wireValue();
1198
+ }
1199
+ return value;
1200
+ }
1201
+
1202
+ private static void putIfNotNull(Map<String, Object> map, String key, Object value) {
1203
+ if (value != null) {
1204
+ map.put(key, value);
1205
+ }
1206
+ }
1207
+
1208
+ private static void putIfNotEmpty(Map<String, Object> map, String key, Map<String, Object> value) {
1209
+ if (value != null && !value.isEmpty()) {
1210
+ map.put(key, value);
1211
+ }
1212
+ }
1213
+
1214
+ private static void putIfNotEmpty(Map<String, Object> map, String key, List<?> value) {
1215
+ if (value != null && !value.isEmpty()) {
1216
+ map.put(key, value);
1217
+ }
1218
+ }
1219
+ }