pixel-point/prime-skills/prime-visual-parity
Claude Code and agent skill by pixel-point/prime-skills
- community
Checking that the SKILL.md file is still in the repository.
Audit and iteratively correct a Prime Figma implementation using exact design and browser measurements, aligned screenshots, media masks, and a machine-owned pass or blocking result. Use after Figma-to-code implementation or when a visual-parity claim needs deterministic proof. Do not use for general browser smoke tests or designs without exact measurement access.
Install
npx vskill@latest install pixel-point/prime-skills/prime-visual-paritySKILL.md
Prime Visual Parity
Prove visual fidelity with deterministic artifacts. The bundled runtime owns pass or blocking status; never infer success from a build, a clean console, a responsive screenshot, or a subjective image review.
Preconditions
- Confirm the target route runs locally and the requested Figma node is accessible.
- Identify the exact Figma design canvas and the browser render viewport. A long design frame's height is canvas height, not browser viewport height.
- Add stable
data-prime-audit-id,data-prime-audit-section,data-prime-audit-kind, anddata-prime-audit-rolevalues to every audited section, text block, control, icon, card, and media slot. Use the same IDs in both measurement manifests. - Create
.primeui/temp/figma-to-prime/<run-id>/and read the measurement contract.
Stop with blocking when exact Figma measurements or browser-page evaluation are unavailable. Do not replace them with screenshot estimates or prose.
Capture
- Retrieve Figma values programmatically through the connected Figma provider. Read Figma capture before creating the design manifest.
- Use the repository-required browser workflow at the exact render viewport. Read browser capture and use its canonical page-evaluation contract.
- Save exact PNG captures with matching relative names under
reference/andrendered/. Never scale one image to make its dimensions match the other. - Read media masks before excluding any pixels.
Run The Audit
Read thresholds, then run:
Exit code 0 means machine pass. Exit code 2 means a valid machine blocking result. Exit code 1 means the audit could not run and must also block any parity claim.
Treat .primeui/temp/figma-to-prime/<run-id>/audit.json as authoritative. summary.md is derived output. Never hand-edit either file or replace its status in another report.
Correct And Repeat
Read the correction loop. Correct violations in this order:
- viewport, page canvas, section order, and section boundaries;
- typography, text width, line count, and wrapping;
- grid tracks, positions, padding, and gaps;
- controls, icons, borders, radii, colors, and opacity;
- unmasked decorative raster differences.
Re-capture both browser measurements and rendered PNGs after every correction pass. Do not reuse stale browser artifacts.
Stop when the audit passes, after pass five, or after correction-loop-stalled. The latter two outcomes remain blocking and must report exact violations instead of continuing random edits.
Claims
layout-parityrequires zero machine violations outside permitted raster content.full-visual-parityadditionally requires nomedia-pendingmasks and a passing raster audit.pixel-perfectis allowed only as a user-facing shorthand for a passing full visual audit at the stated viewport. It is never a synonym for build success.- Responsive widths without supplied Figma references are ordinary responsive acceptance, not pixel-perfect evidence.
Report the run directory, pass count, machine status, score, remaining violations, masked media, overlay and diff paths, browser viewport, and independent build/interaction results.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/prime-visual-parity/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pixel-point/prime-skills/prime-visual-parity)