design-exploration
它能做什么
这项技能使用一个托管的 Design 应用为用户界面创建视觉方案,并让人从中选择。随后它细化所选设计,并为编码做好准备。适合探索界面的设计师和产品团队。
适用场景
- ✓当你想在选定一个方向之前,比较两到五种界面视觉方向的时候。
- ✓当你想选定一个方向,并让智能体加以细化的时候。
- ✓当你需要在设计选定后将其交付给代码实现的时候。
技能链接
https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native-design/skills/design-exploration/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能为我的注册页面展示三种不同的布局,让我选出最喜欢的一种吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体在 Design 应用中创建几个紧凑的界面方案,并展示给你选择。你选定之后,它会细化该界面,并删除你没有选择的方案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Design Exploration
Use the Design app when a workflow needs visual UI exploration, prototype iteration, or a human-in-the-loop choice among design directions.
Choose The Path
- Use
create-designfirst to create a project shell. Do not report the design as ready until it has renderable HTML. - For open-ended UX exploration, generate distinct, compact, complete HTML
directions (2-5, three by default) and call
present-design-variants. Each direction should be one representative screen or directional snapshot, not a full app per variant. Design saves every option as a normal screen on the overview board and renders an inline chat choice with one button per screen name. After the user picks, delete the unchosen variant screens and continue from the kept screen by first callingget-design-snapshotwith that screen'sfileId, then callingedit-designon that samefileIdin a bounded single-file pass. Usemode: "replace-file"when expanding the representative placeholder into the full chosen direction. Do not callgenerate-designafter a variant pick. - If the chat choice buttons are not available in the host, ask the user to tell you the screen name they prefer. The variants are already real screens on the board, so do not ask them to paste HTML or copy a generated handoff summary.
- For direct refinements to an already chosen direction, call
get-design-snapshot, edit from the current tuned HTML, and useedit-designfor surgical changes ormode: "replace-file"for a bounded selected-file replacement. Usegenerate-designfor new files only. - Use
export-coding-handoffwhen the user wants to implement the chosen design in a codebase.
Exploration Defaults
- Default to three variants unless the user asks for a different count
(
present-design-variantsaccepts 2-5; three is the sweet spot). - Make variants structurally and stylistically distinct, not just color swaps.
- Each variant must be a compact, complete standalone HTML document that renders without a build step.
- For product UI redesigns, prefer cleaner hierarchy, progressive disclosure, and realistic controls over decorative mockups.
- After
present-design-variants, wait for the user's pick before generating the next version. Keep the chosen screen, delete the other variant screens, callget-design-snapshotwithfileIdfor the kept screen, then calledit-designon that samefileIdin a bounded pass. Usemode: "replace-file"when expanding the representative placeholder into the full chosen direction. Do not callgenerate-designafter a variant pick. Stop after the first successfuledit-designsave.
Design Quality Bar
Generic "AI slop" comes from letting one prompt set taste, explore, and emit code at once — so the model returns the training-average (Inter, an indigo/violet gradient, a centered hero, three rounded cards). The variant flow above exists to separate those jobs; use it, and hold this bar:
- Before generating, name the concrete audience, the screen's primary job, and the visual thesis. If the brief is vague, make a reasonable choice and state it instead of producing a generic dashboard/landing-page default.
- Refuse the defaults, and pair every "don't" with a "do" (banning Inter alone
just makes you reach for Roboto). Avoid Inter/Roboto/system fonts, the
indigo/violet slop palette (
#6366F1/#8B5CF6/#A855F7) and purple-on-white gradients, and centered-hero + three-icon-card layouts; instead pick a distinctive font pairing, one non-default palette family with a single decisive accent, and an asymmetric layout with a clear focal point. - Make each direction distinct in structure and behavior, not just palette. Give every variant one memorable signature choice, then keep the surrounding chrome disciplined. Even your creative picks converge (Space Grotesk everywhere) — vary deliberately so two directions never share a fingerprint.
- For existing products, inspect the current screen, design system, tokens, and component language before inventing a new direction. Treat any drift back to a default as a missing token to pin, and vary layout per screen so on-brand does not become same-in-your-colors.
- Treat copy, data, and imagery as design material. Use realistic domain content and first-party/generated assets when images matter; avoid lorem ipsum, vague SaaS filler, and decorative placeholder boxes.
- Bui
常见问题
它最多能做多少个方案?
通常为两到五个方向,默认为三个。
我必须从按钮中选择吗?
如果按钮不可用,你可以直接告诉智能体你希望的界面名称。
它能把设计转换成代码吗?
可以。技能涵盖设计选定后向代码的交接。
详情
作者的原始描述
Use Design for UI/UX exploration, side-by-side design directions, interactive prototype previews, user selection, iteration, and design-to-code handoff through the hosted Design MCP app.
repo: BuilderIO/agent-native
热度
- GitHub 星标
- 7.6k
- 排名
- #13121
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …