kmp-imagevector-generator

Installation
SKILL.md

Hard Rules (never violated)

Rule 1 — NEVER hand-write ImageVector path data. You are FORBIDDEN from writing moveTo/lineTo/curveTo/quadTo coordinates or any ImageVector.Builder body yourself. Float coordinates hallucinated in-context produce broken art and burn tokens. Path data comes ONLY from scripts/convert_image_to_imagevector.py. If the script cannot run, stop and report — do not approximate.

Rule 2 — Never read generated icon file bodies. Generated *.kt icon files are opaque artifacts (like Roborazzi PNGs). Read only the script's report line. Wire the icon by its property name (Icon(imageVector = BrandLogo, …)).

Rule 3 — Regenerate, never edit. Generated files carry a // GENERATED by convert_image_to_imagevector header and are audit-enforced. Changes go through re-tracing the source, never manual tweaks.

The architecture audit enforces these: handwritten imagevector [HIGH] flags builder blocks without the GENERATED header; raster asset in commonMain [MEDIUM] flags PNG/JPG icons that should be vectors (photos under assets/photos/ are exempt).

Installs
14
GitHub Stars
2
First Seen
Aug 3, 2026
kmp-imagevector-generator — ronjunevaldoz/kmp-agent-skills