The problem with AI-generated websites
You prompt some AI tool, get a beautiful design, then realize nothing actually works. The buttons go nowhere. The forms don't submit. The "Sign Up" flow ends at slide one. You've got a screenshot, not software.
The fix isn't a better design tool. The fix is splitting the job: one AI designs, another AI engineers, and you make the second one prove it works before calling it done.
What is Google Stitch
Stitch is Google's AI UI design tool. You describe what you want, it generates the screens. Think Figma-quality designs from a prompt — landing pages, dashboards, mobile apps, full multi-screen flows. It's free and it's good.
But Stitch outputs designs. Static. Beautiful, but not running anywhere.
What is Claude Code
Claude Code is Anthropic's AI coding agent that runs in your terminal. It reads your files, writes real code, runs commands, tests in a real browser, deploys to production. Not autocomplete — an actual engineer that ships.
This is the piece that turns the Stitch design into something people can actually use.
Why combine them
Stitch is great at design. Bad at engineering. Claude Code is great at engineering. You don't want it making aesthetic decisions from scratch.
Hand Stitch the design problem. Hand Claude Code the build problem. Hand Vercel the deploy problem. Each tool does what it's best at.
Install Claude Code
One command:
Then run claude in any folder to start it. Sign in with your Anthropic account on first launch. Done. If you don't have Node.js: install it from nodejs.org first.
Connect Stitch to Claude Code
Get a Google API key first: go to aistudio.google.com/apikeyand click "Create API Key." Free tier works.
Then run this in your terminal (replace YOUR_GOOGLE_API_KEY with the key you just made):
This wires Stitch into Claude Code as an MCP server — meaning Claude Code can pull Stitch designs directly without you copy-pasting.
Install Vercel CLI
This is the part most people skip. You need Vercel to put your site online. Sign up free at vercel.comif you don't have an account. Then in your terminal:
vercel login opens your browser to authenticate. Confirm it worked:
That should print your username. You're done with setup forever — every future deploy is one command.
The workflow
The verification prompt
This is the whole game. Without this, you get a pretty static page. With this, you get a real product. Copy this exactly and paste it after the Stitch design:
The magic is rule 4 and rule 5. You're forcing Claude Code to test like a real QA person — not just "did it compile" but "did I click the button and did the right thing happen." This single prompt is the difference between a demo and a product.
Pro tips
- Be specific with Stitch."Cinematic dark hero with Fraunces serif headline, rust accent #C15F3C, monospace details" gets you 10x better output than "modern landing page."
- Always use the verification prompt.Stitch designs are static by default. Without rule 4, Claude Code will sometimes stop at "looks right" without clicking anything.
- Vercel free tier is fine.Real production traffic, custom domains, auto-deploys — all free. Don't pay until you actually need to.
- Iterate fast.If something breaks after deploy, just tell Claude Code what you saw: "the contact form returns a 500 on submit." It'll find it and fix it.
- Don't skip the testing step to save time.That's how you ship broken sites. The whole point of this workflow is the AI does the QA so you don't ship something embarrassing.