check-design-parity-figma — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited check-design-parity-figma (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Pull a Figma node's real specs and diff them against a codeSpec (what your implementation actually renders). Returns a weighted parity score, per-property discrepancies with severity, and suggested fixes. This is the inverse of code generation: get_design_context turns a design into code; this skill confirms the code didn't drift away from the design.
All design reads go through use_figma, so it works on any Figma plan.
await + return (no IIFE, no figma.closePlugin(); console.log is not returned), inputs inlined as const at the top of each script, colors in 0–1 range, load fonts before any text op, await figma.getNodeByIdAsync(...), and atomic errors (a failed script applies nothing — read the error, fix, retry).get_design_context; this skill validates, not generates.scan-code-accessibility-figma(--map-to-codespec emits exactly that object).
lint-design-figma.codeSpec object(references/parity-scoring.md has the full shape). You only need to fill the sections you want compared — visual, spacing, typography, accessibility. Tip: scan-code-accessibility-figma --map-to-codespec builds codeSpec.accessibility automatically.
NODE_ID and paste your codeSpec intoscripts/check-parity.js. Run it via use_figma (skillNames: "check-design-parity-figma"). It extracts the node's fills, strokes, corner radius, opacity, padding/gap, and text properties, then diffs them against the codeSpec.
summary.parityScore is `max(0, 100 − (critical×15 + major×8 + minor×3 +info×1)). discrepancies[] lists each mismatch with category, property, severity, designValue, codeValue, and a suggestion`.
match the design, or push the design to match an intentional code change (via manage-variables-figma / figma-use), then re-run to confirm the score rose.
data you didn't provide.
opacity) so sub-pixel rounding doesn't register as drift.
major (−8), radius/border-width/opacityare minor (−3). See parity-scoring.md for the full weighting.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.