@luci-dev/skills 0.0.0-stage → 0.5.1

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,213 @@
1
+ ---
2
+ name: "landing-page"
3
+ description: "Use when designing or rewriting a high-converting landing page (single-offer page) for SaaS/apps/services. Covers structure, layout patterns, conversion strategies, copywriting, SEO/AEO, and common pitfalls."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "ui-ux"
7
+ luci-author: "Meng To"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Landing Page (High‑Conversion) — Web Design Skill
12
+
13
+ A landing page is not a homepage.
14
+ A homepage serves multiple intents.
15
+ A landing page wins one intent: **one offer → one audience → one primary action**.
16
+
17
+ ## Before you design/write
18
+ Gather (ask if missing):
19
+
20
+ ### 1) Page purpose
21
+ - What is the ONE primary action? (trial, demo, buy, waitlist, download)
22
+ - What’s the offer? (exactly what do they get?)
23
+ - What counts as conversion? (click, signup, purchase)
24
+
25
+ ### 2) Audience + context
26
+ - Who is the ICP?
27
+ - What problem are they trying to solve?
28
+ - Top 3 objections (why they don’t convert today)
29
+ - Traffic source: ads / search / social / email
30
+ - What do visitors already know when they land?
31
+
32
+ ### 3) Proof + assets
33
+ - Any proof points: logos, testimonials, numbers, case studies
34
+ - Screenshots, demo video, product GIFs
35
+ - Guarantees / refund / cancellation terms
36
+
37
+ ### 4) Constraints
38
+ - Brand voice: casual vs professional
39
+ - Design direction: minimal editorial vs playful 3D vs glass UI
40
+ - Mobile priority?
41
+
42
+ ---
43
+
44
+ ## Core structure (what it should include)
45
+
46
+ ### Above the fold (must)
47
+ 1) **Headline** (outcome + audience)
48
+ 2) **Subheadline** (clarifies “how” + adds specificity)
49
+ 3) **Primary CTA** (clear verb + what they get)
50
+ 4) **One proof signal** (logo strip / stat / short testimonial)
51
+ 5) **Hero visual** (product screenshot/video) *or* a strong illustration
52
+
53
+ ### Mid page (argument)
54
+ 6) **Problem → solution** (1 section)
55
+ 7) **Benefits** (3–5, outcome-driven)
56
+ 8) **How it works** (3 steps)
57
+ 9) **Social proof** (testimonials/case study)
58
+
59
+ ### Bottom (objection handling)
60
+ 10) **FAQ** (6–12 Q/A)
61
+ 11) **Risk reversal** (trial, cancel anytime, guarantee)
62
+ 12) **Final CTA** (same as top)
63
+
64
+ ---
65
+
66
+ ## Layout types (pick one)
67
+
68
+ ### A) Classic hero + sections (most common)
69
+ Best when:
70
+ - product is understandable with a hero screenshot
71
+
72
+ ### B) Long-form story (sales page)
73
+ Best when:
74
+ - you need to educate + overcome skepticism
75
+
76
+ ### C) Minimal conversion page
77
+ Best when:
78
+ - high-intent traffic (email → known users)
79
+ - short offer (download, waitlist)
80
+
81
+ ### D) Comparison landing page
82
+ Best when:
83
+ - search intent includes alternatives (“X vs Y”, “best for…”)—usually paired with SEO pages
84
+
85
+ ---
86
+
87
+ ## High‑conversion strategies (practical)
88
+
89
+ ### 1) Match message to source
90
+ If traffic is from ads:
91
+ - mirror the ad headline in the hero
92
+ - use the same promise and visual tone
93
+
94
+ ### 2) Make the next step obvious
95
+ - one primary CTA
96
+ - avoid multiple competing CTAs above the fold
97
+
98
+ ### 3) Write benefit-first
99
+ - Features: what it does
100
+ - Benefits: what that means for them
101
+
102
+ ### 4) Use specificity
103
+ - ❌ “Save time and streamline”
104
+ - ✅ “Cut your weekly reporting from 4 hours to 15 minutes”
105
+
106
+ ### 5) Reduce risk
107
+ Pick at least one:
108
+ - free trial
109
+ - free plan
110
+ - no credit card
111
+ - cancel anytime
112
+ - money-back guarantee
113
+
114
+ ### 6) Objection handling is a section, not a footer
115
+ - add FAQ earlier if it’s a high-friction offer
116
+ - put proof right next to the claim it supports
117
+
118
+ ---
119
+
120
+ ## Copywriting templates
121
+
122
+ ### Headline formulas
123
+ - “{Outcome} without {pain}”
124
+ - “The {category} for {audience}”
125
+ - “Ship {result} in {time}”
126
+
127
+ ### Subheadline rules
128
+ - 1–2 sentences
129
+ - clarify what it is + who it’s for
130
+
131
+ ### CTA rules
132
+ - Verb + what they get
133
+ - Avoid weak CTAs: “Learn more”, “Submit”
134
+
135
+ Examples:
136
+ - “Start free trial”
137
+ - “Book a demo”
138
+ - “Get the checklist”
139
+
140
+ ### Benefit bullets
141
+ Format:
142
+ - **Benefit** — proof/detail
143
+
144
+ Example:
145
+ - **Faster iteration** — generate 3 layout variants in one click.
146
+
147
+ ---
148
+
149
+ ## Section-by-section workflow (designer-friendly)
150
+ Work in this order:
151
+ 1) Hero
152
+ 2) Benefits
153
+ 3) How it works
154
+ 4) Proof
155
+ 5) FAQ
156
+ 6) Final CTA
157
+
158
+ Rule: don’t rebuild the whole page each time.
159
+ Iterate section-by-section to keep control.
160
+
161
+ ---
162
+
163
+ ## SEO + AEO checklist (when relevant)
164
+
165
+ ### When landing pages should NOT be indexed
166
+ - ad-only campaigns
167
+ - highly time-bound offers
168
+
169
+ Use:
170
+ - `noindex` (or keep it behind a non-indexed path)
171
+
172
+ ### When they SHOULD be indexed
173
+ - evergreen offers
174
+ - search intent matches the promise
175
+
176
+ Add:
177
+ - clear title + meta
178
+ - internal links from homepage/feature pages
179
+ - FAQ in plain Q/A for AEO
180
+
181
+ Optional:
182
+ - FAQ schema (if appropriate)
183
+
184
+ ---
185
+
186
+ ## Common pitfalls
187
+ - Too many CTAs above the fold
188
+ - Vague value prop (“streamline”, “optimize”)
189
+ - Big feature list with no outcomes
190
+ - Proof hidden at the bottom
191
+ - Mobile layout breaks readability
192
+ - No clear next step
193
+
194
+ ---
195
+
196
+ ## Output format (when generating a landing page)
197
+ Return:
198
+ 1) **Page outline** (sections + order)
199
+ 2) **Hero copy** (headline, subheadline, CTA, proof line)
200
+ 3) **Benefits section** (3–5 bullets)
201
+ 4) **How it works** (3 steps)
202
+ 5) **FAQ** (6–12 Q/A)
203
+ 6) **SEO/AEO** (indexing recommendation + title/meta if indexed)
204
+ 7) **Layout recommendation** (A/B/C/D + why)
205
+
206
+ ---
207
+
208
+ ## Quick questions (if user says “make a landing page”)
209
+ - What’s the ONE primary CTA?
210
+ - Who is the ICP and what’s the main pain?
211
+ - Any proof (numbers/testimonials/logos)?
212
+ - What’s the offer and risk reversal?
213
+ - Where is traffic coming from?
@@ -0,0 +1,47 @@
1
+ {
2
+ "lss": 1,
3
+ "related": [
4
+ "frontend-design"
5
+ ],
6
+ "frameworks": [
7
+ "react",
8
+ "nextjs",
9
+ "tailwind"
10
+ ],
11
+ "lastVerified": "2026-11-06",
12
+ "summary": "Use when designing or rewriting a high-converting landing page (single-offer page) for SaaS/apps/services. Covers structure, layout patterns, conversion strategies, copywriting, SEO/AEO, and common pitfalls.",
13
+ "whenToUse": [
14
+ "Use when designing or rewriting a high-converting landing page (single-offer page) for SaaS/apps/services."
15
+ ],
16
+ "verification": [
17
+ "ad-only campaigns",
18
+ "highly time-bound offers",
19
+ "noindex (or keep it behind a non-indexed path)",
20
+ "evergreen offers",
21
+ "search intent matches the promise",
22
+ "clear title + meta",
23
+ "internal links from homepage/feature pages",
24
+ "FAQ in plain Q/A for AEO"
25
+ ],
26
+ "domains": [
27
+ "design",
28
+ "web",
29
+ "writing"
30
+ ],
31
+ "derived": [
32
+ "domains",
33
+ "summary",
34
+ "verification",
35
+ "whenToUse"
36
+ ],
37
+ "source": {
38
+ "repo": "MengTo/Skills",
39
+ "path": "agent-skills/web-design/landing-page/SKILL.md",
40
+ "licenseVerified": true,
41
+ "licenseStatus": "open",
42
+ "licenseEvidence": "repository license",
43
+ "licenseUrl": "https://github.com/MengTo/Skills/blob/main/LICENSE",
44
+ "licenseCheckedAt": "2026-11-12",
45
+ "copyright": "Copyright (c) 2026 Meng To"
46
+ }
47
+ }
@@ -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/pricing-page/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,217 @@
1
+ ---
2
+ name: "pricing-page"
3
+ description: "Use when designing or rewriting a high-converting SaaS pricing page (structure, plan design, copywriting, SEO/AEO, FAQs, layout patterns, experiments). Includes checklists, templates, and common pitfalls."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "ui-ux"
7
+ luci-author: "Meng To"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Pricing Page (High‑Conversion) — Web Design Skill
12
+
13
+ Design a pricing page that helps visitors **choose** and feel good about it.
14
+ Your job is not to “show prices.”
15
+ Your job is to **reduce uncertainty**.
16
+
17
+ ## Before you design/write
18
+ Gather (ask if missing):
19
+
20
+ ### 1) Offer + audience
21
+ - What are you selling? (category)
22
+ - Who is it for? (ICP + primary use case)
23
+ - What’s the main value metric? (seat, usage, project, revenue, etc.)
24
+
25
+ ### 2) Plans
26
+ - Plan names + prices (monthly/annual)
27
+ - Limits per plan (the 3–6 limits that matter)
28
+ - What’s the upgrade trigger? (what causes people to move up?)
29
+
30
+ ### 3) Objections + risk
31
+ - Top 3 reasons people don’t buy today
32
+ - Security/compliance needs? (SOC2, GDPR, etc.)
33
+ - Can you offer: free trial, free plan, money-back, demo?
34
+
35
+ ### 4) Proof
36
+ - Testimonials, logos, results, case studies, metrics
37
+
38
+ ### 5) Traffic context
39
+ - Are visitors coming from: homepage, feature pages, ads, comparison pages?
40
+ - What do they already know?
41
+
42
+ ---
43
+
44
+ ## Core structure (what a pricing page should have)
45
+
46
+ ### Above the fold (must)
47
+ - **Clear value headline** (what outcome, for who)
48
+ - **Monthly/Annual toggle** with annual savings callout
49
+ - **3‑plan pricing table** (most common) or 2‑plan (simple product)
50
+ - **Primary CTA** per plan (consistent verbs)
51
+
52
+ ### Below the fold (high leverage)
53
+ - **Plan comparison** (feature matrix or “what you get” bullets)
54
+ - **FAQ** (objection handling)
55
+ - **Social proof** near decision points
56
+ - **Security / compliance / procurement** section (if B2B)
57
+ - **Final CTA** + contact sales
58
+
59
+ ---
60
+
61
+ ## Layout types (pick one)
62
+
63
+ ### A) Classic 3‑card
64
+ Best when:
65
+ - you have 3 natural tiers (Starter / Pro / Business)
66
+ - pricing is simple
67
+
68
+ Rules:
69
+ - 1 plan labeled **Recommended**
70
+ - show “most popular” without yelling
71
+
72
+ ### B) Value metric slider
73
+ Best when:
74
+ - pricing scales with usage (seats, events, credits)
75
+
76
+ Rules:
77
+ - keep math obvious
78
+ - keep a safe default (median customer)
79
+
80
+ ### C) “Pick your path” (two columns)
81
+ Best when:
82
+ - different audiences (Individuals vs Teams)
83
+
84
+ Rules:
85
+ - separate by persona first, then price
86
+
87
+ ### D) Enterprise last mile
88
+ Best when:
89
+ - you have a self-serve path + sales-led path
90
+
91
+ Rules:
92
+ - Enterprise should read like **procurement reassurance**
93
+
94
+ ---
95
+
96
+ ## High‑conversion strategies (practical)
97
+
98
+ ### 1) Make the decision easy
99
+ - 3 plans max (unless you have a strong reason)
100
+ - One recommended plan
101
+ - Bullets describe **outcomes**, not internal features
102
+
103
+ ### 2) Anchor value (without being shady)
104
+ - Annual toggle with “Save X%”
105
+ - Show “Starting at” only if your pricing is truly variable
106
+ - Avoid surprise fees
107
+
108
+ ### 3) Reduce risk
109
+ Choose at least one:
110
+ - Free trial
111
+ - Free plan
112
+ - Money‑back guarantee
113
+ - “Talk to sales” with a clear promise (response time, demo)
114
+
115
+ ### 4) Handle objections before they bounce
116
+ Most effective FAQ topics:
117
+ - “Can I cancel anytime?”
118
+ - “What happens if I hit limits?”
119
+ - “Do you offer discounts?”
120
+ - “Is this for freelancers/teams?”
121
+ - “Security / data / compliance”
122
+
123
+ ### 5) Provide a comparison that’s readable
124
+ - Avoid huge spreadsheets
125
+ - Group by: Core, Collaboration, Admin/Security, Support
126
+ - Highlight what changes at each tier
127
+
128
+ ---
129
+
130
+ ## Copywriting (templates)
131
+
132
+ ### Headlines (choose a formula)
133
+ - “{Outcome} for {audience}—without {pain}”
134
+ - “Plans that scale from {small} to {big}”
135
+ - “Start small. Upgrade when {trigger}.”
136
+
137
+ ### Plan description (2 lines)
138
+ - Who it’s for
139
+ - What it unlocks
140
+
141
+ Example:
142
+ - **Pro** — For designers shipping weekly. Better components, faster iteration.
143
+
144
+ ### CTA buttons
145
+ Rules:
146
+ - Use verbs that match the motion:
147
+ - “Start free trial”
148
+ - “Buy Pro”
149
+ - “Contact sales”
150
+ - Keep CTAs consistent across plans (don’t mix “Get started” / “Try now” / “Sign up”).
151
+
152
+ ### Feature bullets (write like outcomes)
153
+ - ❌ “Unlimited projects”
154
+ - ✅ “Ship unlimited client sites without extra fees”
155
+
156
+ ---
157
+
158
+ ## Pricing table checklist (UI)
159
+ - Visible monthly/annual toggle
160
+ - “Save X%” callout on annual
161
+ - Recommended plan styling (subtle)
162
+ - Key limits visible (3–6 max)
163
+ - Included items visible (3–6 max)
164
+ - Clear next step under each plan (trial/buy/contact)
165
+ - Link: “Compare plans” (scrolls to matrix)
166
+ - Mobile: table becomes stacked cards (not a horizontal scroll nightmare)
167
+
168
+ ---
169
+
170
+ ## SEO + AEO (AI answers) checklist
171
+
172
+ ### SEO basics
173
+ - Title: “Pricing — {Product}” + outcome keyword
174
+ - Meta description: 1 sentence on value + 1 sentence on pricing starting point
175
+ - Clean URL: `/pricing`
176
+ - Internal links from:
177
+ - homepage CTA
178
+ - feature pages
179
+ - comparison pages
180
+
181
+ ### AEO (answer engines)
182
+ - Add an FAQ section that answers:
183
+ - refund policy
184
+ - trial length
185
+ - cancellation
186
+ - what counts as a seat/usage
187
+ - enterprise procurement
188
+ - Write FAQs in **plain Q/A** format.
189
+ - Optional: FAQ schema (if your stack supports it).
190
+
191
+ ---
192
+
193
+ ## Common pitfalls
194
+ - Too many plans (analysis paralysis)
195
+ - Features listed with no context (why it matters)
196
+ - Pricing hidden behind “Contact sales” for everything
197
+ - Switching value metric mid-page (confusing)
198
+ - Over-designed table that harms readability
199
+
200
+ ---
201
+
202
+ ## Output format (when generating a pricing page)
203
+ Return:
204
+ 1) **Page outline** (sections + order)
205
+ 2) **Pricing table spec** (plans, bullets, limits, CTA)
206
+ 3) **FAQ list** (6–12 Q/A)
207
+ 4) **SEO/AEO** (title + meta + FAQ schema suggestion)
208
+ 5) **Layout recommendation** (A/B/C/D + why)
209
+
210
+ ---
211
+
212
+ ## Quick questions (if user gives you only “make a pricing page”)
213
+ - Free plan or trial?
214
+ - Monthly/annual pricing numbers?
215
+ - Value metric?
216
+ - Recommended plan (which one and why)?
217
+ - Top 3 objections?
@@ -0,0 +1,47 @@
1
+ {
2
+ "lss": 1,
3
+ "related": [
4
+ "landing-page"
5
+ ],
6
+ "frameworks": [
7
+ "react",
8
+ "nextjs",
9
+ "tailwind"
10
+ ],
11
+ "lastVerified": "2026-11-06",
12
+ "summary": "Use when designing or rewriting a high-converting SaaS pricing page (structure, plan design, copywriting, SEO/AEO, FAQs, layout patterns, experiments). Includes checklists, templates, and common pitfalls.",
13
+ "whenToUse": [
14
+ "Use when designing or rewriting a high-converting SaaS pricing page (structure, plan design, copywriting, SEO/AEO, FAQs, layout patterns, experiments)."
15
+ ],
16
+ "verification": [
17
+ "Visible monthly/annual toggle",
18
+ "“Save X%” callout on annual",
19
+ "Recommended plan styling (subtle)",
20
+ "Key limits visible (3–6 max)",
21
+ "Included items visible (3–6 max)",
22
+ "Clear next step under each plan (trial/buy/contact)",
23
+ "Link: “Compare plans” (scrolls to matrix)",
24
+ "Mobile: table becomes stacked cards (not a horizontal scroll nightmare)"
25
+ ],
26
+ "domains": [
27
+ "design",
28
+ "web",
29
+ "writing"
30
+ ],
31
+ "derived": [
32
+ "domains",
33
+ "summary",
34
+ "verification",
35
+ "whenToUse"
36
+ ],
37
+ "source": {
38
+ "repo": "MengTo/Skills",
39
+ "path": "agent-skills/web-design/pricing-page/SKILL.md",
40
+ "licenseVerified": true,
41
+ "licenseStatus": "open",
42
+ "licenseEvidence": "repository license",
43
+ "licenseUrl": "https://github.com/MengTo/Skills/blob/main/LICENSE",
44
+ "licenseCheckedAt": "2026-11-12",
45
+ "copyright": "Copyright (c) 2026 Meng To"
46
+ }
47
+ }
@@ -0,0 +1,67 @@
1
+ # Logic Prototype
2
+
3
+ A single, self-contained HTML file (a **shareable demo**) that lets anyone drive a state model by clicking buttons. Use this when the question is about **business logic, state transitions, or data shape**: the kind of thing that looks reasonable on paper but only feels wrong once you push it through real cases.
4
+
5
+ Because it's one file with nothing to install, you can hand it to a non-developer (a designer, a PM, a domain expert) and let them feel the model for themselves. So it speaks their language, not the code's.
6
+
7
+ ## When this is the right shape
8
+
9
+ - "I'm not sure if this state machine handles the edge case where X then Y."
10
+ - "Does this data model actually let me represent the case where..."
11
+ - "I want to feel out what the API should look like before writing it."
12
+ - Anything where someone wants to **press buttons and watch state change**.
13
+
14
+ If the question is "what should this look like," this is the wrong branch. Use [UI.md](UI.md).
15
+
16
+ ## Process
17
+
18
+ ### 1. State the question
19
+
20
+ Before writing code, write down what state model and what question you're prototyping. One paragraph, at the top of the demo (in a visible intro, not just a comment). A logic prototype that answers the wrong question is pure waste, so make the question explicit so it can be checked later, whether the user is watching now or returning to it AFK.
21
+
22
+ ### 2. Isolate the logic in a portable module
23
+
24
+ Put the actual logic (the bit that's answering the question) in a single `<script>` block written as a small, pure module that could be lifted out and dropped into the real codebase later. The page around it is throwaway; this module isn't.
25
+
26
+ The right shape depends on the question:
27
+
28
+ - **A pure reducer**: `(state, action) => state`. Good when actions are discrete events and state is a single value.
29
+ - **A state machine**: explicit states and transitions. Good when "which actions are even legal right now" is part of the question.
30
+ - **A small set of pure functions** over a plain data type. Good when there's no implicit current state, just transformations.
31
+ - **A class or module with a clear method surface** when the logic genuinely owns ongoing internal state.
32
+
33
+ Pick whichever shape best fits the question being asked, *not* whichever is easiest to wire to a page. Keep it pure: no DOM, no `document`, no button handlers reaching inside it. The page calls into it; nothing flows the other direction. This is what makes the prototype useful past its own lifetime: once the question's answered, the validated reducer / machine / function set lifts into the real module on its own.
34
+
35
+ ### 3. Build the shareable HTML file
36
+
37
+ One file, plain HTML/CSS/JS: no framework, no bundler, no server, everything inline so it opens by double-click and survives being emailed around. Anyone should be able to run it by opening it.
38
+
39
+ Write it for a non-developer. Every label is in **domain language**, not code: buttons and state read like the business, not the reducer. Explain in plain words what's happening.
40
+
41
+ Lay it out with a clean hierarchy, top to bottom:
42
+
43
+ 1. **Title and one-line explanation** of what this demo lets you explore (the question from step 1).
44
+ 2. **Current state**: the full relevant state, rendered as a readable panel (labelled fields, not a raw JSON dump), re-rendered after every click so the change is visible. Where it helps a non-developer follow, call out what just changed.
45
+ 3. **Free-play buttons**: one button per action, always available, so anyone can poke at the model in any order. Each click dispatches its action and re-renders the state.
46
+ 4. **Guided walkthroughs**: a set of **scenarios**, one per tab. Each tab holds a short plain-language description of the scenario (the situation it sets up and what to watch for) and underneath it, the ordered **buttons to press** for that scenario. Each step is a real button: clicking it performs that action and moves to the next step. Starting a walkthrough resets to a known initial state so the scenario runs the same way every time.
47
+
48
+ Choose scenarios that demonstrate the awkward cases, the ones hard to reason about on paper: the happy path, a tricky edge case, an attempt at something that should be illegal.
49
+
50
+ Keep it beautiful but restrained: clean typography, generous spacing, one accent colour. No animations, no gimmicks: nothing that competes with the state and the buttons.
51
+
52
+ ### 4. Hand it over
53
+
54
+ Send them the file, or open it for them. They'll click through the walkthroughs and free-play whenever they get to it; the interesting moments are when they say "wait, that shouldn't be possible" or "huh, I assumed X would be different"; those are the bugs in the _idea_, which is the whole point. If they want new actions or a new scenario, add them. Prototypes evolve.
55
+
56
+ ### 5. Capture the answer and the prototype
57
+
58
+ Once the prototype has answered its question, capture the answer, then capture the prototype the way the [SKILL](SKILL.md) describes. The logic-specific mapping: the validated reducer / machine / function set lifts into the real module (the decision, absorbed); the HTML shell rides along to the throwaway branch that keeps the prototype as a primary source, and being one self-contained file, it stays trivially re-runnable there.
59
+
60
+ ## Anti-patterns
61
+
62
+ - **Don't add tests.** A prototype that needs tests is no longer a prototype.
63
+ - **Don't wire it to the real database.** Use in-memory state unless the question is specifically about persistence.
64
+ - **Don't generalise.** No "what if we wanted to support X later." The prototype answers one question.
65
+ - **Don't blur the logic and the page together.** If the pure module references the DOM, `document`, or button handlers, it's no longer liftable. Keep the page as a thin shell over a pure module.
66
+ - **Don't reach for a framework, bundler, or server.** One file the recipient double-clicks; a React app or a dev server defeats "shareable".
67
+ - **Don't ship the HTML shell into production.** The page is optimised for being clicked through by hand. The logic module behind it is the bit worth keeping.
@@ -0,0 +1,6 @@
1
+ # Notice
2
+
3
+ This skill comes from https://github.com/mattpocock/skills (`skills/engineering/prototype/SKILL.md`).
4
+ Licence: MIT (evidence: repository license, https://github.com/mattpocock/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,31 @@
1
+ ---
2
+ name: "prototype"
3
+ description: "Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like."
4
+ license: "MIT"
5
+ metadata:
6
+ luci-category: "ui-ux"
7
+ luci-author: "mattpocock"
8
+ luci-version: "1.0.0"
9
+ ---
10
+
11
+ # Prototype
12
+
13
+ A prototype is **throwaway code that answers a question**. The question decides the shape.
14
+
15
+ ## Pick a branch
16
+
17
+ Identify which question is being answered, using the user's prompt, the surrounding code, or by asking if the user is around:
18
+
19
+ - **"Does this logic / state model feel right?"** → [LOGIC.md](LOGIC.md). Build a single shareable HTML file (free-play buttons plus tabbed guided walkthroughs) that pushes the state machine through cases that are hard to reason about on paper, and that a non-developer can drive.
20
+ - **"What should this look like?"** → [UI.md](UI.md). Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.
21
+
22
+ The two branches produce very different artifacts, so getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.
23
+
24
+ ## Rules that apply to both
25
+
26
+ 1. **Throwaway from day one, and clearly marked as such.** Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious, but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.
27
+ 2. **Trivial to run.** A UI prototype starts from one command in the project's task runner: `pnpm <name>`, `python <path>`, `bun <path>`, etc. A logic demo is a single HTML file the user double-clicks. Either way, no thinking required to start it.
28
+ 3. **No persistence by default.** State lives in memory. Persistence is the thing the prototype is _checking_, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear "PROTOTYPE, wipe me" name.
29
+ 4. **Skip the polish.** No tests, no error handling beyond what makes the prototype _runnable_, no abstractions. The point is to learn something fast.
30
+ 5. **Surface the state.** After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.
31
+ 6. **Capture it when done.** Fold any validated decision into the real code, then capture the prototype itself as a **primary source**: commit it to a throwaway branch, out of main, and leave a context pointer to that branch on the implementation issue. Capture the answer too (the verdict and the question it settled) in the issue or a commit. The main branch keeps only the validated decision.