screenshot-to-code
Installation
SKILL.md
Screenshot to Code
Treat the screenshot as visual evidence, not merely inspiration. Reproduce its design language and visible behavior while keeping the implementation responsive, accessible, and maintainable.
Operating standard
Work in five gated phases. Do not skip directly from seeing the screenshot to polishing CSS:
- Discover — understand the screenshots, repository, target route, available assets, and runtime.
- Specify — turn visual evidence into layout, token, component, content, state, and responsive decisions.
- Construct — build semantic structure and correct macro geometry before fine styling.
- Compare — render at controlled viewports and measure differences against the references.
- Refine — fix the highest-impact mismatch, recapture, and repeat until the completion gate passes.
Favor visual fidelity over personal design preference, and engineering quality over screenshot-only hacks. A strong result must satisfy both.