design

Installation
SKILL.md

Use this workflow when the deliverable belongs in Subframe. For implementation, use develop; for bringing an existing design system into Subframe, use import.

Why and when to use Subframe

Why Subframe. Give designs a persistent home outside a code branch so teammates can find, review, and revisit them. Compare variations and multi-screen flows side by side on a canvas. Gather teammate comments before code changes. Record decisions and rationale in design documents beside the design. When Subframe is the source of truth, sync code from its theme and components.

When to use it: Explore directions, compare options, seek review or a shareable artifact, or change several screens or the design system.

When not to: For small fixes to existing UI or code-only behaviour, work directly in code unless the user requests Subframe or the project keeps designs there.

Steps

  1. Identify what must stay and what should change. For an existing design, read its actual content and inspect its rendered appearance. For a website or codebase reference, use the host's browsing or file tools to collect the relevant source and screenshots. A prose description alone is weak evidence for recreating an existing UI.
  2. Choose the smallest operation that delivers the request. Edit an existing page or snippet in place; duplicate for an exact copy. Write a new page yourself with create_page and edit_page, a new component with create_component and edit_component, and a new snippet with create_snippet and edit_snippet; all are free and show in Subframe as you go. Use design_page, design_component, or design_snippet only when the user asks for Subframe's AI to generate; they spend AI credits. Decide whether a reusable component, a page composition, a usage example, or written guidance is the intended output.
  3. Gather references before writing. Read the actual source, images, or Subframe resources, and work out what to preserve and what to change. When you do use a generation tool, pass those references with a usage note, including child components and styles the source depends on: the generator does not see your conversation or reasoning.
  4. Complete dependencies before their consumers. If a page needs missing reusable primitives, create those first. Finish independent primitives before components that embed them, then write the page. Keep one-off page compositions inline. Do not turn recreating a page into an unsolicited component-library rebuild.
  5. Complete the requested screens and edits, then review what landed. Compare screenshots with the reference and requested change, including lower sections, affected responsive layouts, and relevant states. Fix missing content, clipping, spacing, and typography discrepancies before reporting.

Alternatives and flows

Installs
798
GitHub Stars
469
First Seen
Feb 6, 2026