design-code-parity

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

A comparison tool for a Figma component library and the code library that mirrors it. It checks whether components, options, styling, and design values agree, then records differences and their likely owner.

In plain words
What is it for?
It is for comparing libraries, sorting differences into design fixes, code fixes, or decisions for a person, and producing a parity report.
Why use it?
It makes design-to-code drift visible and avoids silently changing one side when the team has not chosen which side is authoritative.

Skill for Claude CodeCodex

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

Good fit It is for comparing libraries, sorting differences into design fixes, code fixes, or decisions for a person, and producing a parity report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mp3wizard/figma-console-mcp/design-code-parity
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 mp3wizard/figma-console-mcp --skill design-code-parity
Clone the repo
git clone --depth 1 https://github.com/mp3wizard/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/mp3wizard/figma-console-mcp/design-code-parity/github.svg)](https://agentmods.dev/skills/mp3wizard/figma-console-mcp/design-code-parity)
Your own site
<a href="https://agentmods.dev/skills/mp3wizard/figma-console-mcp/design-code-parity"><img src="https://agentmods.dev/badge/skills/mp3wizard/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/mp3wizard/figma-console-mcp/design-code-parity"><img src="https://agentmods.dev/badge/skills/mp3wizard/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 100% copy Near-identical to another mod 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 today 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 today.

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.

Origin

This is a copy

100% identical to design-code-parity — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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. today 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 mp3wizard/figma-console-mcp (1 stars, last pushed yesterday), 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. It is 100% identical to design-code-parity, differing in 0 lines, and is treated as a copy.

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-paritymp3wizard/figma-console-mcpSkill1yesterdayMITA93Claude Code, Codex
critique-theaternexu-io/open-designSkill110ktodayApache-2.0A35Claude Code, Codex
nw-fp-usable-designnWave-ai/nWaveSkill63611d agoMITA20Claude Code
code-quality-principlesathola/claude-night-marketSkill358yesterdayMITA38Claude Code
design-reviewPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA84Claude Code
cinematic-shotdzhng/skillsSkill1.5k16d agoMITA127Claude Code, Codex
compare-screenshotsdzhng/skillsSkill1.5k16d agoMITA51Claude Code, Codex