Wireframe-First UI Brief: Plan Screens Before Vibe Coding
A prompt that has Claude Code, Cursor, Codex, or Lovable sketch rough text wireframes and screen states first, so you pick a layout before any code locks it in.
Added · Updated
I'm about to build: [APP OR FEATURE IN 1-2 SENTENCES] Main user: [WHO USES IT] · The one job they come to do: [CORE TASK] Look and feel: [2-3 words, e.g. "calm, dense, utilitarian"] · Avoid: [e.g. gradient hero, three feature cards] Do NOT write any code yet. Work through these steps and stop after each one for my answer. ## Step 1: Screen list List every screen or view the first version needs (max [6]). For each: its purpose in one line and how the user gets there. ## Step 2: Three rough layouts for the main screen Draw 3 genuinely different low-fidelity wireframes of [MAIN SCREEN] as ASCII boxes (no colors, no fonts, no real copy; use labels like [Search], [List of items], [Primary button]). Make them differ in structure (e.g. sidebar vs. top tabs vs. single column), not just spacing. Under each, give one line on who it suits and its main trade-off. I'll pick one or mix them. ## Step 3: Wireframe the remaining screens Using the chosen layout, wireframe each screen from Step 1 the same way. Keep navigation in the same place on every screen. ## Step 4: States for every screen For each screen, sketch or describe: empty (first use), loading, error, success, and one with far too much data (long names, 500 items). Say what the user can do in each state. ## Step 5: UI brief for the build Write a short UI brief I'll save as docs/ui-brief.md and give to the coding agent: - Screens and the chosen wireframes (ASCII) - Layout rules (navigation position, alignment, max content width, spacing scale) - Components to reuse across screens - States each screen must handle - Out of scope for v1 Only after I approve the brief: build ONE screen, matching its wireframe. Tell me how to open it and what I should see. Then wait.
How to use it
- Click Copy template.
- Paste into ChatGPT, Claude, Grok, Cursor, or your agent framework.
- Replace the [BRACKETED] parts with your details.
Pairs well with: Landing Page Copy Prompt
FAQ
Why wireframe before vibe coding?
Once an agent writes a polished-looking screen, it's hard to step back and question the layout, and later prompts keep patching that first direction. Rough wireframes are cheap to throw away, so you can compare structures and choose one before any code exists.
Can an AI coding agent draw wireframes?
Yes. ASCII box wireframes work in any chat or terminal agent, including Claude Code, Codex, Cursor, and ChatGPT. If you use a design tool such as Figma or a screenshot of a sketch, paste it in and ask the agent to describe it back as a wireframe first, so you both agree on the structure.
Why ask for empty, loading, and error states?
Vibe-coded apps usually look fine with perfect demo data and break on first use, slow networks, errors, or huge lists. Listing the states per screen up front means the agent builds them instead of you discovering the gaps after launch.
What do I do with the UI brief afterwards?
Save it in the repo, for example docs/ui-brief.md, and point AGENTS.md or CLAUDE.md at it. Every later session then builds against the same layout rules instead of redesigning screens from scratch.
Should I write a product spec before the wireframe brief?
Yes, if the app is new. A one-page product spec decides who it's for, the core flow, and what's out of scope; the wireframe brief then turns that flow into screens and states. Doing it in that order stops the agent from designing screens for features you never wanted.
Get 3 new templates every week
Free. Unsubscribe anytime.Related templates
One-Page Product Spec: Write It Before the First AI Prompt
Vibe Coding Project Kickoff Prompt
Design SKILL.md: Stop Your Vibe-Coded Site Looking AI-Made
DESIGN.md UI Rules: Stop Agents Reverting Your Layout Fixes
Browse all Coding & Cursor Rules templates