xd-validate-svg
Installation
SKILL.md
Validate extracted SVG
npx -y xd-extract validate out/*.svg [--expect-same-frame] [--json]
Exit code 0: no errors (warnings may remain). Exit code 1: at least one error. Needs Node >= 22.
xd extract writes a sidecar <file>.svg.report.json; validate reads it automatically, so extraction warnings and the frame rule feed the checks. Keep the sidecar next to the SVG.