Skip to main content
command CX Codex

verify · manavarya09 — Claude Code command: design fidelity check

verify rebuilds a page from design tokens, compares the render with the live site, and reports a fidelity score. Use it to check an extracted design system.

MIT ★ 5,183 updated 2026-10-23

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Manavarya09/design-extract
/plugin install designlang@designlang
Open on GitHub

What verify does

The command runs npx designlang verify <url>. It rebuilds a page from extracted design tokens, renders that version, then compares it with the live site using a pixel diff. The report includes a fidelity score and the largest places where the rebuilt page diverges.

Use --tokens <file> to verify a local .json or .css token file instead of starting a new extraction. With --min <score>, the process exits non-zero below the chosen score, so a CI build fails when fidelity drops under its threshold. Pair it with /site <url> when checking the canonical system across a whole site.

When the URL is missing, the agent asks which page to verify. The command is available in Claude Code and Cursor; the Claude Code setup adds the marketplace, the plugin, and .claude/commands/verify.md.

What it helps with

  • compare a rebuilt page with the live site
  • spot the largest visual divergences
  • measure how well tokens capture a design
  • fail CI when fidelity falls below a threshold

Example prompts for the agent

  • Run npx designlang verify <url> and report the fidelity score with the largest divergences.
  • Verify <url> against the local token file tokens.json using --tokens tokens.json.
  • Run the check for <url> with --min <score> so CI rejects a low fidelity score.

How to install verify

1Plugin marketplace

/plugin marketplace add Manavarya09/design-extract
/plugin install designlang@designlang

2Manually: put the files in place

.claude/commands/verify.md

Call it with /verify. For all projects use ~/.claude/commands/

Questions about verify

How do I install verify in Claude Code?

Run /plugin marketplace add Manavarya09/design-extract, then /plugin install designlang@designlang, and add .claude/commands/verify.md.

What does the verify command do?

It rebuilds a page from design tokens, renders the result, and pixel-diffs it against the live site. The report gives a fidelity score and the biggest divergences.

Can verify use a local token file?

Yes. Pass --tokens <file> with a local .json or .css file instead of triggering a fresh extraction.

Source text

verify.md · MIT
---
description: Fidelity check — rebuild a page from the extracted tokens, pixel-diff it against the live site, and score how faithfully the tokens capture the design.
argument-hint: <url> [--min <score>] [--tokens <file>]
---

Run **designlang verify** to close the extraction loop. It rebuilds a page from
the extracted design tokens, renders it, pixel-diffs that render against the
live site, and reports a fidelity score — how faithfully the tokens reproduce
the real design.

```bash
npx designlang verify $ARGUMENTS
```

If no `$ARGUMENTS` were supplied, ask the user which URL to verify.

After the run completes, surface the **fidelity score** and the biggest
divergences (where the rebuilt page drifts from the live site). This is the
honest "did we actually capture it?" signal.

Useful flags via `$ARGUMENTS`:

| Flag | Effect |
|---|---|
| `--min <score>` | exit non-zero if fidelity is below this (CI gate) |
| `--tokens <file>` | verify against a local tokens file (`.json` or `.css`) instead of a fresh extraction |

Use `--min` in CI to fail a build when a design change drops fidelity below a
threshold. Pair with `/site <url>` to verify the whole-site canonical system.

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

© Manavarya Singh · MIT · Manavarya09/design-extract

Similar slash commands

All slash commands for Design →

verify by other authors comes first.

verify Affaan Mustafa The verify command checks the build, types, lint, tests, logs, and Git state. Use it before a commit or pull request. CX Codex +1 ★ 6,739repo stars verify coco-research The verify command checks completed work against a plan or specification, then grades the evidence for each requirement. Run it before shipping changes. CX Codex +1 ★ 328repo stars visual-testing-advanced proffesor-for-testing visual-testing-advanced runs pixel-level visual regression suites, responsive viewport checks, and AI diff analysis to catch broken layouts early. CX Codex +1 163installs visual-review ethanplusai visual-review is a Claude Code skill that checks whether an Astro rebuild matches the live site: full-page screenshots of both sides, a pixel diff, a computed-style comparison. CX Codex +1 ★ 137repo stars build-and-verify daveebbelaar build-and-verify — a Claude Code skill that builds SwiftUI macOS apps and checks page snapshots in light and dark appearance. The agent invokes it after UI changes, failed builds, or requests to run or inspect the app. CX Codex +1 1,000installs replica-design Jakeschincariol replica-design is a Claude Code skill that rebuilds an app clone’s design system from screenshots as tokens, styles, and component specs. It supports screenshot-based interface reconstruction. CX Codex +1 1,600installs image-to-code plugin87 The image-to-code Claude Code skill turns a screenshot, mockup, or reference image into UI code built around design tokens. It activates when a request asks for an interface recreated from an image. CX Codex +1 816installs brandkit plugin87 The brandkit Claude Code skill builds a brand design system from a brief, including tokens, light and dark themes, and a shared theme.css. Ask for a new product foundation or a themeable token set to trigger it. CX Codex +1 594installs

From the same set16

The whole set →
extract-design The extract-design skill analyzes a website URL and generates files describing its design system. Use it to bring a site's colors, typography, and component patterns into a project. CX Codex +1 3,500installs designlang The designlang MCP server for Claude Code reads a site’s design system for an AI editor. It can also compare a UI with brand tokens and rate how generic a page looks. CX Codex +1 ★ 5,183repo stars battle battle puts two sites head to head and produces one shareable HTML card with scores across eight dimensions, bar-by-bar, plus a verdict line. CX Codex +1 ★ 5,183repo stars grade grade audits design systems from a target URL, producing an HTML report card, scores, and an SVG badge. Useful when evaluating typography, color palettes, and rhythm. CX Codex +1 ★ 5,183repo stars remix remix reworks an already extracted page in a different visual vocabulary: brutalist, swiss, art-deco, cyberpunk, soft-ui or editorial. The layout keeps its shape. CX Codex +1 ★ 5,183repo stars studio studio starts a local token editor over your latest design extraction to preview UI components, inspect motion, and export themes. CX Codex +1 ★ 5,183repo stars gallery Turns fidelity reports into a static gallery with score cards and a page for each clone. Use it to publish design comparison results. CX Codex +1 ★ 5,183repo stars pack pack runs designlang once and drops every output — tokens, components, Storybook, prompts — into one design-system folder you can zip. CX Codex +1 ★ 5,183repo stars

Project sponsors

Companies that keep this analytics open