spec-from-screenshot
Skill19 starsChanged 38 days agoMITView on GitHub
Turn screenshots, mockups, and other visual evidence into structured SDD spec material. Use when a task starts from an image — a design to build, a UI bug to fix, a regression to document, or visual acceptance criteria.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- sablier-labs/agent-skillstheir own version, first seen Sep 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- sablier-labs/agent-skills★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- broSkill
- closingSkill
- context-auditSkill
- decision-logSkill
- dependency-freshnessSkill
- documentation-updateSkill
- failure-learningSkill
- git-disciplineSkill
- goblin-modeSkill
- project-mapSkill
- run-and-verifySkill
- ui-qaSkill
- sdd-updateSkill
- sdd-workflowSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Ask clarifying questions when visual intent is ambiguous: If it is unclear whether an element is part of the request, which parts of a …
- Distinctive: line 61
Ask about ambiguities: before writing requirements: binding vs illustrative parts, expected behavior not shown (hover, empty, error, …
- Distinctive: line 100
Do not fabricate pixel-perfect requirements from low-fidelity images.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spec from screenshot
Purpose
Convert visual inputs into structured requirements so the SDD workflow can act on them: screenshots become inventory entries with provenance, observations become observed/expected behavior, and visual expectations become testable UI acceptance criteria.
Two rules govern everything this skill does:
- Screenshots are evidence, not automatically complete requirements. An image shows one state of one screen at one moment. It does not show intent, edge cases, other viewports, or what should happen on error. Extract what is visible; never promote it to a requirement without confirming intent.
- Ask clarifying questions when visual intent is ambiguous. If it is unclear whether an element is part of the request, which parts of a mockup are binding versus illustrative, or what the expected behavior is, ask — do not guess.
When to use
- Design inspiration / mockups — the developer provides an image of what to build.
- Visual bug reports — a screenshot shows broken layout, styling, or state.
- Regression evidence — before/after images documenting a change in behavior.
- UI acceptance criteria — images defining what "done" looks like for a UI task.
When not to use
- The image is decoration or context, not input for requirements.
- Non-visual tasks where a diagram merely illustrates architecture — read it, but this skill's spec sections do not apply.
Required inputs
- The image file(s) or pasted screenshot(s).
- For each image: where it comes from (provenance — which app/route, which environment, which device/viewport if known, who produced it).
- The intent: build this / fix this / verify against this.
Procedure
- Inventory. List every image with a short identifier, what it shows, and its provenance. Unknown provenance is recorded as unknown, not invented.
- Classify intent per image: design to build, bug evidence, regression before/after, or acceptance criterion.
- Extract observable facts only. Layout, components, text, states, counts, colors if relevant. Separate what is visible from what is inferred — inferences are questions, not requirements.
- Ask about ambiguities before writing requirements: binding vs illustrative parts, expected behavior not shown (hover, empty, error, loading states), other viewports, accessibility expectations.
- Map into the spec:
- Screenshots inventory, observed behavior, expected behavior, and
affected routes/components → the
Visual evidencesection ofrequirements.md. - Testable visual expectations → rows in the
UI acceptance criteriatable (route, expected state, interaction flow, accessibility, responsive states). - Open visual questions →
open-questions.md, like any other unresolved requirement.
- Screenshots inventory, observed behavior, expected behavior, and
affected routes/components → the
- Keep the link. Reference image identifiers from requirements and
acceptance criteria so the reviewer and the
ui-qaskill can verify the implementation against the same images.
Output artifact
A filled Visual evidence section in the spec's requirements.md
(plus UI acceptance criteria rows where expectations are testable), with
every entry traceable to a listed image.
Integration
- ui-qa (when installed): uses the visual-evidence section and the UI acceptance criteria as its input; for bug fixes it compares the before screenshot with the implemented after state.
- browser-tester agent (when installed): walks the criteria in a real browser; provide the image identifiers it should compare against.
- Reviewer: records the comparison results in the
Visual verificationsection ofreview.md.
Safety constraints
- Screenshots may contain secrets, tokens, API keys, or personal data. Flag them to the developer; never transcribe credentials or personal data into specs, reviews, or any kit artifact. Prefer redacted re-captures.
- Do not fabricate pixel-perfect requirements from low-fidelity images; record fidelity honestly (mockup vs production screenshot).
- Provenance is part of the evidence: an image of unknown origin is weaker evidence and is marked as such.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

