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,205 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,205 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.01205
Opus 5 $0.00048 $0.00602
Sonnet 5 $0.00019 $0.00241
Haiku 4.5 $0.00010 $0.00120

Measured 13d ago against content hash 863eafa7db00, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 13d 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 · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 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 · 99 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. 13d 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 (117 stars, last pushed 4d ago), licensed Unlicense. It adds 95 tokens to every session and 1,205 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens