/design-superskills:design-annotationsfrom design-superskills
Adds, repositions, or improves dev note components next to Figma design screens using the Figma MCP. Handles note placement, label detection, and copy refinement.
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.
None: SKILL.md is the whole skill.
Add, reposition, or improve dev note components next to design screens in Figma. Works with design system components or a default note template. Chains from design-organize but also works standalone.
Validation principle: Every
use_figmawrite step must be followed by aget_screenshotcheck. Do not stack writes without visual verification.
| Step | What |
|---|---|
| 0 | Prerequisites — Figma MCP required |
| 1 | Ask preferences: which screens, format, content |
| 2 | Read container, classify children, find existing labels |
| 3 | Version safety |
| 4 | Determine note width → reposition screens/labels → place notes |
| 5 | Validate and present result |
Figma MCP server — check if mcp__figma__use_figma tool is available. If not, tell the user to install it and restart.
figma-use skill — load figma:figma-use via the Skill tool before any use_figma call.
Figma Section gotchas — these are critical and cause silent failures:
getNodeById() works cross-page — it will find nodes on ANY loaded page, giving false positives. Use figma.currentPage.findOne(n => n.id === "<nodeId>") instead, which only returns nodes that actually live on the current page.section.children. Scan figma.currentPage.children for TEXT nodes whose absoluteBoundingBox falls within the section bounds. These are existing labels. Their x/y are canvas-absolute — use section.absoluteBoundingBox to convert.Extract fileKey and nodeId from the user's Figma URL (convert - to : in nodeId).
Detect intent from the message — "add dev notes" vs "improve copy" vs ambiguous. Then always confirm preferences before proceeding (skip only what the user already specified):
Which screens get dev notes?
- A) All screens
- B) Let me pick (I'll list them)
Format:
- A) Use a design system component (I'll search for it)
- B) Use a default note template
Content:
- A) Pre-fill with AI-generated descriptions
- B) Leave empty for manual editing
For "improve copy" intent, skip format/screen questions — go straight to Step 2 → Path C.
Use a single use_figma call to find the correct page and classify all children:
Page discovery: Iterate all pages, switch to each, use figma.currentPage.findOne(n => n.id === "<nodeId>") to find the page that owns the node. Do NOT use getNodeById() — it returns nodes cross-page. Mention which page you found (e.g., "Working on page [page name]") so the user can catch wrong-page issues early.
Classify section children: screens (everything visible that isn't a label or note), labels (TEXT nodes), notes (INSTANCE ≤ 450px or FRAME named "Dev Note" ≤ 450px).
Scan page-level TEXT: Check figma.currentPage.children for TEXT nodes within the section's absoluteBoundingBox. Flag these as pageLevel: true (canvas-absolute coords).
Validation: If design-organize was used (expect labels) but 0 labels found — you're on the wrong page. Re-run discovery.
If user chose "let me pick": List screens with names and dimensions for selection.
Store one FRAME screen ID as <childId> for subsequent page-switch preambles.
Ask the user to save a named version in Figma before proceeding. Wait for confirmation.
This is the core step. The order is critical — reposition BEFORE placing notes to prevent overlaps.
noteWidth.noteWidth = 400px.Widen gaps between screens to fit notes. For each screen left-to-right:
screen.width + 50 (noteGap) + noteWidth + 200 (nextScreenGap)screen.width + 200 (standard gap)Move each screen's label to follow it. Page-level labels need canvas-absolute coordinates: sectionAbsBounds.x + screenRelativeX.
Verify with get_screenshot that gaps are visible.
For each selected screen, place a note at screen.x + screen.width + 50, screen.y.
Component notes: Import chosen variant, createInstance() per screen, append to container.
Default template notes: Create template frame (400px wide, auto-height, vertical layout, "Dev Note" name, Inter fonts, warm fill {1, 0.98, 0.94}), clone per screen, remove template. Must run in a single use_figma call (template reference doesn't persist).
Verify with get_screenshot.
use_figma — walk each note's children to extract text nodes with their IDs and content
Screen Current Suggested Dashboard "Add notes here..." "Main dashboard. Stats row: real-time metrics..."
use_figma call — load each text node's exact font before changing .charactersScreenshot the section. Verify notes are positioned correctly, not overlapping, readable.
Done. Added/updated X dev notes across Y screens.
Want to adjust anything?
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-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./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