/design-superskills:dev-handofffrom design-superskills
Reads Figma design sections and developer notes, detects issue types, applies repo templates, and creates GitHub issues for developer handoff.
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 Figma design sections into GitHub issues for developer handoff. Reads the Figma hierarchy, extracts Developer Note components, and creates issues with the user's templates.
figma:figma-implement-design)design-superskills:design-organize)design-superskills:design-annotations)| Step | What | Key Decision |
|---|---|---|
| 0 | Prerequisites | Figma MCP required, gh CLI optional (fallback to markdown files) |
| 1 | Gather user input | Figma URL, repo, issue templates, context |
| 2 | Read Figma structure | Get metadata, identify sections, skip WIP |
| 3 | Screenshot frames + read dev notes | Individual frames, not sections |
| 4 | Organize into issues | Group by section, detect issue type |
| 5 | Ask clarifying questions | Before creating any issues |
| 6 | Create GitHub issues | With Figma links |
| 7 | Add screenshots (optional) | Export, user drag-drops, then label via edit |
| 8 | Update PM tool (optional) | Update Asana/PM task with issue links if provided |
| 9 | Cleanup temp files | Offer to remove ./dev-handoff-issues/ and other handoff scratch |
The only tool calls allowed before TaskCreate are the unavoidable bootstrap ones: reading this SKILL.md and loading TaskCreate's schema if deferred. Nothing else. Not "just a quick gh auth status," not "just a quick Figma metadata read to confirm the URL." Those are Step 0 and Step 2 — they come after the task list exists.
This applies even when this skill is chained after another skill (e.g., after design-organize or design-annotations). Chained invocations are the most common place where task setup gets skipped because the early steps "feel small" — they are not. If you skip this gate and only create tasks retroactively, the user cannot see structured progress and the skill's later HARD-GATEs lose their force.
If you cannot invoke TaskCreate for any reason, STOP and explain why to the user before proceeding.
Create these tasks in a single TaskCreate batch:
Mark each in_progress when starting and completed when done. Tasks ARE the early steps — do not treat the first few as too trivial to track.
Check before gathering input:
| Check | How | Fallback |
|---|---|---|
| Figma MCP | Check for mcp__figma__get_metadata in available tools | Cannot proceed without it — Figma MCP is required |
| gh CLI | gh auth status | If not available, offer the user a choice (see below) |
| FIGMA_TOKEN (optional) | [ -n "$FIGMA_TOKEN" ] && echo "set" || echo "not set" | Skip screenshot embedding, use Figma links only |
Ask the user which they prefer:
GitHub CLI isn't set up. Would you like to:
- Set it up now — I'll walk you through installing and authenticating
gh- Skip it — I'll write the issues as markdown files you can copy-paste into GitHub
Option 1 — Setup gh CLI:
gh is not installed: brew install gh (macOS) or point to cli.github.com! gh auth login in the prompt (the ! prefix runs it interactively in this session)gh auth status and continue normallyOption 2 — Markdown output mode:
./dev-handoff-issues/01-update-settings-layout.md, 02-payments-integration.md, etc.Ask the user directly in conversation — do NOT use AskUserQuestion tool for this.
Pacing: Start with the 3 required fields. Then ask optional questions as follow-ups — don't dump everything at once.
Required — ask for each explicitly, never guess or assume:
owner/repo. Never guess repo names — naming conventions vary and guessing wastes timeOptional (ask if not provided):
Issue templates: Ask the user: "Do you have specific GitHub issue templates you'd like me to follow, or should I use the default ones?" If they provide templates, use them exactly. If not, use the skill's built-in defaults in Step 4.
Use mcp__figma__get_metadata on the provided node to discover the hierarchy.
Parse the metadata to identify:
Skip sections whose names contain "(WIP)" or that the user explicitly excluded.
Present the discovered structure to the user for confirmation before proceeding:
Found N sections (skipping M WIP):
1. Section Name — X screens, Y dev notes
2. Section Name — X screens, Y dev notes
...
For each non-WIP section:
mcp__figma__get_screenshot — capture each screen state separately (e.g., "Not Connected", "Connected", "Error"), NOT the entire section.Record all information per section:
Based on user preferences from Step 1, organize the captured data into issues.
If the user provided their own templates, use them exactly. Map the extracted information into their template fields. Do not improvise.
If using the skill's defaults, read issue-templates.md in this skill directory. It contains:
When the issue type is unclear, default to New Feature for new integrations/features or Enhancement for updates to existing functionality.
Always link to the specific subsection in Figma, not the parent section. Convert node IDs to URL format: node-id=XXXX-YYYY (replace : with -).
Ask questions as natural conversation, NOT via AskUserQuestion tool.
Show each planned issue using the exact template format from Step 4 — same headers, same structure. The preview should look identical to what will be created. Include:
Scan every dev note for these red flags and produce explicit output of the form:
Red-flag scan:
- [dev note quote] → open question: ...
- [dev note quote] → open question: ...
(or: "No red flags found" with one-sentence reasoning per category)
Categories to scan:
Quote the dev-note text verbatim for each finding so the user can confirm context.
Ask: "Does this plan look good, or would you like to adjust anything?"
Iterate until the user approves. Only then proceed to Step 6.
gh issue create --repo <repo> --title "<title>" --body "$(cat <<'EOF' ... EOF)". Use HEREDOC to preserve markdown formatting.After each issue is created, fetch it with gh issue view and verify the body rendered correctly (tables, links, formatting). Fix any issues with gh issue edit --body-file.
Write markdown files as described in Step 0.
After issues are created, ask: "Would you like to add screenshots to the issues?"
If no, done. If yes, check for FIGMA_TOKEN:
Export via Figma REST API — batch all frames:
curl -s "https://api.figma.com/v1/images/<fileKey>?ids=<node1>,<node2>,...&format=png&scale=2" \
-H "X-Figma-Token: <token>"
Download PNGs to ./dev-handoff-issues/screenshots/, organized per issue:
screenshots/
01-layout/
disabled-state.png
empty-state.png
02-payments/
not-connected.png
connected.png
For each issue:
open ./dev-handoff-issues/screenshots/01-layout/gh issue view, then gh issue edit --body-file to label each screenshot under ### State Name subheadings in the ## Screenshots section.If the user provided an Asana/PM link in Step 1, offer to update it with the GitHub issue links and a summary. If Asana MCP tools are available, use them. Otherwise, output the update text for the user to paste manually.
Also ask: "Would you like me to create a review subtask in Asana for reviewing the designs and GitHub issues?" If yes, create a subtask on the parent task with a summary of what was created and links to the GitHub issues and Figma section.
Once issues are created and (optionally) the PM tool is updated, list every scratch file/dir this run produced and offer to remove them. Common candidates:
./dev-handoff-issues/ (markdown drafts in markdown-output mode)./dev-handoff-issues/screenshots/ (downloaded PNGs from Figma export)/tmp/dev-handoff-* files (issue body drafts, scan outputs, etc.)Ask the user: "I created the following temp files during this handoff: [list paths]. Want me to delete them now, or keep them for reference?"
Only delete after explicit user confirmation. Use rm for files and rm -rf for directories — and only on paths you actually created in this run. Do not touch files you didn't create.
| Mistake | Fix |
|---|---|
| Skipping task setup because early steps look trivial | Tasks ARE the early steps; user can't see hidden progress. Always create the full list first. |
| Skipping task setup when chained from another skill | Chained invocations are the most common skip-point. Step 0a applies regardless of how the skill was invoked. |
| Conflating logistics questions with the Step 5 Part B substance scan | Asana link / title / hosting questions are not red-flag findings. Both must happen. |
Using sed to modify issue bodies with markdown tables | Pipe characters in tables break sed — use Python for string replacement |
| Embedding screenshots as comments instead of in the issue body | Edit the issue body directly with gh issue edit --body-file |
Embedding Handoff/HTML-wrapper URLs as <img src> in GitHub issue bodies | GitHub's Camo proxy fetches the URL and renders broken because Handoff returns HTML, not raw image bytes. Use drag-drop into user-attachments.githubusercontent.com or a host that returns content-type: image/*. Verify with curl -I <url>. |
Guessing which user-attachments/assets/<uuid> URL is which screenshot | Those URLs 404 to unauthenticated curl. Ask the user to upload one screenshot at a time and label inline, OR confirm upload order against the numbered state list before labeling. |
| Drafting from stale dev notes after the user edited them mid-flow | If dev notes were empty when this skill started, or the user says they updated them, re-run the dev-note read before drafting. |
| Leaking FIGMA_TOKEN in env check output | Never echo the token — use the safe check in Step 0 |
| Screenshotting entire sections instead of individual frames | Sections are too small to read — always use individual frame node IDs |
| Forgetting to transcribe dev notes | Dev notes are the primary spec — screenshots alone miss edge cases |
Forgetting to clean up ./dev-handoff-issues/ and other scratch | Step 9 exists for this — offer cleanup before declaring done. |
What SKILL.md sets; muted values are Claude Code's defaults
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-first-draftUse when a research synthesis or a project brief exists and the user wants first-draft screens designed for each direction, in Figma or in code, using their design system or a chosen visual style. Triggers include "design a first draft", "build first passes for these directions", "make v1 to v4 in Figma", "turn the objectives and directions into screens", "draft the directions from my synthesis", "here is the brief, design some options", or a synthesis link plus a Figma section link./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./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