/design-superskills:design-first-draftfrom design-superskills
Turns a research synthesis or project brief into first-draft screens (one per direction) in Figma or code, using the user's design system or an agreed visual style. Includes critique rounds and QA sweep.
Ships in design-superskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a research synthesis (or a project brief, via a short interview) into first-draft screens: one draft per direction, built with the user's design system when one exists or with a visual style agreed up front when it does not, critiqued by the orchestrator against fixed criteria, and closed with a QA sweep. This is the follow-up to research-synthesis.
The orchestrator (you) owns the brief, the critique and the summary. Builders (subagents, or you when building inline) own one direction each and nothing else. Nobody ranks the directions; the user compares and decides.
REQUIRED SUB-SKILL: load figma:figma-use before any use_figma call (yours or a builder's).
Supporting files: design-system-discovery.md (what to probe in Figma and code, findings table), visual-directions.md (style proposals and draft tokens when there is no design system), brief-template.md (the brief every builder reads), critique-checklist.md (criteria, round shape, QA sweep, summary shape), figma-gotchas.md (paste into briefs), code-mode.md (HTML drafts, optional capture into Figma).
| Step | What | Key decision |
|---|---|---|
| 0 | Prerequisites | Figma MCP; figma-use |
| 1 | Get the input | Synthesis, or brief plus interview |
| 2 | Design-system discovery | You look first, in Figma and code |
| 3 | One input question | Approve the brief (brief path); confirm DS or pick a style; directions, mode, section, subagents or inline |
| 4 | Visual direction (no DS only) | Shared style, or the synthesis's per-direction lines |
| 5 | Parity check (optional) | Only when redesigning an existing screen |
| 6 | Brief and sections | Distinctness rule; one sample record |
| 7 | Build | Subagents two at a time, or inline one at a time |
| 8 | Critique rounds | You screenshot and judge; one numbered message per round |
| 9 | QA sweep and summary | No ranking, no recommendation |
Use the task tool if one is available (TaskCreate or TodoWrite): one task per step, marked in_progress when starting and completed when done. Without one, track the steps in your replies.
| Check | How | If missing |
|---|---|---|
| Figma MCP (remote) | mcp__figma__use_figma, get_screenshot, get_metadata load via ToolSearch | shared/common-steps.md, "Figma MCP Setup". Code mode without Figma capture can run without it; say so |
| Figma reachable | A trivial read-only use_figma call on the target file | "Looks like you don't have edit access to this file" (on reads too) or "Cannot write to node property in a read-only file or mode" (on writes): the MCP session usually lost authorization. Ask the user to run /mcp and re-authenticate, then retry. Do not diagnose seats or sharing first. Until it is fixed, Step 2 covers the codebase only and says Figma was unreachable |
| figma-use skill | Loaded via the Skill tool | Load it now |
Accept whichever the user has:
| Input | Action |
|---|---|
Research synthesis (artifact link, .html, .md) | Read it fully. Extract the problem, objectives (primary first), the "Keep in view while designing" list, proposed scope, out-of-scope items, patterns to avoid, open decisions, direction cards verbatim (tag, name, "After" references, summary, open questions) and any Visual direction lines (per direction card, or one shared line under Scope). Go to Step 2. |
| Project brief (pasted text, doc, PRD, ticket) | Run the brief interview below. |
| Only reference screens or notes on a Figma canvas | Stop and point to research-synthesis; it is built for that input. |
Read the brief first, and start Step 2 in parallel: discovery is read-only, and what it finds (an existing system, an earlier run's draft tokens) can change what is worth asking. Ask only what the brief does not answer. Ask one question per message, multiple choice where possible, only for gaps that block writing the brief; everything else waits for the Step 3 question. Pin down:
Write <slug>-brief.md (in the product repo's research/ folder when the working directory is the product, otherwise in the scratchpad; print the path) as Markdown with the research-synthesis section headings that apply: Problem, Objectives, Scope (v1, deferred, avoid), Directions (each with name, references, summary, open questions), Open decisions (platform first), Visual direction (if any). Leave out the sections that need canvas notes (shared patterns, current state, note inventory). Show it. Approving the brief, including any directions you proposed, is the first question of Step 3. Once approved, a synthesis and a brief are treated the same.
Read design-system-discovery.md. Probe before asking anything: the target Figma file (local components, variables, text styles, existing product screens), enabled libraries, the product's codebase (token files, theme or Tailwind config, component folders, Storybook, UI libraries in package.json), and brand assets (logo, brand colours, fonts named in the input). Scan the working directory only when it is the product's code, or a repo path the user named; otherwise skip the codebase and say so. All read-only. Produce the short findings table described there.
One AskUserQuestion with up to four questions. Ask only what the request and the input did not answer; restate the rest in the plan.
<name> (N components, M colour variables, fonts <fonts>). Build with it?" Options: use it / use a different one (name or link) / ignore it and pick a style. If nothing was found: "No design system found in the file or the codebase. Is there a specific style you want me to try?" Options: propose two or three styles / match a reference (URL, Figma frame, screenshot) / neutral wireframe grade / I will describe it. If the synthesis carries visual direction lines (shared or per direction), offer those first.code-mode.md; the output folder), with optional capture into Figma. Platform and frame width, unless the input already states them.Fold in only when needed: the existing screen's repo path or frame link (Step 5), and sample content (the user's, or you propose one realistic record).
Open decisions that change the screens (full page or inside the app, login or guest, a step or a setting): when a direction's own text answers one, follow it; otherwise pick the answer the input leans toward and list it in the plan as an assumption. Directions may answer the same decision differently; that is often what makes them distinct.
Print the plan (directions in order, DS or style, mode, target, platform and frame width, sample content, assumed answers to open decisions, execution and models, estimated frames). The user can correct any line. If Step 4 applies, it is the only remaining gate before building; otherwise start.
Figma: once the plan stands, use the section the user linked, or create the empty parent section now in a clear spot on the target page (name it after the flow), so the style options and draft kit in Step 4 have something to sit next to. Style it as in Step 6.
Skip when the user confirmed a design system or chose neutral wireframe grade. Otherwise read visual-directions.md:
Turn the chosen style into draft tokens (a local "Draft tokens · " variable collection plus Draft/<Style name>/* text styles in Figma, or first-drafts/tokens.css in code), then build the small shared draft kit (buttons, inputs, card, nav item, badge, notice) outside every direction's section. Builders bind to the tokens, use kit instances, and never type raw hex.
Run only when the directions redesign a screen that exists today and its code (repo path) or current screens (Figma frames) are available. Otherwise skip and say so in the summary.
model: "opus", or inline): every field and control with type, default, validation, conditional visibility and gating (free, paid tier, add-on); which features coexist and which are mutually exclusive; post-save behaviour. Write <scratch>/inventory.md; mark unverified items.<scratch>/parity-checklist.md: one row per feature, "what the product does today" and "what the design must show". Rules: essentials stay prominent; everything else gets a visible, non-blocking home; gated items show the product's badge or upsell pattern; nothing is dropped.Write <scratch>/direction-brief.md from brief-template.md: objectives with their on-screen meaning, out of scope, the parity rule (if Step 5 ran), the directions verbatim with the distinctness rule, one sample record, target facts, the component, style and token tables (from the design system or the draft tokens), build rules, report format, and the relevant lines of figma-gotchas.md.
Figma: one use_figma call creates one sub-section per direction inside the parent section, named by content and number ("Direction v2 · Side rail checklist"). Record the ids in the brief. Builders never write outside their own section.
Code: one folder per direction, first-drafts/<direction-slug>/.
Frames per direction: three to six. Required: a start (empty) state, a filled state, the state that shows this direction's mechanism, and the finishing state (publish, confirm, share, done). Each objective that needs its own state (cancel, waitlist, error) adds a frame, up to six. A direction may rename the required states when its mechanism changes them (a remembered identity replaces the filled form; first visit and returning visit replace start). One moment per frame: a frame never shows a call to action next to the result of taking it.
Subagents (default). One general-purpose agent per direction, two running at a time in priority order (when one reports, start the next and critique the one that reported). Always set model explicitly; an unset model inherits the parent's, which may be the most expensive. Separate sections isolate parallel writes to one file.
Each prompt: read the brief in full, load figma:figma-use and the Figma tool schemas (or read code-mode.md), the assigned section id or folder, the frames to build, the distinctness rule restated for this direction, "screenshot after each frame and fix before continuing", "never edit library components", "return node ids or file paths", and the report format. Builders report; they do not declare themselves done.
Inline. Build one direction at a time from the same brief, same frames, same report, then move to the next. Re-read the distinctness rule before each direction.
Read critique-checklist.md. For every report, screenshot every frame yourself and judge against the five criteria (objective fit, direction fidelity and distinctness, design-system or visual-direction adherence, parity when Step 5 ran, craft). Send one consolidated numbered message per direction with the fix for each item. Resume the same agent for the revision; it knows its nodes. Inline, apply the same message to yourself. Repeat until the criteria pass; two rounds is typical.
Mid-course feedback from the user that touches more than one direction becomes a dated Addendum at the end of the brief first, then a pointer message to each affected builder.
Resilience: an agent stopped by a rate limit is resumed with "continue where you stopped, do not redo completed work". An agent hitting the read-only error stops retrying and writes a pending list (frame id, node ids, exact change) to scratch; apply it after the user re-authenticates.
Run the QA sweep from critique-checklist.md on each section or folder. Fix one-line stragglers yourself. Tighten each Figma sub-section to content plus 100px, then resize the parent section to its sub-sections plus 100px, and take one overview screenshot of the parent.
Final message in the shape given in critique-checklist.md: directions and frames, design system or draft tokens used, parity items applied (or "parity check skipped"), QA results, design-system gaps, open questions. No ranking, no recommendation. If the user asks which direction is best, answer in chat, never in the deliverable.
| Mistake | Fix |
|---|---|
| Asking the user which design system to use before looking | Step 2 first. Report what was found and ask for confirmation. |
| Inventing a visual style when a design system exists | Use the system. Styles are proposed only when nothing was found or the user declined it. |
| A different visual style per direction by default | One shared style, so directions compare by layout. Per-direction styles only when the synthesis defines them and the user accepts. |
| Building from an unapproved interview brief | Brief approval is the first question of Step 3; nothing is built before it. |
| Leaving sections in Figma's default dark grey | Match the file's section style, or light parent and white sub-sections (Step 6). |
Launching builders without model | They inherit the parent model. Set it explicitly and state it in the plan. |
| Letting builders self-certify | The orchestrator screenshots and critiques. Builders report. |
| Building inside the user's stub frames or one shared area | One sub-section or folder per direction; builders never leave it. |
| Directions that share a navigation model or differ only in copy | Distinctness rule in the brief and in the critique. |
| Different sample content per direction | One record, identical everywhere. |
| Raw hex where a token exists (real or draft) | Bind to the variable or the CSS custom property. |
| Editing or detaching library components | Instances only. A missing component is drawn with tokens and listed as a gap. |
| Ranking directions or naming a winner | Facts per criterion only. |
| Em-dashes in copy or messages | Commas, full stops, colons. |
A rental marketplace's "create a new listing" flow. The synthesis listed four directions (guided wizard, one long sectioned form, current editor with fixes, preview-first editing). Discovery found a Figma library with 40 components and colour variables, so no style step. The parity pass on the current screen found that amenities are multi-select and that instant booking and request-to-book can both be on for one listing; both corrections went into the brief. Builders ran as two pairs, two critique rounds each, one Addendum when the user narrowed the fourth direction. Sixteen frames in four sections, three design-system gaps listed (no text property on the input label, the radio label, the notice message).
A second run from a project brief only: the interview pinned down the problem and three objectives, the user had no directions, so three were proposed and approved. No design system in the file or the codebase; the user picked one of three style cards, draft tokens and a draft kit were built, and every direction used them.
research-synthesis (directions from canvas notes). Without a synthesis, the brief interview in Step 1 produces an equivalent input.design-organize to restructure the sections, design-annotations for dev notes on the chosen direction, dev-handoff once a direction is picked and refined.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shub-rajput/design-superskills --plugin design-superskills6 skills in this plugin
/design-annotationsUse when dev notes need adding, placing, or rewriting next to Figma design screens, using a note component from the design system or a default template. Triggers include "place my dev notes by their screens", "add dev notes to these screens", "improve the copy on these notes", "update the dev notes", or a Figma section link plus a request about notes./design-organizeUse when Figma screens in a section, frame or page need organizing into a clean, labelled layout: rows by flow, sub-sections, screen labels, re-formatting an existing layout, or moving screens between sections. Triggers include "organize these screens", "clean up this section", "label these screens", "group these by flow", "split this into sub-sections", "re-format the layout", or a Figma section or frame link plus layout or grouping instructions./design-researchUse when a designer wants screenshots of a website, web app, admin UI, or local app flow captured and placed into a Figma refs section as labelled rows, optionally with review observations next to the screens or a comparison across sources. Triggers include "screenshots into Figma", "visual references", "reference this flow", "capture these competitors", "add your observations next to them", "compare these three", or a Figma refs section link plus a request to add more screens./dev-handoffUse when Figma designs need handing off to developers as GitHub issues: reads each screen and its dev notes, detects the issue type, applies the repo issue templates, and confirms the plan before creating anything. Triggers include "hand off to dev", "dev handoff", "create issues from Figma", "turn designs into tickets", or a Figma URL plus a request for GitHub issues./research-synthesisUse when a Figma section holds reference screenshots (competitors, current product, other references) with or without notes and the user wants them turned into one readable document: problem statement, objectives, shared patterns, current state, scope, directions. Triggers include "actionable pointers", "synthesize my research", "problem statement and objectives", "one place to look at all these notes", "turn my stickies into a doc", or a refs section link plus a request for directions.Other plugins' skills for the same job