@birdapi/velinstyle 1.1.0 → 1.2.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 (308) hide show
  1. package/README.de.md +87 -162
  2. package/README.md +188 -119
  3. package/cli/blueprint.js +98 -5
  4. package/cli/blueprints/app-chrome.html +18 -0
  5. package/cli/blueprints/benefits-grid.html +9 -0
  6. package/cli/blueprints/bottom-nav-mobile.html +2 -1
  7. package/cli/blueprints/cookie-consent.html +1 -1
  8. package/cli/blueprints/cta-band.html +6 -0
  9. package/cli/blueprints/faq-section.html +18 -0
  10. package/cli/blueprints/filter-bar.html +4 -4
  11. package/cli/blueprints/form-contact.html +6 -5
  12. package/cli/blueprints/hero-section.html +3 -3
  13. package/cli/blueprints/notification-center.html +1 -1
  14. package/cli/blueprints/onboarding.html +2 -1
  15. package/cli/blueprints/ops-console.html +29 -0
  16. package/cli/blueprints/pricing-band.html +37 -0
  17. package/cli/blueprints/process-steps.html +10 -0
  18. package/cli/blueprints/services-grid.html +9 -0
  19. package/cli/blueprints/settings-panel.html +8 -6
  20. package/cli/blueprints/split-hero.html +25 -0
  21. package/cli/blueprints/testimonials.html +8 -0
  22. package/cli/blueprints/trust-bar.html +10 -0
  23. package/cli/cli-manifest.json +81 -17
  24. package/cli/contrast-utils.js +97 -0
  25. package/cli/create.js +370 -0
  26. package/cli/docgen/extract-attributes.js +126 -10
  27. package/cli/docgen/extract-cli.js +3 -2
  28. package/cli/docgen/extract-components.js +61 -2
  29. package/cli/docgen/extract-utilities.js +10 -10
  30. package/cli/doctor.js +119 -0
  31. package/cli/index.js +531 -44
  32. package/cli/meta.js +84 -1
  33. package/cli/perf-audit.js +15 -2
  34. package/cli/prompt-engine.js +243 -0
  35. package/cli/review.js +268 -0
  36. package/cli/scaffold.js +119 -4
  37. package/cli/scanner-rules-data.js +7 -0
  38. package/cli/scanner.js +357 -4
  39. package/cli/serve.js +81 -0
  40. package/cli/skills.js +223 -0
  41. package/cli/wc-api.js +89 -0
  42. package/cli/workflow.js +42 -0
  43. package/components/index.js +2 -0
  44. package/components/runtime/component-loaders.js +2 -0
  45. package/components/velin-accordion.js +62 -13
  46. package/components/velin-bottom-nav.js +10 -0
  47. package/components/velin-calendar.js +212 -0
  48. package/components/velin-command.js +18 -2
  49. package/components/velin-data-table.js +78 -1
  50. package/components/velin-dialog.js +4 -1
  51. package/components/velin-drawer.js +2 -4
  52. package/components/velin-file-dropzone.js +162 -0
  53. package/components/velin-icon.js +22 -1
  54. package/components/velin-lightbox.js +5 -3
  55. package/components/velin-modal.js +2 -4
  56. package/components/velin-search.js +1 -1
  57. package/components/velin-sheet.js +2 -4
  58. package/core/a11y/component-contracts.json +20 -3
  59. package/core/meta/build.js +125 -5
  60. package/core/meta/design-constraints/contact.json +9 -0
  61. package/core/meta/design-constraints/faq.json +9 -0
  62. package/core/meta/design-constraints/hero.json +13 -0
  63. package/core/meta/knowledge/components.json +622 -0
  64. package/core/meta/knowledge/tokens.json +282 -0
  65. package/core/meta/pages/registry.json +294 -0
  66. package/core/meta/schema.js +3 -1
  67. package/core/meta/sections/registry.json +185 -0
  68. package/dist/chunks/{attributes-STYCS3O5.js → attributes-A423NX5J.js} +3 -3
  69. package/dist/chunks/{attributes-353XDOAX.js → attributes-F6UPIEVP.js} +1 -1
  70. package/dist/chunks/{attributes-ADOKLKA7.js → attributes-GLYXGGAL.js} +3 -3
  71. package/dist/chunks/{attributes-TPANLMLF.js → attributes-UFTYOSAU.js} +3 -3
  72. package/dist/chunks/attributes-XGLXLR2T.js +391 -0
  73. package/dist/chunks/attributes-YF4NI2QS.js +391 -0
  74. package/dist/chunks/browser-AUABBYUK.js +1544 -0
  75. package/dist/chunks/{chunk-RSMRR27R.js → chunk-2LSKX57P.js} +12 -10
  76. package/dist/chunks/{chunk-IEHKRARD.js → chunk-2TGCVDUL.js} +11 -9
  77. package/dist/chunks/{chunk-SRL6EWHP.js → chunk-5JWGUAPC.js} +17 -13
  78. package/dist/chunks/chunk-7YSO2OQ2.js +113 -0
  79. package/dist/chunks/{chunk-QVHYL3R4.js → chunk-BHR3ZG6U.js} +6 -6
  80. package/dist/chunks/{chunk-J472ERN2.js → chunk-JMSIHEYX.js} +15 -4
  81. package/dist/chunks/{chunk-MKZP2TBH.js → chunk-L7ZGUU4D.js} +2 -2
  82. package/dist/chunks/chunk-TUGIPKW5.js +113 -0
  83. package/dist/chunks/{highlight-GJHHV4KM.js → highlight-M2ELQNYK.js} +1 -1
  84. package/dist/chunks/runtime-entry.js +1 -1
  85. package/dist/chunks/{velin-accordion-FBIPAEXG.js → velin-accordion-WSY6BMLA.js} +64 -10
  86. package/dist/chunks/{velin-bottom-nav-7GEMPIM6.js → velin-bottom-nav-5RVRNGIP.js} +25 -0
  87. package/dist/chunks/{velin-bottom-nav-N3DFQR66.js → velin-bottom-nav-N5F4UO2I.js} +26 -1
  88. package/dist/chunks/velin-calendar-OFE6THUD.js +210 -0
  89. package/dist/chunks/velin-calendar-PGVNJTXK.js +217 -0
  90. package/dist/chunks/velin-calendar-XC7JRDSH.js +217 -0
  91. package/dist/chunks/{velin-code-block-CIAURDRJ.js → velin-code-block-ZGWG7JI5.js} +1 -1
  92. package/dist/chunks/{velin-combobox-NXS4QB4R.js → velin-combobox-56V2ZWT5.js} +1 -1
  93. package/dist/chunks/{velin-command-ONKO2A3J.js → velin-command-2HO2EKR6.js} +29 -2
  94. package/dist/chunks/{velin-command-TMLSRGIU.js → velin-command-ZJSLPK7B.js} +30 -3
  95. package/dist/chunks/{velin-copy-NYDBOKXT.js → velin-copy-XDQSV2XU.js} +1 -1
  96. package/dist/chunks/{velin-countdown-4ZVDGK4R.js → velin-countdown-V4Z5MA63.js} +1 -1
  97. package/dist/chunks/velin-data-table-UVR42UUM.js +372 -0
  98. package/dist/chunks/{velin-dialog-GTTZI564.js → velin-dialog-3YK2RPRV.js} +9 -2
  99. package/dist/chunks/{velin-dialog-ELFOZIXZ.js → velin-dialog-S24KAP4S.js} +3 -1
  100. package/dist/chunks/{velin-drawer-BE6TYN3H.js → velin-drawer-5PNU624J.js} +2 -4
  101. package/dist/chunks/{velin-drawer-DLL2GLT6.js → velin-drawer-CCM6S25D.js} +3 -5
  102. package/dist/chunks/{velin-email-RBX6ZR4S.js → velin-email-TNFONXPW.js} +1 -1
  103. package/dist/chunks/velin-file-dropzone-QRGF2JNA.js +154 -0
  104. package/dist/chunks/velin-file-dropzone-XIZMJ3NB.js +154 -0
  105. package/dist/chunks/{velin-icon-7M76DOPB.js → velin-icon-A6NCXGUK.js} +59 -17
  106. package/dist/chunks/{velin-icon-ZTSKUOVN.js → velin-icon-EC4B5XCM.js} +18 -5
  107. package/dist/chunks/{velin-lightbox-6E7CAATP.js → velin-lightbox-FFK4TUUP.js} +7 -6
  108. package/dist/chunks/{velin-lightbox-NXA3U2FM.js → velin-lightbox-P725FLTY.js} +5 -4
  109. package/dist/chunks/{velin-menubar-J66JXRWW.js → velin-menubar-6I2LM5HL.js} +1 -1
  110. package/dist/chunks/{velin-modal-5HYNNNUI.js → velin-modal-ICTMGRSU.js} +7 -8
  111. package/dist/chunks/{velin-modal-AEOTZ67O.js → velin-modal-JBNODH7D.js} +2 -4
  112. package/dist/chunks/{velin-popover-T72HK3DF.js → velin-popover-WZG2GHBL.js} +25 -4
  113. package/dist/chunks/{velin-rating-N4DI2XNL.js → velin-rating-QBBYRRBU.js} +1 -1
  114. package/dist/chunks/{velin-search-7B4KJ6TX.js → velin-search-B3L6J2RP.js} +2 -2
  115. package/dist/chunks/{velin-search-2XRQFBCS.js → velin-search-L3UG6NDQ.js} +5 -4
  116. package/dist/chunks/{velin-secure-field-6PV7RZDJ.js → velin-secure-field-DGYMP7OK.js} +1 -1
  117. package/dist/chunks/{velin-segmented-control-GYD5BIXQ.js → velin-segmented-control-P74GJPAR.js} +1 -1
  118. package/dist/chunks/{velin-sheet-R2Y67X6H.js → velin-sheet-M5GZZD7G.js} +2 -4
  119. package/dist/chunks/{velin-sheet-OUK6572T.js → velin-sheet-X7RXIWKV.js} +3 -5
  120. package/dist/chunks/{velin-stepper-X54WGHDG.js → velin-stepper-4YQJUHPC.js} +12 -5
  121. package/dist/chunks/{velin-toast-OMMOA2DK.js → velin-toast-UG5LWTG2.js} +5 -1
  122. package/dist/chunks/{velin-tooltip-BDHGRTQB.js → velin-tooltip-ZDH5SDLU.js} +1 -1
  123. package/dist/llms.txt +29 -7
  124. package/dist/search-index.json +156 -10
  125. package/dist/velin-agent.json +3973 -28
  126. package/dist/velinstyle-components.iife.js +1211 -284
  127. package/dist/velinstyle-components.js +1213 -284
  128. package/dist/velinstyle-components.min.js +266 -118
  129. package/dist/velinstyle.css +252 -67
  130. package/dist/velinstyle.d.ts +2 -0
  131. package/dist/velinstyle.min.css +1 -1
  132. package/package.json +20 -6
  133. package/packages/skill-engine/README.md +24 -0
  134. package/packages/skill-engine/package.json +7 -0
  135. package/packages/skill-engine/src/catalog.js +29 -0
  136. package/packages/skill-engine/src/index.js +5 -0
  137. package/packages/skill-engine/src/install.js +69 -0
  138. package/packages/skill-engine/src/registry.js +27 -0
  139. package/packages/skill-engine/src/resolve.js +68 -0
  140. package/packages/skill-engine/src/validate.js +40 -0
  141. package/packages/velinstyle-skills/README.md +6 -0
  142. package/packages/velinstyle-skills/adapter.json +8 -0
  143. package/packages/velinstyle-skills/bundles/landing-starter.bundle.yaml +12 -0
  144. package/packages/velinstyle-skills/bundles/review-suite.bundle.yaml +11 -0
  145. package/packages/velinstyle-skills/catalog.json +1004 -0
  146. package/packages/velinstyle-skills/graphs/component-ship.graph.yaml +14 -0
  147. package/packages/velinstyle-skills/graphs/landingpage.graph.yaml +21 -0
  148. package/packages/velinstyle-skills/graphs/release-gate.graph.yaml +15 -0
  149. package/packages/velinstyle-skills/index.js +22 -0
  150. package/packages/velinstyle-skills/package.json +7 -0
  151. package/packages/velinstyle-skills/packs/accessibility.pack.yaml +9 -0
  152. package/packages/velinstyle-skills/packs/design.pack.yaml +10 -0
  153. package/packages/velinstyle-skills/packs/documentation.pack.yaml +8 -0
  154. package/packages/velinstyle-skills/packs/enterprise.pack.yaml +10 -0
  155. package/packages/velinstyle-skills/packs/frontend.pack.yaml +10 -0
  156. package/packages/velinstyle-skills/packs/review.pack.yaml +9 -0
  157. package/packages/velinstyle-skills/projects/admin-panel.project.yaml +12 -0
  158. package/packages/velinstyle-skills/projects/blog.project.yaml +11 -0
  159. package/packages/velinstyle-skills/projects/documentation-portal.project.yaml +13 -0
  160. package/packages/velinstyle-skills/projects/ecommerce-shop.project.yaml +12 -0
  161. package/packages/velinstyle-skills/projects/landing-page.project.yaml +12 -0
  162. package/packages/velinstyle-skills/projects/laravel-dashboard.project.yaml +12 -0
  163. package/packages/velinstyle-skills/projects/marketing-website.project.yaml +14 -0
  164. package/packages/velinstyle-skills/projects/portfolio.project.yaml +12 -0
  165. package/packages/velinstyle-skills/registry.json +142 -0
  166. package/packages/velinstyle-skills/scripts/generate-assets.mjs +163 -0
  167. package/packages/velinstyle-skills/skills/velin-a11y-focus-keyboard/SKILL.md +57 -0
  168. package/packages/velinstyle-skills/skills/velin-a11y-page-checklist/SKILL.md +57 -0
  169. package/packages/velinstyle-skills/skills/velin-a11y-scan-fix/SKILL.md +57 -0
  170. package/packages/velinstyle-skills/skills/velin-ai-agent-briefing/SKILL.md +57 -0
  171. package/packages/velinstyle-skills/skills/velin-ai-plan-scaffold-review/SKILL.md +57 -0
  172. package/packages/velinstyle-skills/skills/velin-ai-skill-authoring/SKILL.md +57 -0
  173. package/packages/velinstyle-skills/skills/velin-components-accessibility-map/SKILL.md +57 -0
  174. package/packages/velinstyle-skills/skills/velin-components-api-contract/SKILL.md +57 -0
  175. package/packages/velinstyle-skills/skills/velin-components-recipe/SKILL.md +57 -0
  176. package/packages/velinstyle-skills/skills/velin-components-select-compose/SKILL.md +57 -0
  177. package/packages/velinstyle-skills/skills/velin-design-hero-compose/SKILL.md +57 -0
  178. package/packages/velinstyle-skills/skills/velin-design-section-rhythm/SKILL.md +57 -0
  179. package/packages/velinstyle-skills/skills/velin-design-surface-roles/SKILL.md +57 -0
  180. package/packages/velinstyle-skills/skills/velin-dev-component-wire/SKILL.md +57 -0
  181. package/packages/velinstyle-skills/skills/velin-dev-page-scaffold/SKILL.md +57 -0
  182. package/packages/velinstyle-skills/skills/velin-dev-plan-first/SKILL.md +57 -0
  183. package/packages/velinstyle-skills/skills/velin-docs-component-guide/SKILL.md +57 -0
  184. package/packages/velinstyle-skills/skills/velin-docs-generate-api/SKILL.md +57 -0
  185. package/packages/velinstyle-skills/skills/velin-dx-doctor-setup/SKILL.md +57 -0
  186. package/packages/velinstyle-skills/skills/velin-dx-project-init/SKILL.md +57 -0
  187. package/packages/velinstyle-skills/skills/velin-migration-legacy-wc/SKILL.md +57 -0
  188. package/packages/velinstyle-skills/skills/velin-migration-prefix-classes/SKILL.md +57 -0
  189. package/packages/velinstyle-skills/skills/velin-motion-reduced-safe/SKILL.md +57 -0
  190. package/packages/velinstyle-skills/skills/velin-motion-reveal-feedback/SKILL.md +57 -0
  191. package/packages/velinstyle-skills/skills/velin-perf-audit-fix/SKILL.md +57 -0
  192. package/packages/velinstyle-skills/skills/velin-perf-runtime-tree-shake/SKILL.md +57 -0
  193. package/packages/velinstyle-skills/skills/velin-release-changelog-sync/SKILL.md +57 -0
  194. package/packages/velinstyle-skills/skills/velin-release-meta-rebuild/SKILL.md +57 -0
  195. package/packages/velinstyle-skills/skills/velin-review-conversion-hero/SKILL.md +57 -0
  196. package/packages/velinstyle-skills/skills/velin-review-page-gate/SKILL.md +57 -0
  197. package/packages/velinstyle-skills/skills/velin-review-seo-meta/SKILL.md +57 -0
  198. package/packages/velinstyle-skills/skills/velin-security-sanitize-html/SKILL.md +57 -0
  199. package/packages/velinstyle-skills/skills/velin-security-scan-pii/SKILL.md +57 -0
  200. package/packages/velinstyle-skills/skills/velin-testing-a11y-suite/SKILL.md +57 -0
  201. package/packages/velinstyle-skills/skills/velin-testing-visual-smoke/SKILL.md +57 -0
  202. package/packages/velinstyle-skills/skills/velin-themes-apply-token/SKILL.md +57 -0
  203. package/packages/velinstyle-skills/skills/velin-themes-contrast-check/SKILL.md +57 -0
  204. package/packages/velinstyle-skills/skills/velin-utilities-layout-apply/SKILL.md +57 -0
  205. package/packages/velinstyle-skills/skills/velin-utilities-prefix-fix/SKILL.md +57 -0
  206. package/packages/velinstyle-skills/skills/velin-utilities-token-map/SKILL.md +57 -0
  207. package/packages/velinstyle-skills/templates/admin-panel.template.yaml +12 -0
  208. package/packages/velinstyle-skills/templates/blog.template.yaml +12 -0
  209. package/packages/velinstyle-skills/templates/documentation-portal.template.yaml +12 -0
  210. package/packages/velinstyle-skills/templates/ecommerce-shop.template.yaml +13 -0
  211. package/packages/velinstyle-skills/templates/landing-page.template.yaml +12 -0
  212. package/packages/velinstyle-skills/templates/laravel-dashboard.template.yaml +11 -0
  213. package/packages/velinstyle-skills/templates/marketing-website.template.yaml +13 -0
  214. package/packages/velinstyle-skills/templates/portfolio.template.yaml +12 -0
  215. package/schemas/component-knowledge.schema.json +33 -0
  216. package/schemas/design-constraint.schema.json +15 -0
  217. package/schemas/design-intelligence.schema.json +19 -0
  218. package/schemas/design-rule.schema.json +19 -0
  219. package/schemas/page-template.schema.json +24 -0
  220. package/schemas/review-report.schema.json +36 -0
  221. package/schemas/section.schema.json +22 -0
  222. package/schemas/skill-bundle.schema.json +15 -0
  223. package/schemas/skill-graph.schema.json +25 -0
  224. package/schemas/skill-pack.schema.json +14 -0
  225. package/schemas/skill-project.schema.json +16 -0
  226. package/schemas/skill-record.schema.json +27 -0
  227. package/schemas/skill-registry.schema.json +17 -0
  228. package/schemas/skill-template.schema.json +17 -0
  229. package/schemas/token-graph.schema.json +27 -0
  230. package/schemas/utility.schema.json +166 -0
  231. package/src/components/alert.css +22 -1
  232. package/src/components/calendar-dropzone.css +5 -0
  233. package/src/layout/app-shell.css +33 -0
  234. package/src/tokens/shadow.css +13 -0
  235. package/src/utilities/border.css +2 -0
  236. package/src/utilities/display.css +1 -24
  237. package/src/utilities/responsive.css +16 -1
  238. package/src/utilities/spacing.css +32 -0
  239. package/src/velinstyle.css +2 -0
  240. package/dist/chunks/attributes-3BZLI7XF.js +0 -364
  241. package/dist/chunks/attributes-4N5JP4CG.js +0 -364
  242. package/dist/chunks/attributes-5Q2WXGRC.js +0 -374
  243. package/dist/chunks/attributes-AIR7SVLK.js +0 -364
  244. package/dist/chunks/attributes-BGRN5XZO.js +0 -364
  245. package/dist/chunks/attributes-BVSQAYLR.js +0 -364
  246. package/dist/chunks/attributes-CDYFUY7Y.js +0 -364
  247. package/dist/chunks/attributes-JMYJZBPE.js +0 -364
  248. package/dist/chunks/attributes-R5JY3X4O.js +0 -374
  249. package/dist/chunks/attributes-TNSPQTHX.js +0 -374
  250. package/dist/chunks/chunk-2354NEBP.js +0 -109
  251. package/dist/chunks/chunk-2VNA7G7S.js +0 -109
  252. package/dist/chunks/chunk-AQLRJSGG.js +0 -109
  253. package/dist/chunks/chunk-EWPSDMQT.js +0 -109
  254. package/dist/chunks/chunk-LA7264K4.js +0 -85
  255. package/dist/chunks/chunk-QTJJ3DPO.js +0 -109
  256. package/dist/chunks/chunk-RZQVWFHW.js +0 -109
  257. package/dist/chunks/chunk-U4XHMZ7D.js +0 -109
  258. package/dist/chunks/chunk-V5YIUA6G.js +0 -109
  259. package/dist/chunks/chunk-XIET2VSZ.js +0 -109
  260. package/dist/chunks/chunk-XYLJ2GCB.js +0 -205
  261. package/dist/chunks/chunk-ZPSPKUYD.js +0 -109
  262. package/dist/chunks/highlight-XTHRKBA3.js +0 -37
  263. package/dist/chunks/velin-bottom-nav-2N2TYWOF.js +0 -86
  264. package/dist/chunks/velin-carousel-Y5VCOABZ.js +0 -213
  265. package/dist/chunks/velin-code-block-ASUBTAQV.js +0 -119
  266. package/dist/chunks/velin-code-block-TSUKPY4C.js +0 -123
  267. package/dist/chunks/velin-code-block-Y6CM726Q.js +0 -119
  268. package/dist/chunks/velin-combobox-2KDTCQ7N.js +0 -155
  269. package/dist/chunks/velin-command-M7RNHUPR.js +0 -136
  270. package/dist/chunks/velin-copy-T5KDTDXP.js +0 -81
  271. package/dist/chunks/velin-countdown-5XSTN3BH.js +0 -101
  272. package/dist/chunks/velin-counter-ISCTEAHI.js +0 -118
  273. package/dist/chunks/velin-dialog-D2GUHSCD.js +0 -144
  274. package/dist/chunks/velin-dialog-IJLFDXAJ.js +0 -144
  275. package/dist/chunks/velin-dialog-TNS3WXMB.js +0 -144
  276. package/dist/chunks/velin-drawer-MJS6WCF7.js +0 -130
  277. package/dist/chunks/velin-email-N5B5ZYTE.js +0 -90
  278. package/dist/chunks/velin-icon-KZO3IEHG.js +0 -164
  279. package/dist/chunks/velin-lightbox-I75U6JF4.js +0 -140
  280. package/dist/chunks/velin-lightbox-QOTB4PRL.js +0 -140
  281. package/dist/chunks/velin-lightbox-UCD6N7HF.js +0 -140
  282. package/dist/chunks/velin-live-dot-XHUZCIDZ.js +0 -67
  283. package/dist/chunks/velin-menubar-SFEXJE56.js +0 -86
  284. package/dist/chunks/velin-modal-2HOBXE6F.js +0 -176
  285. package/dist/chunks/velin-modal-GLI2XZZB.js +0 -176
  286. package/dist/chunks/velin-popover-EXINRIGJ.js +0 -145
  287. package/dist/chunks/velin-popover-OXX7MRZ6.js +0 -145
  288. package/dist/chunks/velin-popover-YKCCROJG.js +0 -145
  289. package/dist/chunks/velin-rating-XRQJV4LO.js +0 -91
  290. package/dist/chunks/velin-scroll-top-F2FCZNYD.js +0 -58
  291. package/dist/chunks/velin-search-4YHJWYSS.js +0 -556
  292. package/dist/chunks/velin-search-LWHY23Q5.js +0 -474
  293. package/dist/chunks/velin-secure-field-H7FSBUJW.js +0 -95
  294. package/dist/chunks/velin-segmented-control-PQX6LKOJ.js +0 -109
  295. package/dist/chunks/velin-sheet-3OGI4HD7.js +0 -119
  296. package/dist/chunks/velin-sparkline-GVEANJVW.js +0 -184
  297. package/dist/chunks/velin-sparkline-KDA3GQAN.js +0 -162
  298. package/dist/chunks/velin-stepper-2ZIHLKGM.js +0 -141
  299. package/dist/chunks/velin-stepper-FYEUEWE6.js +0 -141
  300. package/dist/chunks/velin-stepper-wc-QU3KRVQR.js +0 -133
  301. package/dist/chunks/velin-theme-toggle-BNNS7WLV.js +0 -285
  302. package/dist/chunks/velin-theme-toggle-NO7V4TWI.js +0 -285
  303. package/dist/chunks/velin-theme-toggle-QELCJM2Q.js +0 -291
  304. package/dist/chunks/velin-toast-RCZ4CSUC.js +0 -109
  305. package/dist/chunks/velin-toast-WEUBTJG6.js +0 -109
  306. package/dist/chunks/velin-tooltip-664IOHZA.js +0 -112
  307. package/dist/chunks/velin-tooltip-wc-LXDVT6DE.js +0 -103
  308. package/dist/chunks/worker-client-R6DBYPFT.js +0 -46
@@ -0,0 +1,163 @@
1
+ import { mkdirSync, writeFileSync, readFileSync } from 'fs';
2
+ import { dirname, join } from 'path';
3
+ import { fileURLToPath } from 'url';
4
+
5
+ const __dirname = dirname(fileURLToPath(import.meta.url));
6
+ const root = join(__dirname, '..');
7
+ const registry = JSON.parse(readFileSync(join(root, 'registry.json'), 'utf-8'));
8
+
9
+ const sectionTemplate = (skill) => `---
10
+ name: ${skill.id}
11
+ description: ${skill.description}
12
+ ---
13
+
14
+ # ${skill.name}
15
+
16
+ ## Goal
17
+ Deliver ${skill.name.toLowerCase()} outcomes with VelinStyle constraints.
18
+
19
+ ## Description
20
+ Use this skill when capability targets include: ${skill.capabilities.join(', ')}.
21
+
22
+ ## Prerequisites
23
+ - Framework compatibility: ${skill.compatibility.framework.min} to ${skill.compatibility.framework.max}
24
+ - CLI: ${skill.requiresCli.join(', ') || 'none'}
25
+ - Dependencies: ${(skill.dependsOn || []).join(', ') || 'none'}
26
+
27
+ ## Workflow
28
+ 1. Validate inputs: ${skill.inputs.join(', ')}.
29
+ 2. Apply rules from DESIGN_RULES and registry metadata.
30
+ 3. Execute required CLI steps when available.
31
+ 4. Emit outputs: ${skill.outputs.join(', ')}.
32
+
33
+ ## Rules
34
+ - Respect status: ${skill.status}.
35
+ - Respect priority: ${skill.priority}.
36
+ - Respect confidence: ${skill.confidence}.
37
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
38
+
39
+ ## Best Practices
40
+ - Keep changes scoped to one goal per section.
41
+ - Prefer deterministic CLI output over ad-hoc edits.
42
+ - Validate before release with review/security/perf gates.
43
+
44
+ ## Examples
45
+ - Prompt example: "Run ${skill.id} for this page."
46
+ - CLI bridge example: \`velinstyle ${skill.requiresCli[0] || 'review'}\`
47
+
48
+ ## Anti-Patterns
49
+ - Skipping dependency skills listed in \`dependsOn\`.
50
+ - Running deprecated/legacy skills by default.
51
+ - Ignoring \`onlyIf\` predicates.
52
+
53
+ ## Checklist
54
+ - [ ] Inputs are present and typed.
55
+ - [ ] Dependencies resolved.
56
+ - [ ] Quality gate passed.
57
+ - [ ] Output matches declared format.
58
+
59
+ ## Quality Rules
60
+ - Must satisfy a11y basics (labels, focus, contrast).
61
+ - Must keep velin-* naming conventions.
62
+ - Must avoid one-off undocumented tokens/classes.
63
+
64
+ ## Output Format
65
+ - Primary outputs: ${skill.outputs.join(', ')}.
66
+ `;
67
+
68
+ mkdirSync(join(root, 'skills'), { recursive: true });
69
+
70
+ for (const skill of registry.skills || []) {
71
+ const targetPath = join(root, skill.prosePath);
72
+ mkdirSync(dirname(targetPath), { recursive: true });
73
+ writeFileSync(targetPath, sectionTemplate(skill), 'utf-8');
74
+ }
75
+
76
+ mkdirSync(join(root, 'packs'), { recursive: true });
77
+ for (const pack of registry.packs || []) {
78
+ const text = `id: ${pack.id}
79
+ name: ${pack.name}
80
+ version: ${pack.version}
81
+ priority: ${pack.priority}
82
+ skills:
83
+ ${(pack.skills || []).map((s) => ` - ${s}`).join('\n')}
84
+ `;
85
+ writeFileSync(join(root, 'packs', `${pack.id}.pack.yaml`), text, 'utf-8');
86
+ }
87
+
88
+ mkdirSync(join(root, 'graphs'), { recursive: true });
89
+ for (const graph of registry.workflowGraphs || []) {
90
+ const nodes = Object.entries(graph.nodes || {})
91
+ .map(([nodeId, node]) => ` ${nodeId}: { skill: ${node.skill} }`)
92
+ .join('\n');
93
+ const edges = (graph.edges || [])
94
+ .map((edge) => ` - { from: ${edge.from}, to: ${edge.to}${edge.when ? `, when: ${edge.when}` : ''} }`)
95
+ .join('\n');
96
+ const text = `id: ${graph.id}
97
+ name: ${graph.name}
98
+ entry: ${graph.entry}
99
+ nodes:
100
+ ${nodes}
101
+ edges:
102
+ ${edges}
103
+ `;
104
+ writeFileSync(join(root, 'graphs', `${graph.id}.graph.yaml`), text, 'utf-8');
105
+ }
106
+
107
+ mkdirSync(join(root, 'bundles'), { recursive: true });
108
+ for (const bundle of registry.bundles || []) {
109
+ const text = `id: ${bundle.id}
110
+ origin: ${bundle.origin}
111
+ packs:
112
+ ${(bundle.packs || []).map((v) => ` - ${v}`).join('\n')}
113
+ graphs:
114
+ ${(bundle.graphs || []).map((v) => ` - ${v}`).join('\n')}
115
+ templates:
116
+ ${(bundle.templates || []).map((v) => ` - ${v}`).join('\n')}
117
+ docs:
118
+ ${(bundle.docs || []).map((v) => ` - ${v}`).join('\n')}
119
+ `;
120
+ writeFileSync(join(root, 'bundles', `${bundle.id}.bundle.yaml`), text, 'utf-8');
121
+ }
122
+
123
+ mkdirSync(join(root, 'templates'), { recursive: true });
124
+ for (const template of registry.templates || []) {
125
+ const text = `id: ${template.id}
126
+ workflowGraph: ${template.workflowGraph}
127
+ packs:
128
+ ${(template.packs || []).map((v) => ` - ${v}`).join('\n')}
129
+ theme: ${template.theme}
130
+ demo: ${template.demo}
131
+ docs:
132
+ ${(template.docs || []).map((v) => ` - ${v}`).join('\n')}
133
+ starterFiles:
134
+ ${(template.starterFiles || []).map((v) => ` - ${v}`).join('\n')}
135
+ `;
136
+ writeFileSync(join(root, 'templates', `${template.id}.template.yaml`), text, 'utf-8');
137
+ }
138
+
139
+ mkdirSync(join(root, 'projects'), { recursive: true });
140
+ for (const project of registry.projects || []) {
141
+ const text = `id: ${project.id}
142
+ name: ${project.name}
143
+ priority: ${project.priority}
144
+ workflowGraph: ${project.workflowGraph}
145
+ packs:
146
+ ${(project.packs || []).map((v) => ` - ${v}`).join('\n')}
147
+ skills:
148
+ ${(project.skills || []).map((v) => ` - ${v}`).join('\n')}
149
+ optimizedFor:
150
+ ${(project.optimizedFor || []).map((v) => ` - ${v}`).join('\n')}
151
+ `;
152
+ writeFileSync(join(root, 'projects', `${project.id}.project.yaml`), text, 'utf-8');
153
+ }
154
+
155
+ const readme = `# VelinStyle Skills Registry
156
+
157
+ Registry-first skill assets for AI Runtime + Skill Engine.
158
+
159
+ - Source of truth: \`registry.json\`
160
+ - Derived: \`catalog.json\`, \`skills/**/SKILL.md\`, \`packs/*.yaml\`, \`graphs/*.yaml\`, \`bundles/*.yaml\`, \`templates/*.yaml\`, \`projects/*.yaml\`
161
+ `;
162
+
163
+ writeFileSync(join(root, 'README.md'), readme, 'utf-8');
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-a11y-focus-keyboard
3
+ description: Validates keyboard navigation and visible focus behavior.
4
+ ---
5
+
6
+ # Focus Keyboard
7
+
8
+ ## Goal
9
+ Deliver focus keyboard outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: accessibility, test.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: review
17
+ - Dependencies: velin-a11y-page-checklist
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: html, screenshot.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: report, checklist.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: recommended.
28
+ - Respect confidence: high.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-a11y-focus-keyboard for this page."
38
+ - CLI bridge example: `velinstyle review`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: report, checklist.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-a11y-page-checklist
3
+ description: Runs page-level accessibility checklist before release.
4
+ ---
5
+
6
+ # A11y Page Checklist
7
+
8
+ ## Goal
9
+ Deliver a11y page checklist outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: accessibility, review.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: review
17
+ - Dependencies: none
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: html, docs.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: checklist, report.
24
+
25
+ ## Rules
26
+ - Respect status: stable.
27
+ - Respect priority: core.
28
+ - Respect confidence: high.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-a11y-page-checklist for this page."
38
+ - CLI bridge example: `velinstyle review`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: checklist, report.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-a11y-scan-fix
3
+ description: Uses scanner output to fix high-confidence accessibility issues.
4
+ ---
5
+
6
+ # A11y Scan Fix
7
+
8
+ ## Goal
9
+ Deliver a11y scan fix outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: accessibility, review.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: scan
17
+ - Dependencies: velin-a11y-page-checklist
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: html.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: report, diff.
24
+
25
+ ## Rules
26
+ - Respect status: stable.
27
+ - Respect priority: core.
28
+ - Respect confidence: high.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-a11y-scan-fix for this page."
38
+ - CLI bridge example: `velinstyle scan`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: report, diff.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-ai-agent-briefing
3
+ description: Prepares agent context and guardrails from velin metadata.
4
+ ---
5
+
6
+ # AI Agent Briefing
7
+
8
+ ## Goal
9
+ Deliver ai agent briefing outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: ai-orchestration, documentation.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: meta
17
+ - Dependencies: none
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: docs, meta-json.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: markdown, checklist.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: core.
28
+ - Respect confidence: high.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-ai-agent-briefing for this page."
38
+ - CLI bridge example: `velinstyle meta`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: markdown, checklist.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-ai-plan-scaffold-review
3
+ description: Runs the canonical AI workflow from prompt to reviewed HTML.
4
+ ---
5
+
6
+ # AI Plan Scaffold Review
7
+
8
+ ## Goal
9
+ Deliver ai plan scaffold review outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: ai-orchestration, build, review.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: plan, scaffold, review
17
+ - Dependencies: velin-dev-plan-first, velin-dev-page-scaffold, velin-review-page-gate
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: prompt.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: html, review-json.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: core.
28
+ - Respect confidence: high.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-ai-plan-scaffold-review for this page."
38
+ - CLI bridge example: `velinstyle plan`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: html, review-json.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-ai-skill-authoring
3
+ description: Authors new skills with registry-first metadata quality gates.
4
+ ---
5
+
6
+ # AI Skill Authoring
7
+
8
+ ## Goal
9
+ Deliver ai skill authoring outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: ai-orchestration, documentation.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: docs, meta
17
+ - Dependencies: velin-ai-agent-briefing
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: markdown, docs, meta-json.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: markdown, registry-json.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: advanced.
28
+ - Respect confidence: medium.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-ai-skill-authoring for this page."
38
+ - CLI bridge example: `velinstyle docs`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: markdown, registry-json.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-components-accessibility-map
3
+ description: Maps every chosen component to a11y expectations and test hooks.
4
+ ---
5
+
6
+ # Component Accessibility Map
7
+
8
+ ## Goal
9
+ Deliver component accessibility map outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: accessibility, documentation.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: docs
17
+ - Dependencies: velin-components-api-contract
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: docs, html.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: markdown, report.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: advanced.
28
+ - Respect confidence: medium.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-components-accessibility-map for this page."
38
+ - CLI bridge example: `velinstyle docs`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: markdown, report.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-components-api-contract
3
+ description: Validates component contracts and event/API usage.
4
+ ---
5
+
6
+ # API Contract
7
+
8
+ ## Goal
9
+ Deliver api contract outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: documentation, review.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: review
17
+ - Dependencies: velin-components-select-compose
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: html, docs.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: markdown, report.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: recommended.
28
+ - Respect confidence: high.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-components-api-contract for this page."
38
+ - CLI bridge example: `velinstyle review`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: markdown, report.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: velin-components-recipe
3
+ description: Builds reusable component recipes for recurring UI blocks.
4
+ ---
5
+
6
+ # Component Recipe
7
+
8
+ ## Goal
9
+ Deliver component recipe outcomes with VelinStyle constraints.
10
+
11
+ ## Description
12
+ Use this skill when capability targets include: build, documentation.
13
+
14
+ ## Prerequisites
15
+ - Framework compatibility: 1.2.0 to 2.x
16
+ - CLI: scaffold
17
+ - Dependencies: velin-components-select-compose
18
+
19
+ ## Workflow
20
+ 1. Validate inputs: prompt, html.
21
+ 2. Apply rules from DESIGN_RULES and registry metadata.
22
+ 3. Execute required CLI steps when available.
23
+ 4. Emit outputs: html, markdown.
24
+
25
+ ## Rules
26
+ - Respect status: beta.
27
+ - Respect priority: recommended.
28
+ - Respect confidence: medium.
29
+ - Do not contradict DESIGN_RULES or DESIGN_INTELLIGENCE.
30
+
31
+ ## Best Practices
32
+ - Keep changes scoped to one goal per section.
33
+ - Prefer deterministic CLI output over ad-hoc edits.
34
+ - Validate before release with review/security/perf gates.
35
+
36
+ ## Examples
37
+ - Prompt example: "Run velin-components-recipe for this page."
38
+ - CLI bridge example: `velinstyle scaffold`
39
+
40
+ ## Anti-Patterns
41
+ - Skipping dependency skills listed in `dependsOn`.
42
+ - Running deprecated/legacy skills by default.
43
+ - Ignoring `onlyIf` predicates.
44
+
45
+ ## Checklist
46
+ - [ ] Inputs are present and typed.
47
+ - [ ] Dependencies resolved.
48
+ - [ ] Quality gate passed.
49
+ - [ ] Output matches declared format.
50
+
51
+ ## Quality Rules
52
+ - Must satisfy a11y basics (labels, focus, contrast).
53
+ - Must keep velin-* naming conventions.
54
+ - Must avoid one-off undocumented tokens/classes.
55
+
56
+ ## Output Format
57
+ - Primary outputs: html, markdown.