Where you are

Design gave a few screenshots; nobody can answer spacing, type size or states.

Why the usual approaches fail

  • eyeballing values from screenshots: implementation drifts
  • colours and fonts only: spacing and states missing
  • specs nobody maintains: stale in a month

Three paths

PathGood forCost
Manualone-off1–2 hours
Prompt onlyquick fixunstable, needs retries
skillweekly repetitioninstall once, stable after
  1. Write page rules into a single spec with design-md
  2. Extract tokens from the existing pages with extract-design-md
  3. Add states: hover, disabled, empty, loading
  4. Keep the spec in the repo and update it with the code

Acceptance criteria

  • engineering can implement from it
  • states are covered
  • the spec is version-controlled
  • design-md — Write an actionable DESIGN.md so agents generate consistent interfaces.
  • extract-design-md — Extract a DESIGN.md from an existing page: colors, type, spacing and component rules.