From rune
Frontend design implementation knowledge — generalized best practices for translating design specifications into production components. Covers design systems, design tokens, accessibility (WCAG 2.1 AA), responsive patterns, component reuse strategy, layout alignment, variant mapping, Storybook documentation, visual region analysis, and UI state handling. Trigger keywords: design system, design tokens, accessibility, responsive, storybook, component patterns, layout, spacing, typography, WCAG, variant, figma, mobile-first, a11y, state handling, error states, loading states.
npx claudepluginhub vinhnxv/rune --plugin runeThis skill uses the workspace's default tool permissions.
Generalized best practices for translating design specifications into production-quality frontend components. Framework-agnostic patterns applicable to React, Vue, Svelte, and other component-based architectures.
CREATION-LOG.mdreferences/accessibility-patterns.mdreferences/aesthetic-thinking.mdreferences/anti-slop-guardrails.mdreferences/component-registry-spec.mdreferences/component-reuse-strategy.mdreferences/design-system-rules.mdreferences/design-token-reference.mdreferences/domain-design-guide.mdreferences/framework-codegen-profiles.mdreferences/layout-alignment.mdreferences/micro-design-protocol.mdreferences/profiles/generic-profile.mdreferences/profiles/shadcn-profile.mdreferences/profiles/shadcn-token-map.yamlreferences/profiles/untitled-ui-profile.mdreferences/profiles/untitled-ui-token-map.yamlreferences/react-composition-rules.mdreferences/react-performance-rules.mdreferences/registry-integration.mdBuilds accessible, responsive, performant frontend components using design systems, modern CSS, WCAG patterns, and React/Vue/Svelte examples.
Guides frontend UI/UX development with patterns for responsive design, accessibility, component architecture, state management, visual consistency, performance, and testing. Useful for any frontend task.
Provides UI/UX design expertise for component design, design systems, responsive layouts, and Figma analysis during UI breakdown and frontend tasks.
Share bugs, ideas, or general feedback.
Generalized best practices for translating design specifications into production-quality frontend components. Framework-agnostic patterns applicable to React, Vue, Svelte, and other component-based architectures.
Auto-loaded by the Stacks context router when:
components/, pages/, views/, styles/, or ui/ directoriesLayer 1: Design Interpretation — Convert design specs into structured requirements
Layer 2: Implementation Patterns — Apply reusable component, layout, and state patterns
Layer 3: Quality Assurance — Verify accessibility, responsiveness, and visual fidelity
Design tokens are the single source of truth bridging design tools and code. Every visual property (color, spacing, typography, shadow, radius) should map to a token rather than a hardcoded value.
See design-token-reference.md for the full Figma-to-CSS/Tailwind token mapping.
When working from screenshots or design files, decompose the UI into semantic regions before writing code. This prevents structural mismatches between design and implementation.
See visual-region-analysis.md for the screenshot-to-structure analysis protocol.
Figma components use variants (properties with named values) to represent interactive states, sizes, and themes. Map these directly to component props.
See variant-mapping.md for the Figma variant-to-prop mapping strategy.
When designContext.domain is available with confidence >= 0.70 and domain is not "general",
domain-specific design hints are injected as the lowest-trust layer of implementation guidance.
These hints cover color palette conventions, typography hierarchy, layout patterns, UX priorities,
and anti-patterns specific to the detected business domain.
See domain-design-guide.md for per-domain recommendations (8 domains) and the trust hierarchy.
Follow the REUSE > EXTEND > CREATE decision tree to minimize duplication and maintain consistency.
See component-reuse-strategy.md for the full decision tree.
Enforce constraints from the project's design system: permitted colors, spacing scale, typography stack, elevation levels, and icon usage.
See design-system-rules.md for generic design system constraints.
Select heading/body font combinations based on project context, contrast principles, x-height compatibility, and performance budget. Cross-references brand.typography talisman config when available.
For typography guidance, see typography-pairing.md.
Use Flexbox and Grid patterns that match the design's alignment intent. Auto-layout in Figma maps directly to flex properties.
See layout-alignment.md for Flexbox/Grid alignment patterns.
Apply mobile-first responsive design with breakpoint-aware layout shifts, fluid typography, and conditional rendering.
See responsive-patterns.md for responsive implementation patterns.
Every interactive component has at least 4 UI states: loading, error, empty, and success. Design for all states, not just the happy path.
See state-and-error-handling.md for UI state patterns.
WCAG 2.1 AA compliance is a baseline requirement. Every component must be keyboard-navigable, screen-reader-accessible, and color-contrast compliant.
See accessibility-patterns.md for WCAG compliance patterns.
Every reusable component should have a Storybook story documenting its variants, states, and edge cases.
See storybook-patterns.md for CSF3 format and autodocs patterns.