design-system-from-codebase

Installation
SKILL.md

Design system from codebase

Turn an existing app repo into a professional, public design-system site: tokens, foundations, components, copyable code and a shadcn registry. Then keep it in sync as the app grows.

Pick the mode

  • Build: no design system exists yet. Run steps 0 to 5.
  • Maintain: a design system exists and the app changed. Skip to "Maintain mode".
  • If unsure, look for an existing DS repo or folder and a CHANGELOG.md with a sync point.

Hard rules

  • The app code is the source of truth. A design file (Figma, Paper, Wonder) is secondary.
  • Work on a branch. One PR per run. Never push to main and never merge without the user's explicit go. No force-push.
  • Before anything goes public, scan the ported code for secrets, internal URLs, customer data and private API shapes. Remove them.
  • Keep the app's brand. Copy only the structure and craft of a reference site, never its brand signature.
Installs
7
GitHub Stars
245
First Seen
Nov 13, 2026