DEPRECATED — replaced by stitch-design as primary design tool. Use stitch-design instead. This skill is kept as fallback only if Stitch is unavailable.
⚠️ DEPRECATED (2026-03-19): Google Stitch is now the primary design tool. Use
stitch-designskill instead. Only use this as a fallback if Stitch MCP is down or unavailable.
Generate production-ready React/Tailwind UI components and pages via the v0.dev API before building any project. Every build starts with v0-generated design, then backend (Supabase, auth, etc.) is wired in.
npm install v0-sdk (in workspace)scripts/v0-generate.js — CLI tool that prompts v0 and saves generated files locally.
V0_API_KEY="<key>" node skills/nick-v0-design/scripts/v0-generate.js \
--prompt "Your detailed design prompt" \
--output ~/Projects/<project>/v0-output \
--follow-up "Refine: add dark mode" \
--follow-up "Refine: make mobile responsive"
--prompt / -p — Main design prompt (required for new chats)--output / -o — Output directory for generated files--follow-up / -f — Additional refinement messages (can use multiple)--chat-id — Continue an existing v0 chatv0-manifest.json with chat ID, URLs, and file listFor EVERY new project, write a detailed prompt that includes:
Example prompt structure:
Build a complete landing page for [APP NAME] — [description].
Visual style: [reference design system — dark hero, enterprise polish, Inter font]
Color palette: [primary, secondary, accent colors]
Sections (in order):
1. Navigation — sticky, logo left, links center, CTA right
2. Hero — dark gradient bg, headline, subtext, dual CTAs, device mockup showing the app
3. Trust bar — "As seen in" logos
4. How it works — 3-4 numbered steps with icons
5. Features for [audience 1] — alternating text+visual layout
6. Features for [audience 2] — reversed layout
7. Stats — large numbers on dark bg
8. Testimonials — star ratings, avatars, quotes
9. Pricing — tiered cards with feature lists
10. FAQ — accordion with 6+ items
11. CTA section — dark gradient, compelling headline, buttons
12. Footer — multi-column with links, social icons, legal
Requirements:
- Fully responsive (mobile-first)
- Tailwind CSS only
- shadcn/ui components where appropriate
- Static demo data (no API calls)
- Semantic HTML with accessibility
- Smooth hover/transition effects
Run the generator script. Review the demo URL. If quality isn't right, send follow-ups.
Use --chat-id and --follow-up to refine without starting over.
The v0 SDK provides:
const { v0 } = require('v0-sdk');
// Create new chat
const chat = await v0.chats.create({ message: '...' });
// Send follow-up
const response = await v0.chats.sendMessage({ chatId: chat.id, message: '...' });
// Access files: chat.latestVersion.files or chat.files
// Access demo: chat.demo
// Access screenshot: chat.latestVersion.screenshotUrl