Figma API client with TypeScript recipes that generate React and Tailwind code from design components.
- CCM score
- 57 of 100
- skills.sh installs
- 453
- GitHub stars
- 303
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Figma REST endpoints for files, nodes, components, component sets, team components, and image export
- Includes helpers that extract file keys and node IDs from URLs, and convert Auto Layout into flexbox styles
- Provides generators for React components, inline style objects, and Tailwind class strings from design nodes
- Designed for developers automating design tokens, design-to-code output, or design system syncing with the
FIGMA_TOKENvariable
Install
$ npx -y skills add hoodini/ai-agents-skills --skill figma -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Figma API Integration
Extract design data, generate code from components, and automate design workflows with Figma's API.
Quick Start
Authentication
const FIGMA_TOKEN = process.env.FIGMA_TOKEN;
const headers = {
'X-Figma-Token': FIGMA_TOKEN
};
// Get file
const response = await fetch(
`https://api.figma.com/v1/files/${FILE_KEY}`,
{ headers }
);
File Key & Node IDs
// Extract from Figma URL: figma.com/file/FILE_KEY/Name?node-id=NODE_ID
const figmaUrl = 'https://www.figma.com/file/abc123/MyDesign?node-id=1%3A2';
const fileKey = figmaUrl.match(/file\/([^/]+)/)?.[1]; // abc123
const nodeId = new URL(figmaUrl).searchParams.get('node-id'); // 1:2
Core API Endpoints
Get File
// Full file
GET https://api.figma.com/v1/files/:file_key
// Specific nodes (components)
GET https://api.figma.com/v1/files/:file_key/nodes?ids=1:2,1:3
// With geometry for SVG paths
GET https://api.figma.com/v1/files/:file_key?geometry=paths
// With plugin data
GET https://api.figma.com/v1/files/:file_key?plugin_data=shared
Details
- Repository
- github.com/hoodini/ai-agents-skills
- Categories
- Design & UI/UX, Frontend & UI Code
- First seen
- Jun 3, 2026
More from hoodini/ai-agents-skills
All 35- Mermaid Diagrams411
- Analytics Metrics387
- Ux Design Systems273
- Aws Strands252
- Bun195
- Honest Agent194
- Nano Banana Pro192
- Fal Ai177
- Vercel175
- Langchain171
- Local Llm Router163
- Aws Account Management151
- Copilot Docs149
- Cloudflare146
- Railway137
- Shabbat Times136
- Parallax Landing Page98
- Meta Ads96
- Video Edit66
- Cinematic Scrub Landing61
- Video To Landing Page59
- X Twitter Scraper53
- Yuv Design System48
- Yuv Decks47
Similar to Figma
More Design & UI/UXFigma MCP ServerMCP serverfigma2.2K starsRead access to Figma design files: frames, variables, styles, and layout data for AI coding agents.
design-to-codeSkilldavila7/claude-code-templates135 installsFigma-to-React conversion via coderio, producing TypeScript, Vite, and TailwindCSS V4 components in phased, checkpointed steps.
hashi-figmaPluginTheBushidoCollective/han201 starsMCP server for Figma integration providing design-to-code generation, design token extraction, component sync, and frame analysis via Figma Desktop MCP server.
design-to-component-translatorSkillpatricio0312rev/skills277 installsConverts Figma specifications into production React components using Tailwind, shadcn patterns, and design tokens.
design-dnaSkillzanwei/design-dna7.7K installsStructured workflow that extracts, structures, and applies design DNA across tokens, style, and visual effects.