# Visual fidelity

> Visual fidelity is an open-source agent skill for developer tools. Checks a rendered page against its design with screenshots, pixel diffs and lint. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/hekivo/kivo-wise/tree/main/plugins/kivo-creator/skills/visual-fidelity
- **Repository:** https://github.com/hekivo/kivo-wise
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** visual-fidelity
- **Collection:** https://github.com/hekivo/kivo-wise
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-creator/skills/visual-fidelity)
- [License: MIT](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-creator/skills/visual-fidelity)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Web design reviewer](https://ai-powered.com/skills/web-design-reviewer): Web design reviewer is an open-source agent skill for design and media.
- [Visual verify](https://ai-powered.com/skills/visual-verify): Visual verify is an open-source agent skill for developer tools.
- [Playwright verification](https://ai-powered.com/skills/playwright-verification-ajyadav013): Playwright verification is an open-source agent skill for browser automation.
- [Visual regression baseline](https://ai-powered.com/skills/visual-regression-baseline): Visual regression baseline is an open-source agent skill for developer tools.
- [Site preship review](https://ai-powered.com/skills/site-preship-review): Site preship review is an open-source agent skill for developer tools.
- [Browser verify](https://ai-powered.com/skills/browser-verify): Browser verify is an open-source agent skill for browser automation.
- [HTML ingest](https://ai-powered.com/skills/html-ingest): HTML ingest is an open-source agent skill for developer tools.
- [Design visual parity](https://ai-powered.com/skills/design-visual-parity): Design visual parity is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/visual-fidelity
