Complete toolkit for architecting component libraries, defining typography scales, and building robust design tokens. Use this skill when founding a new project's UI, refactoring disorganized CSS, or ensuring WCAG accessibility compliance across interfaces.
Comprehensive architectural guidelines and tools for establishing scalable, accessible, and themeable User Interfaces.
This skill provides three core capabilities through automated scripts:
# Script 1: Design Token Generator
node .agent_scripts/creative-design_ui-design-system/token_generator.js [options]
# Script 2: Component Scaffolder
node .agent_scripts/creative-design_ui-design-system/component_scaffolder.js [options]
# Script 3: Accessibility (a11y) Linter
node .agent_scripts/creative-design_ui-design-system/a11y_linter.js [options]
Converts raw color codes and font sizes into a standardized CSS Custom Properties (Variables) file, ensuring consistency across the application.
Features:
Usage:
node .agent_scripts/creative-design_ui-design-system/token_generator.js --brand-color #3B82F6 --output tokens.css
Automated tool to generate a new UI building block (Button, Card, Modal) complete with its logic, styling, and Storybook documentation.
Features:
Component.module.css or Tailwind classesComponent.test.tsx and Component.stories.tsxUsage:
node .agent_scripts/creative-design_ui-design-system/component_scaffolder.js Button --framework react --style tailwind
Scans component source code for common WCAG violations before they reach the browser.
Features:
aria-labels on interactive SVGsUsage:
node .agent_scripts/creative-design_ui-design-system/a11y_linter.js ./src/components/
Comprehensive guide available in references/design_foundations.md:
Technical reference guide in references/interaction_and_a11y.md:
Tools: Figma, Storybook Frameworks: React, Next.js, Vue, Nuxt Styling: TailwindCSS, CSS Modules, Styled-Components, Vanilla CSS Methodologies: Atomic Design, BEM (Block Element Modifier)
Never hardcode a pixel value or a hex color in a component.
.agent_scripts/creative-design_ui-design-system/token_generator.js to establish your base --color-primary-500 and --spacing-4.Use .agent_scripts/creative-design_ui-design-system/component_scaffolder.js to create the simplest elements first: Button, Input, Typography.
Combine Atoms into Molecules (e.g., a SearchForm).
.agent_scripts/creative-design_ui-design-system/a11y_linter.js to ensure the new SearchForm can be read by a screen reader.rem based on the root font size, never static px.min-width queries to scale up.width: 500px). Use max-width and percentages (width: 100%; max-width: 500px;) to preserve responsiveness.references/design_foundations.mdreferences/interaction_and_a11y.md.agent_scripts/creative-design_ui-design-system/ directory