@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,102 @@
1
+ ---
2
+ name: "threejs"
3
+ description: "Use when building or debugging interactive 3D scenes on the web with Three.js (scene/camera/renderer, lights/materials, GLTF loading, controls, performance). Helpful for designers shipping 3D UI moments."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "3d"
7
+ luci-author: "Meng To"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Three.js — WebGL 3D Scenes Skill
12
+
13
+ ## When to use
14
+ - Real 3D: product spins, interactive hero scenes, shaders/material effects, 3D data viz
15
+ - You need full control beyond “background effects”
16
+ - You can budget time for asset pipeline + performance tuning
17
+
18
+ ## Core mental model
19
+ - Create:
20
+ - `Scene` (root graph)
21
+ - `Camera` (Perspective/Orthographic)
22
+ - `Renderer` (`WebGLRenderer`)
23
+ - `Mesh` = `Geometry` + `Material`
24
+ - Lights (if using non-unlit materials)
25
+ - Render loop:
26
+ - `requestAnimationFrame(animate)`
27
+ - Update time-based animations, controls, mixers, then `renderer.render(scene, camera)`
28
+
29
+ ## Key APIs/patterns
30
+ - Setup:
31
+ - `const renderer = new THREE.WebGLRenderer({ canvas, antialias, alpha })`
32
+ - `renderer.setSize(width, height, false)`
33
+ - `renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))`
34
+ - Camera:
35
+ - `camera.aspect = width / height; camera.updateProjectionMatrix()`
36
+ - Scene graph:
37
+ - `scene.add(object)` / `object.position/rotation/scale`
38
+ - Loading assets:
39
+ - `GLTFLoader` (models), `TextureLoader` (images), `DRACOLoader` (compressed glTF)
40
+ - Controls (common):
41
+ - `OrbitControls` (debug/product), `PointerLockControls` (FPS), custom pointer handlers
42
+ - Cleanup (important in SPAs):
43
+ - `geometry.dispose()`, `material.dispose()`, `texture.dispose()`, `renderer.dispose()`
44
+ - Remove event listeners; cancel RAF.
45
+
46
+ ## Common pitfalls
47
+ - Not handling resize → stretched/cropped rendering
48
+ - Too high devicePixelRatio → mobile GPU meltdown
49
+ - Leaking WebGL resources (not disposing) → crashes after route changes
50
+ - Loading huge textures/models → slow start; use compressed textures, Draco/KTX2, smaller maps
51
+ - Using too many lights/shadows → expensive; fake lighting with baked textures when possible
52
+
53
+ ## Quick recipes
54
+
55
+ ### 1) Minimal spinning cube
56
+ ```js
57
+ import * as THREE from "three";
58
+
59
+ const canvas = document.querySelector("#c");
60
+ const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
61
+
62
+ const scene = new THREE.Scene();
63
+ const camera = new THREE.PerspectiveCamera(45, 1, 0.1, 100);
64
+ camera.position.set(0, 0, 4);
65
+
66
+ const geom = new THREE.BoxGeometry(1, 1, 1);
67
+ const mat = new THREE.MeshStandardMaterial({ color: 0x7c3aed });
68
+ const mesh = new THREE.Mesh(geom, mat);
69
+ scene.add(mesh);
70
+
71
+ scene.add(new THREE.AmbientLight(0xffffff, 0.8));
72
+ const dir = new THREE.DirectionalLight(0xffffff, 0.8);
73
+ dir.position.set(2, 2, 2);
74
+ scene.add(dir);
75
+
76
+ function resize() {
77
+ const w = canvas.clientWidth;
78
+ const h = canvas.clientHeight;
79
+ renderer.setSize(w, h, false);
80
+ renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
81
+ camera.aspect = w / h;
82
+ camera.updateProjectionMatrix();
83
+ }
84
+ window.addEventListener("resize", resize);
85
+ resize();
86
+
87
+ function animate(t) {
88
+ mesh.rotation.y = t * 0.0006;
89
+ renderer.render(scene, camera);
90
+ requestAnimationFrame(animate);
91
+ }
92
+ requestAnimationFrame(animate);
93
+ ```
94
+
95
+ ### 2) Respect reduced motion
96
+ - If `prefers-reduced-motion: reduce`, render a still frame (no RAF) or slow updates.
97
+
98
+ ## What to ask the user
99
+ - Is this decorative (hero) or functional 3D (product viewer)?
100
+ - Target devices: mobile? older iPhones?
101
+ - Asset format availability (glTF, HDRI, textures) and file size constraints
102
+ - Accessibility/reduced motion requirements
@@ -0,0 +1,39 @@
1
+ {
2
+ "lss": 1,
3
+ "keywords": [
4
+ "three.js",
5
+ "webgl",
6
+ "3d scene"
7
+ ],
8
+ "frameworks": [
9
+ "threejs",
10
+ "react-three-fiber"
11
+ ],
12
+ "lastVerified": "2026-11-06",
13
+ "summary": "Use when building or debugging interactive 3D scenes on the web with Three.js (scene/camera/renderer, lights/materials, GLTF loading, controls, performance). Helpful for designers shipping 3D UI moments.",
14
+ "whenToUse": [
15
+ "Use when building or debugging interactive 3D scenes on the web with Three.js (scene/camera/renderer, lights/materials, GLTF loading, controls, performance).",
16
+ "Real 3D: product spins, interactive hero scenes, shaders/material effects, 3D data viz",
17
+ "You need full control beyond “background effects”",
18
+ "You can budget time for asset pipeline + performance tuning"
19
+ ],
20
+ "domains": [
21
+ "web",
22
+ "design"
23
+ ],
24
+ "derived": [
25
+ "domains",
26
+ "summary",
27
+ "whenToUse"
28
+ ],
29
+ "source": {
30
+ "repo": "MengTo/Skills",
31
+ "path": "agent-skills/web-design/threejs/SKILL.md",
32
+ "licenseVerified": true,
33
+ "licenseStatus": "open",
34
+ "licenseEvidence": "repository license",
35
+ "licenseUrl": "https://github.com/MengTo/Skills/blob/main/LICENSE",
36
+ "licenseCheckedAt": "2026-11-12",
37
+ "copyright": "Copyright (c) 2026 Meng To"
38
+ }
39
+ }
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: "accessibility-baseline"
3
+ description: "The shared baseline every new or changed UI meets while it is built: keyboard, focus, names, contrast, motion and forms. Loaded alongside UI and animation skills so they don't each repeat it; for audits and fixes use fixing-accessibility."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-title: "Accessibility Baseline (WCAG 2.2 AA)"
7
+ luci-category: "accessibility"
8
+ luci-author: "Luci"
9
+ luci-version: "1.0.0"
10
+ luci-tags: "accessibility, baseline, keyboard, focus, reduced-motion"
11
+ ---
12
+
13
+ # Accessibility Baseline
14
+
15
+ Every UI change meets these. They are short on purpose; for audits and fixes use the `fixing-accessibility` skill.
16
+
17
+ ## Keyboard & focus
18
+ - Everything clickable works with the keyboard (Tab, Enter/Space, Esc for dialogs and menus).
19
+ - Use native elements first (`button`, `a href`, `input`, `select`, `dialog`) before ARIA.
20
+ - Focus is always visible (`:focus-visible`, at least 3:1 against the background) and never hidden behind sticky headers.
21
+ - Dialogs move focus in, keep it inside, and return it to the trigger on close.
22
+
23
+ ## Names & structure
24
+ - Every control has an accessible name: visible text, `<label>`, or `aria-label` for icon-only buttons.
25
+ - Images: meaningful `alt`, or `alt=""` when decorative.
26
+ - One `h1` per page; headings don't skip levels.
27
+ - Status changes (toasts, saved, errors) are announced: `role="status"` or `aria-live="polite"`.
28
+
29
+ ## Color & contrast
30
+ - Body text 4.5:1, large text and UI boundaries 3:1.
31
+ - Never use color alone to show state: add text, an icon or a pattern.
32
+
33
+ ## Motion
34
+ - Respect `prefers-reduced-motion: reduce`: no movement (translate, scale, parallax, shake); instant changes or short fades only.
35
+ - Nothing flashes more than 3 times per second. Auto-playing motion longer than 5s can be paused.
36
+ - Animation never delays or blocks input.
37
+
38
+ ## Forms
39
+ - Errors say what went wrong and how to fix it, next to the field, linked with `aria-describedby`; `aria-invalid="true"` on the field.
40
+ - Don't disable the submit button to signal errors; show them.
41
+ - Destructive actions use a confirm step or Undo, never a long-press or a timed hold.
42
+
43
+ ## Targets & zoom
44
+ - Touch targets at least 24×24 CSS px (44×44 preferred).
45
+ - Works at 200% zoom and 320px width without horizontal scrolling.
46
+
47
+ ## Done when
48
+ - [ ] Keyboard-only walkthrough of the change works.
49
+ - [ ] Contrast checked for new colors.
50
+ - [ ] Reduced-motion setting tested.
51
+ - [ ] A screen reader names every new control.
@@ -0,0 +1,33 @@
1
+ {
2
+ "lss": 1,
3
+ "summary": "The minimum accessibility rules every new or changed UI meets while it is being built: keyboard, focus, accessible names, contrast, reduced motion, forms, targets and zoom.",
4
+ "keywords": [
5
+ "building accessible components",
6
+ "reduced motion"
7
+ ],
8
+ "whenToUse": [
9
+ "Building or changing a user interface, including animation and micro-interaction work. Luci points to it automatically for UI tasks."
10
+ ],
11
+ "whenNotToUse": [
12
+ "Accessibility audit (use fixing-accessibility)",
13
+ "Audit contrast problems",
14
+ "Fix accessibility issues",
15
+ "Fix ARIA or keyboard problems"
16
+ ],
17
+ "related": [
18
+ "fixing-accessibility",
19
+ "baseline-ui",
20
+ "micro-interaction"
21
+ ],
22
+ "verification": [
23
+ "Keyboard-only walkthrough of the change works.",
24
+ "Contrast checked for new colors.",
25
+ "Reduced-motion setting tested.",
26
+ "A screen reader names every new control."
27
+ ],
28
+ "domains": [
29
+ "web",
30
+ "design"
31
+ ],
32
+ "lastVerified": "2026-11-09"
33
+ }
@@ -0,0 +1,6 @@
1
+ # Notice
2
+
3
+ This skill comes from https://github.com/ibelick/ui-skills (`skills/fixing-accessibility/SKILL.md`).
4
+ Licence: MIT (evidence: repository license, https://github.com/ibelick/ui-skills/blob/main/LICENSE, checked 2026-11-08).
5
+
6
+ Luci converted it to the Luci Skill Standard: SKILL.md metadata keys and luci.json. The instructions are unchanged.
@@ -0,0 +1,141 @@
1
+ ---
2
+ name: "fixing-accessibility"
3
+ description: "Audit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "accessibility"
7
+ luci-author: "ui-skills"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # fixing-accessibility
12
+
13
+ Fix accessibility issues.
14
+
15
+ ## how to use
16
+
17
+ - `/fixing-accessibility`
18
+ Apply these constraints to any UI work in this conversation.
19
+
20
+ - `/fixing-accessibility <file>`
21
+ Review the file against all rules below and report:
22
+ - violations (quote the exact line or snippet)
23
+ - why it matters (one short sentence)
24
+ - a concrete fix (code-level suggestion)
25
+
26
+ Do not rewrite large parts of the UI. Prefer minimal, targeted fixes.
27
+
28
+ ## when to apply
29
+
30
+ Reference these guidelines when:
31
+ - adding or changing buttons, links, inputs, menus, dialogs, tabs, dropdowns
32
+ - building forms, validation, error states, helper text
33
+ - implementing keyboard shortcuts or custom interactions
34
+ - working on focus states, focus trapping, or modal behavior
35
+ - rendering icon-only controls
36
+ - adding hover-only interactions or hidden content
37
+
38
+ ## rule categories by priority
39
+
40
+ | priority | category | impact |
41
+ |----------|----------|--------|
42
+ | 1 | accessible names | critical |
43
+ | 2 | keyboard access | critical |
44
+ | 3 | focus and dialogs | critical |
45
+ | 4 | semantics | high |
46
+ | 5 | forms and errors | high |
47
+ | 6 | announcements | medium-high |
48
+ | 7 | contrast and states | medium |
49
+ | 8 | media and motion | low-medium |
50
+ | 9 | tool boundaries | critical |
51
+
52
+ ## quick reference
53
+
54
+ ### 1. accessible names (critical)
55
+
56
+ - every interactive control must have an accessible name
57
+ - icon-only buttons must have aria-label or aria-labelledby
58
+ - every input, select, and textarea must be labeled
59
+ - links must have meaningful text (no “click here”)
60
+ - decorative icons must be aria-hidden
61
+
62
+ ### 2. keyboard access (critical)
63
+
64
+ - do not use div or span as buttons without full keyboard support
65
+ - all interactive elements must be reachable by Tab
66
+ - focus must be visible for keyboard users
67
+ - do not use tabindex greater than 0
68
+ - Escape must close dialogs or overlays when applicable
69
+
70
+ ### 3. focus and dialogs (critical)
71
+
72
+ - modals must trap focus while open
73
+ - restore focus to the trigger on close
74
+ - set initial focus inside dialogs
75
+ - opening a dialog should not scroll the page unexpectedly
76
+
77
+ ### 4. semantics (high)
78
+
79
+ - prefer native elements (button, a, input) over role-based hacks
80
+ - if a role is used, required aria attributes must be present
81
+ - lists must use ul or ol with li
82
+ - do not skip heading levels
83
+ - tables must use th for headers when applicable
84
+
85
+ ### 5. forms and errors (high)
86
+
87
+ - errors must be linked to fields using aria-describedby
88
+ - required fields must be announced
89
+ - invalid fields must set aria-invalid
90
+ - helper text must be associated with inputs
91
+ - disabled submit actions must explain why
92
+
93
+ ### 6. announcements (medium-high)
94
+
95
+ - critical form errors should use aria-live
96
+ - loading states should use aria-busy or status text
97
+ - toasts must not be the only way to convey critical information
98
+ - expandable controls must use aria-expanded and aria-controls
99
+
100
+ ### 7. contrast and states (medium)
101
+
102
+ - ensure sufficient contrast for text and icons
103
+ - hover-only interactions must have keyboard equivalents
104
+ - disabled states must not rely on color alone
105
+ - do not remove focus outlines without a visible replacement
106
+
107
+ ### 8. media and motion (low-medium)
108
+
109
+ - images must have correct alt text (meaningful or empty)
110
+ - videos with speech should provide captions when relevant
111
+ - respect prefers-reduced-motion for non-essential motion
112
+ - avoid autoplaying media with sound
113
+
114
+ ### 9. tool boundaries (critical)
115
+
116
+ - prefer minimal changes, do not refactor unrelated code
117
+ - do not add aria when native semantics already solve the problem
118
+ - do not migrate UI libraries unless requested
119
+
120
+ ## common fixes
121
+
122
+ ```html
123
+ <!-- icon-only button: add aria-label -->
124
+ <!-- before --> <button><svg>...</svg></button>
125
+ <!-- after --> <button aria-label="Close"><svg aria-hidden="true">...</svg></button>
126
+
127
+ <!-- div as button: use native element -->
128
+ <!-- before --> <div onclick="save()">Save</div>
129
+ <!-- after --> <button onclick="save()">Save</button>
130
+
131
+ <!-- form error: link with aria-describedby -->
132
+ <!-- before --> <input id="email" /> <span>Invalid email</span>
133
+ <!-- after --> <input id="email" aria-describedby="email-err" aria-invalid="true" /> <span id="email-err">Invalid email</span>
134
+ ```
135
+
136
+ ## review guidance
137
+
138
+ - fix critical issues first (names, keyboard, focus, tool boundaries)
139
+ - prefer native HTML before adding aria
140
+ - quote the exact snippet, state the failure, propose a small fix
141
+ - for complex widgets (menu, dialog, combobox), prefer established accessible primitives over custom behavior
@@ -0,0 +1,36 @@
1
+ {
2
+ "lss": 1,
3
+ "related": [
4
+ "improve-ui"
5
+ ],
6
+ "lastVerified": "2026-11-06",
7
+ "source": {
8
+ "repo": "ibelick/ui-skills",
9
+ "path": "skills/fixing-accessibility/SKILL.md",
10
+ "licenseVerified": true,
11
+ "licenseStatus": "open",
12
+ "licenseEvidence": "repository license",
13
+ "licenseUrl": "https://github.com/ibelick/ui-skills/blob/main/LICENSE",
14
+ "licenseCheckedAt": "2026-11-08"
15
+ },
16
+ "summary": "Audit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance.",
17
+ "whenToUse": [
18
+ "Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance."
19
+ ],
20
+ "domains": [
21
+ "web",
22
+ "design"
23
+ ],
24
+ "derived": [
25
+ "domains",
26
+ "summary",
27
+ "whenToUse"
28
+ ],
29
+ "keywords": [
30
+ "a11y",
31
+ "screen reader support",
32
+ "focus trap",
33
+ "tab order",
34
+ "icon button label"
35
+ ]
36
+ }
@@ -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/animation-systems/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,192 @@
1
+ ---
2
+ name: "animation-systems"
3
+ description: "Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "animation-motion"
7
+ luci-author: "Meng To"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Animation Systems (Stripe × Linear × Apple × Vercel)
12
+
13
+ This skill helps you ship **tasteful, product-grade motion**.
14
+ Not “more animation.”
15
+ **Better animation**: clarity, hierarchy, feedback, and delight—without jank.
16
+
17
+ ---
18
+
19
+ ## The goals (why motion exists)
20
+ Use animation to:
21
+ 1) **Explain hierarchy** (what matters)
22
+ 2) **Confirm action** (feedback)
23
+ 3) **Guide attention** (where to look next)
24
+ 4) **Maintain continuity** (spatial relationships)
25
+ 5) **Add polish** (craft signals)
26
+
27
+ If an animation doesn’t serve one of these, delete it.
28
+
29
+ ---
30
+
31
+ ## The Stripe/Linear/Apple/Vercel style (shared traits)
32
+
33
+ ### 1) Restraint
34
+ - Fewer animations, better chosen.
35
+ - One strong hero moment; the rest is supporting motion.
36
+
37
+ ### 2) Clear choreography
38
+ - Primary element moves first.
39
+ - Secondary elements follow with small stagger.
40
+ - Motion establishes a “reading order.”
41
+
42
+ ### 3) Physical but not cartoony
43
+ - Use easing that feels **human** (soft acceleration + gentle settle).
44
+ - Avoid bouncy defaults for serious product UI.
45
+
46
+ ### 4) Texture + depth (subtle)
47
+ - Small parallax, soft shadows, blur fades, light beams.
48
+ - Avoid heavy 3D unless it’s the hero.
49
+
50
+ ---
51
+
52
+ ## Motion primitives (build these first)
53
+ Think in primitives you can reuse everywhere.
54
+
55
+ ### A) Fade + rise (default entrance)
56
+ Use for: text blocks, cards, modals.
57
+ - Opacity: 0 → 1
58
+ - Y: 12–24px → 0
59
+ - Duration: 300–700ms depending on size
60
+
61
+ ### B) Scale + fade (micro emphasis)
62
+ Use for: popovers, toasts, selected states.
63
+ - Scale: 0.98 → 1
64
+ - Opacity: 0 → 1
65
+
66
+ ### C) Slide (navigation)
67
+ Use for: drawers, step transitions.
68
+ - Use transform translate; avoid animating layout.
69
+
70
+ ### D) Morph / shared element (high craft)
71
+ Use for: tab indicators, expanding cards.
72
+ - Requires consistent geometry + measured layout.
73
+
74
+ ---
75
+
76
+ ## Defaults (practical numbers)
77
+ Use these as a starting system.
78
+
79
+ ### Durations (rule of thumb)
80
+ - Micro (hover/press): **120–200ms**
81
+ - UI state change (toggle, select): **180–260ms**
82
+ - Small transitions (popover, toast): **220–320ms**
83
+ - Page section entrance: **400–800ms**
84
+ - Hero sequences: **800–1600ms** (with internal beats)
85
+
86
+ ### Easing (safe set)
87
+ Pick a small set and reuse.
88
+ - UI: **ease-out** with gentle settle
89
+ - Emphasis: slightly stronger ease
90
+ - Entering: ease-out
91
+ - Exiting: ease-in (faster)
92
+
93
+ If implementing:
94
+ - Use your animation library’s “power2.out / expo.out” equivalents.
95
+ - Avoid elastic/bounce unless brand is playful.
96
+
97
+ ### Stagger
98
+ - 40–90ms per element (text lines/cards)
99
+ - Use smaller stagger on mobile
100
+
101
+ ---
102
+
103
+ ## Choreography patterns
104
+
105
+ ### 1) “Hero → supporting elements”
106
+ - Hero visual animates in first.
107
+ - Headline appears next.
108
+ - CTA appears last.
109
+
110
+ ### 2) “Section reveal on scroll”
111
+ - Trigger when section is ~20–30% visible.
112
+ - Animate once (don’t replay on tiny scroll).
113
+
114
+ ### 3) “Hover: lift + glow”
115
+ - Y: -2 to -6px
116
+ - Shadow: subtle increase
117
+ - Optional: border/gradient glow
118
+
119
+ ### 4) “Focus ring + micro shift”
120
+ - For form fields: focus ring + tiny scale/translate for responsiveness.
121
+
122
+ ---
123
+
124
+ ## Performance rules (non‑negotiable)
125
+
126
+ ### Animate the right properties
127
+ Prefer:
128
+ - `transform` (translate/scale/rotate)
129
+ - `opacity`
130
+
131
+ Avoid (unless necessary):
132
+ - width/height/top/left
133
+ - expensive filters on large areas
134
+
135
+ ### Respect the GPU
136
+ - Clamp device pixel ratio in heavy canvases (1–2)
137
+ - Keep blur subtle and small
138
+ - Avoid many simultaneous animated shadows
139
+
140
+ ### Reduce reflows
141
+ - Don’t measure layout every frame.
142
+ - For scroll effects, use a library that batches reads/writes.
143
+
144
+ ---
145
+
146
+ ## Accessibility: Reduced Motion
147
+ Always support `prefers-reduced-motion`.
148
+
149
+ Policy:
150
+ - Keep content visible.
151
+ - Replace motion with **instant state** + subtle opacity.
152
+ - Disable scroll-scrub/pin.
153
+
154
+ Ask the user:
155
+ - “Do you want a reduced-motion mode that disables all non-essential motion?”
156
+
157
+ ---
158
+
159
+ ## Implementation guidance (library-agnostic)
160
+
161
+ ### For simple sites
162
+ - CSS transitions for small hovers/toggles.
163
+ - Use a single motion library (GSAP or Framer Motion) for complex sequences.
164
+
165
+ ### For product sites
166
+ - Create a motion token set:
167
+ - durations
168
+ - easing curves
169
+ - standard offsets (8/16/24px)
170
+ - stagger defaults
171
+
172
+ ### For hero moments
173
+ - Use timelines (or keyframes) with labeled beats.
174
+ - Lock camera/scene movement first, then layer text.
175
+
176
+ ---
177
+
178
+ ## What to ask the user
179
+ - What’s the brand lane: Stripe (polished), Linear (minimal), Apple (cinematic), Vercel (developer/product)?
180
+ - What are the key moments? (hero, scroll story, hover cards, nav transitions)
181
+ - Any performance constraints? (mobile, low-end devices)
182
+ - Reduced motion requirements?
183
+
184
+ ---
185
+
186
+ ## Output format (when asked to “add Stripe/Linear-style animation”)
187
+ Return:
188
+ 1) Motion goals (what we’re trying to communicate)
189
+ 2) Motion tokens (durations + easing + offsets)
190
+ 3) A choreography plan (timeline beats)
191
+ 4) Implementation notes (perf + reduced motion)
192
+ 5) A small code recipe (CSS or GSAP/Framer depending on stack)
@@ -0,0 +1,32 @@
1
+ {
2
+ "lss": 1,
3
+ "frameworks": [
4
+ "framer-motion",
5
+ "tailwind",
6
+ "react"
7
+ ],
8
+ "lastVerified": "2026-11-06",
9
+ "summary": "Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance.",
10
+ "whenToUse": [
11
+ "Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel."
12
+ ],
13
+ "domains": [
14
+ "web",
15
+ "design"
16
+ ],
17
+ "derived": [
18
+ "domains",
19
+ "summary",
20
+ "whenToUse"
21
+ ],
22
+ "source": {
23
+ "repo": "MengTo/Skills",
24
+ "path": "agent-skills/web-design/animation-systems/SKILL.md",
25
+ "licenseVerified": true,
26
+ "licenseStatus": "open",
27
+ "licenseEvidence": "repository license",
28
+ "licenseUrl": "https://github.com/MengTo/Skills/blob/main/LICENSE",
29
+ "licenseCheckedAt": "2026-11-12",
30
+ "copyright": "Copyright (c) 2026 Meng To"
31
+ }
32
+ }