Skip to main content
skill CX Codex

ui-mockup — Claude Code skill for UI mockups and setup

Create ASCII wireframes, standalone HTML screens, or live prototypes from product requirements. Use the skill to review a proposed interface before building it.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mvschwarz/openrig --skill ui-mockup -a claude-code
Open on GitHub

What ui-mockup does

The skill starts by reading feature documents: SPEC.md, validation.md, and background.md. It asks the PM which screens and fidelity level to produce, then gathers real data from the codebase, seed files, or config. Mockups go in supporting/; placeholder data is off limits.

For early requirement work, it writes ASCII wireframes to supporting/mockup-ascii.md. Delivery-ready screens go into supporting/mockup-{feature}.html, with a JavaScript screen switcher. Live prototypes use the app’s existing component library and run in the dev server; their mock data is hardcoded, with no API calls.

The HTML deliverable must stay under 1,000 lines and can rely on Google Fonts, but no other dependencies. Live prototypes cannot introduce components, and screens must follow SPEC.md. That constraint matters when the requested interaction needs a component the app does not already have.

What it helps with

  • map screen layouts with ASCII wireframes
  • deliver requirement-ready screens as standalone HTML
  • test interface interactions in a live prototype
  • link mockups to acceptance criteria in SPEC.md

Example prompts for the agent

  • Draft ASCII wireframes for this feature using SPEC.md.
  • Create an HTML mockup for this feature in supporting/mockup-{feature}.html, following the app’s current style.
  • Build a live prototype to test these interactions with existing components.

How to install ui-mockup

1Skills CLI (Vercel)

npx skills add mvschwarz/openrig --skill ui-mockup -a claude-code

2Manually: put the files in place

~/.claude/skills/ui-mockup/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ui-mockup/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ui-mockup

How do I install ui-mockup in Claude Code?

Run npx skills add mvschwarz/openrig --skill ui-mockup -a claude-code. The skill is installed at ~/.claude/skills/ui-mockup/SKILL.md.

What does ui-mockup do?

It produces UI representations at three levels: text wireframes, standalone HTML screens, and live prototypes built with the app’s existing components.

What does ui-mockup need before making a mockup?

It reads SPEC.md, validation.md, and background.md, then asks the PM to choose the screens and fidelity level. It uses real project data and existing styling.

Source text

SKILL.md · Apache-2.0
---
name: ui-mockup
description: "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."
---

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.**

© mvschwarz · Apache-2.0 · mvschwarz/openrig

Similar skills

All skills for Frontend and UI →

From the same set32

dogfood This skill explores a web app, checks its interface and behaviour, and creates a report with evidence for each issue. Use it for exploratory QA of a site or service. CX Codex +1 ★ 8,227repo stars context-engineering A skill about how an agent's context window gets filled, pruned and shared. Useful when an agent drifts or forgets constraints mid-task. CX Codex +1 ★ 8,227repo stars oversight-team This skill guides a monitor that checks other agent rigs for drift and chooses a measured response. It waits for a signal instead of polling continuously. CX Codex +1 ★ 8,227repo stars orchestration-team An orchestration skill: it splits work into assignments, dispatches them, and watches for idle or blocked agents instead of doing the implementation itself. CX Codex +1 ★ 8,227repo stars requirements-writer Talks a product manager through rough feature notes and turns them into a single SPEC.md with observable acceptance criteria and explicit scope. CX Codex +1 ★ 8,227repo stars office-hours This skill challenges a feature idea with six product questions about demand, current workarounds, and scope. It ends with a documented verdict. CX Codex +1 ★ 8,227repo stars exec-summary Turns a feature folder into one 600–800 word document: a sales pitch, a leadership brief and a behavioral overview for engineering. CX Codex +1 ★ 8,227repo stars backlog-capture Turns rough product ideas, requests, and meeting notes into backlog entries while checking for duplicates. Useful when capturing input from customers, sales, or research. CX Codex +1 ★ 8,227repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor