visualization-repair
Installation
SKILL.md
Visualization repair (broken-first)
Use this skill when charts or diagrams fail visibly (not for pixel-polish on working graphics).
1. Triage: “broken” vs “fine”
Treat as broken (fix):
- Chart area has zero or collapsed height (Recharts
ResponsiveContainerwithheight="100%"inside a flex parent with no resolved height). - SVG
motion.*with invalid attributes (e.g.motion.circlemissingcx/cy, orras string where a number is required). transform="translate(50%, 50%)"(or similar) on SVG<g>where percentages are unsupported or inconsistent across browsers—useviewBox+ numerictranslate(cx, cy).motion.lineusingpathLength/ dash animation in ways that Framer does not apply reliably to<line>—prefer<path d="M...L...">or opacity/scale, or plain SVG + GSAPstrokeDashoffset.- Rotation of SVG primitives without moving the transform origin to the shape center—wrap in
<g transform="translate(cx,cy)">and draw at(0,0), or use a non-SVG layer (e.g. bordereddivwithanimate-spinand token colors).
Treat as out of scope unless requested:
- Subtle animation timing, exact chart junk removal, or redesign for aesthetics only.