Extract Design
Manavarya09/design-extract
Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.
Subagent for figma-from-code Phase 1. An agent skill from bitovi/ai-enablement-prompts.
$ npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bitovi/ai-enablement-prompts figma-from-code-setup-tokens --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens .claude/skills/figma-from-code-setup-tokens && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "figma-from-code-setup-tokens" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens into .claude/skills/figma-from-code-setup-tokens/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figma-from-code-setup-tokens", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokensType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bitovi/ai-enablement-prompts figma-from-code-setup-tokens --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens .agents/skills/figma-from-code-setup-tokens && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "figma-from-code-setup-tokens" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens into .agents/skills/figma-from-code-setup-tokens/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figma-from-code-setup-tokens", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bitovi/ai-enablement-prompts figma-from-code-setup-tokens --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens .cursor/skills/figma-from-code-setup-tokens && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "figma-from-code-setup-tokens" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens into .cursor/skills/figma-from-code-setup-tokens/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figma-from-code-setup-tokens", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bitovi/ai-enablement-prompts.git --path plugins/figma-from-code/skills/figma-from-code/3-setup-tokens--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bitovi/ai-enablement-prompts figma-from-code-setup-tokens --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens .gemini/skills/figma-from-code-setup-tokens && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "figma-from-code-setup-tokens" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens into .gemini/skills/figma-from-code-setup-tokens/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figma-from-code-setup-tokens", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bitovi/ai-enablement-prompts figma-from-code-setup-tokensInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens .github/skills/figma-from-code-setup-tokens && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "figma-from-code-setup-tokens" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens into .github/skills/figma-from-code-setup-tokens/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figma-from-code-setup-tokens", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bitovi/ai-enablement-prompts figma-from-code-setup-tokens --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens .opencode/skills/figma-from-code-setup-tokens && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "figma-from-code-setup-tokens" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/figma-from-code/skills/figma-from-code/3-setup-tokens into .opencode/skills/figma-from-code-setup-tokens/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figma-from-code-setup-tokens", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
figma-from-code-setup-tokensSubagent for figma-from-code Phase 1. An agent skill from bitovi/ai-enablement-prompts.
Figma From Code Setup Tokens is an agent skill from bitovi/ai-enablement-prompts. Subagent for figma-from-code Phase 1. Creates Figma variable collections from the project's CSS and Tailwind tokens, extracts the CSS-variable-to-Figma-variable-ID map, and pre-computes all CSS colors as sRGB values.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).
It sits in Frontend & Design, covering CSS and styling, Design tokens and Subagents. It works with Figma and Tailwind CSS. The repository describes itself as: Prompts Bitovi uses for software development. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit df229b1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Figma From Code Setup Tokens loads about 2.4k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 692 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bitovi/ai-enablement-prompts at commit df229b1, republished under its MIT licence (© bitovi). 692 words, ~2,395 tokens.
.claude/skills/figma-from-code-setup-tokens/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Creates Figma variable collections from the project's CSS and Tailwind tokens, extracts the CSS-variable-to-Figma-variable-ID map, and pre-computes all CSS colors as sRGB values. Runs as a subagent dispatched by the orchestrator, or standalone when tokens change.
figma-from-code orchestrator reaches Phase 1Load figma:figma-use (mandatory) before any use_figma call.
| Input | Description | Source |
|---|---|---|
fileKey | Figma file key | State ledger or caller |
existingCollections | List of variable collection names that already exist | Phase 0a Figma inspection |
Placeholders like
{cssPath},{tailwindConfigPath}, and{skillRoot}resolve fromstate.json → config.
| File | What it contains |
|---|---|
{cssPath} | All CSS custom properties — palette colors and semantic aliases |
{tailwindConfigPath} | Color names mapped to CSS variables, border-radius extensions (optional) |
| File | Contents | Consumed by |
|---|---|---|
.temp/figma-from-code/variables.json | CSS var name -> Figma variable ID map (with scopes) | Phase 3 build subagents |
.temp/figma-from-code/resolved-colors.json | Pre-computed sRGB values for all CSS variables | Phase 3 build subagents |
.temp/figma-from-code/color-index.json | Reverse RGB -> Figma variable index (for rebind sweeps) | Phase 3 fix loops, resolve-color.js |
.temp/figma-from-code/tokens-summary.json | Small summary for the orchestrator | Orchestrator only |
Rather than hardcoding token values, extract them dynamically from the project files:
{cssPath} and parse all --variable-name: value declarations from :root or theme blocks--gray-50 through --gray-950) — group by color family--background, --primary, --foreground){tailwindConfigPath} is not null, read it to discover color name mappings to CSS variables, border-radius extensions, and spacing scale extensionsSkip this step if all three collections (Palette, Semantic, Spacing) already exist in existingCollections.
Write a use_figma script to create the three collections. Work in batches of ~50 variables per call to stay under the incremental limit. Create Palette first, then Semantic (so alias references resolve correctly).
Palette (mode: Value)Raw color scales extracted from CSS. Set scopes to [] on every variable (hidden from property pickers — used only for aliasing by Semantic). Groups are discovered dynamically from CSS variable naming patterns (--{color}-{step} where step is 50→950).
Semantic (mode: Light)Alias tokens that components bind to. Set scopes based on usage:
| Token pattern | Scope |
|---|---|
background, card/*, popover/*, sidebar/* fills | FRAME_FILL, SHAPE_FILL |
foreground, *-foreground | TEXT_FILL |
border/*, ring/*, outline/* | STROKE_COLOR |
Where a semantic token's value maps to a palette variable, create an alias reference. Where it's a standalone hex value, use a direct color.
Spacing (mode: Value)Float variables from CSS or Tailwind config. Set CORNER_RADIUS scope for radius variables; GAP, WIDTH_HEIGHT scope for spacing variables.
For all variables in all collections, set WEB code syntax to var(--variable-name) matching the CSS variable name exactly.
Run this use_figma call to build the CSS-variable-name to Figma-variable-ID map:
const collections = await figma.variables.getLocalVariableCollectionsAsync();
const map = {};
for (const col of collections) {
for (const varId of col.variableIds) {
const v = await figma.variables.getVariableByIdAsync(varId);
if (v.codeSyntax && v.codeSyntax.WEB) {
map[v.codeSyntax.WEB] = {
id: v.id,
name: v.name,
collectionName: col.name,
resolvedType: v.resolvedType,
scopes: v.scopes,
};
}
}
}
return JSON.stringify(map);Write the returned JSON to .temp/figma-from-code/variables.json.
Run the color resolution script to pre-compute all CSS variable colors as sRGB:
node {skillRoot}/scripts/resolve-colors.js \
{cssPath} \
[--tailwind {tailwindConfigPath}] \
--output .temp/figma-from-code/resolved-colors.jsonOmit the
--tailwindflag entirely whenconfig.tailwindConfigPathisnull.
Join variables.json and resolved-colors.json into the RGB-to-variable reverse index used by build agents and fix-loop rebind sweeps:
node {skillRoot}/scripts/resolve-color.js --dump-index \
--output .temp/figma-from-code/color-index.jsonThe index is keyed by 8-bit "r,g,b" strings, each mapping to the candidate Figma variables that resolve to that color. Build agents inline it into use_figma scripts (the plugin sandbox has no filesystem access); single lookups go through resolve-color.js <class|var|color> instead of reading the JSON into context.
Count the entries in variables.json and resolved-colors.json, then write the summary:
node -e "
const vars = JSON.parse(require('fs').readFileSync('.temp/figma-from-code/variables.json','utf-8'));
const colors = JSON.parse(require('fs').readFileSync('.temp/figma-from-code/resolved-colors.json','utf-8'));
const index = JSON.parse(require('fs').readFileSync('.temp/figma-from-code/color-index.json','utf-8'));
const varCount = Object.keys(vars).length;
const colorCount = Object.keys(colors.cssVariables || {}).length;
const indexCount = Object.keys(index.index || {}).length;
const collections = [...new Set(Object.values(vars).map(v => v.collectionName))];
const summary = { collections, variableCount: varCount, resolvedColorCount: colorCount, colorIndexCount: indexCount, variableMapPath: '.temp/figma-from-code/variables.json', resolvedColorsPath: '.temp/figma-from-code/resolved-colors.json', colorIndexPath: '.temp/figma-from-code/color-index.json' };
require('fs').writeFileSync('.temp/figma-from-code/tokens-summary.json', JSON.stringify(summary, null, 2));
console.log('Tokens summary: ' + collections.length + ' collections, ' + varCount + ' variables, ' + colorCount + ' resolved colors, ' + indexCount + ' indexed color keys');
"Phase 1 complete:
- {collections.length} variable collections: {collection names}
- {variableCount} CSS variables mapped to Figma variable IDs
- {resolvedColorCount} CSS colors pre-computed as sRGB
- {colorIndexCount} reverse color-index keys for RGB -> variable matchingSkip the entire phase if all four output files exist and are non-empty:
.temp/figma-from-code/variables.json.temp/figma-from-code/resolved-colors.json.temp/figma-from-code/color-index.json.temp/figma-from-code/tokens-summary.jsonSkip only Step 2 (collection creation) if all three collections already appear in existingCollections; proceed with Steps 3–5 to regenerate the maps.
| Scenario | Action |
|---|---|
| Collection creation fails | Report error; variable creation is required for downstream phases |
use_figma variable extraction fails | Retry once; if still failing, report error |
resolve-colors.js fails | Report error; Phase 3 can still build using computed-styles.json fallback |
resolve-color.js --dump-index fails | Report error; Phase 3 builds work but rebind sweeps degrade to no-ops |
© bitovi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in plugins/figma-from-code/skills/figma-from-code/3-setup-tokens of bitovi/ai-enablement-prompts.
Open the folder on GitHubat commit df229b1
Figma From Code Setup Tokens next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Figma From Code Setup Tokens this skillbitovi/ai-enablement-prompts | 121 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Extract DesignManavarya09/design-extract | 4.2k | — | ~786 | Automated safety check: Notes | MIT | |
| Shift UI Componentsshift-editor/shift | 347 | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Ad Designalexandremendoncaalvaro/CorridorKey-Runtime | 755 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Design System Generatemohitagw15856/pm-claude-skills | 1.4k | — | ~1.7k | Automated safety check: Pass | MIT | |
| MCP Developmentcoollabsio/coolify | 63k | 1 repos | ~949 | Automated safety check: Pass | MIT |
Manavarya09/design-extract
Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.
shift-editor/shift
Guides design, implementation and review of Shift interface work: shared Base UI wrappers, Tailwind v4 theme tokens, Figma matching and accessible interaction states.
alexandremendoncaalvaro/CorridorKey-Runtime
Generate DESIGN.md at the repo root by scanning existing design tokens (Figma export, tailwind.config, tokens.json, stylesheet) and synthesizing W3C-compatible YAML frontmatter + Markdown rationale…
mohitagw15856/pm-claude-skills
Generate a complete, accessibility-checked design system from scratch — colour ramps, type scale, spacing, elevation, and exports for CSS, Tailwind, design tokens, Figma, VS Code and PowerPoint.
coollabsio/coolify
A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.
SuFxGIT/scoutarr
Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns.
bitovi/ai-enablement-prompts
Track reusable UI components and unextracted patterns. An agent skill from bitovi/ai-enablement-prompts.
bitovi/ai-enablement-prompts
Extract and compare computed CSS styles between a baseline URL and a dev/Storybook URL using Playwright MCP evaluate calls.
bitovi/ai-enablement-prompts
A skill your agent uses when the user asks to "create a plugin", "add a plugin", "make a new plugin", "build a plugin", or wants to package skills into an installable plugin for this marketplace.
bitovi/ai-enablement-prompts
Create React components, hooks, or utilities following the modlet pattern.
bitovi/ai-enablement-prompts
A skill your agent uses when the user asks to "create a skill", "add a skill", "make a new skill", "build a skill", or wants to automate a repeated workflow into a reusable prompt.
bitovi/ai-enablement-prompts
Create new Agent Skills for this project. An agent skill from bitovi/ai-enablement-prompts.
Works with
Categories
Subagent for figma-from-code Phase 1. An agent skill from bitovi/ai-enablement-prompts. Figma From Code Setup Tokens is an agent skill from bitovi/ai-enablement-prompts. Subagent for figma-from-code Phase 1.
Figma From Code Setup Tokens fits situations like: tasks that involve CSS and styling; tasks that involve Design tokens; tasks that involve Subagents.
Run `npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a claude-code`. Or copy the skill folder (plugins/figma-from-code/skills/figma-from-code/3-setup-tokens in bitovi/ai-enablement-prompts) into .claude/skills/figma-from-code-setup-tokens in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a codex`. Or copy the skill folder (plugins/figma-from-code/skills/figma-from-code/3-setup-tokens in bitovi/ai-enablement-prompts) into .agents/skills/figma-from-code-setup-tokens in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bitovi/ai-enablement-prompts --skill figma-from-code-setup-tokens -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/figma-from-code-setup-tokens, .gemini/skills/figma-from-code-setup-tokens, .github/skills/figma-from-code-setup-tokens and .opencode/skills/figma-from-code-setup-tokens in your project.
Going by SKILL.md and its folder, Figma From Code Setup Tokens needs the command-line tools its instructions call (node).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Figma From Code Setup Tokens is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Figma From Code Setup Tokens: Extract Design (Manavarya09/design-extract, 4.2k stars), Shift UI Components (shift-editor/shift, 347 stars), Ad Design (alexandremendoncaalvaro/CorridorKey-Runtime, 755 stars) and Design System Generate (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bitovi (a GitHub organization) maintains it in bitovi/ai-enablement-prompts, which has 121 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on September 11, 2026.
Source: bitovi/ai-enablement-prompts on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.