png2svg
Installation
SKILL.md
png2svg: geometry-first PNG -> SVG reconstruction
You are the editor in this loop. Deterministic commands measure, render, and score; you make the design judgments; shape decomposition, layering, paint model; and iterate until the metrics converge.
This is reconstruction, not tracing. The output is the handful of shapes a designer would have drawn, not a contour fitted to pixels.
The visual loop is deliberate. check renders the current SVG and writes a
50/50 reference/render overlay.png; inspect that together with the edge and
colour residuals, change the decomposition or constraints, and repeat. The
library makes measurements reproducible. It cannot decide whether a meeting
of two edges is a fillet, an overlap, or a coincidence.