← Back to list

functional-prototype
by Porkbutts
An opinionated collection of skills to add structured workflows to vibecoding
⭐ 1🍴 0📅 Jan 16, 2026
SKILL.md
name: functional-prototype description: "Build working prototypes from PRDs with mock data and stubbed integrations. Use when user has a PRD, spec, or feature description and wants a clickable demo to validate flows before full implementation. Triggers: build a prototype, functional prototype, make a demo, implement this PRD, prototype this spec, make it clickable."
Functional Prototype Builder
Build working prototypes from PRDs with realistic mock data and stubbed dependencies.
Workflow
1. Analyze PRD
Extract:
- User stories: Each user-facing flow to demonstrate
- Screens: All unique views needed
- Data entities: Users, posts, products, etc.
- External dependencies: Database, auth, payment, APIs
- Tech stack: Ask user if not specified
2. Create Mock Layer
Create a dedicated mocks directory with:
- Mock data file: Precanned realistic data (5-10 items per entity, realistic names/content, edge cases like empty states)
- Stub API file: Functions that return mock data with simulated delays (100-300ms)
Stub patterns by dependency type:
| Dependency | Stub Pattern |
|---|---|
| Database | Return filtered/sorted mock data |
| Auth | Return mock user, always succeed |
| File upload | Store in memory/localStorage |
| Payment | Return success with fake transaction ID |
| External API | Return realistic mock response |
| Email/SMS | Console.log the message |
| Search | Filter mock data client-side |
3. Build Screens
For each screen:
- Import from stub layer (never real dependencies)
- Implement full UI with interactions
- Handle loading states (stubs have delays)
- Handle empty/error states
- Complete navigation between screens
4. Generate Integration Guide (Optional)
After prototype is complete, ask user: "Would you like me to generate an integration guide documenting how to replace stubs with real implementations?"
If yes, create docs/integration-guide.md following references/integration-guide-template.md.
Output Checklist
- All user stories from PRD are demonstrable
- Every screen is implemented and navigable
- Mock data looks realistic
- Stubs simulate async behavior (delays)
- Loading and empty states handled
Score
Total Score
45/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon