@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.
- package/dist/benchmark.d.ts +48 -0
- package/dist/benchmark.d.ts.map +1 -0
- package/dist/benchmark.js +84 -0
- package/dist/benchmark.js.map +1 -0
- package/dist/discovery.d.ts +105 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +271 -0
- package/dist/discovery.js.map +1 -0
- package/dist/drafts.d.ts +20 -0
- package/dist/drafts.d.ts.map +1 -0
- package/dist/drafts.js +57 -0
- package/dist/drafts.js.map +1 -0
- package/dist/github.d.ts +49 -0
- package/dist/github.d.ts.map +1 -0
- package/dist/github.js +93 -0
- package/dist/github.js.map +1 -0
- package/dist/import.d.ts +80 -0
- package/dist/import.d.ts.map +1 -0
- package/dist/import.js +286 -0
- package/dist/import.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/licenses.d.ts +30 -0
- package/dist/licenses.d.ts.map +1 -0
- package/dist/licenses.js +116 -0
- package/dist/licenses.js.map +1 -0
- package/dist/linter.d.ts +35 -0
- package/dist/linter.d.ts.map +1 -0
- package/dist/linter.js +262 -0
- package/dist/linter.js.map +1 -0
- package/dist/lss.d.ts +74 -0
- package/dist/lss.d.ts.map +1 -0
- package/dist/lss.js +273 -0
- package/dist/lss.js.map +1 -0
- package/dist/orchestrator.d.ts +164 -0
- package/dist/orchestrator.d.ts.map +1 -0
- package/dist/orchestrator.js +370 -0
- package/dist/orchestrator.js.map +1 -0
- package/dist/packs.d.ts +50 -0
- package/dist/packs.d.ts.map +1 -0
- package/dist/packs.js +166 -0
- package/dist/packs.js.map +1 -0
- package/dist/preferences.d.ts +18 -0
- package/dist/preferences.d.ts.map +1 -0
- package/dist/preferences.js +57 -0
- package/dist/preferences.js.map +1 -0
- package/dist/project.d.ts +45 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +183 -0
- package/dist/project.js.map +1 -0
- package/dist/rankability.d.ts +51 -0
- package/dist/rankability.d.ts.map +1 -0
- package/dist/rankability.js +217 -0
- package/dist/rankability.js.map +1 -0
- package/dist/registry.d.ts +82 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +300 -0
- package/dist/registry.js.map +1 -0
- package/dist/trust.d.ts +13 -0
- package/dist/trust.d.ts.map +1 -0
- package/dist/trust.js +41 -0
- package/dist/trust.js.map +1 -0
- package/dist/types.d.ts +44 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/library/3d/threejs/LICENSE.txt +21 -0
- package/library/3d/threejs/NOTICE.md +7 -0
- package/library/3d/threejs/SKILL.md +102 -0
- package/library/3d/threejs/luci.json +39 -0
- package/library/accessibility/accessibility-baseline/SKILL.md +51 -0
- package/library/accessibility/accessibility-baseline/luci.json +33 -0
- package/library/accessibility/fixing-accessibility/NOTICE.md +6 -0
- package/library/accessibility/fixing-accessibility/SKILL.md +141 -0
- package/library/accessibility/fixing-accessibility/luci.json +36 -0
- package/library/animation-motion/animation-systems/LICENSE.txt +21 -0
- package/library/animation-motion/animation-systems/NOTICE.md +7 -0
- package/library/animation-motion/animation-systems/SKILL.md +192 -0
- package/library/animation-motion/animation-systems/luci.json +32 -0
- package/library/animation-motion/animejs/SKILL.md +64 -0
- package/library/animation-motion/animejs/luci.json +12 -0
- package/library/animation-motion/motion-dev/SKILL.md +69 -0
- package/library/animation-motion/motion-dev/luci.json +13 -0
- package/library/animation-motion/react-view-transitions/AGENTS.md +1380 -0
- package/library/animation-motion/react-view-transitions/NOTICE.md +6 -0
- package/library/animation-motion/react-view-transitions/README.md +44 -0
- package/library/animation-motion/react-view-transitions/SKILL.md +334 -0
- package/library/animation-motion/react-view-transitions/luci.json +40 -0
- package/library/animation-motion/react-view-transitions/metadata.json +12 -0
- package/library/animation-motion/react-view-transitions/references/css-recipes.md +312 -0
- package/library/animation-motion/react-view-transitions/references/implementation.md +170 -0
- package/library/animation-motion/react-view-transitions/references/nextjs.md +233 -0
- package/library/animation-motion/react-view-transitions/references/patterns.md +274 -0
- package/library/animation-motion/react-view-transitions/references/troubleshooting.md +47 -0
- package/library/code-quality/code-review/NOTICE.md +6 -0
- package/library/code-quality/code-review/SKILL.md +94 -0
- package/library/code-quality/code-review/agents/openai.yaml +3 -0
- package/library/code-quality/code-review/luci.json +33 -0
- package/library/components/company-logos/LICENSE.txt +21 -0
- package/library/components/company-logos/NOTICE.md +7 -0
- package/library/components/company-logos/SKILL.md +27 -0
- package/library/components/company-logos/luci.json +38 -0
- package/library/components/container-lines/LICENSE.txt +21 -0
- package/library/components/container-lines/NOTICE.md +7 -0
- package/library/components/container-lines/SKILL.md +124 -0
- package/library/components/container-lines/luci.json +48 -0
- package/library/design-systems/build-design-system/NOTICE.md +6 -0
- package/library/design-systems/build-design-system/SKILL.md +78 -0
- package/library/design-systems/build-design-system/luci.json +29 -0
- package/library/design-systems/build-design-system/references/components.md +46 -0
- package/library/design-systems/build-design-system/references/glossary.md +77 -0
- package/library/design-systems/build-design-system/references/taste.md +37 -0
- package/library/design-systems/build-design-system/references/tokens.md +59 -0
- package/library/design-systems/build-design-system/references/traps.md +128 -0
- package/library/design-systems/build-design-system/scripts/capture-guard.mjs +470 -0
- package/library/design-systems/build-design-system/scripts/capture.mjs +355 -0
- package/library/design-systems/build-design-system/scripts/check-system.mjs +1883 -0
- package/library/design-systems/build-design-system/scripts/find-chromium.mjs +137 -0
- package/library/design-systems/build-design-system/scripts/oklch.mjs +221 -0
- package/library/design-systems/build-design-system/scripts/pixdiff.mjs +186 -0
- package/library/design-systems/component-docs/NOTICE.md +6 -0
- package/library/design-systems/component-docs/SKILL.md +50 -0
- package/library/design-systems/component-docs/luci.json +30 -0
- package/library/design-systems/component-docs/references/doc-format.md +85 -0
- package/library/design-systems/create-design-md/NOTICE.md +6 -0
- package/library/design-systems/create-design-md/SKILL.md +259 -0
- package/library/design-systems/create-design-md/luci.json +38 -0
- package/library/design-systems/design-system-boss/NOTICE.md +6 -0
- package/library/design-systems/design-system-boss/SKILL.md +58 -0
- package/library/design-systems/design-system-boss/luci.json +29 -0
- package/library/design-systems/design-system-boss/playbooks/build.md +10 -0
- package/library/design-systems/design-system-boss/playbooks/component.md +9 -0
- package/library/design-systems/design-system-boss/playbooks/migrate.md +11 -0
- package/library/design-systems/design-system-boss/playbooks/review.md +9 -0
- package/library/design-systems/migrate-design-system/NOTICE.md +6 -0
- package/library/design-systems/migrate-design-system/SKILL.md +62 -0
- package/library/design-systems/migrate-design-system/luci.json +33 -0
- package/library/design-systems/migrate-design-system/references/correct.md +37 -0
- package/library/design-systems/migrate-design-system/references/lessons.md +69 -0
- package/library/design-systems/migrate-design-system/references/parity.md +44 -0
- package/library/design-systems/migrate-design-system/references/running-many-agents.md +52 -0
- package/library/design-systems/migrate-design-system/scripts/bodies-check.mjs +215 -0
- package/library/design-systems/migrate-design-system/scripts/land.mjs +433 -0
- package/library/design-systems/migrate-design-system/scripts/legacy.mjs +283 -0
- package/library/design-systems/migrate-design-system/scripts/parity.mjs +173 -0
- package/library/design-systems/token-mapping/NOTICE.md +6 -0
- package/library/design-systems/token-mapping/SKILL.md +46 -0
- package/library/design-systems/token-mapping/luci.json +25 -0
- package/library/design-systems/token-mapping/references/mapping-rules.md +54 -0
- package/library/design-systems/ui-review/NOTICE.md +6 -0
- package/library/design-systems/ui-review/SKILL.md +53 -0
- package/library/design-systems/ui-review/luci.json +29 -0
- package/library/design-systems/ui-review/references/criteria.md +49 -0
- package/library/frontend/composition-patterns/AGENTS.md +946 -0
- package/library/frontend/composition-patterns/NOTICE.md +6 -0
- package/library/frontend/composition-patterns/README.md +60 -0
- package/library/frontend/composition-patterns/SKILL.md +86 -0
- package/library/frontend/composition-patterns/luci.json +33 -0
- package/library/frontend/composition-patterns/metadata.json +11 -0
- package/library/frontend/composition-patterns/rules/_sections.md +29 -0
- package/library/frontend/composition-patterns/rules/_template.md +24 -0
- package/library/frontend/composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/library/frontend/composition-patterns/rules/architecture-compound-components.md +112 -0
- package/library/frontend/composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/library/frontend/composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/library/frontend/composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/library/frontend/composition-patterns/rules/state-context-interface.md +191 -0
- package/library/frontend/composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/library/frontend/composition-patterns/rules/state-lift-state.md +125 -0
- package/library/frontend/design-mobile-apps/NOTICE.md +6 -0
- package/library/frontend/design-mobile-apps/SKILL.md +121 -0
- package/library/frontend/design-mobile-apps/designing.md +56 -0
- package/library/frontend/design-mobile-apps/endpoints.md +362 -0
- package/library/frontend/design-mobile-apps/implementing.md +213 -0
- package/library/frontend/design-mobile-apps/luci.json +31 -0
- package/library/frontend/design-mobile-apps/styling/nativewind.md +57 -0
- package/library/frontend/design-mobile-apps/styling/stylesheet.md +28 -0
- package/library/frontend/design-mobile-apps/styling/uniwind.md +38 -0
- package/library/frontend/frontend-design/LICENSE.txt +202 -0
- package/library/frontend/frontend-design/NOTICE.md +6 -0
- package/library/frontend/frontend-design/SKILL.md +81 -0
- package/library/frontend/frontend-design/luci.json +43 -0
- package/library/frontend/react-native-skills/AGENTS.md +2897 -0
- package/library/frontend/react-native-skills/NOTICE.md +6 -0
- package/library/frontend/react-native-skills/README.md +165 -0
- package/library/frontend/react-native-skills/SKILL.md +119 -0
- package/library/frontend/react-native-skills/luci.json +33 -0
- package/library/frontend/react-native-skills/metadata.json +16 -0
- package/library/frontend/react-native-skills/rules/_sections.md +86 -0
- package/library/frontend/react-native-skills/rules/_template.md +28 -0
- package/library/frontend/react-native-skills/rules/animation-derived-value.md +53 -0
- package/library/frontend/react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/library/frontend/react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/library/frontend/react-native-skills/rules/design-system-compound-components.md +66 -0
- package/library/frontend/react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/library/frontend/react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/library/frontend/react-native-skills/rules/js-hoist-intl.md +61 -0
- package/library/frontend/react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/library/frontend/react-native-skills/rules/list-performance-function-references.md +132 -0
- package/library/frontend/react-native-skills/rules/list-performance-images.md +53 -0
- package/library/frontend/react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/library/frontend/react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/library/frontend/react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/library/frontend/react-native-skills/rules/list-performance-item-types.md +104 -0
- package/library/frontend/react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/library/frontend/react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/library/frontend/react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/library/frontend/react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/library/frontend/react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/library/frontend/react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/library/frontend/react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/library/frontend/react-native-skills/rules/react-state-fallback.md +56 -0
- package/library/frontend/react-native-skills/rules/react-state-minimize.md +65 -0
- package/library/frontend/react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/library/frontend/react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/library/frontend/react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/library/frontend/react-native-skills/rules/state-ground-truth.md +80 -0
- package/library/frontend/react-native-skills/rules/ui-expo-image.md +66 -0
- package/library/frontend/react-native-skills/rules/ui-image-gallery.md +104 -0
- package/library/frontend/react-native-skills/rules/ui-measure-views.md +78 -0
- package/library/frontend/react-native-skills/rules/ui-menus.md +174 -0
- package/library/frontend/react-native-skills/rules/ui-native-modals.md +77 -0
- package/library/frontend/react-native-skills/rules/ui-pressable.md +61 -0
- package/library/frontend/react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/library/frontend/react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/library/frontend/react-native-skills/rules/ui-styling.md +87 -0
- package/library/frontend/tailwindcss/LICENSE.txt +21 -0
- package/library/frontend/tailwindcss/NOTICE.md +7 -0
- package/library/frontend/tailwindcss/SKILL.md +83 -0
- package/library/frontend/tailwindcss/luci.json +39 -0
- package/library/frontend-frameworks/react-best-practices/NOTICE.md +6 -0
- package/library/frontend-frameworks/react-best-practices/SKILL.md +151 -0
- package/library/frontend-frameworks/react-best-practices/luci.json +39 -0
- package/library/general/algorithmic-art/LICENSE.txt +202 -0
- package/library/general/algorithmic-art/NOTICE.md +6 -0
- package/library/general/algorithmic-art/SKILL.md +409 -0
- package/library/general/algorithmic-art/luci.json +27 -0
- package/library/general/algorithmic-art/templates/generator_template.js +223 -0
- package/library/general/algorithmic-art/templates/viewer.html +599 -0
- package/library/general/canvas-design/LICENSE.txt +202 -0
- package/library/general/canvas-design/NOTICE.md +6 -0
- package/library/general/canvas-design/SKILL.md +134 -0
- package/library/general/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/library/general/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/library/general/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/library/general/canvas-design/luci.json +29 -0
- package/library/index.json +2507 -0
- package/library/interaction/animation-on-scroll/LICENSE.txt +21 -0
- package/library/interaction/animation-on-scroll/NOTICE.md +7 -0
- package/library/interaction/animation-on-scroll/SKILL.md +115 -0
- package/library/interaction/animation-on-scroll/luci.json +38 -0
- package/library/micro-interactions/masked-reveal/LICENSE.txt +21 -0
- package/library/micro-interactions/masked-reveal/NOTICE.md +7 -0
- package/library/micro-interactions/masked-reveal/SKILL.md +187 -0
- package/library/micro-interactions/masked-reveal/luci.json +63 -0
- package/library/micro-interactions/micro-interaction/NOTICE.md +6 -0
- package/library/micro-interactions/micro-interaction/SKILL.md +177 -0
- package/library/micro-interactions/micro-interaction/luci.json +52 -0
- package/library/micro-interactions/micro-interaction/references/css-recipes.md +142 -0
- package/library/micro-interactions/micro-interaction/references/framer-motion-recipes.md +187 -0
- package/library/micro-interactions/micro-interaction/scripts/README.md +42 -0
- package/library/micro-interactions/micro-interaction/scripts/contact-sheet.sh +17 -0
- package/library/micro-interactions/micro-interaction/scripts/seek-shot.sh +21 -0
- package/library/performance/fixing-motion-performance/NOTICE.md +6 -0
- package/library/performance/fixing-motion-performance/SKILL.md +156 -0
- package/library/performance/fixing-motion-performance/luci.json +30 -0
- package/library/seo/fixing-metadata/NOTICE.md +6 -0
- package/library/seo/fixing-metadata/SKILL.md +111 -0
- package/library/seo/fixing-metadata/luci.json +36 -0
- package/library/shadcn-ui/migrate-radix-to-base/NOTICE.md +6 -0
- package/library/shadcn-ui/migrate-radix-to-base/SKILL.md +178 -0
- package/library/shadcn-ui/migrate-radix-to-base/class-mapping.md +62 -0
- package/library/shadcn-ui/migrate-radix-to-base/consumer-props.md +58 -0
- package/library/shadcn-ui/migrate-radix-to-base/disclosure.md +353 -0
- package/library/shadcn-ui/migrate-radix-to-base/display-misc.md +410 -0
- package/library/shadcn-ui/migrate-radix-to-base/form-controls.md +390 -0
- package/library/shadcn-ui/migrate-radix-to-base/luci.json +33 -0
- package/library/shadcn-ui/migrate-radix-to-base/menus.md +409 -0
- package/library/shadcn-ui/migrate-radix-to-base/overlays.md +459 -0
- package/library/shadcn-ui/migrate-radix-to-base/universal-patterns.md +286 -0
- package/library/shadcn-ui/migrate-radix-to-base/wrapper-shapes.md +110 -0
- package/library/shadcn-ui/shadcn/NOTICE.md +6 -0
- package/library/shadcn-ui/shadcn/SKILL.md +187 -0
- package/library/shadcn-ui/shadcn/agents/openai.yml +5 -0
- package/library/shadcn-ui/shadcn/assets/shadcn-small.png +0 -0
- package/library/shadcn-ui/shadcn/assets/shadcn.png +0 -0
- package/library/shadcn-ui/shadcn/assets/showcase/color-pair.tsx +126 -0
- package/library/shadcn-ui/shadcn/assets/showcase/preview-states.css +14 -0
- package/library/shadcn-ui/shadcn/assets/showcase/state-matrix.tsx +72 -0
- package/library/shadcn-ui/shadcn/cli.md +290 -0
- package/library/shadcn-ui/shadcn/customization.md +211 -0
- package/library/shadcn-ui/shadcn/design-system-page.md +268 -0
- package/library/shadcn-ui/shadcn/design-system.md +386 -0
- package/library/shadcn-ui/shadcn/evals/evals.json +126 -0
- package/library/shadcn-ui/shadcn/luci.json +34 -0
- package/library/shadcn-ui/shadcn/mcp.md +105 -0
- package/library/shadcn-ui/shadcn/references/updating-components.md +91 -0
- package/library/shadcn-ui/shadcn/references/workflow.md +31 -0
- package/library/shadcn-ui/shadcn/registry.md +277 -0
- package/library/shadcn-ui/shadcn/rules/base-vs-radix.md +306 -0
- package/library/shadcn-ui/shadcn/rules/chat.md +507 -0
- package/library/shadcn-ui/shadcn/rules/composition.md +213 -0
- package/library/shadcn-ui/shadcn/rules/forms.md +192 -0
- package/library/shadcn-ui/shadcn/rules/icons.md +101 -0
- package/library/shadcn-ui/shadcn/rules/styling.md +185 -0
- package/library/shadcn-ui/shadcn/scripts/showcase-coverage.mjs +53 -0
- package/library/systems/baseline-ui/NOTICE.md +6 -0
- package/library/systems/baseline-ui/SKILL.md +90 -0
- package/library/systems/baseline-ui/luci.json +35 -0
- package/library/testing/tdd/NOTICE.md +6 -0
- package/library/testing/tdd/SKILL.md +43 -0
- package/library/testing/tdd/agents/openai.yaml +3 -0
- package/library/testing/tdd/luci.json +29 -0
- package/library/testing/tdd/mocking.md +59 -0
- package/library/testing/tdd/tests.md +77 -0
- package/library/testing/webapp-testing/LICENSE.txt +202 -0
- package/library/testing/webapp-testing/NOTICE.md +6 -0
- package/library/testing/webapp-testing/SKILL.md +100 -0
- package/library/testing/webapp-testing/examples/console_logging.py +35 -0
- package/library/testing/webapp-testing/examples/element_discovery.py +40 -0
- package/library/testing/webapp-testing/examples/static_html_automation.py +33 -0
- package/library/testing/webapp-testing/luci.json +33 -0
- package/library/testing/webapp-testing/scripts/with_server.py +106 -0
- package/library/ui-ux/improve-ui/NOTICE.md +6 -0
- package/library/ui-ux/improve-ui/SKILL.md +127 -0
- package/library/ui-ux/improve-ui/agents/openai.yaml +13 -0
- package/library/ui-ux/improve-ui/luci.json +47 -0
- package/library/ui-ux/improve-ui/references/plan-template.md +55 -0
- package/library/ui-ux/landing-page/LICENSE.txt +21 -0
- package/library/ui-ux/landing-page/NOTICE.md +7 -0
- package/library/ui-ux/landing-page/SKILL.md +213 -0
- package/library/ui-ux/landing-page/luci.json +47 -0
- package/library/ui-ux/pricing-page/LICENSE.txt +21 -0
- package/library/ui-ux/pricing-page/NOTICE.md +7 -0
- package/library/ui-ux/pricing-page/SKILL.md +217 -0
- package/library/ui-ux/pricing-page/luci.json +47 -0
- package/library/ui-ux/prototype/LOGIC.md +67 -0
- package/library/ui-ux/prototype/NOTICE.md +6 -0
- package/library/ui-ux/prototype/SKILL.md +31 -0
- package/library/ui-ux/prototype/UI.md +112 -0
- package/library/ui-ux/prototype/agents/openai.yaml +3 -0
- package/library/ui-ux/prototype/luci.json +33 -0
- package/library/ui-ux/theme-factory/LICENSE.txt +202 -0
- package/library/ui-ux/theme-factory/NOTICE.md +6 -0
- package/library/ui-ux/theme-factory/SKILL.md +62 -0
- package/library/ui-ux/theme-factory/luci.json +35 -0
- package/library/ui-ux/theme-factory/themes/arctic-frost.md +19 -0
- package/library/ui-ux/theme-factory/themes/botanical-garden.md +19 -0
- package/library/ui-ux/theme-factory/themes/desert-rose.md +19 -0
- package/library/ui-ux/theme-factory/themes/forest-canopy.md +19 -0
- package/library/ui-ux/theme-factory/themes/golden-hour.md +19 -0
- package/library/ui-ux/theme-factory/themes/midnight-galaxy.md +19 -0
- package/library/ui-ux/theme-factory/themes/modern-minimalist.md +19 -0
- package/library/ui-ux/theme-factory/themes/ocean-depths.md +19 -0
- package/library/ui-ux/theme-factory/themes/sunset-boulevard.md +19 -0
- package/library/ui-ux/theme-factory/themes/tech-innovation.md +19 -0
- package/package.json +21 -3
- package/packs/design-system-build.json +10 -0
- package/packs/design-system.json +16 -0
- package/packs/marketing.json +11 -0
- package/packs/motion.json +12 -0
- package/packs/ui.json +13 -0
- package/README.md +0 -3
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Tokens
|
|
2
|
+
|
|
3
|
+
The defaults fit a hand-rolled app. When the repo already has a token source other tools read, keep its format, apply these rules inside it and record the departure. A foundation's own names are never renamed.
|
|
4
|
+
|
|
5
|
+
## Layers
|
|
6
|
+
|
|
7
|
+
| Layer | Holds | Read by |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| Primitive | Raw values with palette names: `gray.900`, `space.4` | Semantic tokens only |
|
|
10
|
+
| Semantic | Roles: `color.text.subtle`, `color.surface.raised`, `space.inset.md` | Components and product code |
|
|
11
|
+
| Component | A value one component themes apart from its role | That component only |
|
|
12
|
+
|
|
13
|
+
- Product code reads semantic tokens. A semantic token is an alias to a primitive, never a raw value.
|
|
14
|
+
- Start with zero component tokens. Delete one that only aliases a semantic token.
|
|
15
|
+
- Themes swap which primitive a semantic token points to. Every semantic token resolves in every theme. A theme the app ships on any route counts as shipped, even half built, and each value it lacks is a gate whose default is the nearest existing role.
|
|
16
|
+
|
|
17
|
+
## Names
|
|
18
|
+
|
|
19
|
+
- Name by purpose: `color.text.danger`, not `color.red`. The order is category, role, variant, state.
|
|
20
|
+
- Pair every surface with its foreground (`surface.inverse`, `text.inverse`) and check contrast on the pair.
|
|
21
|
+
- One word per idea. If `subtle` means lower emphasis in text, it means the same in borders. Do not also use `muted` and `secondary`.
|
|
22
|
+
- Keep a working name even when you would have chosen another. Split a token only when the inventory shows it doing two jobs.
|
|
23
|
+
- A role that starts with its property word doubles the class (`text-text-muted`). `rule/doubled-utility` flags it.
|
|
24
|
+
- No brand or product words in semantic names. Those are gates.
|
|
25
|
+
|
|
26
|
+
## What never becomes a token
|
|
27
|
+
|
|
28
|
+
`0`, `100%`, `auto`, `currentColor`. A value used once for one layout. Values set by content (an aspect ratio, chart colours from a scale). Third-party widget internals. Logo and illustration art. Math between tokens (`calc(var(--space-inset-md) * 2)`). A value within tolerance of an existing token maps to that token and makes no new one.
|
|
29
|
+
|
|
30
|
+
## Tolerances
|
|
31
|
+
|
|
32
|
+
Tolerance applies only after purpose fits. These are defaults, so `token-mapping` and the merge decisions agree.
|
|
33
|
+
|
|
34
|
+
| Category | Limit |
|
|
35
|
+
|---|---|
|
|
36
|
+
| Colour | delta E OK 2 (under 0.5 is exact) |
|
|
37
|
+
| Spacing, size, radius | 2 px |
|
|
38
|
+
| Font size | 1 px |
|
|
39
|
+
| Line height | 0.05 as a ratio |
|
|
40
|
+
| Border width, weight, family, easing | none, each value is a choice |
|
|
41
|
+
| Opacity | 0.02 |
|
|
42
|
+
| Duration | 30 ms |
|
|
43
|
+
|
|
44
|
+
A merge inside tolerance is a decision. A merge past it is a gate whose default is the merge, naming the largest shift and the surfaces it touches.
|
|
45
|
+
|
|
46
|
+
## Generating
|
|
47
|
+
|
|
48
|
+
Use the generator the repo has, or a short script. Output is sorted, the first line says it is generated and by which command, and a second run leaves no diff. Errors name the token path and the valid options. A brand value given as hex keeps its exact colour, so convert to another format with code, never by eye, and keep the hex in the description.
|
|
49
|
+
|
|
50
|
+
Do not reset a styling framework's whole palette to block palette classes, because stock components read black, white and transparent from it. `rule/palette-use` catches palette classes instead.
|
|
51
|
+
|
|
52
|
+
## Motion
|
|
53
|
+
|
|
54
|
+
Name the presets before the first component, by job: `instant` (press), `micro` (hover), `enter`, `exit`, `overlay`, `sheet`, `collapse`, `loader`, `follow` (drag). Each has a duration, an easing, the properties it animates and its reduced-motion form.
|
|
55
|
+
|
|
56
|
+
- The surface's tier caps announce motion. High-frequency surfaces (nav, list rows, primary actions, menus) get `instant` or first-open motion only.
|
|
57
|
+
- Enters ease out, exits are shorter than enters, nothing enters from `scale(0)`, and only progress and loops are linear.
|
|
58
|
+
- Animate `transform` and `opacity` only. Fix a motion finding with the first of these that clears it. Delete the animation, shorten or shrink it, fix its curve or origin, make it interruptible, move it to `transform` and `opacity`.
|
|
59
|
+
- When the app has no motion for a job, the gate default is `instant`.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Traps
|
|
2
|
+
|
|
3
|
+
Behaviour traps that hold in any app. Each has a stable ID that specs, reviews and checks cite, so a finding, a spec line and a failing check name one thing. Where `check-system.mjs` flags a trap it uses the same ID (`--explain <id>` prints the rule). A trap outranks the app's majority: when the app does it everywhere, the fix still wins and the conflict becomes a gate whose default is the fix. Add a trap only after it cost a real run. Every ID appears once.
|
|
4
|
+
|
|
5
|
+
A person describing a symptom rather than a component:
|
|
6
|
+
|
|
7
|
+
| They say | Look at |
|
|
8
|
+
|---|---|
|
|
9
|
+
| "laggy", "slow to respond" | `trap/press-delayed`, `trap/motion-input-lag`, `trap/motion-blocks-input` |
|
|
10
|
+
| "it jumps" | `trap/loading-layout-shift`, `trap/numbers-shift`, `trap/weight-shift` |
|
|
11
|
+
| "fine on my laptop, not my phone" | `trap/touch-hover-flash`, `trap/hover-unguarded`, `trap/touch-input-zoom`, `trap/viewport-height` |
|
|
12
|
+
| "I can't click it" | `trap/decor-pointer`, `trap/list-dead-gap`, `trap/exit-eats-input` |
|
|
13
|
+
| "the focus ring comes and goes" | `trap/hover-beats-focus`, `trap/open-trigger-unfocused`, `trap/disabled-drops-focus` |
|
|
14
|
+
|
|
15
|
+
## Actions and forms
|
|
16
|
+
|
|
17
|
+
| ID | Smell | Fix |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| `trap/button-div` | `onClick` on a `div` or `span` | Render `button`, or `a` when it navigates |
|
|
20
|
+
| `trap/role-button` | `role="button"` on anything but `<button>` | Same. Enter, Space and disabled must not be rebuilt by hand |
|
|
21
|
+
| `trap/native-control` | `<button>`, `<input>`, `<select>`, `<textarea>`, `<dialog>` outside the ui folder when the system has the component | Use the system component |
|
|
22
|
+
| `trap/link-as-button` | An `<a>` with a background and padding, or a Button `variant` on a link | One element: a Button that renders as the link |
|
|
23
|
+
| `trap/link-wraps-button` | A link around a button, or the reverse | One element. Two tab stops for one action is the bug |
|
|
24
|
+
| `trap/button-clone` | Another element carrying the Button's classes | Render the Button |
|
|
25
|
+
| `trap/button-icon-name` | An icon-only button with no accessible name | Name it in every variant |
|
|
26
|
+
| `trap/button-type` | A button in a form with no `type` submits twice | Default `type="button"` |
|
|
27
|
+
| `trap/button-label-wrap` | A label wrapping to two lines at 390 px | `white-space: nowrap`, a shorter label or a full-width button |
|
|
28
|
+
| `trap/control-height` | Button, input and select side by side at different heights | One height token per size. Measure, never read source (more than 1 px apart fails) |
|
|
29
|
+
| `trap/submit-repeat` | A pending submit accepts a second click or Enter | `aria-disabled` and an early return, focus kept |
|
|
30
|
+
| `trap/loading-label-swap` | `{saving ? "Saving..." : "Save"}` | Keep the idle label, put a spinner inside the same box, set `aria-busy` |
|
|
31
|
+
| `trap/loading-layout-shift` | The box changes size between idle and pending | Measure idle and pending. Any change fails |
|
|
32
|
+
| `trap/disabled-drops-focus` | A focused control turns `disabled` while it runs and focus falls to `body` | `aria-disabled`, not `disabled`, while pending |
|
|
33
|
+
| `trap/disabled-still-hovers` | A disabled control still changes colour on hover | Hover styles skip `[disabled]` and `[aria-disabled]` |
|
|
34
|
+
| `trap/hover-beats-focus` | Hover removes a focus ring or border | State order is focus and invalid over hover |
|
|
35
|
+
| `trap/weight-shift` | Font weight changes on hover or selection | Show the state with colour, fill or an underline |
|
|
36
|
+
| `trap/focus-ring-shape` | The ring ignores the radius or is clipped by `overflow` on a parent | Draw it with an outline that follows the radius |
|
|
37
|
+
| `trap/field-label` | A placeholder is the only name | A visible label bound to the control |
|
|
38
|
+
| `trap/label-unbound` | `<label>` with no `htmlFor` and no control inside | Bind it. Clicking it must focus the control |
|
|
39
|
+
| `trap/field-input-type` | A field with no `type`, `autocomplete` or `inputmode` | Set all three per field kind |
|
|
40
|
+
| `trap/field-affix-focus` | An icon or prefix beside the input, not inside its box | Put it inside the hit area, or make it its own named button |
|
|
41
|
+
| `trap/field-form-enter` | Fields outside a `form`, so Enter does nothing | One `form`, one submit, native constraints passed through |
|
|
42
|
+
| `trap/field-error-link` | Error text near the field but not tied to it | `aria-invalid` plus `aria-describedby` |
|
|
43
|
+
| `trap/field-error-timing` | Errors on the first keystroke | First show on blur or submit, then live |
|
|
44
|
+
| `trap/date-local-midnight` | A date-only value passed through a midnight `Date` (`new Date("2025-03-15")`) and shown or sent in another zone | Keep it a `YYYY-MM-DD` string, or read and write it in UTC. Test west of UTC |
|
|
45
|
+
| `trap/field-keeps-input` | A failed request clears what was typed | Keep every entered value |
|
|
46
|
+
| `trap/required-everywhere` | A required marker on every field | Mark the rarer of required and optional |
|
|
47
|
+
| `trap/touch-input-zoom` | Input text under 16 px on a phone | 16 px at touch widths. Never disable pinch zoom |
|
|
48
|
+
| `trap/zoom-disabled` | `user-scalable=no` or `maximum-scale=1` | Remove it |
|
|
49
|
+
| `trap/touch-autofocus` | `autoFocus` on a page field | Drop it on touch unless typing is the only job |
|
|
50
|
+
|
|
51
|
+
## Choice, toggles, overlays, menus
|
|
52
|
+
|
|
53
|
+
| ID | Smell | Fix |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| `trap/select-value-lost` | A select drops its value when the form errors or options reload | The value outlives errors and refetches |
|
|
56
|
+
| `trap/select-empty-value` | No way back to "none" in an optional field | A clear control or an explicit empty option |
|
|
57
|
+
| `trap/select-async` | "No results" flashes while the search runs | Loading wins over empty |
|
|
58
|
+
| `trap/toggle-switch-submit` | A switch that only applies on Save | A switch acts at once. Otherwise it is a checkbox |
|
|
59
|
+
| `trap/toggle-indeterminate` | "Select all" with no mixed state | Three states, each defined |
|
|
60
|
+
| `trap/overlay-title` | A dialog with no title | A title part, visible or hidden |
|
|
61
|
+
| `trap/overlay-focus-return` | Focus lands on `body` after close | Return to the opener. If it is gone, to a named fallback |
|
|
62
|
+
| `trap/overlay-conditional-render` | `{open && <Dialog>}` | Keep it mounted and pass `open` |
|
|
63
|
+
| `trap/overlay-destructive` | A destructive confirm that closes on an outside click | Only Cancel and Escape dismiss it |
|
|
64
|
+
| `trap/overlay-pending-dismiss` | Cancel or Escape closes a dialog mid-submit | Block dismissal while pending |
|
|
65
|
+
| `trap/overlay-no-max-height` | A dialog taller than a 320 px screen with no scroll | `max-height: calc(100dvh - 2rem)` and `overflow-y: auto` |
|
|
66
|
+
| `trap/exit-eats-input` | A press during the exit animation reopens or is lost | The exiting layer takes no pointer input |
|
|
67
|
+
| `trap/escape-nested` | Escape closes the dialog behind an open menu | Escape closes the top layer only |
|
|
68
|
+
| `trap/open-trigger-unfocused` | An open menu's trigger looks like it does at rest | Show the focus look while open |
|
|
69
|
+
| `trap/menu-navigation` | Navigating items built as buttons | Links, so new-tab works |
|
|
70
|
+
| `trap/menu-only-path` | An action reachable only by right-click or hover | A visible second path |
|
|
71
|
+
| `trap/menu-diagonal` | A submenu closes on a diagonal pointer path | A short delay or a safe area |
|
|
72
|
+
| `trap/list-dead-gap` | Rows separated by margin, so the gaps do nothing | Padding, so hit areas touch |
|
|
73
|
+
| `trap/tooltip-essential` | Information only a tooltip holds | Put the text on the page. A tooltip repeats it |
|
|
74
|
+
| `trap/tooltip-disabled-trigger` | A tooltip explaining a disabled button | Visible text, or an `aria-disabled` button that stays focusable |
|
|
75
|
+
| `trap/tooltip-interactive` | A link inside a hover tooltip | Text only. Anything clickable is a popover |
|
|
76
|
+
| `trap/toast-errors` | An error that needs action shown only in a timed toast | Persist it until closed or acted on |
|
|
77
|
+
| `trap/toast-timer` | The timer keeps running under the pointer or in a hidden tab | Pause on hover, focus and hidden |
|
|
78
|
+
| `trap/live-region-double` | Two layers announce one message | One announcing layer |
|
|
79
|
+
|
|
80
|
+
## Navigation, data, layout
|
|
81
|
+
|
|
82
|
+
| ID | Smell | Fix |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| `trap/tabs-routes` | Tabs that change the URL built as a tablist | Links with `aria-current`, or panels, not both |
|
|
85
|
+
| `trap/current-unmarked` | The current item looks different and is not marked | `aria-current` or `aria-selected` |
|
|
86
|
+
| `trap/narrow-hidden-nav` | At 390 px nav links or columns sit past a clipped edge with no cue | A menu button, a wrap, or a fade at the edge. A gate lists each hidden item |
|
|
87
|
+
| `trap/link-cue` | A link in body copy with no underline and the text's colour | A resting cue. Changing it is a gate listing every surface |
|
|
88
|
+
| `trap/table-divs` | A table made of divs | A table, or the grid role with its keyboard model |
|
|
89
|
+
| `trap/chosen-text-truncated` | A name or other text the user chose to identify something, cut with an ellipsis | Wrap it. It never truncates |
|
|
90
|
+
| `trap/empty-value` | A blank cell, a typed dash here, "N/A" there | One primitive for empty values, announced as "None" |
|
|
91
|
+
| `trap/numbers-shift` | Changing numbers in proportional figures | `font-variant-numeric: tabular-nums` |
|
|
92
|
+
| `trap/color-only-status` | Status told by colour alone | Text or an icon carries it |
|
|
93
|
+
| `trap/text-measure` | Reading text over 75ch or under 30ch per line | `max-width` in `ch` on reading columns |
|
|
94
|
+
| `trap/overflow-scrollbar` | `overflow: auto` on a box 1 or 2 px short of its content | Leave room, or clip |
|
|
95
|
+
| `trap/viewport-height` | `100vh` or `h-screen` on a shell or sheet | `dvh`, or `svh` when it must not change while scrolling |
|
|
96
|
+
| `trap/safe-area` | Controls under the notch or home indicator | `env(safe-area-inset-*)` with `viewport-fit=cover` |
|
|
97
|
+
| `trap/scroll-chain` | Scrolling a panel to its end scrolls the page | `overscroll-behavior: contain`, and lock page scroll under a modal |
|
|
98
|
+
| `trap/decor-pointer` | A glow or gradient layer above content takes clicks | `pointer-events: none` on decoration |
|
|
99
|
+
| `trap/touch-hover-flash` | Hover styles apply on tap and stick | Put them in `@media (hover: hover)` |
|
|
100
|
+
| `trap/hover-unguarded` | A `:hover` rule outside that media query that reveals content | Guard it and give touch another path |
|
|
101
|
+
| `trap/touch-tap-highlight` | The tap highlight removed and no pressed style | A pressed state from pointer-down |
|
|
102
|
+
| `trap/press-delayed` | Press feedback waits for release or an animation | Feedback within 100 ms of pointer-down |
|
|
103
|
+
| `trap/surface-double-edge` | A border and a shadow on one surface, undecided | Border on resting surfaces, shadow on raised ones |
|
|
104
|
+
| `trap/weight-synthesized` | A weight token the loaded font files lack | Tokens only name weights that exist. `font-synthesis: none` shows the gap |
|
|
105
|
+
| `trap/illustration-announced` | An HTML illustration read out as fragments | `role="img"` with a label, or `aria-hidden` |
|
|
106
|
+
| `trap/loader-small-dots` | A dot loader under 20 px | A thin ring |
|
|
107
|
+
| `trap/gesture-drag` | A drag that drops when the pointer leaves or jumps on a second touch | Pointer capture, ignore extra touches, decide release on speed |
|
|
108
|
+
| `trap/gesture-axes` | The element and the page both move on one swipe | Set `touch-action` to the axis the element owns |
|
|
109
|
+
|
|
110
|
+
## Motion
|
|
111
|
+
|
|
112
|
+
| ID | Smell | Fix |
|
|
113
|
+
|---|---|---|
|
|
114
|
+
| `trap/motion-transition-all` | `transition: all`, `transition-all` | Name the properties, usually `transform` and `opacity` |
|
|
115
|
+
| `trap/motion-ease-in-enter` | An entrance with `ease-in` | Enters ease out |
|
|
116
|
+
| `trap/motion-exit-slower` | An exit longer than its enter | Exit shorter than enter |
|
|
117
|
+
| `trap/motion-overshoot` | A `cubic-bezier` with a value outside 0 to 1 on a routine change | Keep inside 0 to 1 |
|
|
118
|
+
| `trap/motion-linear` | Linear easing on anything but progress and loops | Ease out for enters, symmetric between two points |
|
|
119
|
+
| `trap/motion-frequent` | Entrance motion on nav, list rows or primary actions | None, or first open only |
|
|
120
|
+
| `trap/motion-input-lag` | An element that follows the pointer through a curve | Track the input each frame, carry release velocity |
|
|
121
|
+
| `trap/motion-blocks-input` | An entrance that ignores clicks until it ends | Take input at once |
|
|
122
|
+
| `trap/motion-origin` | A menu grows from its own centre | Grow from the trigger. Exit reverses entry. Dialogs stay centred |
|
|
123
|
+
| `trap/motion-restart` | A retrigger restarts from the start value | Continue from the current value |
|
|
124
|
+
| `trap/motion-layout-property` | Animating width, height, top, left or margin | `transform` and `opacity` only |
|
|
125
|
+
| `trap/reduced-motion-ignored` | Animation under `prefers-reduced-motion: reduce` | Drop movement, keep the fade that explains the state |
|
|
126
|
+
| `trap/loop-offscreen` | A loop that runs off screen or in a hidden tab | Pause out of view |
|
|
127
|
+
| `trap/theme-transition` | A theme switch fires every hover transition | Disable transitions for that frame |
|
|
128
|
+
| `trap/demo-on-timers` | A showcase demo stepping on `setTimeout` | Wait on `getAnimations()` and `finished` |
|