# How I Design Pro App UIs (Full Workflow)
<!--
ref: @content/youtube/sean-kochel/2026-04-03-how-i-design-pro-app-uis-full-workflow
tags: [UI Design, UX Specification, App Development, pencil.dev, Claude Code]
triggers: [need for coherent user flows, ambiguous design outputs, poor visual quality, inefficient app development]
trigger_prompt: When you find that your app's screens are poorly defined or the user experience feels disjointed, leading to unnecessary backend routes and design ambiguity.
version: 3
updated_at: 2026-10-31T19:20:29.528Z
-->
Sean Kochel (2026-04-03): Sean Kochel argues that an app can look bad for two separate reasons — weak visuals or incoherent user flows — and most AI design tools only address the first.
*Synthesized from Sean Kochel on Sean Kochel, 2026-04-03.*
Sean Kochel is a builder and YouTube educator who scaled and sold an app before turning to AI-assisted product development, and here he walks through his full design-to-code workflow using pencil.dev, Claude Code, and a UX spec stage.
## Core Thesis
Sean Kochel argues that an app can look bad for two separate reasons — weak visuals or incoherent user flows — and most AI design tools only address the first. He frames the central failure of vibe coding as under-specified plans: every screen you don't define is a screen the language model defines for you, which means building backend routes and views nobody asked for. His fix is a two-stage workflow: lock the UX specification first (information architecture, per-feature flows, error and edge cases, screen-by-screen specs), then hand those specs to a design-as-code tool whose output can move into a real codebase without ambiguity.
## Key Insights
- Kochel maps the existing options into four buckets: homegrown prompt libraries and brand rule sets; vibe-coding tools with design modes (Lovable, v0, arguably Cursor); Stitch-style screenshot-to-screens image generators; and traditional design tools like Figma that export design tokens into a coding environment. His complaint about the middle two is that their output is painful to carry into production.
- pencil.dev's differentiator is the **.pen file** — the whole project serialized as one large JSON object containing every layer and child layer, element sizing, font families, icon families, and colors. Because nothing is implied, the MCP server can hand a coding agent an unambiguous build target.
- The tool runs on your existing coding agent rather than its own metered inference. Kochel has it wired to his Claude Code instance (Codex works too), so the in-app agent chat piggybacks on the subscription he already pays for — the tool itself was free at recording time.
- The MCP server is **bidirectional**: you can drive design work from inside the Claude Code CLI, and you can pull any layer, component, prebuilt element, or library from the canvas into your coding environment. Kochel's mental model for where the whole space is heading: anything a human can touch, the agent can touch too.
- Design systems are a starting point, not the finish. Selecting the built-in **shadcn/ui** system generates the primary components — modals with buttons, sidebars, label text, loading bars — with props already wired. Kochel then layers a prebuilt style guide ("inline friendly") on top, selects the entire shadcn design-system frame, and asks the agent to update the components to the new style — producing a warm linen palette with revised typography and button roundness.
- Parallel agents are a first-class control. Kochel sets the agent count to five for a from-scratch mobile build; named agents (Onyx, Reef) build different screen clusters simultaneously, each respecting the design system, with a built-in review stage that catches most drift. He still spotted misses — badge-shaped elements that should have used button rounding, gray-on-gray text with poor contrast.
- The vague-prompt path produces good-looking screens but bad product decisions. His example: a dashboard that drills from a protein card into a breakdown showing "that protein shake had 25 grams." He doesn't want that screen — he already logged the meal — but if he builds from that mock he owes it a backend API route to surface data he doesn't care about. The screen exists only because he let the model choose.
- The UX spec stage front-loads the interaction decisions that otherwise get improvised badly. Kochel's UX design agent interviews him — how much should the chat feel like a messaging app versus a structured tool (he picks a hybrid, conversational but information-bearing, without burying the user in logs and confirmations); what happens when a public food-database match has low confidence (he picks a slide-up bottom sheet to resolve it); how insights should surface (stacked cards, proactive rather than on-request).
- His argument for proactive insight cards cites Open Claw: what actually impressed people beyond the hype was that it volunteered things without being asked, and that pattern is worth porting into new products.
- The spec output is layered: information architecture → per-feature user flows (open app → type message → backend classifies intent → … → user gets a message) with errors and edge cases → screen specifications. Each screen spec carries purpose, entry and exit points, a low-fidelity wireframe (e.g. an ambient macro bar pinned to the top of the chat), content hierarchy, and interactive elements. Kochel's floor: even if you skip everything above, do the screen specs.
- Spec-driven screens come with their states pre-decided — default, first-run empty, loading with a skeleton, search-found-nothing, mid-log, background processing, offline error — because the spec enumerated them before any pixels existed.
- Because you paste one screen spec per chat, the work parallelizes at the human level too: Kochel pastes the chat screen spec, kicks it off, goes back to Claude Desktop, copies the meals screen spec, and starts that one without waiting. From the CLI, he'd point the MCP server at a folder of screen specs and have them all built at once.
- Variant generation is a separate move: select a finished screen, open a new chat, ask for three variants, and the agent (Opus 4.6 in his run) regenerates from that screen's context. He preferred variant one of the insights tab — the same layout, slightly expanded, carrying more data.
- The handoff to code is a plan-mode run: pointed at a fresh Expo starter with the pencil MCP, the agent pulls nested JSON screen definitions from the active editor state and follows a system prompt pencil generated describing the components, rules, ordering, and dos and don'ts. Many MCP calls, but JSON, so token cost stays reasonable. Result: pill navigation, a recipe view, and a few screens close to the design — with fixable spacing and clipping issues.
- The two paths serve different moments. Vague prompting is for brainstorming and visual inspiration when you don't yet know what you're building; the PRD-plus-UX-spec path is for when you want the direction locked before anyone writes a screen.
## Actionable Takeaways
1. Diagnose which problem you actually have before reaching for a tool: bad visuals (fixable with a well-defined component system plus a style layer) or bad flows (fixable only by specifying the UX). They are different problems with different fixes.
2. In pencil.dev, start a new project and pick a built-in design system from the top-right **Design systems** menu — shadcn/ui generates modals, sidebars, label text, and loading bars with props already handled.
3. Layer style on top of structure: open **Styles**, click a prebuilt guide (e.g. "inline friendly") to load it into chat, select the entire "shadcn design system components" frame, and prompt "update the design system components based on the new style guide."
4. Connect the tool to your existing coding agent via the **Agents** button in the top right — Claude Code or Codex — so in-app generation runs on the subscription you already pay for instead of a separate fee.
5. For exploratory work, select the design system and prompt for screens with multiple states per screen (success, error, empty), describe the app in a sentence or two, list the core features, and add one philosophical constraint (Kochel's: minimize taps and actions). Set the parallel agent count — he used five.
6. Before building anything you intend to ship, write a PRD that narrowly defines your wedge (Kochel derived his from a Y Combinator CEO-skill exercise covered in an earlier video), then run it through a UX design agent that interviews you on interaction patterns.
7. Demand these deliverables from the UX stage, in order: information architecture; user flows per feature including errors and edge cases; then screen specifications containing purpose, entry/exit points, low-fidelity wireframe, content hierarchy, and interactive elements.
8. Answer the interaction questions explicitly rather than deferring them — chat-versus-tool feel, low-confidence match handling (his answer: slide-up bottom sheet), insight delivery (his answer: stacked, proactive cards). Unaddressed cases become bad improvised UX later.
9. Build screen by screen: copy one screen spec, open a new pencil chat, select the design system, prompt "based on the design system, which is selected, I want you to build this screen and its variations" — then immediately start the next spec in parallel rather than waiting.
10. Run an adversarial review pass on the spec before generating — go back through screen by screen and push back on anything that isn't what you need. Kochel skipped it on camera but calls it part of the real process.
11. To explore alternatives, select a finished screen, open a fresh chat, and ask for three variants of that design.
12. To ship, open your project (his was a bare Expo starter), enter plan mode, and instruct the agent to use the pencil MCP to build out the screens — it reads the screen JSON live from the active editor and follows pencil's generated system prompt for component rules and ordering.
13. Expect to clean up: spacing issues, clipped content, and occasional design-system drift (badge rounding where a button belongs, low-contrast gray-on-gray text) survive both the generation and the review stage.
## Notable Quotes
> "The biggest failure in vibe coding is under-specified plans." — Sean Kochel
> "Every time we delegate that type of decision, we're allowing the language model to decide the overall direction of our app." — Sean Kochel
> "Anything the human can do or touch, the agent can also do that thing." — Sean Kochel
> "Why did I build this screen? Well, it's because I allowed the language model to decide the screens." — Sean Kochel
> "There is no ambiguity. Every single thing that we could possibly need done is outlined in very explicit detail." — Sean Kochel
---
*Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/yifan-bth/the-complete-claude-code-workflow-90-skip-this` · `@content/youtube/tiago-forte/stop-overthinking-ai-use-this-4-step-framework`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*