Automated summary
Generates optimized prompts for AI prototyping tools (v0.dev, Lovable, Bolt.new) from PRDs or feature specs.
Strengths
- Rapidly converts PRDs into ready-to-use prompts
- Supports multiple prototyping tools with tailored templates
- Includes context analysis (design system, user journeys)
- Produces structured and comprehensive prompts
Limitations
- Requires clear product requirements upfront
- Dependent on target tool capabilities and limitations
- Does not directly build the prototype, only the prompt
Use this skill to quickly bridge the gap from PRD to a working prototype in minutes.
Avoid when the prototype requires complex backend logic not supported by the target tool.
Security analysis
SafeThe skill only generates text prompts for AI prototyping tools. It does not instruct execution of any commands, network access, or data exfiltration. The skill reads files (PRDs, design docs) as context but that is within normal AI agent operation and not risky.
No concerns found
How this analysis is madeExamples
Generate a prototype prompt for the onboarding wizard from PRD-2024-05Create a Bolt.new prompt for a quick demo of the search featureGenerate a Lovable prompt for a full-stack authentication flowname: generate-ai-prototype description: Generate v0.dev, Lovable, or Bolt.new prompts for AI-powered prototyping
Generate AI Prototype Skill
Create optimized prompts for AI prototyping tools (v0.dev, Lovable, Bolt.new) to quickly build working prototypes from PRDs or feature specs.
Quick Start
- Tell me what you want to prototype (feature name, PRD link, or description)
- I'll ask which tool: v0.dev (UI only), Lovable (full-stack), or Bolt.new (quick demo)
- I check your PRD, design system, and user research for context
- I generate a copy-paste-ready prompt optimized for the tool
- You paste it, get a working prototype, and share the link
Example: "Generate a prototype prompt for the onboarding wizard from PRD-2024-05"
Output: Saved to thoughts/shared/prototypes/[feature]-prototype-prompt.md
Time: 10-15 minutes to generate prompt, 1-2 minutes to build prototype
When to Use This Skill
- Converting PRDs into functional prototypes
- Rapid iteration on UI concepts
- Demonstrating features to stakeholders
- Testing user flows before engineering starts
Supported AI Prototyping Tools
v0.dev (Vercel)
- Best for: React/Next.js apps, modern UI components
- Strengths: Clean design, shadcn/ui integration, responsive
- Limits: Frontend only, no backend logic
- Cost: Free tier, then paid
Lovable (formerly GPT Engineer)
- Best for: Full-stack apps with backend
- Strengths: Complete apps, authentication, database
- Limits: Opinionated stack (React + Supabase)
- Cost: Free tier, then $20/mo
Bolt.new (StackBlitz)
- Best for: Quick demos, isolated components
- Strengths: Instant preview, no account needed
- Limits: Simpler apps, less customization
- Cost: Free
Workflow
Step 1: Gather Requirements
Ask the PM:
- Feature scope: What are we prototyping?
- Target tool: v0.dev, Lovable, or Bolt.new?
- Fidelity level: Quick sketch or polished demo?
- Key user flows: What paths must work?
- Design system: Match existing product or generic?
Step 2: Analyze Context
Read relevant files:
- PRD or feature spec
- Design system docs (if available)
- Existing UI screenshots (if provided)
- User journey maps
Extract:
- Core user flows
- UI components needed
- Data models (if backend)
- Key interactions
- Edge cases to demonstrate
Step 3: Generate Prompt
Create a structured prompt optimized for the target tool.
v0.dev Prompt Template
Build a [feature name] interface with the following requirements:
## Core Functionality
[List 3-5 key features]
## User Flow
1. [Step 1: User action]
2. [Step 2: System response]
3. [Step 3: Next action]
## UI Components Needed
- [Component 1: Description]
- [Component 2: Description]
- [Component 3: Description]
## Design Specifications
- **Style:** [Modern, minimal, professional, etc.]
- **Colors:** [Primary: #hex, Secondary: #hex, or "use default shadcn palette"]
- **Layout:** [Desktop-first, mobile-first, responsive]
- **Components:** Use shadcn/ui components
## Key Interactions
- [Interaction 1: e.g., "Click 'Add Item' opens modal"]
- [Interaction 2: e.g., "Drag to reorder list items"]
## Data Structure (mock)
```typescript
interface [DataType] {
[field]: [type];
[field]: [type];
}
Edge Cases to Show
- [Empty state]
- [Loading state]
- [Error state]
- [Success state]
Example Content
[Provide realistic sample data]
Technical preferences:
- Use TypeScript
- Tailwind CSS for styling
- React hooks for state
- Responsive design (mobile + desktop)
#### Lovable Prompt Template
Create a [feature name] application with the following specs:
App Overview
[1-2 sentence description]
User Stories
- As a [user type], I want to [action] so that [benefit]
- As a [user type], I want to [action] so that [benefit]
- As a [user type], I want to [action] so that [benefit]
Pages/Views
-
[Page Name]
- Purpose: [What this page does]
- Components: [List key UI elements]
- Actions: [User can do X, Y, Z]
-
[Page Name]
- Purpose: [What this page does]
- Components: [List key UI elements]
- Actions: [User can do X, Y, Z]
Database Schema
-- [Table Name]
CREATE TABLE [table_name] (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
[field_name] [TYPE] [CONSTRAINTS],
created_at TIMESTAMP DEFAULT NOW()
);
Authentication
- [x] User signup/login required
- [x] Protected routes: [list routes]
- [ ] Public access allowed
Key Features
Business Logic
- [Rule 1: e.g., "Users can only edit their own items"]
- [Rule 2: e.g., "Max 10 items per user on free tier"]
Sample Data
[Provide realistic examples for testing]
Tech Stack Preferences:
- Frontend: React + TypeScript
- Backend: Supabase
- Styling: Tailwind CSS
- State: React hooks/context
#### Bolt.new Prompt Template
Build a simple [feature name] component:
What it does: [2-3 sentence description]
UI Layout: [Describe the visual structure]
User Interactions:
- [User does X] → [System responds Y]
- [User does A] → [System responds B]
Functionality:
Styling: [Modern/minimal/colorful/etc. + any color preferences]
Example Data: [Provide 2-3 sample items]
Keep it simple and functional. Focus on core flow.
### Step 4: Optimization Tips
**For all tools:**
- ✅ Be specific about functionality
- ✅ Provide example data
- ✅ Describe interactions clearly
- ✅ Specify edge cases (empty, loading, error states)
- ❌ Don't overload with features (start simple)
- ❌ Don't assume technical knowledge (be explicit)
**v0.dev specific:**
- Use shadcn/ui component names
- Specify responsive behavior
- Request TypeScript for better quality
**Lovable specific:**
- Define database schema clearly
- Specify authentication requirements
- Describe business logic rules
**Bolt.new specific:**
- Keep scope small (single feature/component)
- Focus on visual demo over complex logic
### Step 5: Deliver Prompt
Present the generated prompt to the PM with:
1. **The Prompt** (formatted for copy-paste)
2. **Instructions:**
- Where to paste (v0.dev/Lovable/Bolt.new)
- Expected output
- How to iterate (what to tweak if needed)
3. **Next Steps:**
- "Share prototype link with stakeholders"
- "Use as spec for engineering"
- "Iterate based on feedback"
## Advanced Techniques
### Matching Existing Design Systems
If PM provides screenshots or design system docs:
Use this design system:
Colors:
- Primary: [extracted from screenshot]
- Secondary: [extracted from screenshot]
- Text: [extracted from screenshot]
Typography:
- Headings: [font family, size]
- Body: [font family, size]
Components:
- Buttons: [describe style]
- Inputs: [describe style]
- Cards: [describe style]
Spacing:
- Use [4px/8px/16px] grid system
Reference the attached screenshot for visual style.
### Multi-Screen Flow Guidance
For features with multiple screens or states (e.g., onboarding wizard, checkout flow, settings panels), structure the prompt to produce a cohesive multi-step experience rather than isolated pages.
**Include in the prompt:**
1. **Screen/step list with descriptions** -- List every screen by name, its purpose, and what the user sees
2. **Navigation between screens** -- Specify how users move forward, back, and skip (buttons, tabs, swipe, URL routing)
3. **State management (what data carries forward)** -- Clarify which inputs persist across screens (e.g., "selections from Step 1 appear in Step 3 summary")
4. **Edge cases per screen** -- Define empty, error, loading, and validation states for each screen individually
**Prompt structure for multi-step flows:**
Build a multi-step flow with [N] screens:
Screen 1: [Name]
- Purpose: [What happens here]
- UI: [Key components]
- Data collected: [Fields, selections]
- Validation: [Required fields, format rules]
- Next: [Button label] → Screen 2
Screen 2: [Name]
- Purpose: [What happens here]
- UI: [Key components]
- Data from previous: [What carries forward]
- Next: [Button label] → Screen 3
- Back: [Button label] → Screen 1
Screen [N]: [Name - usually Confirmation/Review]
- Purpose: Review and submit
- Shows: Summary of all previous inputs
- Actions: [Submit], [Edit Step X]
- Success state: [What user sees after completion]
Global Requirements
- Progress indicator showing current step (e.g., "Step 2 of 4")
- Persist data if user navigates back
- Handle browser back button gracefully
- Mobile responsive (stack layout vertically on small screens)
**Avoid:** Generating separate, disconnected prompts for each screen. The AI tool produces better results when it understands the full flow context in a single prompt.
### Prototype Iteration
After initial prototype:
Refine the existing prototype:
What's working:
- [Keep feature X]
- [Keep interaction Y]
What to change:
- [Modify feature A: description]
- [Add feature B: description]
- [Remove feature C: reason]
Specific updates:
- [Detailed change 1]
- [Detailed change 2]
## Common Use Cases
### 1. Dashboard Prototype
Build a dashboard showing:
- [Metric 1] as a card with trend
- [Metric 2] as a line chart
- [Recent activity] as a list
- Filters for date range
### 2. Form/Wizard Prototype
Create a multi-step form: Step 1: [Collect basic info] Step 2: [Collect detailed info] Step 3: [Review & confirm] Include validation and progress indicator
### 3. Settings Page Prototype
Build a settings interface with:
- Tabbed navigation (Profile, Preferences, Billing)
- Toggle switches for boolean settings
- Dropdowns for choices
- Save/Cancel buttons
### 4. Onboarding Flow Prototype
Create an onboarding flow: Screen 1: [Welcome + value prop] Screen 2: [Key feature explanation] Screen 3: [Setup requirements] Screen 4: [Success state]
## Output Template
AI Prototype Prompt
Target Tool: [v0.dev / Lovable / Bolt.new]
Feature: [Feature Name]
Prompt (Copy-Paste Ready)
[FULL PROMPT HERE]
Instructions
- Go to [tool URL]
- Paste the prompt above
- Click "Generate" or "Build"
- Wait ~30-60 seconds for prototype
- Share the generated link
Expected Output
The prototype will include:
Iteration Tips
If the prototype needs changes:
- To adjust styling: Add "Use [color/font/spacing] instead"
- To add features: List new features clearly
- To remove clutter: Specify "Remove [feature X]"
Next Steps
- [ ] Share prototype link with team
- [ ] Gather feedback from stakeholders
- [ ] Iterate on design based on feedback
- [ ] Use as specification for engineering
## Pro Tips
1. **Start simple:** Prototype core flow first, add polish later
2. **Use real data:** Sample data should look production-ready
3. **Show edge cases:** Empty states, errors, loading
4. **Be specific:** "Large blue button" > "call-to-action button"
5. **Iterate quickly:** Generate → test → refine → repeat
6. **Share early:** Get feedback on prototype before engineering starts
7. **Document learnings:** Note what works/doesn't for future prototypes
## Common Mistakes to Avoid
❌ Too many features in first prompt (overwhelming)
✅ Core flow first, add features incrementally
❌ Vague descriptions ("nice interface")
✅ Specific details ("Card layout, 3 columns, shadcn components")
❌ No example data (generic placeholders)
✅ Realistic sample data (actual user names, realistic numbers)
❌ Forgetting edge cases (only happy path)
✅ Include empty, loading, error states
❌ No iteration plan (one-and-done)
✅ Expect 2-3 rounds of refinement
## When to Use Each Tool
**Use v0.dev when:**
- Need polished UI components
- Building React/Next.js apps
- Want shadcn/ui integration
- Frontend-only prototype
**Use Lovable when:**
- Need full-stack prototype
- Require authentication/database
- Building complete app MVP
- Want production-ready code
**Use Bolt.new when:**
- Need quick demo (< 10 min)
- Simple component/feature
- No account setup time
- Throwaway prototype
## Output Quality Self-Check
Before delivering the prototype prompt, verify:
- [ ] **Prompt is copy-paste ready** -- No placeholders like "[insert X]" remain; all values are filled in
- [ ] **Tool-specific best practices followed** -- shadcn/ui for v0, Supabase schema for Lovable, simplicity for Bolt
- [ ] **Core user flow is complete** -- The main happy path is fully described, not just individual screens
- [ ] **Edge states specified** -- Empty, loading, error, and success states are included
- [ ] **Sample data is realistic** -- Uses production-like names, numbers, and content (not "Lorem ipsum")
- [ ] **Multi-screen flows are cohesive** -- If multiple screens, navigation, state persistence, and progress indicators are specified
- [ ] **PRD requirements addressed** -- Cross-checked against PRD acceptance criteria (if PRD exists)
- [ ] **Design context included** -- Colors, fonts, and component styles match the product (if design system exists)
- [ ] **Instructions are clear** -- PM knows exactly where to paste, what to expect, and how to iterate
If any check fails, fix it before delivering. The prompt should work on the first try.
---
Remember: A 5-minute prototype can save 2 weeks of engineering waste. Invest in prototyping before building.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/generate-ai-prototypes-mmh8qrot' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/generate-ai-prototypes-mmh8qrot/download' --output '.skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md.part' && mv '.skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md.part' '.skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md' && test -s '.skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/generate-ai-prototype' && cp -R '.skill-downloads/generate-ai-prototypes-mmh8qrot' '.claude/skills/generate-ai-prototype'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/generate-ai-prototypes-mmh8qrot'openskills read 'generate-ai-prototypes-mmh8qrot'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/generate-ai-prototypes-mmh8qrot/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.