Skip to content
Design
Command

/fidelity

Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a letter grade, a ranked correction plan, and a shareable card.

From plugin
designlang
5.2k14 skills14 commands
> /plugin marketplace add manavarya09/design-extract
> /plugin install designlang@designlang

Command definition

fidelity.md
description: Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a letter grade, a ranked correction plan, and a shareable card.
argument-hint: <original-url> --clone <clone-url> [--min <score>] [--motion-runtime]

Run **designlang fidelity** to score a clone against the site it was cloned from. Unlike tools that just hand you code and *claim* "pixel-perfect", this measures it: a full-page pixel-diff for visuals **and** a motion-fidelity comparison (durations, easings, springs, keyframe kinds, scroll-linked motion, choreography/stagger) — blended into one score with a ranked plan of what to fix next.

npx designlang fidelity $ARGUMENTS

If no `$ARGUMENTS` were supplied, ask the user for the **original URL** and the **clone URL** (often a local dev server like `http://localhost:3000`).

After the run, surface the **overall score + grade**, the visual/motion split, and the top correction directives. Outputs land in the output dir:

| File | What it is | |---|---| | `fidelity.md` | headline score, motion breakdown table, ranked correction plan | | `fidelity.json` | the full machine-readable report | | `fidelity-card.svg` | a shareable score card (`88% · B · stripe.com`) | | `fidelity-diff.png` | the visual loss heatmap |

Useful flags via `$ARGUMENTS`:

| Flag | Effect | |---|---| | `--clone <url>` | the clone to score (required) | | `--min <score>` | exit non-zero if overall fidelity is below this (CI gate) | | `--motion-runtime` | capture real runtime motion + choreography on both sides |

This is the self-correcting clone loop: measure → read the correction plan → rebuild → re-run until the score crosses your threshold. Pair with `/extract` and `/verify`.

Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference

Read more
@manavarya09
Ships withdesignlang

Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.

Stars on GitHub

Momentum

stars in total
5.2k
Star history of manavarya09/design-extract on GitHub, a chart by star-history.com

Other commands on designlang.

battle

battle

Command

Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict line.

@manavarya09@manavarya09Install Command
brand

brand

Command

Generate a full editorial brand-guidelines book for any URL. 14 chapters covering brand essence/archetype, colour, typography,…

@manavarya09@manavarya09Install Command
dna

dna

Command

Place a design in the measured design space — nearest systems, per-axis percentiles, outliers

@manavarya09@manavarya09Install Command
extract

extract

Command

Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.

@manavarya09@manavarya09Install Command
gallery

gallery

Command

Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card)…

@manavarya09@manavarya09Install Command
grade

grade

Command

Generate a shareable HTML "Design Report Card" — letter grade, 8 dimensions, evidence (palette, type, rhythm), strengths + fixes,…

@manavarya09@manavarya09Install Command

More commands from other plugins.

od-contribute
Auto-invoked

od-contribute

Command

Open a first-contribution PR (or bug issue) on nexu-io/open-design — works for non-coders too.

@nexu-io@nexu-ioInstall Command
design-deslop

design-deslop

Command

Strip the signatures that make a UI look AI-generated — flat hierarchy, no focal point, monotone layout, timid palettes, generic…

@dammyjay93@dammyjay93Install Command