cyberneticlibrary

Improve UI with design agent

improve-uicommandsetup L25
milith0kun/Plataforma-de-Denuncias
What it does

Redesign component with design system

Best for

Systematically redesigning components against a strict design system to prevent visual drift and generic LLM output.

Inputs
  • · component/page path
Outputs
  • · redesigned component files
  • · CSS modules with variables
  • · responsive layout
Requires
  • · frontend-design skill
  • · CSS hardware acceleration
Preconditions
  • · React component/page exists
  • · design-taste-frontend skill loaded
  • · CSS modules available
Failure modes
  • · Component doesn't exist → pause
  • · Hardcoded colors used → extract to vars
  • · Non-responsive → media queries added
  • · Accessibility fail → aria-labels added
Trust signals
  • · Design system variables enforced (no hardcoded colors)
  • · Responsive breakpoints mobile-first
  • · WCAG AA accessibility minimum
  • · Component reuse from library (DRY)