Skip to content
Skill

Visual fidelity

Checks a rendered page against its design with screenshots, pixel diffs and lint

Visual fidelity is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Visual fidelity

This skill verifies that a page built by the kivo-creator plugin matches its design. The agent places the generated page markup on the local development site, takes screenshots of each section at phone and desktop widths using the project's Playwright, and compares them pixel by pixel against the reference images, with a default tolerance of 2 percent per section.

Beyond the visual diff, a verify script also checks exact style values and lints the markup for arbitrary values and inline styles. The output is a fidelity report with a diff image for each section. The agent is guided to fix the smallest likely cause first, such as a wrong token, a missing field value or an unimported image, and to avoid patching differences with hard-coded values. It stops after three fix rounds and hands the report back for review.

The skill expects Node 20 or later, Playwright installed in the target project, and a local WordPress-style runner for creating and removing the temporary test page. It is meant for local development only and should not be run against shared or production sites.

When your agent uses it

Use when a page emitted by kivo-creator must be proved against its design - rendering the block markup on the local site, screenshotting every section at 390 and 1440 px with the project's Playwright, pixel diff against the references (2 percent per section by default), style check of exact values, lint for arbitrary values and inline styles, and up to three fix rounds before handing the report to the person. For emitting the page use block-scaffolding-from-design.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kivo-wise plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise

Or copy only this skill to ~/.claude/skills/visual-fidelity:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/visual-fidelity &&
cp -R "$tmp/plugins/kivo-creator/skills/visual-fidelity" ~/.claude/skills/visual-fidelity &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/visual-fidelity inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/visual-fidelity to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/visual-fidelity &&
cp -R "$tmp/plugins/kivo-creator/skills/visual-fidelity" ~/.agents/skills/visual-fidelity &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/visual-fidelity inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/visual-fidelity to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/visual-fidelity &&
cp -R "$tmp/plugins/kivo-creator/skills/visual-fidelity" ~/.cursor/skills/visual-fidelity &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/visual-fidelity inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/hekivo/kivo-wise.git --path plugins/kivo-creator/skills/visual-fidelity

Or copy the folder to ~/.gemini/skills/visual-fidelity yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/visual-fidelity:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/visual-fidelity &&
cp -R "$tmp/plugins/kivo-creator/skills/visual-fidelity" ~/.copilot/skills/visual-fidelity &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/visual-fidelity inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/hekivo/kivo-wise.git

Then copy kivo-wise/plugins/kivo-creator/skills/visual-fidelity into your agent's skills folder as visual-fidelity. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Section screenshot comparison
Captures every section at 390 and 1440 pixel widths and diffs it against the design references.
Exact style checks
Compares computed style values such as font size against the expected design values.
Arbitrary value linting
Flags arbitrary values and inline styles that bypass the design tokens.
Fidelity report
Writes a markdown report with per-section results and red-pixel diff images.
Bounded fix rounds
Guides up to three rounds of targeted fixes before escalating to a person.

Good for

  • Check whether a newly built page matches its design at mobile and desktop widths
  • Find which section of a page has the largest visual difference from the reference
  • Lint a block-based page for hard-coded styles and arbitrary values
  • Re-verify a page after changing a shared block

Visual fidelity FAQ

What does the skill need to run?

Node 20 or later, Playwright in the target project, a local site with a runner, and an emitted page folder with its references.

Does Visual fidelity change my production site?

No. It is intended for local development only and creates a temporary page, which can be deleted afterwards.

What is the default tolerance for differences?

A 2 percent pixel difference per section, at widths of 390 and 1440 pixels.

When should I use a different skill?

For generating the page itself, the skill block-scaffolding-from-design is recommended.

How do I install Visual fidelity in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/visual-fidelity to use it in all your projects, or to .claude/skills/visual-fidelity in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

Does Visual fidelity run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Visual fidelity?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Visual fidelity?

The closest alternatives to Visual fidelity are Web design reviewer, Visual verify, Playwright verification, Visual regression baseline and Site preship review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from hekivo/kivo-wise

  1. Writes approved design plans as WordPress block markup and scaffolds missing blocks

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Maps Figma components to project code blocks through Code Connect, with approval first

    • Open source
    • 14 GitHub stars
    • Design and media
  3. Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack

    • Open source
    • 14 GitHub stars
    • Developer tools
  4. Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server

    • Open source
    • 14 GitHub stars
    • Design and media
  5. Turns an HTML file or URL into kivo-creator section specs with reference screenshots

    • Open source
    • 14 GitHub stars
    • Developer tools
  6. Maps design sections to a project's existing blocks before any code is generated

    • Open source
    • 14 GitHub stars
    • Developer tools