wireframe
它能做什么
生成应用或网站页面的简单视觉草图(线框图)。它展示基本结构,例如按钮和文字如何排布,不包含颜色和最终细节。
适用场景
- ✓当你想先大致了解页面会如何组织时。
- ✓在开始编写代码之前,规划网站或应用的布局时。
- ✓当你想快速、简单地展示页面结构时。
技能链接
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/product/wireframe/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为一款银行应用的登录页面创建一个线框图。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会使用一套规则和基础图形,用方框和线条表示页面元素。它只关注位置和大小,并且只使用黑白两色。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Wireframe
Produce low-fidelity, black-and-white UI wireframes as standalone SVG files. The goal is to communicate structure — what goes where, in what order, at roughly what size — without committing to colour, brand, or polish.
When to use
Trigger on phrases like:
- "wireframe a [screen / page / flow] for X"
- "low-fi / lo-fi mockup of X"
- "draft a layout for X"
- "rough sketch of the [dashboard / settings / login / ...] page"
- "show me how X would lay out before I build it"
Skip and defer to frontend-design (or similar) when the request mentions: brand, polish, real components, "production-ready", colour palettes, hi-fi, Figma export, or actual code/HTML/React deliverables.
House style — non-negotiable
Wireframes are diagnostic, not decorative. Lock these tokens on every output:
| Token | Value | Notes |
|---|---|---|
| Stroke | #000 width 1.5 |
All borders, dividers, outlines |
| Fill (boxes) | #fff |
Default for cards/containers |
| Placeholder fill | #e6e6e6 |
Image/avatar/empty-state regions |
| Text colour | #000 for labels, #666 for placeholder text |
No other colours |
| Accent | #d33 (dashed) — annotation layer ONLY |
Never inside real UI elements |
| Font | font-family="-apple-system, system-ui, sans-serif" |
Single typeface across the whole file |
| Type scale | 12 caption · 14 body · 20 heading · 28 title |
No other sizes |
| Grid | 8px snap, 24px gutter | All x/y/w/h must be multiples of 8 |
| Default canvas | 1280×800 desktop, 375×812 mobile, 768×1024 tablet |
Pick one and state it in the comment |
If you need to highlight a specific region for a callout, use the annotation layer (red dashed). Never colourise the wireframe itself.
Workflow
- Confirm scope. What screen(s)? Which viewport (desktop / tablet / mobile)? Single screen or multi-screen flow? If unclear, ask one question, then proceed with the most likely default.
- Pick a canvas from the table above. State the viewport in your reply.
- Compose from primitives. Read
references/components.mdand assemble the screen from the primitive snippets. Snap every coordinate to 8px. - Write the SVG to a file. Default path:
wireframes/<slug>.svgin the working directory. Filename slug describes the screen (login.svg,dashboard.svg,settings-account.svg). - Emit a textual annotation list in your reply, mapping each numbered region in the SVG to a one-line description ("1 — primary nav, 2 — search input, 3 — list of recent items"). This makes the wireframe accessible, queryable, and reviewable in text-only channels.
- For multi-screen flows, produce one SVG per screen and a summary
flow.svgthat arranges thumbnails left-to-right with arrows between them.
Quick start — minimal SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="800" viewBox="0 0 1280 800"
font-family="-apple-system, system-ui, sans-serif" fill="#fff" stroke="#000" stroke-width="1.5">
<!-- canvas border -->
<rect x="0" y="0" width="1280" height="800" />
<!-- example: a button -->
<g transform="translate(48, 48)">
<rect width="120" height="40" rx="4" />
<text x="60" y="25" font-size="14" text-anchor="middle" stroke="none" fill="#000">Continue</text>
</g>
</svg>
Two house-style gotchas worth memorising:
- Always set
stroke="none"on<text>elements (text inherits the parent stroke and gets a halo otherwise). - Always wrap text fill explicitly (
fill="#000") since the parent group fill is#ffffor boxes.
Primitive library
The full set of reusable primitives lives in references/components.md. Load it whenever you need a primitive whose exact markup you do not have in working memory. Do not re-derive primitives from scratch — copy the snippet and adjust coordinates.
Primitives provided:
- Inputs: button (filled, outlined, icon), text input, textarea, dropdown, checkbox, radio, toggle, search input
…
常见问题
为什么只用黑白?
这样可以专注于元素的结构和布局,不会被颜色或最终设计分散注意力。
我可以要求添加颜色或更多细节吗?
不可以。这个工具只用于低保真(简单)草图。如果需要更详细的设计,你需要使用其他工具。
什么是“基本图元”?
它们是构建线框图的基本图形,例如代表按钮或文本框的矩形,以及表示分隔线的直线。
详情
作者的原始描述
Produce low-fidelity black-and-white UI wireframes as SVGs or viewer pages. Use when asked to wireframe, sketch a screen, draft a layout, make a low-fi mockup, or publish wireframes.
repo: paperclipai/paperclip
热度
- GitHub 星标
- 103k
- 排名
- #803
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …