figma-to-section

figma-to-section is a skill for Claude Code from textura-agency/next16-claude-starter. It costs 95 tokens per session (1,408 once invoked), scanned A, original, Unlicense.

A workflow for turning a Figma design file into website components. Figma is a tool for designing screens and interfaces; the workflow reads the actual design values, layout, and assets before implementation.

In plain words
What is it for?
Use it to build a page section from a Figma frame, download and check its assets, apply its colours and typography to design tokens, and choose suitable animation building blocks.
Why use it?
It reduces guesswork when matching a website to a design. It records the source node IDs and design decisions so later work can return to the same parts of the file.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build a page section from a Figma frame, download and check its assets, apply its colours and typography to design tokens, and choose suitable animation building blocks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/textura-agency/next16-claude-starter/figma-to-section
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add textura-agency/next16-claude-starter --skill figma-to-section
Clone the repo
git clone --depth 1 https://github.com/textura-agency/next16-claude-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for figma-to-section

README.md
[![agentmods](https://agentmods.dev/badge/skills/textura-agency/next16-claude-starter/figma-to-section/github.svg)](https://agentmods.dev/skills/textura-agency/next16-claude-starter/figma-to-section)
Your own site
<a href="https://agentmods.dev/skills/textura-agency/next16-claude-starter/figma-to-section"><img src="https://agentmods.dev/badge/skills/textura-agency/next16-claude-starter/figma-to-section/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for figma-to-section

Your own site · 80×15
<a href="https://agentmods.dev/skills/textura-agency/next16-claude-starter/figma-to-section"><img src="https://agentmods.dev/badge/skills/textura-agency/next16-claude-starter/figma-to-section.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01408
Opus 5.5 $0.00038 $0.00563
Sonnet 5.5 $0.00019 $0.00282
Haiku 4.5 $0.00010 $0.00141

Measured 1mo ago against content hash ab6081dabbf6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

figma-to-section scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/figma-to-section/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Figma → section

Build from live Figma data, never from a text description, a summary you wrote earlier, or memory. Descriptions lose exactly the values that matter.

1. Extract, in this order

  1. get_metadata — file structure, pages, top-level frames. Gives you the fileKey and the node IDs.
  2. get_design_context on the target node — exact text, colours, typography, spacing, layout, asset URLs. This is the source of truth for values.
  3. get_screenshot on the same node — the source of truth for layout: column count, direction, alignment, order, positioning.

Both. get_design_context will not tell you a layout reads as three columns; the screenshot will not tell you the gap is 28px.

2. Record what you fetched

Write DESIGN-MAP.md at the repo root (gitignored or committed, user's call):

**Figma file key:** `<fileKey>`
**Source URL:** <url>
**Frame width:** <px>   ← the design base width; check it against the adaptive grid

| Section | Node ID | View / component | Background | Notes |
|---------|---------|------------------|------------|-------|
| Hero    | `1:234` | views/home → Hero | full-bleed image | h1 lives here |

Every section needs its node ID. QA and any later pass re-fetch from these — a section without a node ID cannot be verified against its design later.

3. Assets

get_design_context returns asset URLs that expire (~7 days). Download immediately.

  • Save to public/assets/<section>/ — one folder per section (obsidian/architecture/folder-structure.md). Meta/PWA assets stay at public/ root.
  • kebab-case, prefixed by section: hero-background.webp, team-jane-doe.webp, icon-arrow.svg.
  • Verify each file after download: run file <path>. Figma often returns an SVG where you asked for a raster, or a PNG named .jpg. Rename to match the real type — a mismatched extension renders as a broken image.
  • Sanity-check size: a content photo under ~5KB is almost certainly a vector placeholder, not the intended export. Flag it; do not ship it.
  • Prefer .webp/.avif for photos. next/image with explicit width/height.
  • If a download fails: use a placeholder, add a comment saying why, and tell the user immediately — never silently skip an asset.

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +11 lines ab6081dabbf6
  2. 2mo ago First seen · 99 lines · 95 tokens per session scan A 863eafa7db00

Subscribe to this mod's changes

figma-to-section is a skill published in the GitHub repository textura-agency/next16-claude-starter (145 stars, last pushed 23d ago), licensed Unlicense. It adds 95 tokens to every session and 1,408 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

figma-to-section compared with skills from other repositories

figma-to-section next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figma-to-sectiontextura-agency/next16-claude-starterSkill14523d agoUnlicenseA95Claude Code
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code