labrinyang/cowork-with/cowork-with-figma

Claude Code and agent skill by labrinyang/cowork-with

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user works with or mentions Figma designs, prototypes, mockups, UI specs, design tokens, or design-to-code workflows

Install

npx vskill@latest install labrinyang/cowork-with/cowork-with-figma

SKILL.md

The same SKILL.md was published earlier as labrinyang/cowork-with/cowork-with-figma.

Figma Workflow

Design-to-code workflow for Claude Code via the official Figma MCP server.

Prerequisites

Requires globally installed Figma MCP server (named figma). If not set up, run /cowork-with:cowork-with-onboarding.

Design Context from URLs

When a Figma URL appears — in conversation, a Jira issue description, or a wiki page — use the explorer agent to extract design context automatically. Pass the full Figma URL directly to get_design_context; the tool extracts the relevant node.

Node ID format: Figma node IDs use colon separators: 23102:138594. If a URL contains a dash-formatted node (e.g., node-id=23102-138594), convert dashes to colons when passing nodeId to any tool: "23102:138594".

Tool Strategy

<HARD-GATE> ALL MCP read tool calls MUST go through the explorer agent. The main model MUST NOT call any MCP read tool directly — always spawn the explorer agent to do it. This is mandatory because the explorer agent enforces correct parameter types and names. </HARD-GATE>

Spawn via: Agent tool → name: "explorer" (the plugin ships agents/explorer.md — haiku model, read-only: MCP reads + codebase + git).

TaskWho
Read design context, tokens, metadataexplorer agent
Take screenshots for visual referenceexplorer agent
Inspect Code Connect mappingsexplorer agent
Generate code from design contextMain model
Preview to user and get confirmationMain model
Write to Figma (generate design, diagrams, Code Connect)Main model
MCP Tools

Read (explorer agent):

  • get_design_context — structured code from frames/components (React + Tailwind default)
  • get_variable_defs — design tokens: colors, spacing, typography
  • get_code_connect_map — existing component-to-code mappings
  • get_code_connect_suggestions — detect unmapped components
  • get_screenshot — visual reference of a selection
  • get_metadata — XML layer structure (lightweight; use for large files before calling get_design_context on specific nodes)
  • get_figjam — FigJam diagram metadata and screenshots
  • whoami — current user info and plan details

Write (main model, after user confirmation):

  • generate_figma_design — capture running web UI as editable Figma design (code → Figma); confirm target file with user first
  • generate_diagram — create FigJam diagram from Mermaid syntax or natural language
  • add_code_connect_map — create Code Connect mappings between components and code
  • send_code_connect_mappings — finalize suggested Code Connect mappings
  • create_design_system_rules — generate rule file for consistent code output

<HARD-GATE> Before applying generated code, you MUST use AskUserQuestion to present a structured confirmation. Show the design context source (Figma URL, frame name) and the generated code in the markdown preview field. Options: "Apply" (Recommended), "Edit", "Cancel". Do NOT write code from Figma designs without explicit user approval via this confirmation. This is NOT optional — text-based confirmation does NOT satisfy this gate. You MUST call the AskUserQuestion tool. </HARD-GATE>

Cross-Skill Integration

  • After reading design context, offer /superpowers:brainstorming to explore implementation approaches before coding.
  • If a Jira issue contains a Figma URL, auto-read the design context when working on that issue.
  • If a wiki page references Figma designs, extract design context for implementation specifications.
  • After implementing a design, suggest updating the related Jira issue via /cowork-with:cowork-with-jira to track progress.

Limitations

The following are not available via MCP or have restrictions:

  • Rate limits: Starter plan — 6 read calls/month; Professional+ with Dev/Full seats — per-minute limits. Write tools are exempt.
  • `generate_figma_design`: Rolling out, limited availability.
  • No direct Figma editing: Cannot create/modify individual components, layers, or styles.
  • No comment management: Cannot read or write Figma comments.
  • No version history: Cannot access file version history.
  • No team/project management: Cannot manage teams, projects, or permissions.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/labrinyang/cowork-with/cowork-with-figma/badge)](https://verified-skill.com/skills/labrinyang/cowork-with/cowork-with-figma)

Something wrong with this skill or its page? Tell us.