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
/plugin marketplace add Manavarya09/design-extract
/plugin install designlang@designlangWhat 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 filetokens.jsonusing--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@designlang2Manually: put the files in place
.claude/commands/verify.mdCall it with /verify. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/verify.mdCall it with /prompts:verify. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/verify.prompt.mdManually: put the files in place
.gemini/commands/verify.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
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.