/trove-design:trove-visual-parityfrom trove-design
Achieves pixel-exact UI equivalence between two implementations via Playwright screenshot diffing. Use when migrating styling systems or matching a new implementation to an existing one.
Ships in trove-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.
Prove two implementations render the same, by image diff — not by eyeballing. The baseline is the spec; the new implementation moves to meet it.
toHaveScreenshot(). Generate baselines in CI, not locally — local renders (fonts, DPI) drift from CI and create false diffs.trove-worktree).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.Tag visual tests (@visual) and run them as a dedicated stage, not inside the normal unit run — they need a consistent rendering environment.
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.
What SKILL.md sets; muted values are Claude Code's defaults
match this design exactly; visual parity; pixel-perfect migration
npx claudepluginhub bravew/trove --plugin trove-design5 skills in this plugin
/trove-a11yAccessibility checking skill for web and mobile interfaces. Auto-activates on UI component files. Checks WCAG compliance and ARIA patterns./trove-component-specGenerate component specifications from design requirements. Produces structured specs with props, states, interactions, and accessibility requirements./trove-design-reviewDesign review skill for evaluating UI/UX implementations against design specs. Checks visual fidelity, interaction patterns, and design system compliance./trove-diagram-designCreate diagrams and charts as self-contained HTML files with inline SVG and an editorial design system, exported to SVG or PNG: architecture and architecture delta, flowchart, sequence, state machine, ER and database schema, swimlane, timeline, Gantt, org chart, tree, quadrant, Venn, pyramid, Sankey, treemap, heatmap, bar, line, scatter, Wardley map, user journey, service blueprint, deployment, dependency graph, UML class, and more. Imports draw.io, Mermaid, Excalidraw, and PlantUML sources and redraws them, and onboards a project's brand tokens first. Use when the user asks for a diagram, chart, or visual explanation as a file. Do not use it for JSON Canvas boards (trove-json-canvas) or for plotting code in a charting library.Other plugins' skills for the same job