Screenshot to Spec
r9-screenshot-to-specHand it a UI screenshot; get a spec you can hand to an engineer.
Read a design or a competitor's screen, write out the components, states, and copy, and publish the spec as a page instead of a wall of chat.
v2published Jul 29, 20265 installs
Use it when
What the skill answers to, in the words someone would actually say. The catalog search matches these.
- “turn this screenshot into a spec”
- “what components are in this UI”
- “write an engineering handoff from this design”
- “help me rebuild this screen”
What it tells the agent
The body of the skill, exactly as it is handed over — no summary in between.
Screenshot to Spec
Turn a UI screenshot into a spec an engineer can build from.
Screenshot: {{screenshot}} Target: {{target}}
Procedure
Read the screen with
image.describe. Ask for structure, not impressions: layout regions, component boundaries, every string of visible copy, and the visual hierarchy.Inventory the components. For each one: name, purpose, and where it sits in the layout. Use the names the target codebase would use if you know them.
Enumerate the states you cannot see. This is the part that makes it a spec rather than a description — a screenshot only ever shows one state. For every interactive element, cover: default, hover, focus, active, disabled, loading, empty, and error. Say explicitly where you are inferring rather than observing.
Transcribe the copy verbatim. Every visible string, in reading order. Do not paraphrase and do not fix typos silently — flag them separately.
Record the measurable. Spacing rhythm, apparent type scale, corner radii, and the palette as approximate hex. Say these are estimates from a raster image.
Note responsive intent — what should reflow, stack, or drop below a narrow breakpoint.
Check
memory.savefor existing design conventions on this project, and save the ones you establish, if the tool is available.Publish with
artifact.deployif available. Return the URL.
Output
The component inventory and state table inline, then the link.
Notes
- Distinguish observed from inferred throughout. An engineer building from a spec that silently guesses is worse off than one told to ask.
- If the screenshot is low resolution, say which details you could not resolve.
Related skills
Filed under the same job — not merely built on the same tools.