Skip to content
Agentmart
Submit a tool
This entry duplicates trove-visual-parity, which is the one we list in search.

trove-visual-parity

Achieve pixel-exact UI equivalence between two implementations via image diff.

Skill by bravew

IndexedMIT★ 10
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bravew-trove-visual-parity-f8790f

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Achieve pixel-exact UI equivalence between two implementations via image diff. Establish a baseline harness first, migrate one component at a time, verify each with a screenshot diff within a tuned threshold. Use when migrating a styling system or matching a new implementation (e.g. React) to an existing one (e.g. Vue).

Use cases: design, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
trove-visual-parity
Description
Achieve pixel-exact UI equivalence between two implementations via image diff. Establish a baseline harness first, migrate one component at a time, verify each with a screenshot diff within a tuned threshold. Use when migrating a styling system or matching a new implementation (e.g. React) to an existing one (e.g. Vue).
License
MIT
Instructions
27 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run build:skills -->

## Session Init

This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.

# trove-visual-parity

Prove two implementations render the same, by image diff — not by eyeballing. The baseline is the spec; the new implementation moves to meet it.

## Workflow

1. **Establish the baseline first (blocking).** Capture the reference rendering with Playwright `toHaveScreenshot()`. **Generate baselines in CI, not locally** — local renders (fonts, DPI) drift from CI and create false diffs.
2. **Migrate shared primitives first.** Tokens, base components, and shared styles before the components that compose them.
3. **One component at a time.** Migrate, then diff against its baseline. Parallel components go in separate worktrees (`trove-worktree`).
4. **Verify by diff, within a tuned threshold.** Use `toHaveScreenshot()` with `maxDiffPixels` / `maxDiffPixelRatio` / `threshold` tuned to absorb anti-aliasing and font noise without hiding real regressions. It auto-retries until the page stabilizes. A diff above threshold from a real layout/spacing change is a fail.
5. **One PR per component or small batch.**

## Run the visual suite in isolation

Tag visual tests (`@visual`) and run them as a dedicated stage, not inside the normal unit run — they need a consistent rendering environment.

## The anti-tampering rule

When a diff exceeds threshold, fix the **implementation** to match the baseline. Never edit the baseline, mask the diffing region, or loosen `maxDiffPixels` to make a real regression pass. The baseline is the contract; raising the threshold to hide a regression defeats the whole exercise.

From bravew/trove, MIT.

More from bravew/trove

Signals

Stars
10
Forks
1
Open issues
0
Last commit (this folder)
Sep 10, 2026 (1 month ago)
Last release
Oct 8, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from bravew

Cite this page

trove-visual-parity skill. Agent Mart. https://agentmart.dev/skills/bravew-trove-visual-parity-f8790f (last updated 2026-10-24)