Start a fresh conversation. Replace the highlighted placeholders.
Use using-ui-stack to design and implement [UI component] using the project’s ui-stack configuration or the documented defaults, with accessible interactive states and dark-mode support.
Required inputs
[UI component]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: using-ui-stackdescription: Enforce a configuration-driven design system when generating UI. Ensures consistent spacing, colors, typography, dark mode, interactions, and accessibility across all AI-generated components.user-invocable: true
Using UI Stack
Apply a structured design system to every UI component you generate. This prevents inconsistent padding, mismatched colors, and forgotten hover states.
Design System Principles
Follow these rules for every component you build:
Spacing — 8px Grid
Use multiples of 8 for all spacing (padding, margin, gap):
4px — tight internal padding only
8px — inline gaps, icon spacing
16px — standard padding, card gaps
24px — section padding
32px — large section gaps
48px / 64px — page-level spacing
Color — 60-30-10 Rule
60% neutral/background
30% primary brand color
10% accent for CTAs and highlights
Semantic colors: success (green), warning (amber), error (red), info (blue)
Never use pure black (#000) for dark mode — use slate-950 or similar