跳到正文
Skillpedia
界面(UI/UX)101k · #1114

import-screenshot-to-prototype

它能做什么

可以把图片或截图转换成可交互的网站原型。它会以可编辑的形式还原图片的外观,并能适应不同的屏幕尺寸。

适用场景

  • ✓你对某个网站有了视觉上的构想,想把它变成可以编辑的内容时。
  • ✓需要以一张视觉草图为起点开始新的网站项目时。
  • ✓看到一个喜欢的设计,想要重新制作并进行修改时。

技能链接

https://github.com/nexu-io/open-design/blob/main/plugins/spec/examples/import-screenshot-to-prototype/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/plugins/spec/examples/import-screenshot-to-prototype/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“把这张截图转换成一个可编辑的网站原型。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会分析图片,识别文字、按钮、方框等元素,并用网站代码将它们重新搭建出来。它还会让页面适配较小的屏幕,比如手机屏幕。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.

常见问题

什么是原型?

原型是网站或应用的初始版本,可以编辑,用于在正式开发前测试设计和功能。

什么是“合理的组件”?

指的是设计中的各个部分(比如按钮或菜单),AI 会尽量智能地还原它们,使其便于编辑并能正常运作。

什么是“响应式表现”?

指原型能够自动调整,在电脑、平板和手机等不同屏幕尺寸下都有良好的显示效果。

详情

作者的原始描述

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.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1114
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能