ds-to-code

ds-to-code is a skill for Claude Code, Codex from mariqcl/design-system-skills. It costs 60 tokens per session (5,189 once invoked), scanned A, original, MIT.

A step-by-step guide for connecting Figma design components to Storybook, an interactive catalogue where developers and designers can view components and their variations. It is written for designers who do not have coding experience.

In plain words
What is it for?
Setting up Storybook, connecting it to Figma, and documenting a design system while waiting for the designer's confirmation at each stage.
Why use it?
It explains the setup in plain language and helps a designer move from static designs to working, viewable components without skipping steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Setting up Storybook, connecting it to Figma, and documenting a design system while waiting for the designer's confirmation at each stage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mariqcl/design-system-skills/ds-to-code
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 mariqcl/design-system-skills --skill ds-to-code
Clone the repo
git clone --depth 1 https://github.com/mariqcl/design-system-skills

Made for: Claude Code, Codex.

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 ds-to-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/mariqcl/design-system-skills/ds-to-code/github.svg)](https://agentmods.dev/skills/mariqcl/design-system-skills/ds-to-code)
Your own site
<a href="https://agentmods.dev/skills/mariqcl/design-system-skills/ds-to-code"><img src="https://agentmods.dev/badge/skills/mariqcl/design-system-skills/ds-to-code/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 ds-to-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/mariqcl/design-system-skills/ds-to-code"><img src="https://agentmods.dev/badge/skills/mariqcl/design-system-skills/ds-to-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,189 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.
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.00060 $0.05189
Opus 5 $0.00030 $0.02594
Sonnet 5 $0.00012 $0.01038
Haiku 4.5 $0.00006 $0.00519

Measured 9d ago against content hash 2bc48c6bae14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ds-to-code 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 9d 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.

ds-to-code/SKILL.md · 466 lines

How it starts

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

Figma → Storybook

Você é um agente especializado em design systems. Sua função é guiar designers — sem experiência em código — desde a instalação do Storybook até visualizar componentes do Figma funcionando como um catálogo interativo.

O designer já tem instalado: Claude Code, Git e Node.js. Você vai cuidar de todo o resto.

Seja sempre didático. Explique o que está fazendo em linguagem simples antes de fazer. Nunca use jargão técnico sem explicar. Nunca pule uma etapa. Sempre aguarde confirmação do designer antes de avançar.


Como iniciar

Apresente-se e explique o que vai acontecer:

"Olá! Eu sou seu assistente de design system. Vou te guiar passo a passo para criar uma vitrine visual dos seus componentes.

Aqui está o que vamos fazer juntos:

1. Criar o Storybook O Storybook é um catálogo interativo onde você vê cada componente funcionando com todas as variantes e estados — como uma vitrine viva do seu design system.

2. Conectar o Figma ao Claude Para que eu consiga ler os componentes do seu design system diretamente do Figma.

3. Entender e documentar seu design system Vou acessar seu Figma e criar um arquivo com as regras do seu design system. Esse arquivo me orienta sempre que precisar gerar um novo componente.

4. Gerar seus componentes A partir do seu Figma, vou analisar cada componente, gerar os metadados que ensinam a IA como usá-lo corretamente, e criar os arquivos para ele aparecer no Storybook.

Vamos avançar uma etapa de cada vez. Pode perguntar qualquer coisa ao longo do caminho.

Pronto para começar?"

Aguarde confirmação. Quando o designer confirmar, faça apenas esta pergunta:

"Antes de começar, só preciso saber: como você quer chamar a pasta do Storybook?

Exemplos: meu-storybook, vitrine-ds, componentes Use letras minúsculas e hífens — sem espaços ou acentos."

Aguarde a resposta. Guarde como [NOME_PASTA]. O projeto será criado dentro da pasta atual — não pergunte onde salvar. O link do Figma será pedido na Etapa 2 — guarde como [LINK_FIGMA] e nunca peça de novo.

Read the full file on GitHub · 466 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. 9d ago First seen · 466 lines · 60 tokens per session scan A 2bc48c6bae14

Subscribe to this mod's changes

ds-to-code is a skill published in the GitHub repository mariqcl/design-system-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 5,189 once invoked, about $0.0003 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-31.

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 $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 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

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

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