@luci-dev/skills 0.0.0-stage → 0.5.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 (389) hide show
  1. package/dist/benchmark.d.ts +48 -0
  2. package/dist/benchmark.d.ts.map +1 -0
  3. package/dist/benchmark.js +84 -0
  4. package/dist/benchmark.js.map +1 -0
  5. package/dist/discovery.d.ts +105 -0
  6. package/dist/discovery.d.ts.map +1 -0
  7. package/dist/discovery.js +271 -0
  8. package/dist/discovery.js.map +1 -0
  9. package/dist/drafts.d.ts +20 -0
  10. package/dist/drafts.d.ts.map +1 -0
  11. package/dist/drafts.js +57 -0
  12. package/dist/drafts.js.map +1 -0
  13. package/dist/github.d.ts +49 -0
  14. package/dist/github.d.ts.map +1 -0
  15. package/dist/github.js +93 -0
  16. package/dist/github.js.map +1 -0
  17. package/dist/import.d.ts +80 -0
  18. package/dist/import.d.ts.map +1 -0
  19. package/dist/import.js +286 -0
  20. package/dist/import.js.map +1 -0
  21. package/dist/index.d.ts +17 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +17 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/licenses.d.ts +30 -0
  26. package/dist/licenses.d.ts.map +1 -0
  27. package/dist/licenses.js +116 -0
  28. package/dist/licenses.js.map +1 -0
  29. package/dist/linter.d.ts +35 -0
  30. package/dist/linter.d.ts.map +1 -0
  31. package/dist/linter.js +262 -0
  32. package/dist/linter.js.map +1 -0
  33. package/dist/lss.d.ts +74 -0
  34. package/dist/lss.d.ts.map +1 -0
  35. package/dist/lss.js +273 -0
  36. package/dist/lss.js.map +1 -0
  37. package/dist/orchestrator.d.ts +164 -0
  38. package/dist/orchestrator.d.ts.map +1 -0
  39. package/dist/orchestrator.js +370 -0
  40. package/dist/orchestrator.js.map +1 -0
  41. package/dist/packs.d.ts +50 -0
  42. package/dist/packs.d.ts.map +1 -0
  43. package/dist/packs.js +166 -0
  44. package/dist/packs.js.map +1 -0
  45. package/dist/preferences.d.ts +18 -0
  46. package/dist/preferences.d.ts.map +1 -0
  47. package/dist/preferences.js +57 -0
  48. package/dist/preferences.js.map +1 -0
  49. package/dist/project.d.ts +45 -0
  50. package/dist/project.d.ts.map +1 -0
  51. package/dist/project.js +183 -0
  52. package/dist/project.js.map +1 -0
  53. package/dist/rankability.d.ts +51 -0
  54. package/dist/rankability.d.ts.map +1 -0
  55. package/dist/rankability.js +217 -0
  56. package/dist/rankability.js.map +1 -0
  57. package/dist/registry.d.ts +82 -0
  58. package/dist/registry.d.ts.map +1 -0
  59. package/dist/registry.js +300 -0
  60. package/dist/registry.js.map +1 -0
  61. package/dist/trust.d.ts +13 -0
  62. package/dist/trust.d.ts.map +1 -0
  63. package/dist/trust.js +41 -0
  64. package/dist/trust.js.map +1 -0
  65. package/dist/types.d.ts +44 -0
  66. package/dist/types.d.ts.map +1 -0
  67. package/dist/types.js +2 -0
  68. package/dist/types.js.map +1 -0
  69. package/library/3d/threejs/LICENSE.txt +21 -0
  70. package/library/3d/threejs/NOTICE.md +7 -0
  71. package/library/3d/threejs/SKILL.md +102 -0
  72. package/library/3d/threejs/luci.json +39 -0
  73. package/library/accessibility/accessibility-baseline/SKILL.md +51 -0
  74. package/library/accessibility/accessibility-baseline/luci.json +33 -0
  75. package/library/accessibility/fixing-accessibility/NOTICE.md +6 -0
  76. package/library/accessibility/fixing-accessibility/SKILL.md +141 -0
  77. package/library/accessibility/fixing-accessibility/luci.json +36 -0
  78. package/library/animation-motion/animation-systems/LICENSE.txt +21 -0
  79. package/library/animation-motion/animation-systems/NOTICE.md +7 -0
  80. package/library/animation-motion/animation-systems/SKILL.md +192 -0
  81. package/library/animation-motion/animation-systems/luci.json +32 -0
  82. package/library/animation-motion/animejs/SKILL.md +64 -0
  83. package/library/animation-motion/animejs/luci.json +12 -0
  84. package/library/animation-motion/motion-dev/SKILL.md +69 -0
  85. package/library/animation-motion/motion-dev/luci.json +13 -0
  86. package/library/animation-motion/react-view-transitions/AGENTS.md +1380 -0
  87. package/library/animation-motion/react-view-transitions/NOTICE.md +6 -0
  88. package/library/animation-motion/react-view-transitions/README.md +44 -0
  89. package/library/animation-motion/react-view-transitions/SKILL.md +334 -0
  90. package/library/animation-motion/react-view-transitions/luci.json +40 -0
  91. package/library/animation-motion/react-view-transitions/metadata.json +12 -0
  92. package/library/animation-motion/react-view-transitions/references/css-recipes.md +312 -0
  93. package/library/animation-motion/react-view-transitions/references/implementation.md +170 -0
  94. package/library/animation-motion/react-view-transitions/references/nextjs.md +233 -0
  95. package/library/animation-motion/react-view-transitions/references/patterns.md +274 -0
  96. package/library/animation-motion/react-view-transitions/references/troubleshooting.md +47 -0
  97. package/library/code-quality/code-review/NOTICE.md +6 -0
  98. package/library/code-quality/code-review/SKILL.md +94 -0
  99. package/library/code-quality/code-review/agents/openai.yaml +3 -0
  100. package/library/code-quality/code-review/luci.json +33 -0
  101. package/library/components/company-logos/LICENSE.txt +21 -0
  102. package/library/components/company-logos/NOTICE.md +7 -0
  103. package/library/components/company-logos/SKILL.md +27 -0
  104. package/library/components/company-logos/luci.json +38 -0
  105. package/library/components/container-lines/LICENSE.txt +21 -0
  106. package/library/components/container-lines/NOTICE.md +7 -0
  107. package/library/components/container-lines/SKILL.md +124 -0
  108. package/library/components/container-lines/luci.json +48 -0
  109. package/library/design-systems/build-design-system/NOTICE.md +6 -0
  110. package/library/design-systems/build-design-system/SKILL.md +78 -0
  111. package/library/design-systems/build-design-system/luci.json +29 -0
  112. package/library/design-systems/build-design-system/references/components.md +46 -0
  113. package/library/design-systems/build-design-system/references/glossary.md +77 -0
  114. package/library/design-systems/build-design-system/references/taste.md +37 -0
  115. package/library/design-systems/build-design-system/references/tokens.md +59 -0
  116. package/library/design-systems/build-design-system/references/traps.md +128 -0
  117. package/library/design-systems/build-design-system/scripts/capture-guard.mjs +470 -0
  118. package/library/design-systems/build-design-system/scripts/capture.mjs +355 -0
  119. package/library/design-systems/build-design-system/scripts/check-system.mjs +1883 -0
  120. package/library/design-systems/build-design-system/scripts/find-chromium.mjs +137 -0
  121. package/library/design-systems/build-design-system/scripts/oklch.mjs +221 -0
  122. package/library/design-systems/build-design-system/scripts/pixdiff.mjs +186 -0
  123. package/library/design-systems/component-docs/NOTICE.md +6 -0
  124. package/library/design-systems/component-docs/SKILL.md +50 -0
  125. package/library/design-systems/component-docs/luci.json +30 -0
  126. package/library/design-systems/component-docs/references/doc-format.md +85 -0
  127. package/library/design-systems/create-design-md/NOTICE.md +6 -0
  128. package/library/design-systems/create-design-md/SKILL.md +259 -0
  129. package/library/design-systems/create-design-md/luci.json +38 -0
  130. package/library/design-systems/design-system-boss/NOTICE.md +6 -0
  131. package/library/design-systems/design-system-boss/SKILL.md +58 -0
  132. package/library/design-systems/design-system-boss/luci.json +29 -0
  133. package/library/design-systems/design-system-boss/playbooks/build.md +10 -0
  134. package/library/design-systems/design-system-boss/playbooks/component.md +9 -0
  135. package/library/design-systems/design-system-boss/playbooks/migrate.md +11 -0
  136. package/library/design-systems/design-system-boss/playbooks/review.md +9 -0
  137. package/library/design-systems/migrate-design-system/NOTICE.md +6 -0
  138. package/library/design-systems/migrate-design-system/SKILL.md +62 -0
  139. package/library/design-systems/migrate-design-system/luci.json +33 -0
  140. package/library/design-systems/migrate-design-system/references/correct.md +37 -0
  141. package/library/design-systems/migrate-design-system/references/lessons.md +69 -0
  142. package/library/design-systems/migrate-design-system/references/parity.md +44 -0
  143. package/library/design-systems/migrate-design-system/references/running-many-agents.md +52 -0
  144. package/library/design-systems/migrate-design-system/scripts/bodies-check.mjs +215 -0
  145. package/library/design-systems/migrate-design-system/scripts/land.mjs +433 -0
  146. package/library/design-systems/migrate-design-system/scripts/legacy.mjs +283 -0
  147. package/library/design-systems/migrate-design-system/scripts/parity.mjs +173 -0
  148. package/library/design-systems/token-mapping/NOTICE.md +6 -0
  149. package/library/design-systems/token-mapping/SKILL.md +46 -0
  150. package/library/design-systems/token-mapping/luci.json +25 -0
  151. package/library/design-systems/token-mapping/references/mapping-rules.md +54 -0
  152. package/library/design-systems/ui-review/NOTICE.md +6 -0
  153. package/library/design-systems/ui-review/SKILL.md +53 -0
  154. package/library/design-systems/ui-review/luci.json +29 -0
  155. package/library/design-systems/ui-review/references/criteria.md +49 -0
  156. package/library/frontend/composition-patterns/AGENTS.md +946 -0
  157. package/library/frontend/composition-patterns/NOTICE.md +6 -0
  158. package/library/frontend/composition-patterns/README.md +60 -0
  159. package/library/frontend/composition-patterns/SKILL.md +86 -0
  160. package/library/frontend/composition-patterns/luci.json +33 -0
  161. package/library/frontend/composition-patterns/metadata.json +11 -0
  162. package/library/frontend/composition-patterns/rules/_sections.md +29 -0
  163. package/library/frontend/composition-patterns/rules/_template.md +24 -0
  164. package/library/frontend/composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
  165. package/library/frontend/composition-patterns/rules/architecture-compound-components.md +112 -0
  166. package/library/frontend/composition-patterns/rules/patterns-children-over-render-props.md +87 -0
  167. package/library/frontend/composition-patterns/rules/patterns-explicit-variants.md +100 -0
  168. package/library/frontend/composition-patterns/rules/react19-no-forwardref.md +42 -0
  169. package/library/frontend/composition-patterns/rules/state-context-interface.md +191 -0
  170. package/library/frontend/composition-patterns/rules/state-decouple-implementation.md +113 -0
  171. package/library/frontend/composition-patterns/rules/state-lift-state.md +125 -0
  172. package/library/frontend/design-mobile-apps/NOTICE.md +6 -0
  173. package/library/frontend/design-mobile-apps/SKILL.md +121 -0
  174. package/library/frontend/design-mobile-apps/designing.md +56 -0
  175. package/library/frontend/design-mobile-apps/endpoints.md +362 -0
  176. package/library/frontend/design-mobile-apps/implementing.md +213 -0
  177. package/library/frontend/design-mobile-apps/luci.json +31 -0
  178. package/library/frontend/design-mobile-apps/styling/nativewind.md +57 -0
  179. package/library/frontend/design-mobile-apps/styling/stylesheet.md +28 -0
  180. package/library/frontend/design-mobile-apps/styling/uniwind.md +38 -0
  181. package/library/frontend/frontend-design/LICENSE.txt +202 -0
  182. package/library/frontend/frontend-design/NOTICE.md +6 -0
  183. package/library/frontend/frontend-design/SKILL.md +81 -0
  184. package/library/frontend/frontend-design/luci.json +43 -0
  185. package/library/frontend/react-native-skills/AGENTS.md +2897 -0
  186. package/library/frontend/react-native-skills/NOTICE.md +6 -0
  187. package/library/frontend/react-native-skills/README.md +165 -0
  188. package/library/frontend/react-native-skills/SKILL.md +119 -0
  189. package/library/frontend/react-native-skills/luci.json +33 -0
  190. package/library/frontend/react-native-skills/metadata.json +16 -0
  191. package/library/frontend/react-native-skills/rules/_sections.md +86 -0
  192. package/library/frontend/react-native-skills/rules/_template.md +28 -0
  193. package/library/frontend/react-native-skills/rules/animation-derived-value.md +53 -0
  194. package/library/frontend/react-native-skills/rules/animation-gesture-detector-press.md +95 -0
  195. package/library/frontend/react-native-skills/rules/animation-gpu-properties.md +65 -0
  196. package/library/frontend/react-native-skills/rules/design-system-compound-components.md +66 -0
  197. package/library/frontend/react-native-skills/rules/fonts-config-plugin.md +71 -0
  198. package/library/frontend/react-native-skills/rules/imports-design-system-folder.md +68 -0
  199. package/library/frontend/react-native-skills/rules/js-hoist-intl.md +61 -0
  200. package/library/frontend/react-native-skills/rules/list-performance-callbacks.md +44 -0
  201. package/library/frontend/react-native-skills/rules/list-performance-function-references.md +132 -0
  202. package/library/frontend/react-native-skills/rules/list-performance-images.md +53 -0
  203. package/library/frontend/react-native-skills/rules/list-performance-inline-objects.md +97 -0
  204. package/library/frontend/react-native-skills/rules/list-performance-item-expensive.md +94 -0
  205. package/library/frontend/react-native-skills/rules/list-performance-item-memo.md +82 -0
  206. package/library/frontend/react-native-skills/rules/list-performance-item-types.md +104 -0
  207. package/library/frontend/react-native-skills/rules/list-performance-virtualize.md +67 -0
  208. package/library/frontend/react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
  209. package/library/frontend/react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
  210. package/library/frontend/react-native-skills/rules/navigation-native-navigators.md +188 -0
  211. package/library/frontend/react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
  212. package/library/frontend/react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
  213. package/library/frontend/react-native-skills/rules/react-state-dispatcher.md +91 -0
  214. package/library/frontend/react-native-skills/rules/react-state-fallback.md +56 -0
  215. package/library/frontend/react-native-skills/rules/react-state-minimize.md +65 -0
  216. package/library/frontend/react-native-skills/rules/rendering-no-falsy-and.md +74 -0
  217. package/library/frontend/react-native-skills/rules/rendering-text-in-text-component.md +36 -0
  218. package/library/frontend/react-native-skills/rules/scroll-position-no-state.md +82 -0
  219. package/library/frontend/react-native-skills/rules/state-ground-truth.md +80 -0
  220. package/library/frontend/react-native-skills/rules/ui-expo-image.md +66 -0
  221. package/library/frontend/react-native-skills/rules/ui-image-gallery.md +104 -0
  222. package/library/frontend/react-native-skills/rules/ui-measure-views.md +78 -0
  223. package/library/frontend/react-native-skills/rules/ui-menus.md +174 -0
  224. package/library/frontend/react-native-skills/rules/ui-native-modals.md +77 -0
  225. package/library/frontend/react-native-skills/rules/ui-pressable.md +61 -0
  226. package/library/frontend/react-native-skills/rules/ui-safe-area-scroll.md +65 -0
  227. package/library/frontend/react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
  228. package/library/frontend/react-native-skills/rules/ui-styling.md +87 -0
  229. package/library/frontend/tailwindcss/LICENSE.txt +21 -0
  230. package/library/frontend/tailwindcss/NOTICE.md +7 -0
  231. package/library/frontend/tailwindcss/SKILL.md +83 -0
  232. package/library/frontend/tailwindcss/luci.json +39 -0
  233. package/library/frontend-frameworks/react-best-practices/NOTICE.md +6 -0
  234. package/library/frontend-frameworks/react-best-practices/SKILL.md +151 -0
  235. package/library/frontend-frameworks/react-best-practices/luci.json +39 -0
  236. package/library/general/algorithmic-art/LICENSE.txt +202 -0
  237. package/library/general/algorithmic-art/NOTICE.md +6 -0
  238. package/library/general/algorithmic-art/SKILL.md +409 -0
  239. package/library/general/algorithmic-art/luci.json +27 -0
  240. package/library/general/algorithmic-art/templates/generator_template.js +223 -0
  241. package/library/general/algorithmic-art/templates/viewer.html +599 -0
  242. package/library/general/canvas-design/LICENSE.txt +202 -0
  243. package/library/general/canvas-design/NOTICE.md +6 -0
  244. package/library/general/canvas-design/SKILL.md +134 -0
  245. package/library/general/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  246. package/library/general/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
  247. package/library/general/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
  248. package/library/general/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  249. package/library/general/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  250. package/library/general/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
  251. package/library/general/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
  252. package/library/general/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
  253. package/library/general/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
  254. package/library/general/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  255. package/library/general/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  256. package/library/general/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
  257. package/library/general/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  258. package/library/general/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
  259. package/library/general/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  260. package/library/general/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
  261. package/library/general/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
  262. package/library/general/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  263. package/library/general/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
  264. package/library/general/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
  265. package/library/general/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
  266. package/library/general/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
  267. package/library/general/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
  268. package/library/general/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
  269. package/library/general/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
  270. package/library/general/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
  271. package/library/general/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
  272. package/library/general/canvas-design/luci.json +29 -0
  273. package/library/index.json +2507 -0
  274. package/library/interaction/animation-on-scroll/LICENSE.txt +21 -0
  275. package/library/interaction/animation-on-scroll/NOTICE.md +7 -0
  276. package/library/interaction/animation-on-scroll/SKILL.md +115 -0
  277. package/library/interaction/animation-on-scroll/luci.json +38 -0
  278. package/library/micro-interactions/masked-reveal/LICENSE.txt +21 -0
  279. package/library/micro-interactions/masked-reveal/NOTICE.md +7 -0
  280. package/library/micro-interactions/masked-reveal/SKILL.md +187 -0
  281. package/library/micro-interactions/masked-reveal/luci.json +63 -0
  282. package/library/micro-interactions/micro-interaction/NOTICE.md +6 -0
  283. package/library/micro-interactions/micro-interaction/SKILL.md +177 -0
  284. package/library/micro-interactions/micro-interaction/luci.json +52 -0
  285. package/library/micro-interactions/micro-interaction/references/css-recipes.md +142 -0
  286. package/library/micro-interactions/micro-interaction/references/framer-motion-recipes.md +187 -0
  287. package/library/micro-interactions/micro-interaction/scripts/README.md +42 -0
  288. package/library/micro-interactions/micro-interaction/scripts/contact-sheet.sh +17 -0
  289. package/library/micro-interactions/micro-interaction/scripts/seek-shot.sh +21 -0
  290. package/library/performance/fixing-motion-performance/NOTICE.md +6 -0
  291. package/library/performance/fixing-motion-performance/SKILL.md +156 -0
  292. package/library/performance/fixing-motion-performance/luci.json +30 -0
  293. package/library/seo/fixing-metadata/NOTICE.md +6 -0
  294. package/library/seo/fixing-metadata/SKILL.md +111 -0
  295. package/library/seo/fixing-metadata/luci.json +36 -0
  296. package/library/shadcn-ui/migrate-radix-to-base/NOTICE.md +6 -0
  297. package/library/shadcn-ui/migrate-radix-to-base/SKILL.md +178 -0
  298. package/library/shadcn-ui/migrate-radix-to-base/class-mapping.md +62 -0
  299. package/library/shadcn-ui/migrate-radix-to-base/consumer-props.md +58 -0
  300. package/library/shadcn-ui/migrate-radix-to-base/disclosure.md +353 -0
  301. package/library/shadcn-ui/migrate-radix-to-base/display-misc.md +410 -0
  302. package/library/shadcn-ui/migrate-radix-to-base/form-controls.md +390 -0
  303. package/library/shadcn-ui/migrate-radix-to-base/luci.json +33 -0
  304. package/library/shadcn-ui/migrate-radix-to-base/menus.md +409 -0
  305. package/library/shadcn-ui/migrate-radix-to-base/overlays.md +459 -0
  306. package/library/shadcn-ui/migrate-radix-to-base/universal-patterns.md +286 -0
  307. package/library/shadcn-ui/migrate-radix-to-base/wrapper-shapes.md +110 -0
  308. package/library/shadcn-ui/shadcn/NOTICE.md +6 -0
  309. package/library/shadcn-ui/shadcn/SKILL.md +187 -0
  310. package/library/shadcn-ui/shadcn/agents/openai.yml +5 -0
  311. package/library/shadcn-ui/shadcn/assets/shadcn-small.png +0 -0
  312. package/library/shadcn-ui/shadcn/assets/shadcn.png +0 -0
  313. package/library/shadcn-ui/shadcn/assets/showcase/color-pair.tsx +126 -0
  314. package/library/shadcn-ui/shadcn/assets/showcase/preview-states.css +14 -0
  315. package/library/shadcn-ui/shadcn/assets/showcase/state-matrix.tsx +72 -0
  316. package/library/shadcn-ui/shadcn/cli.md +290 -0
  317. package/library/shadcn-ui/shadcn/customization.md +211 -0
  318. package/library/shadcn-ui/shadcn/design-system-page.md +268 -0
  319. package/library/shadcn-ui/shadcn/design-system.md +386 -0
  320. package/library/shadcn-ui/shadcn/evals/evals.json +126 -0
  321. package/library/shadcn-ui/shadcn/luci.json +34 -0
  322. package/library/shadcn-ui/shadcn/mcp.md +105 -0
  323. package/library/shadcn-ui/shadcn/references/updating-components.md +91 -0
  324. package/library/shadcn-ui/shadcn/references/workflow.md +31 -0
  325. package/library/shadcn-ui/shadcn/registry.md +277 -0
  326. package/library/shadcn-ui/shadcn/rules/base-vs-radix.md +306 -0
  327. package/library/shadcn-ui/shadcn/rules/chat.md +507 -0
  328. package/library/shadcn-ui/shadcn/rules/composition.md +213 -0
  329. package/library/shadcn-ui/shadcn/rules/forms.md +192 -0
  330. package/library/shadcn-ui/shadcn/rules/icons.md +101 -0
  331. package/library/shadcn-ui/shadcn/rules/styling.md +185 -0
  332. package/library/shadcn-ui/shadcn/scripts/showcase-coverage.mjs +53 -0
  333. package/library/systems/baseline-ui/NOTICE.md +6 -0
  334. package/library/systems/baseline-ui/SKILL.md +90 -0
  335. package/library/systems/baseline-ui/luci.json +35 -0
  336. package/library/testing/tdd/NOTICE.md +6 -0
  337. package/library/testing/tdd/SKILL.md +43 -0
  338. package/library/testing/tdd/agents/openai.yaml +3 -0
  339. package/library/testing/tdd/luci.json +29 -0
  340. package/library/testing/tdd/mocking.md +59 -0
  341. package/library/testing/tdd/tests.md +77 -0
  342. package/library/testing/webapp-testing/LICENSE.txt +202 -0
  343. package/library/testing/webapp-testing/NOTICE.md +6 -0
  344. package/library/testing/webapp-testing/SKILL.md +100 -0
  345. package/library/testing/webapp-testing/examples/console_logging.py +35 -0
  346. package/library/testing/webapp-testing/examples/element_discovery.py +40 -0
  347. package/library/testing/webapp-testing/examples/static_html_automation.py +33 -0
  348. package/library/testing/webapp-testing/luci.json +33 -0
  349. package/library/testing/webapp-testing/scripts/with_server.py +106 -0
  350. package/library/ui-ux/improve-ui/NOTICE.md +6 -0
  351. package/library/ui-ux/improve-ui/SKILL.md +127 -0
  352. package/library/ui-ux/improve-ui/agents/openai.yaml +13 -0
  353. package/library/ui-ux/improve-ui/luci.json +47 -0
  354. package/library/ui-ux/improve-ui/references/plan-template.md +55 -0
  355. package/library/ui-ux/landing-page/LICENSE.txt +21 -0
  356. package/library/ui-ux/landing-page/NOTICE.md +7 -0
  357. package/library/ui-ux/landing-page/SKILL.md +213 -0
  358. package/library/ui-ux/landing-page/luci.json +47 -0
  359. package/library/ui-ux/pricing-page/LICENSE.txt +21 -0
  360. package/library/ui-ux/pricing-page/NOTICE.md +7 -0
  361. package/library/ui-ux/pricing-page/SKILL.md +217 -0
  362. package/library/ui-ux/pricing-page/luci.json +47 -0
  363. package/library/ui-ux/prototype/LOGIC.md +67 -0
  364. package/library/ui-ux/prototype/NOTICE.md +6 -0
  365. package/library/ui-ux/prototype/SKILL.md +31 -0
  366. package/library/ui-ux/prototype/UI.md +112 -0
  367. package/library/ui-ux/prototype/agents/openai.yaml +3 -0
  368. package/library/ui-ux/prototype/luci.json +33 -0
  369. package/library/ui-ux/theme-factory/LICENSE.txt +202 -0
  370. package/library/ui-ux/theme-factory/NOTICE.md +6 -0
  371. package/library/ui-ux/theme-factory/SKILL.md +62 -0
  372. package/library/ui-ux/theme-factory/luci.json +35 -0
  373. package/library/ui-ux/theme-factory/themes/arctic-frost.md +19 -0
  374. package/library/ui-ux/theme-factory/themes/botanical-garden.md +19 -0
  375. package/library/ui-ux/theme-factory/themes/desert-rose.md +19 -0
  376. package/library/ui-ux/theme-factory/themes/forest-canopy.md +19 -0
  377. package/library/ui-ux/theme-factory/themes/golden-hour.md +19 -0
  378. package/library/ui-ux/theme-factory/themes/midnight-galaxy.md +19 -0
  379. package/library/ui-ux/theme-factory/themes/modern-minimalist.md +19 -0
  380. package/library/ui-ux/theme-factory/themes/ocean-depths.md +19 -0
  381. package/library/ui-ux/theme-factory/themes/sunset-boulevard.md +19 -0
  382. package/library/ui-ux/theme-factory/themes/tech-innovation.md +19 -0
  383. package/package.json +21 -3
  384. package/packs/design-system-build.json +10 -0
  385. package/packs/design-system.json +16 -0
  386. package/packs/marketing.json +11 -0
  387. package/packs/motion.json +12 -0
  388. package/packs/ui.json +13 -0
  389. package/README.md +0 -3
