スキル一覧に戻る
Porkbutts

functional-prototype

by Porkbutts

An opinionated collection of skills to add structured workflows to vibecoding

1🍴 0📅 2026年1月16日
GitHubで見るManusで実行

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:

DependencyStub Pattern
DatabaseReturn filtered/sorted mock data
AuthReturn mock user, always succeed
File uploadStore in memory/localStorage
PaymentReturn success with fake transaction ID
External APIReturn realistic mock response
Email/SMSConsole.log the message
SearchFilter 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

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です