design-code-parity

design-code-parity is a skill for Claude Code, Codex from southleft/figma-console-mcp. It costs 93 tokens per session (1,857 once invoked), scanned A, original, MIT.

A workflow for comparing a Figma component library with the code library that implements it. Figma is a design tool, and a component library is a collection of reusable interface parts such as buttons and forms.

In plain words
What is it for?
It helps pair matching design and code components, classify discrepancies and produce a report for fixes or human decisions.
Why use it?
It exposes differences in component options, properties, styling and design tokens without silently deciding which version is correct.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps pair matching design and code components, classify discrepancies and produce a report for fixes or human decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/southleft/figma-console-mcp/design-code-parity
About the project

Figma Console MCP is a Model Context Protocol server that lets AI assistants access Figma as an interface for working with design systems. It supports extracting, creating, debugging, and synchronizing design tokens between Figma and codebases. The catalogue commands and instruction help agents use this workflow.

southleft/figma-console-mcp · 3,455 stars · on GitHub · southleft.com

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 southleft/figma-console-mcp --skill design-code-parity
Clone the repo
git clone --depth 1 https://github.com/southleft/figma-console-mcp

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 design-code-parity

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/southleft/figma-console-mcp/design-code-parity"><img src="https://agentmods.dev/badge/skills/southleft/figma-console-mcp/design-code-parity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,857 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.00093 $0.01857
Opus 5.5 $0.00037 $0.00743
Sonnet 5.5 $0.00019 $0.00371
Haiku 4.5 $0.00009 $0.00186

Measured yesterday against content hash 7c40f86ee602, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-code-parity 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 yesterday.

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.

skills/design-code-parity/SKILL.md · 117 lines

How it starts

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

Design ↔ code parity

Tools (Local Mode): this skill uses tools outside the core set. If they aren't in your tool list, call figma_enable_toolsets({ toolsets: ["inspect", "parity", "components", "variables"] }) once at the start; if they still don't appear, call them through figma_call({ tool, arguments }). Cloud Mode lists every tool, so skip this there.

Find where the Figma library and the code library disagree, and fix only what has a clear owner. Never silently pick a side. If nobody has said which side is canonical for a component or property, the discrepancy goes to a person.

0. Establish canonical source

Ask, or read from the repo or team docs, which side is the source of truth:

  • per library ("Figma is canonical"),
  • per component, or
  • per concern (e.g. design owns visuals, code owns the props API).

Record the answer. If there isn't one, treat every discrepancy as needs decision. You can still measure parity, but don't apply fixes.

1. Pair components

  • Figma: figma_search_components({ query, libraryFileKey? }) or figma_get_library_components({ libraryFileKey, query }) gives you nodeIds and keys.
  • Code: list the exports of the component package (entry index.ts, package.json exports, component directory).
  • Pair them by name. Components on only one side go in the report as missing in code or missing in Figma. Don't create the missing side unless the person asks.

2. For each pair, gather both sides

Figma side:

  • figma_analyze_component_set({ nodeId: "<COMPONENT_SET id>" }) gives the variant axes and values, state → pseudo-class mapping, property definitions mapped to prop types, and slots.
  • figma_get_component_for_development({ nodeId }) gives bound token names, sizing and annotations. For deep trees, use figma_get_component_for_development_deep({ nodeId, depth: 0 }).

Code side. Read the source and build a codeSpec. Fill in only the sections you actually read, and leave the rest out:

codeSpec: {
  filePath: "src/components/Button/Button.tsx",
  visual:     { backgroundColor, borderColor, borderWidth, borderRadius, opacity, fills:[{color,opacity}], strokes:[{color,width}], effects:[{type,color,offset:{x,y},blur}] },
  spacing:    { paddingTop, paddingRight, paddingBottom, paddingLeft, gap, width, height, minWidth, maxWidth, minHeight, maxHeight, layoutDirection: "horizontal"|"vertical" },
  typography: { fontFamily, fontSize, fontWeight, lineHeight, letterSpacing, textAlign, textDecoration, textTransform },
  tokens:     { usedTokens: ["--color-primary", …], hardcodedValues: [{ property, value }], tokenPrefix: "--ds-" },
  componentAPI: { props: [{ name, type, required, defaultValue, values: [...] }], events: [...], slots: [...] },
  accessibility: { … },
  metadata:   { name, description, status, version, tags }
}

Read the full file on GitHub · 117 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. yesterday First seen · 117 lines · 93 tokens per session scan A 7c40f86ee602

Subscribe to this mod's changes

design-code-parity is a skill published in the GitHub repository southleft/figma-console-mcp (3,455 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,857 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-11-27.

Related

design-code-parity compared with skills from other repositories

design-code-parity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-code-paritysouthleft/figma-console-mcpSkill3.5ktodayMITA93Claude Code, Codex
critique-theaternexu-io/open-designSkill110ktodayApache-2.0A35Claude Code, Codex
accessibility-per-componentmurphytrueman/design-system-opsSkill2262mo agoMITA68Claude Code
figma-variable-auditmurphytrueman/design-system-opsSkill2262mo agoMITA63Claude Code
theme-auditmurphytrueman/design-system-opsSkill2262mo agoMITA57Claude Code
token-auditmurphytrueman/design-system-opsSkill2262mo agoMITA72Claude Code
token-compliancemurphytrueman/design-system-opsSkill2262mo agoMITA62Claude Code