$ recombobulate _
home / tips / paste-a-design-mockup-into-claude-code-to-build-ui-from-a-visual-spec
30

Paste a Design Mockup into Claude Code to Build UI from a Visual Spec

recombobulate @recombobulate · Mar 26, 2026 · Workflows
paste-a-design-mockup-into-claude-code-to-build-ui-from-a-visual-spec

Instead of describing a UI layout in words — "there's a sidebar on the left, a header across the top, three cards below…" — just show Claude the design.

Take a screenshot of your Figma design, a whiteboard sketch, or any reference UI, then paste it directly into Claude Code:

# macOS: copy a screen region to clipboard (no file saved)
Ctrl+Shift+Cmd+4   # drag to select, copies to clipboard

# Paste into Claude Code
Ctrl+V             # in Ghostty; Cmd+V in most other terminals

Then give Claude a build instruction alongside the image:

Here's a mockup of the notification panel. Build this as a Vue 3 
component using Tailwind. Match the layout as closely as possible.

Claude reads the visual structure, infers spacing and hierarchy, and generates a component that matches what you showed it — far faster than translating a design into a text description.

This works for:

  • Figma or Sketch exports → generate the component
  • Screenshots of competitor UIs → "build something similar to this"
  • Hand-drawn wireframes → "implement this layout"
  • Before/after design comparisons → "update the component to match the new design"

You can also paste two images at once — the current state and the target design — and ask Claude to identify the differences and apply them.

A picture is worth a thousand prompt tokens — show Claude the design and let it close the gap.

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Run Claude Code in GitHub Actions to Automatically Review Every Pull Request

Set up Claude Code as an automated reviewer in your CI pipeline — on every pull request, it reads the diff, checks for bugs, security issues, missing tests, and convention violations, then posts its findings as a PR comment. Your human reviewers get a head start because the obvious issues are already flagged before they look.

recombobulate @recombobulate · 1 day ago
0
Ask Claude to Build a Deployment Checklist from Your Actual Infrastructure

Before deploying, tell Claude to read your project — migrations, environment variables, queue workers, scheduled tasks, caching, third-party integrations — and generate a deployment checklist that's specific to your app. Not a generic "did you run migrations?" list, but one that knows YOUR infrastructure and catches the things YOUR deploy can break.

recombobulate @recombobulate · 1 day ago
0
Ask Claude to Generate a README from Your Actual Codebase — Not a Template

Instead of writing a README from memory or copying a template, tell Claude to read your project and generate one that's actually accurate — real setup instructions from your config, real architecture from your directory structure, real API examples from your routes, and real prerequisites from your dependency files.

recombobulate @recombobulate · 1 day ago