/c2d2c:d2cfrom c2d2c
Converts Figma designs to code with a structured 8-step pipeline: skim, reuse audit, plan review, spec extraction, 1:1 implementation, regression surfaces, acceptance, and cleanup.
Ships in c2d2c. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Resolve parameters from C2D2C.md at the repo root (fallback: .claude/c2d2c.md). If neither exists, offer to bootstrap one from the template at ../../templates/C2D2C.template.md (plugin root; standalone installs without that file fetch https://raw.githubusercontent.com/BIAsia/c2d2c/main/templates/C2D2C.template.md): fill what the repo itself reveals (token files, gate scripts, regression routes, git host), ask for the rest. This skill uses DESIGN_FILE, TOKEN_DOCS, DS_ROUTE, GATES, MR_TOOL, DEPLOY_ORDER.
Core principles: agree on the plan before building, implement 1:1, every component gets a regression surface, finish with no loose ends. Three points where you MUST stop and wait for user confirmation: step 2 (plan), step 3 (off-system styles), step 7 (acceptance).
get_design_context + screenshots): structure first, no parameter-digging yet. get_metadata tends to time out on large frames; prefer design context.DS_ROUTE page or demo page rendering the component with mock props is direct evidence the presentation surface is already isolated.Present the plan for review: scope, component split/abstraction, animation handling, risks. Lead with a recommendation, not a menu. Wait for confirmation before step 3.
Read each section with get_design_context + get_variable_defs, down to every gap, font size, and color token:
TOKEN_DOCS).When the change involves a reusable component (new, or visual/state changes to an existing one), create or update its DS_ROUTE/<component> page:
tv()/type unions, don't guess), every data shape (value/empty/fallback/truncation/loading/error), every interaction state (rest/hover/focus/selected/disabled + hover popovers).Walk every animation, transition, and hover/active/loading/empty state in the module:
scripts/ds-shot.mjs bundled next to this SKILL.md (node ds-shot.mjs <route> [--port N] [--dark]) or manual browser capture.get_screenshot output; call out known deviations and why.Cleanup (no loose ends, no patches on top):
GATES to confirm nothing dangles.MR (runs automatically once acceptance passed and gates are green; do not stop to ask again):
MR_TOOL. Description template: Figma node link / acceptance screenshots / change summary / deletion list / gate results / DEPLOY_ORDER dependencies (e.g. "backend first").glab mr merge --auto-merge --yes with server-side rebase; queue auto-merge immediately on fast-moving mains).What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (biasia/c2d2c) — no native marketplace selected
npx claudepluginhub p/biasia-c2d2c3 skills in this plugin
/c2dc2d2c c2d pipeline — the rules and process for exporting anything from code INTO Figma (code-to-design), UI components, state matrices, and design tokens/variables alike, and for keeping the token snapshot and its CI gate honest when tokens change. Use whenever the user wants code state reflected in Figma — "export/write/sync this component (or these tokens) to Figma", "update the Figma variables", "I changed a token, regenerate the snapshot", "the figma-variables gate is red". Not for implementing code from Figma designs (that is c2d2c:d2c)./ds-governc2d2c governance pipeline — the standard workflow for converging and freezing a component/style system. Use when the user wants to unify, converge, standardize, or govern a visual dimension (radius, shadows, color, spacing, motion, a component API), asks to add a lint/CI gate for a style rule, wants hardcoded values migrated onto tokens, or complains the same style is hand-written differently across the codebase. Covers census → spec → convergence → full migration → gate → dead-code removal → write-back.Other plugins' skills for the same job