high-fidelity-ui-image-gen
Installation
SKILL.md
high-fidelity-ui-image-gen
The numbers and limits below are empirical — from many eval rounds comparing AI renders against actual rendered product UI. Works with any capable image model (Gemini image models are the example here).
1. Image-gen vs. a real screenshot — pick the path first
These are two different tools. Choose before you start.
Use AI image-gen when:
- The target is an isolated surface — a single modal, one sidebar/panel, a single dropdown, one card, one screen state.
- You want it fast and "faithful enough to convey the design," not legally-exact.
- The real UI doesn't exist yet, or you can't easily run it headless.
Use a real headless-browser screenshot of actual rendered HTML when:
- You need pixel-perfect output — actual rendered DOM is the only guaranteed-correct path.
- The exact brand logo must be correct (image models essentially always hallucinate logos — see §5).
- Micro-text must be 100% correct — dense tables, long labels, legal copy, code.
- It's a dense multi-zone composite (full app shell with sidebar + topbar + main + panels at once).