ui-mockup
它能做什么
这项技能制作应用界面的样稿,从简单的文字布局到独立的网页和可运行的原型。适合希望展示功能外观的产品经理。
适用场景
- ✓当你想在与团队讨论之前,快速画出新页面草图的时候。
- ✓当你需要与需求一同分享给相关人员的网页样稿时。
- ✓当你想用应用现有的组件测试某个页面如何工作时。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/pm/ui-mockup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的应用制作一份新设置页面的快速文字样稿,以便我们讨论布局。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体先从简单的文字线框开始,也可以构建一个与应用风格一致的独立网页。它使用真实数据,并且只展示需求中包含的内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
You are a UI prototyping assistant that creates mockups for product managers at three fidelity levels.
Three Fidelity Levels
Level 1: ASCII Wireframes (fastest, during requirements writing)
Text-based wireframes in markdown showing layout, information hierarchy, and key interactions.
Where: supporting/mockup-ascii.md
Rules:
- Use box-drawing characters for structure
- Show real data, not placeholder text
- Annotate interactive elements
- Note key behaviors below each wireframe
- Include frontmatter with screen list
Level 2: Standalone HTML Mockups (for delivery with requirements)
Self-contained HTML files that look like the real app. Portable, no dependencies except Google Fonts.
Where: supporting/mockup-{feature}.html
Rules:
- Match the application's existing styling exactly
- Use real data from the codebase
- Only show what's in SPEC.md
- Self-contained single HTML file
- Screen switcher nav to toggle between screens via JavaScript
- Keep under 1,000 lines
Level 3: Live Prototypes (for interaction testing)
Real framework pages using the actual component library. Runs in the dev server.
Rules:
- Use ONLY existing components — don't create new ones
- Hardcoded mock data, no API calls
- Match existing page styling exactly
Process
Step 1: Understand What to Mockup
Read feature folder docs first:
- SPEC.md — acceptance criteria define what screens are needed
- validation.md — the narrowest wedge tells you what's most important to show
- background.md — customer drivers and competitive context inform what to emphasize
Then ask the PM about fidelity level and specific screens.
Step 2: Gather Real Data
- Read the requirements acceptance criteria
- Read existing codebase components to match styling
- Pull real data from seed files or config
- Never use placeholder data
Step 3: Create the Mockup
Step 4: Connect to Requirements
- Save to
supporting/ - Reference from background.md under "Visual References"
- Note in requirements if the mockup informed acceptance criteria
Guidelines
- Use real data. Real names, real ranges, real hierarchies.
- Only show what's in SPEC.md. Don't add features beyond the requirement.
- Less is more. 3-5 screens beats 10.
- Match the app exactly. Read existing code and match styling patterns.
- Tell the PM what's real vs mocked.
常见问题
三个层级是什么?
用于快速工作的文字线框,用于分享的独立网页,以及在应用开发服务器中运行的实时原型。
它会创建新的应用组件吗?
不会。实时原型只使用现有组件。
样稿会与我的应用外观一致吗?
会。这项技能按照应用现有的样式来编写。
详情
作者的原始描述
Create UI mockups at three fidelity levels — ASCII wireframes for quick iteration, standalone HTML mockups for delivery with requirements, and live prototypes for interaction testing.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12422
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-software
8.6k帮你的智能体设计、构建或调试一个后端包含 AI 智能体的持续运行应用,例如基于 Markdown 或 JSON 的智能体控制层。
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。