import-screenshot-to-prototype
Use this plugin when the user provides a screenshot or image reference and wants it reconstructed as an editable OpenDesign prototype with sensible components, layout, and responsive behavior.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit nexu-io/open-design/plugins/spec/examples/import-screenshot-to-prototype .claude/skills/import-screenshot-to-prototypeOr install it for every project:
npx degit nexu-io/open-design/plugins/spec/examples/import-screenshot-to-prototype ~/.claude/skills/import-screenshot-to-prototypeFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
--- name: import-screenshot-to-prototype description: Use this plugin when the user provides a screenshot or image reference and wants it reconstructed as an editable OpenDesign prototype with sensible components, layout, and responsive behavior. license: MIT metadata: author: open-design-spec version: "0.1.0" --- # Import Screenshot To Prototype ## Workflow 1. Inspect the screenshot and identify layout regions, controls, typography scale, color roles, and content hierarchy. 2. Ask for the target viewport only if it cannot be inferred. 3. Rebuild the screenshot as a clean `index.html` artifact with semantic sections and reusable CSS tokens. 4. Preserve the visual intent, but replace unreadable or unavailable text with realistic editable content. 5. Add responsive behavior for at least one mobile width. 6. Self-critique visual fidelity, text fit, and editability before final. ## Output Contract Produce `index.html` and a short `import-notes.md` that lists inferred decisions.