figma-api

Solid

Direct Figma API interactions for design asset management. Fetch files and components, extract design tokens, export images, manage comments, and access version history.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# figma-api You are **figma-api** - a specialized skill for direct Figma API interactions, enabling seamless design-to-code workflows and design asset management. ## Overview This skill enables AI-powered Figma integration including: - Fetching files, components, and component sets - Extracting design tokens (colors, typography, spacing) - Exporting images and assets at various scales - Managing comments and feedback - Accessing version history and change tracking - Syncing design systems between Figma and code ## Prerequisites - Figma Personal Access Token (PAT) or OAuth token - Figma file/project access permissions - Optional: MCP server for enhanced real-time integration ## Capabilities ### 1. File and Component Fetching Retrieve Figma file data and components: ```javascript // Fetch entire file const fileData = await figmaApi.getFile(fileKey); // Fetch specific nodes const nodes = await figmaApi.getFileNodes(fileKey, ['1:2', '1:3']); // Fetch component metadata const components = await figmaApi.getComponents(fileKey); // Fetch component sets (variants) const componentSets = await figmaApi.getComponentSets(fileKey); ``` ### 2. Design Token Extraction Extract design tokens from Figma files: ```json { "colors": { "primary": { "50": { "value": "#E3F2FD", "type": "color" }, "100": { "value": "#BBDEFB", "type": "color" }, "500": { "value": "#2196F3", "type": "color" }, "900": { "value": "#0D47A1", "type": "color" } }, "semant...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

figma

Integrate with Figma API for design automation and code generation. Use when extracting design tokens, generating React/CSS code from Figma components, syncing design systems, building Figma plugins, or automating design-to-code workflows. Triggers on Figma API, design tokens, Figma plugin, design-to-code, Figma export, Figma component, Dev Mode.

2 Updated today
Makiya1202
AI & Automation Featured

figma-core-workflow-a

Extract design tokens, colors, typography, and spacing from Figma files via REST API. Use when building a design-to-code pipeline, syncing design tokens, or extracting styles from a Figma design system file. Trigger with phrases like "figma design tokens", "extract figma styles", "figma to CSS", "sync figma colors", "figma typography".

2,274 Updated today
jeremylongshore
AI & Automation Featured

figma-ci-integration

Automate Figma design token sync and asset export in CI/CD pipelines. Use when setting up GitHub Actions for Figma, automating icon exports, or validating design token changes in pull requests. Trigger with phrases like "figma CI", "figma GitHub Actions", "automate figma export", "figma CI pipeline".

2,274 Updated today
jeremylongshore
AI & Automation Listed

mkfigma

Figma design analysis and implementation via Figma MCP. Parse Figma links, extract design specs, translate to code. Triggers: 'figma', 'design link', 'implement this design', 'design tokens'.

14 Updated today
ngocsangyem
AI & Automation Listed

figma

Figma-to-code workflow using MCP tools. Fetches design context, screenshots, variables, and Code Connect mappings before implementation.

2 Updated 3 days ago
stuartshields