
Figma Designer
Turn a Figma file link into developer-ready PRDs with extracted tokens, components, and layout specs via the Figma MCP server.
Overview
Figma Designer is an agent skill for the Build phase that analyzes Figma files through the Figma MCP server and produces implementation-ready PRDs with design tokens, components, and layout specifications.
Install
npx skills add https://github.com/charon-fan/agent-playbook --skill figma-designerWhat is this skill?
- Pulls file metadata, nodes, and components through Figma MCP (`figma_get_file`, `figma_get_nodes`, `figma_get_components
- Derives design tokens for colors, typography, and spacing from live Figma data
- Maps component hierarchy and layout for direct implementation
- Generates structured PRDs from a pasted Figma URL or analysis request
- Documents install via symlink into Claude Code skills directory
Adoption & trust: 647 installs on skills.sh; 58 GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You have polished Figma screens but your agent or dev workflow lacks structured specs, tokens, and component breakdowns to implement them faithfully.
Who is it for?
Indie builders shipping web or mobile UI who maintain designs in Figma and use Claude Code with MCP connected.
Skip if: Teams with no Figma file, no MCP Figma server, or who only need high-level UX critique without extractable design data.
When should I use this skill?
You provide a Figma design link or ask the agent to analyze a Figma file for implementation specs.
What do I get? / Deliverables
You get a detailed PRD and visual specification your agent or team can implement without re-measuring the file by hand.
- Implementation-oriented PRD with visual specifications
- Design token summary (color, typography, spacing)
- Component hierarchy and layout notes for developers
Recommended Skills
Journey fit
Output is implementation specification for UI work, which belongs on the Build shelf before or during frontend coding. Frontend is where design-to-code handoff and pixel specs are consumed; this skill prepares that layer rather than marketing or ops.
How it compares
Use instead of pasting screenshots into chat when you need token-level fidelity tied to the real Figma document structure.
Common Questions / FAQ
Who is figma-designer for?
Solo and indie builders who design in Figma and want their coding agent to output specs and tokens aligned to that file, typically right before frontend implementation.
When should I use figma-designer?
Use it during Build (frontend) when you have a Figma URL and need PRDs, design tokens, and component hierarchy extracted automatically—not during early idea research without a design file.
Is figma-designer safe to install?
The skill needs a Figma access token and MCP network access to Figma APIs; review the Security Audits panel on this Prism page and treat tokens as secrets with least-privilege scopes.
SKILL.md
READMESKILL.md - Figma Designer
# Figma Designer Skill > "Transform Figma designs into implementation-ready specifications with pixel-perfect accuracy" ## Overview This skill analyzes Figma designs through the Figma MCP server and generates detailed PRDs with precise visual specifications. It extracts design tokens, component specifications, and layout information that developers can implement directly. ## Installation The skill should be symbolically linked to your Claude Code skills directory: ```bash ln -s ~/agent-playbook/skills/figma-designer/SKILL.md ~/.claude/skills/figma-designer.md ``` ## Prerequisites ### Figma MCP Server Ensure the Figma MCP server is connected and accessible: ```bash # Check if Figma MCP is available mcp-list ``` If not available, install from: https://github.com/modelcontextprotocol/servers Required Figma MCP tools: - `figma_get_file` - Get file metadata - `figma_get_nodes` - Get node details - `figma_get_components` - Get component information ### Figma Access Token You need a Figma access token with appropriate permissions: ```bash # Set environment variable export FIGMA_ACCESS_TOKEN="your_token_here" ``` ## Usage ### Basic Usage Provide a Figma link or ask to analyze a design: ``` You: Analyze this Figma design: https://www.figma.com/file/abc123/My-Design ``` The skill will automatically: 1. Extract the file key from the URL 2. Fetch design data via Figma MCP 3. Analyze design tokens (colors, typography, spacing) 4. Extract component hierarchy 5. Generate visual specifications ### With PRD Generation ``` You: Create a PRD from this Figma design: [URL] ``` Generates a complete 4-file PRD in `docs/`: - `{feature}-notes.md` - Design decisions - `{feature}-task-plan.md` - Implementation tasks - `{feature}-prd.md` - Product requirements - `{feature}-tech.md` - Technical specifications ## What Gets Extracted ### Design Tokens | Category | What's Extracted | |----------|-----------------| | **Colors** | Hex/RGBA values for primary, secondary, semantic colors | | **Typography** | Font families, sizes, weights, line heights, letter spacing | | **Spacing** | Padding, margin, gap values (typically 4/8/12/16px scale) | | **Borders** | Corner radius, border widths | | **Shadows** | Offset, blur, spread, color values | | **Icons** | Names, sizes, colors | | **Images** | URLs, dimensions, fit modes | ### Component Analysis For each component found in the design: - Props (size, variant, state) - Layout (flex direction, alignment, gap, padding) - Styles (fill, stroke, effects) - Content (text, icons, images) - Constraints (responsive behavior) ## Output Examples ### Visual Specification ```markdown ## Screen: Login ### Layout Structure ``` ┌─────────────────────────────────────────┐ │ Logo [Icon] │ ├─────────────────────────────────────────┤ │ Welcome back │ │ Sign in to continue │ ├─────────────────────────────────────────┤ │ Email [✓] │ │ ┌────────────────────────────────┐ │ │ └────────────────────────────────┘ │ ├─────────────────────────────────────────┤ │ Password [👁️] │ │ ┌────────────────────────────────┐ │ │ └────────────────────────────────┘ │ ├─────────────────────────────────────────┤ │ Forgot password? │ ├─────────────────────────────────────────┤ │ [ Sign In ] │ └─────────────────────────────────────────┘ ``` ### Design Tokens ```typescript // tokens.ts export const colors = { primary: '#007AFF', background: '#FFFFFF', surface: '#F5F5F7', textPrimary: '#1C1C1E', textSecondary: '#8E8E93', }; export const typography = { displayLarge: { fontSize: 28, fontWeight: '700', lineHeight: 34, }, // ... }; export const spacing = { xs: 4, sm: 8, md: 12, lg: 16, xl: 24, 2xl: 32, }; ``` ## Integration with Other Skills ### Typical Workflow ``` Figma URL → figma-desi