@@ -0,0 +1,33 @@
1
+ {
2
+ "lss": 1,
3
+ "lastVerified": "2026-11-08",
4
+ "source": {
5
+ "repo": "mattpocock/skills",
6
+ "path": "skills/engineering/code-review/SKILL.md",
7
+ "licenseVerified": true,
8
+ "licenseStatus": "open",
9
+ "licenseEvidence": "repository license",
10
+ "licenseUrl": "https://github.com/mattpocock/skills/blob/main/LICENSE",
11
+ "licenseCheckedAt": "2026-11-08"
12
+ },
13
+ "summary": "Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports…",
14
+ "whenToUse": [
15
+ "Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \\\"review since X\\\"."
16
+ ],
17
+ "domains": [
18
+ "software",
19
+ "ai"
20
+ ],
21
+ "derived": [
22
+ "domains",
23
+ "summary",
24
+ "whenToUse"
25
+ ],
26
+ "keywords": [
27
+ "diff review",
28
+ "coding standards check",
29
+ "spec compliance",
30
+ "pre-merge review",
31
+ "branch review"
32
+ ]
33
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Meng To
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,7 @@
1
+ # Notice
2
+
3
+ This skill comes from https://github.com/MengTo/Skills (`agent-skills/web-design/company-logos/SKILL.md`).
4
+ Licence: MIT (evidence: repository license, https://github.com/MengTo/Skills/blob/main/LICENSE, checked 2026-11-12).
5
+ Copyright (c) 2026 Meng To.
6
+
7
+ Luci converted it to the Luci Skill Standard: SKILL.md metadata keys and luci.json. The instructions are unchanged.
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: "company-logos"
3
+ description: "\"Use Iconify Simple Icons logos (64x64) instead of text logos.\""
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "components"
7
+ luci-author: "Meng To"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Company Logos Skill
12
+
13
+ ## Use When
14
+ - A design needs recognizable brand marks without embedding custom SVG files or rendering company names as plain text.
15
+ - Logo rows, integrations grids, customer proof, partner lists, and tool badges need consistent icon treatment.
16
+
17
+ ## Workflow
18
+ 1. Use Iconify Simple Icons as the default source for brand logos.
19
+ 2. Render each logo in a 64x64 visual box, then scale the inner SVG to the composition density.
20
+ 3. Keep logos monochrome by default; use brand color only when the surrounding design needs recognition more than restraint.
21
+ 4. Align logos to a shared baseline or center grid so rows feel intentional.
22
+ 5. Add accessible labels when logos are interactive or communicate important proof.
23
+
24
+ ## Guardrails
25
+ - Do not use typed company names as a replacement for logos unless no icon exists.
26
+ - Do not mix filled, outline, emoji, bitmap, and wordmark styles in one row.
27
+ - Do not hotlink random logo assets from search results.
@@ -0,0 +1,38 @@
1
+ {
2
+ "lss": 1,
3
+ "frameworks": [
4
+ "react",
5
+ "tailwind"
6
+ ],
7
+ "lastVerified": "2026-11-06",
8
+ "summary": "\"Use Iconify Simple Icons logos (64x64) instead of text logos.\"",
9
+ "whenToUse": [
10
+ "A design needs recognizable brand marks without embedding custom SVG files or rendering company names as plain text.",
11
+ "Logo rows, integrations grids, customer proof, partner lists, and tool badges need consistent icon treatment."
12
+ ],
13
+ "domains": [
14
+ "web",
15
+ "design"
16
+ ],
17
+ "derived": [
18
+ "domains",
19
+ "summary",
20
+ "whenToUse"
21
+ ],
22
+ "keywords": [
23
+ "brand logos",
24
+ "logo wall",
25
+ "customer logos",
26
+ "integration icons"
27
+ ],
28
+ "source": {
29
+ "repo": "MengTo/Skills",
30
+ "path": "agent-skills/web-design/company-logos/SKILL.md",
31
+ "licenseVerified": true,
32
+ "licenseStatus": "open",
33
+ "licenseEvidence": "repository license",
34
+ "licenseUrl": "https://github.com/MengTo/Skills/blob/main/LICENSE",
35
+ "licenseCheckedAt": "2026-11-12",
36
+ "copyright": "Copyright (c) 2026 Meng To"
37
+ }
38
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Meng To
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,7 @@
1
+ # Notice
2
+
3
+ This skill comes from https://github.com/MengTo/Skills (`agent-skills/web-design/container-lines/SKILL.md`).
4
+ Licence: MIT (evidence: repository license, https://github.com/MengTo/Skills/blob/main/LICENSE, checked 2026-11-12).
5
+ Copyright (c) 2026 Meng To.
6
+
7
+ Luci converted it to the Luci Skill Standard: SKILL.md metadata keys and luci.json. The instructions are unchanged.
@@ -0,0 +1,124 @@
1
+ ---
2
+ name: "container-lines"
3
+ description: "Add vertical container-size guide lines with mini corner squares for precise, structured web layouts. Use when asked for container lines, measured layout guides, vertical boundary lines, editorial grid markers, or small corner-square frame details."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "components"
7
+ luci-author: "Meng To"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Container Lines
12
+
13
+ ## Use When
14
+ - A page needs subtle vertical guides that reveal the content container width.
15
+ - A hero, section, or product page feels too loose and needs structural tension.
16
+ - The design calls for mini corner squares, measured edges, or quiet technical framing.
17
+
18
+ ## Rules
19
+ 1. Draw lines at the left and right edges of the main content container.
20
+ 2. Keep lines thin: `1px` with low opacity.
21
+ 3. Add mini squares at container corners or section intersections.
22
+ 4. Keep the line system consistent across sections; do not change width per section.
23
+ 5. Place lines behind content but above the page background.
24
+ 6. Disable pointer events so the guides never block UI.
25
+
26
+ ## Base Tokens
27
+
28
+ ```css
29
+ :root {
30
+ --container-max: 1120px;
31
+ --container-pad: clamp(20px, 4vw, 48px);
32
+ --line-color: rgba(24, 24, 27, 0.14);
33
+ --line-strong: rgba(24, 24, 27, 0.28);
34
+ --corner-size: 6px;
35
+ }
36
+ ```
37
+
38
+ ## Page Container Lines
39
+ Use pseudo-elements on the layout shell.
40
+
41
+ ```css
42
+ .container-lines {
43
+ position: relative;
44
+ isolation: isolate;
45
+ }
46
+
47
+ .container-lines::before,
48
+ .container-lines::after {
49
+ content: "";
50
+ position: absolute;
51
+ top: 0;
52
+ bottom: 0;
53
+ z-index: -1;
54
+ width: 1px;
55
+ background: var(--line-color);
56
+ pointer-events: none;
57
+ }
58
+
59
+ .container-lines::before {
60
+ left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2));
61
+ }
62
+
63
+ .container-lines::after {
64
+ right: max(var(--container-pad), calc((100vw - var(--container-max)) / 2));
65
+ }
66
+ ```
67
+
68
+ ## Corner Squares
69
+ Add four small squares to sections that need a precise measured feel.
70
+
71
+ ```css
72
+ .corner-squares {
73
+ position: relative;
74
+ }
75
+
76
+ .corner-squares > .corner {
77
+ position: absolute;
78
+ width: var(--corner-size);
79
+ height: var(--corner-size);
80
+ background: var(--line-strong);
81
+ pointer-events: none;
82
+ }
83
+
84
+ .corner.top-left { top: 0; left: 0; transform: translate(-50%, -50%); }
85
+ .corner.top-right { top: 0; right: 0; transform: translate(50%, -50%); }
86
+ .corner.bottom-left { bottom: 0; left: 0; transform: translate(-50%, 50%); }
87
+ .corner.bottom-right { right: 0; bottom: 0; transform: translate(50%, 50%); }
88
+ ```
89
+
90
+ ```html
91
+ <main class="container-lines">
92
+ <section class="corner-squares">
93
+ <span class="corner top-left"></span>
94
+ <span class="corner top-right"></span>
95
+ <span class="corner bottom-left"></span>
96
+ <span class="corner bottom-right"></span>
97
+ ...
98
+ </section>
99
+ </main>
100
+ ```
101
+
102
+ ## Minimal Section Wrapper
103
+ Use the same container width as the line positions.
104
+
105
+ ```css
106
+ .content-container {
107
+ width: min(100% - (var(--container-pad) * 2), var(--container-max));
108
+ margin-inline: auto;
109
+ }
110
+ ```
111
+
112
+ ## Taste Rules
113
+ - Use lines as structure, not decoration. They should organize the page quietly.
114
+ - Do not add lines to every nested component; keep them at page or major-section level.
115
+ - Mini squares should be small and exact, usually `4px` to `8px`.
116
+ - Avoid bright accent colors unless the entire visual system is technical or industrial.
117
+ - Keep container max-width and padding shared between content and guide lines.
118
+
119
+ ## Quick Checks
120
+ - The vertical lines align exactly with the content container edges.
121
+ - Corner squares sit on real container or section corners, not arbitrary positions.
122
+ - Lines remain subtle on light and dark backgrounds.
123
+ - Mobile still has enough padding between the line and content.
124
+ - Guides do not intercept clicks, hovers, or text selection.
@@ -0,0 +1,48 @@
1
+ {
2
+ "lss": 1,
3
+ "frameworks": [
4
+ "react",
5
+ "tailwind"
6
+ ],
7
+ "lastVerified": "2026-11-06",
8
+ "summary": "Add vertical container-size guide lines with mini corner squares for precise, structured web layouts. Use when asked for container lines, measured layout guides, vertical boundary lines, editorial grid markers, or small corner-square frame details.",
9
+ "whenToUse": [
10
+ "Use when asked for container lines, measured layout guides, vertical boundary lines, editorial grid markers, or small corner-square frame details.",
11
+ "A page needs subtle vertical guides that reveal the content container width.",
12
+ "A hero, section, or product page feels too loose and needs structural tension.",
13
+ "The design calls for mini corner squares, measured edges, or quiet technical framing."
14
+ ],
15
+ "verification": [
16
+ "The vertical lines align exactly with the content container edges.",
17
+ "Corner squares sit on real container or section corners, not arbitrary positions.",
18
+ "Lines remain subtle on light and dark backgrounds.",
19
+ "Mobile still has enough padding between the line and content.",
20
+ "Guides do not intercept clicks, hovers, or text selection."
21
+ ],
22
+ "domains": [
23
+ "web",
24
+ "design"
25
+ ],
26
+ "derived": [
27
+ "domains",
28
+ "summary",
29
+ "verification",
30
+ "whenToUse"
31
+ ],
32
+ "keywords": [
33
+ "grid lines",
34
+ "technical aesthetic",
35
+ "border frame",
36
+ "blueprint style"
37
+ ],
38
+ "source": {
39
+ "repo": "MengTo/Skills",
40
+ "path": "agent-skills/web-design/container-lines/SKILL.md",
41
+ "licenseVerified": true,
42
+ "licenseStatus": "open",
43
+ "licenseEvidence": "repository license",
44
+ "licenseUrl": "https://github.com/MengTo/Skills/blob/main/LICENSE",
45
+ "licenseCheckedAt": "2026-11-12",
46
+ "copyright": "Copyright (c) 2026 Meng To"
47
+ }
48
+ }
@@ -0,0 +1,6 @@
1
+ # Notice
2
+
3
+ This skill comes from https://github.com/arla6ka/design.how (`skills/build-design-system/SKILL.md`).
4
+ Licence: MIT (evidence: repository license, https://github.com/arla6ka/design.how/blob/main/LICENSE, checked 2026-11-09).
5
+
6
+ Luci converted it to the Luci Skill Standard: SKILL.md metadata keys and luci.json. The instructions are unchanged.
@@ -0,0 +1,78 @@
1
+ ---
2
+ name: "build-design-system"
3
+ description: "Use when someone wants a design system built from the UI an app already ships, or one phase of it, such as \"extract tokens from the app\", \"add states to our Button\", \"replace the hardcoded colors with tokens\" or \"start a design system\". Moving screens onto an existing system's components is migrate-design-system. A vague whole-app ask goes to design-system-boss."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "design-systems"
7
+ luci-author: "unknown"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Build a design system
12
+
13
+ Vocabulary is in `references/glossary.md`, defaults for bans and widths in `references/taste.md`. The app's own look is the source. Invent no colour, font, shadow, gradient or motion value it does not already have, unless the person chose a design source and confirmed a sample.
14
+
15
+ Scripts are in this skill's `scripts/`. Run them from the repo root with node, and read `--help` first. `scripts/capture.mjs` takes the screenshots behind `scripts/capture-guard.mjs`, which blocks every write, and `scripts/pixdiff.mjs` compares them. Capture and pixdiff need Playwright and a Chromium, which `scripts/find-chromium.mjs` finds or explains how to install.
16
+
17
+ ## Steps
18
+
19
+ 1. **Frame.** Read AGENTS.md or CLAUDE.md, the manifest and the route tree. Write the complaint in the person's words, the first visible change that answers it, and the pilot flow (the one the complaint names, else the flow with the most component families and a form with an error state). Add `.design-system/` to `.git/info/exclude` so no note, capture or scratch file is ever committed. Use the branch the person named as the run branch, or cut one and write the branch you started on to `.design-system/start-branch`, which `land.mjs` refuses. Offer `references/taste.md` once with its bans unselected and save the accepted copy to `.design-system/taste.md`. Ask nothing else. Take the default, record it as `default (unanswered)` and go on.
20
+ Done when the complaint, pilot, branch and accepted taste file are written down.
21
+
22
+ 2. **Inventory and baselines.** List every surface, its states and whether it writes data. Count raw values in occurrences (`#fff`, `text-gray-500`, `p-[13px]`) with `scripts/check-system.mjs --no-allowlist --no-self-test --json`, and group components into families. Capture every surface in every state at the narrowest and widest supported width (390 and 1280 by default), one fresh navigation per width, before any edit. With the app running (port 3000 here), list each surface as a `surface<TAB>route<TAB>states` row in `.design-system/surfaces.tsv` and every write the app sends as `METHOD URL` in `.design-system/writes.txt`, copied from its network log, then run `node <this skill>/scripts/capture.mjs --base http://localhost:3000 --kind before --out .design-system/captures --surfaces .design-system/surfaces.tsv --writes .design-system/writes.txt`. It refuses to start without `--writes` (or `--no-backend` for an app that sends no writes), proves each write blocked before the browser opens, saves each capture's accessibility tree and exits 1 on any capture it missed. Delete what nothing uses, in its own commit.
23
+ Done when each surface has a baseline or a stated `not captured` reason.
24
+
25
+ 3. **Tokens.** Cluster raw values by role, name them by purpose and pair each surface with its foreground (`references/tokens.md`). Run `token-mapping` until every raw value maps to a role, a merge or a listed exception. Merges inside tolerance are decisions. Past tolerance, open one gate per cluster whose default is the merge. Make every identical-value swap on every route.
26
+ Done when `token-mapping` reports zero gaps outside the exception list and `pixdiff.mjs` at tolerance 0 reports 0% for every surface a swap touched.
27
+
28
+ 4. **Components.** Build the most-used family end to end first (`references/components.md`). The text primitive and the small-text primitive ship in wave 1 beside Button. Document each with `component-docs`. Show the family to the person before fan-out, because a core bug found after screens consume the system costs a sweep (a disabled field still drawn red, a Combobox 2 px taller than Input, panel actions that do not wrap, a file drop that fails in silence).
29
+ Done when every canonical component has a registry row and a doc, and its disabled, required, error and long-text states are captured in the showcase and shown to the person.
30
+
31
+ 5. **Checks.** Copy `scripts/check-system.mjs` and `scripts/oklch.mjs` into the repo's `scripts/`, run `--init`, then `--init-allowlist` once. A rule counts only once it is seen failing: plant one violation in a scanned folder, run `--files <plant> --no-allowlist`, see exit 1 naming the rule, then delete the plant. The allowlist and ratchet only shrink. A ban ships with its check rule in the same change. Copy rules ship with their exemptions, element-scoped, for text that must stay verbatim (quotes, terms, version strings) and for payload strings that a machine or person pastes elsewhere (a prompt, an API example, a clipboard value), because rewriting them changes what someone else receives.
32
+ Done when the check exits 0 on a clean clone, `--self-test` ends "all as expected", and every rule the run added was seen failing on its plant this session.
33
+
34
+ 6. **Pilot.** Move the pilot flow with a codemod you read hunk by hunk. Capture after with the baseline's command, widths, themes and data, changing only `--kind after`, then `pixdiff.mjs` the two folders. An unexplained difference is a defect. Walk the flow by keyboard, force its error and loading states, then run `ui-review` on the after captures.
35
+ Done when every difference in the captures traces to a decision or gate. A rendered change with no capture is reported `checks-only`.
36
+
37
+ 7. **Readiness.** Before a migration fans out, the five audits below hold or carry a recorded exemption.
38
+
39
+ 8. **Handoff.** Rerun the counts. Report what the system covers in numbers, unanswered defaults first, then what was found and not fixed, ranked. Offer the migration with its size. Do not start it.
40
+ Done when every number in the report names the command that produced it.
41
+
42
+ ## Readiness audits
43
+
44
+ A gap found after screens consume the system costs a sweep. A gap found before costs a row. Run these at the end of step 5 and again before the first wave. Write each result to `.design-system/readiness.md` with a verdict word.
45
+
46
+ 1. **Slot and prop parity.** Every prop of each legacy primitive that has call sites has a matching prop on the new primitive or a gap row.
47
+ 2. **Behaviour contracts.** A "what fires when" table per interactive primitive, each row a test (`references/components.md`).
48
+ 3. **Tone parity.** Every pressable and row primitive crossed with every status tone plus muted. Each empty cell is a gap row or stated unsupported.
49
+ 4. **Pinned strings.** Every legacy test query by role name or text has a default name on the new primitive and a label override.
50
+ 5. **Hardest screens.** One hardest call site per family renders in the showcase, with a screenshot.
51
+
52
+ A family that is not ready is not migrated. Its screens stay on legacy.
53
+
54
+ ## Never
55
+
56
+ - Push, publish or deploy, unless the person asks for it in this session.
57
+ - Commit on the branch the run started on. Cut the run branch first.
58
+ - Stash, or switch branches in a dirty checkout. A dirty checkout gets the run branch in its own worktree (`git worktree add`).
59
+ - Delete anything another package or a public API exports. Stop, and list it as a gate with its importers.
60
+ - Skip a step in silence. If the app will not build or run, the report says `code-complete, not runtime-verified` and names what was not exercised.
61
+ - Call your own work `verified`. On a host that cannot start other agents, run the steps in order, check each from a fresh read of the diff and the captures, and mark those verdicts `self-verified`.
62
+
63
+ ## Rules
64
+
65
+ - Raw value smells are `#fff`, `rgb(`, `text-gray-500`, `p-[13px]` and `style={{ padding: 12 }}`. Each maps to a semantic token or a listed exception.
66
+ - A missing primitive is a gap row, never a workaround inside a surface.
67
+ - Colour merges inside delta E OK 2 and spacing merges inside 2 px are decisions. Border width, weight and easing have no tolerance.
68
+ - A change that only adds semantics (a name, a role, `aria-current`) is a decision. One that removes or restructures semantics is a gate.
69
+ - Wrong: `{saving ? "Saving..." : "Save"}`. Right: the idle label stays, a spinner sits inside the same box, `aria-busy` is set.
70
+ - A fix that recurs twice becomes a check rule or a script, not another sentence.
71
+ - A baseline is never edited to make a diff pass. A check that flags correct code is fixed in the check, with a planted case that proves the fix, never by bending the code.
72
+ - A count no script produced, or a check never seen failing, is not reported.
73
+
74
+ ## Done
75
+
76
+ The check exits 0 on a clean clone with every rule seen failing, every route answers 200 on the production build (`capture.mjs --status`), the pilot matches its baseline except for the listed intended changes, and every handoff count comes from a script.
77
+
78
+ `references/traps.md` lists behaviour traps by ID. `references/tokens.md` holds layers, names, tolerances and motion presets.
@@ -0,0 +1,29 @@
1
+ {
2
+ "lss": 1,
3
+ "lastVerified": "2026-11-09",
4
+ "source": {
5
+ "repo": "arla6ka/design.how",
6
+ "path": "skills/build-design-system/SKILL.md",
7
+ "licenseVerified": true,
8
+ "licenseStatus": "open",
9
+ "licenseEvidence": "repository license",
10
+ "licenseUrl": "https://github.com/arla6ka/design.how/blob/main/LICENSE",
11
+ "licenseCheckedAt": "2026-11-09"
12
+ },
13
+ "permissions": [
14
+ "shell"
15
+ ],
16
+ "summary": "Use when someone wants a design system built from the UI an app already ships, or one phase of it, such as \"extract tokens from the app\", \"add states to our Button\", \"replace the hardcoded colors with tokens\" or \"start a design system\". Moving screens onto an existing system's components is…",
17
+ "whenToUse": [
18
+ "Use when someone wants a design system built from the UI an app already ships, or one phase of it, such as \"extract tokens from the app\", \"add states to our Button\", \"replace the hardcoded colors with tokens\" or \"start a design system\"."
19
+ ],
20
+ "domains": [
21
+ "design",
22
+ "web"
23
+ ],
24
+ "derived": [
25
+ "domains",
26
+ "summary",
27
+ "whenToUse"
28
+ ]
29
+ }
@@ -0,0 +1,46 @@
1
+ # Components
2
+
3
+ What one canonical component per family has to carry before anything migrates onto it. Each rule exists because a migration found the gap one screen at a time.
4
+
5
+ ## One per family
6
+
7
+ - Group the inventory into families (button, input, dialog, badge). Pick the implementation with the most real uses, the best accessibility and the fewest props that carry its job. Everything else in the family is a duplicate and gets an old-to-new map.
8
+ - A registry file lists every canonical component with its import path, status and what it replaces. `rule/unregistered-ui` and `rule/deprecated-import` read it.
9
+ - Keep a stock library component stock. Deprecate wrappers the app wrote, never the foundation's own. A file you customize goes on the drift list with its hash, and `rule/stock-edit` fails on any edit made after.
10
+ - Prefer composition (`asChild`, `render`) to a `variant` that changes the element.
11
+
12
+ ## The census comes before the pilot
13
+
14
+ List every primitive the app renders, not only controls. Count call sites for text, small text (meta, caption), icon, badge tones, icon-button tones, link, divider. The text primitive and the small-text primitive ship in wave 1 with Button. A migration that starts without them reaches for raw `<p>` and `<span>` on every screen, and each one becomes a gap row later.
15
+
16
+ ## Variants and states
17
+
18
+ - State order, strongest first: disabled, invalid, focus, pressed, hover, selected, rest. Hover never overrides focus or invalid. Hover skips disabled controls.
19
+ - The one pending fix. The idle label stays, a spinner sits inside the same box, `aria-busy` is set, and `aria-disabled` with an early return blocks a repeat while focus stays put. Never `disabled`, never a swapped label, never a changed width.
20
+ - Required is not drawn red on a disabled control.
21
+ - Every primitive has a default accessible name and a `label` override, stated in its doc. A size toggle that renders "S" "M" "L" needs "Small", "Medium" and "Large" underneath.
22
+ - State words are honest in states a fixture never reaches. Use `selected`, `queued`, `uploading`, `done`, and test the picked, pending and error-inside-a-collapsed-section states.
23
+ - Never make `title` or `children` required on a primitive. Legacy screens omit them, and each required prop became a gap row.
24
+ - A default that gates a destructive or typed action (a confirmation phrase match, a focus default) changes only with the owner's ruling and a caller list. Verify the riskiest callers before any sweep.
25
+
26
+ ## Behaviour contract
27
+
28
+ For each interactive primitive write a table of what fires when, and make each row a test.
29
+
30
+ | Event | What happens | Test |
31
+ |---|---|---|
32
+ | Enter or Space right after a picker opens | Nothing is written. Selection needs an arrow key or a pointer | open, press, assert 0 writes |
33
+ | Escape in a dialog | Closes the top layer, focus returns to the opener | assert `document.activeElement` |
34
+ | Confirm success, confirm failure, opener removed | Focus lands on the opener, on the opener, on the next row or the list | assert each |
35
+ | Typed text the sanitizer would change | The keystroke is ignored, not committed as something else | type `2.5`, assert the box and the value |
36
+ | Text the control cannot parse | Submit is refused and the field shows why. The last good value is never sent | type `abc`, submit, assert 0 requests |
37
+
38
+ Every overlay and form primitive's PR carries its focus-return matrix.
39
+
40
+ ## Layout
41
+
42
+ - Tables have a responsive plan, not only `hideBelow`: a primary flexible column, a minimum width and a stacked tier. Measure that row controls stay reachable inside the scroller at 390, 768, 1280 and 1920. A column newly hidden at 390 is always a gate.
43
+ - Templates expose a named width, a per-route column override (the deepest route wins) and an aside slot. A visible shift at 1280 came from two systems with different wide tokens and padding. Keep one page width per section and give reading content a measure inside it (`trap/text-measure`), rather than narrowing one page.
44
+ - A change to the shell or a page template is verified on one downstream route per layout family at three widths. Compare main `scrollHeight` with `clientHeight`, check centring on auth pages, and count `aria-current` per tablist.
45
+ - Removing or renaming a system API sweeps every caller in the same change, dirty files included, or keeps an alias for one wave. Typecheck the whole consumer set afterward.
46
+ - Docs that ship with a component run in this order: description, examples, variants, states, props, usage, accessibility, tokens, related. `component-docs` writes them.
@@ -0,0 +1,77 @@
1
+ # Glossary
2
+
3
+ One meaning per word, for every skill in this set. A skill uses these words and does not redefine them. When a repo has its own glossary, the repo's wins.
4
+
5
+ ## Work
6
+
7
+ **Run folder**: `.design-system/` at the repo root holds the run's own notes, captures and scratch. The first step adds it to `.git/info/exclude`, so nothing in it is ever committed, and audit mode writes nowhere else.
8
+
9
+ **Surface**: One route, the shared layout every route renders, or a smaller part such as a modal. A brief, a capture, a commit and a verdict each name one. People say page or screen, and prose may too, but an id says surface.
10
+ _Avoid_: page or screen (as the id in a brief, a verdict or a file name)
11
+
12
+ **Run branch**: The branch a writing run commits to, cut from HEAD at the start. When the person names a branch, that branch is the run branch and no other is cut. Otherwise the branch the run started on is written to `.design-system/start-branch`, and `land.mjs` refuses it and the default branch. Audit mode cuts none. Merging is the person's call.
13
+ _Avoid_: feature branch, working branch
14
+
15
+ **Coordinator**: The agent that splits the work and starts workers. A **worker** does one brief and starts nobody.
16
+ _Avoid_: orchestrator, sub-agent, subagent, lead (for the coordinator)
17
+
18
+ **Wave**: The set of workers running at once. A wave never overlaps another wave's files.
19
+ _Avoid_: batch, round
20
+
21
+ ## Decisions
22
+
23
+ **Decision**: A choice that a reversible change settles. The run makes it and records the evidence. Merges inside a tolerance, adds-only accessibility changes and announced fixes to broken behaviour are decisions.
24
+
25
+ **Gate**: A product or brand choice a person could answer either way. It carries a default, the run applies the default on the run branch, and the person reverses it by naming it at merge. A gate never holds the run.
26
+ _Avoid_: blocker, open question, TODO
27
+
28
+ **Clearance**: The person's go-ahead, within a budget, to migrate past the safe moves. An ask that names the migration counts. "Clean it up" and "fix it" never do.
29
+ _Avoid_: approval, sign-off
30
+
31
+ **Identical-value swap**: A raw literal replaced by a token that holds exactly its value. It needs no clearance, and a pixel diff at tolerance 0 proves it.
32
+ _Avoid_: token replacement, cleanup
33
+
34
+ ## Evidence
35
+
36
+ **Baseline**: How a surface looked and behaved before the first migration commit, captured in the environment CI uses. When the base moves, the baseline moves with it.
37
+ _Avoid_: snapshot, golden
38
+
39
+ **Parity**: The new control gives the same answer as the old one for the same input. Checked with a table, one row per input, and every differing row is approved by a person or fixed.
40
+ _Avoid_: regression test, visual match
41
+
42
+ **Write surface**: A surface whose code sends a request that changes data (`mutate(`, `mutateAsync(`, `onSubmit`, `execute(`, a non-GET `fetch`). Its tier is set by the diff, never by the row label.
43
+ _Avoid_: tier A (as a label on a row)
44
+
45
+ **Verifier**: An agent that did not write the code. It runs the app at a named commit and writes its verdict to a file before its final message. A type check, a passing CI run and a worker saying "done" are inputs to a verdict, never the verdict.
46
+ _Avoid_: QA agent, reviewer (for the agent whose verdict lands a surface)
47
+
48
+ **Reviewer**: A read-only agent that reads a diff, its comments or a render and reports findings. It changes nothing and its findings never land a surface. Only a verifier's verdict does.
49
+
50
+ **Verdict**: `verified`, `issues` or `blocked`, followed by what was not exercised. A claim names the command that proved it in this session. Evidence older than the last edit is stale. Evidence that was not collected is `blocked`, never `verified`. A wait that ran out is `blocked (timed out)` with the command to rerun. On a host that cannot start other agents the writer's own check is `self-verified`, which never lands a write surface.
51
+ _Avoid_: `pass`, `partial`, green, looks good, verified-pending-browser
52
+
53
+ **Fingerprint**: A hash of the surface's files at the commit a verdict covers. A verdict for another fingerprint is stale.
54
+
55
+ ## System
56
+
57
+ **Primitive**: A component the system owns that other components build on: text, button, input, select, checkbox, icon, badge.
58
+ _Avoid_: atom, base component
59
+
60
+ **Legacy**: Code the system replaces: a module, a path or a raw value the migration must reach zero on. The **ratchet** is the committed per-file count that may fall and never rise.
61
+ _Avoid_: old code, deprecated (unless the registry says so)
62
+
63
+ **Gap**: Something the system lacks that a surface needs. A gap is a row in the gap list and a request to the system's owner. It is never a workaround in a surface, and a prop the system has that the caller never passed is not a gap.
64
+ _Avoid_: missing feature, TODO
65
+
66
+ **Taste file**: the accepted defaults for bans, voice, widths and reference systems, saved to `.design-system/taste.md` from the default in `references/taste.md`. A skill reads the accepted one and never assumes a line the file leaves out.
67
+ _Avoid_: style guide, brand rules
68
+
69
+ ## Counts
70
+
71
+ Say the unit with every number. A line holding three hex values is one **line** and three **occurrences**. A **mapping row** is one property in one place with one job. Never subtract one unit's count from another's.
72
+
73
+ ## Flagged ambiguities
74
+
75
+ - "Verified" was used for a code read, a type check and a browser run. Only a browser run at the surface's fingerprint is `verified`.
76
+ - "Done" was used for landed, verified and merged. A surface is **landed** when its commit is on the run branch and **verified** when a verifier's verdict names that commit.
77
+ - "Skipped" hid two things. A step that does not apply is `skipped (reason)`. A step that could not run is `blocked (reason)`.
@@ -0,0 +1,37 @@
1
+ # Taste
2
+
3
+ The author's defaults for what the UI looks and reads like. It is a starting point, not a rule of the skills. Replace it with one that has the same headings, or edit it. The run saves the accepted copy to `.design-system/taste.md`, and every skill reads that copy. A skill reads the accepted file and never assumes a line it leaves out.
4
+
5
+ ## Bans
6
+
7
+ Offered once at the start with none selected. Each one the person picks becomes a check rule and holds in code, copy, docs, examples and showcases, except on a `Don't:` line that shows the thing to avoid.
8
+
9
+ - Uppercase labels
10
+ - Middle-dot or bullet separators between items
11
+ - Em dashes, in product copy and in docs
12
+ - Exclamation marks
13
+ - Emoji
14
+ - Gradients
15
+
16
+ ## Voice
17
+
18
+ Applies to copy a run writes: empty states, toasts, docs.
19
+
20
+ - Derive the voice from the app's own strings. This file adds nothing to that unless the person fills it in.
21
+ - Sentence case for headings, labels and menu items.
22
+ - Plain verbs and the product's own nouns. Straight quotes.
23
+
24
+ ## Widths and themes
25
+
26
+ - Capture at 390 and 1280 px when the app's narrowest and widest supported widths cannot be found. The app's own widths win.
27
+ - Themes are the ones the app ships, and no new ones.
28
+
29
+ ## Reference systems
30
+
31
+ - Geist is the reference shape for a docs site: an introduction, foundation pages and a page per component. Take the structure, never its values, names or brand.
32
+ - A component page runs description, examples, variants, states, props, usage, accessibility, tokens, related.
33
+ - Compare the app's colour roles with Geist's (surface levels, text emphasis steps, control heights) to find roles the app has not named. Never copy a Geist value.
34
+
35
+ ## Rule pack
36
+
37
+ The checks load a rule pack from the project. None ships here. `check-system.mjs` carries the generic rules (raw values, palette use, arbitrary values, native controls, div buttons). A project adds its own as lint rules or config, and each rule is seen failing on a planted violation before it counts.