SuperAPI AI Directory

prototype-guide

Design & creation

View repository

Updated 10-16 09:28

About this skill

Prototype Generation Guide

Purpose

Prototypes are hypothesis validation tools, not final implementations. They test Usability and Value risks by making ideas tangible enough for evaluation.

Design Context Injection

Every prototype prompt must include relevant design context. Without context, prototypes validate nothing — they just produce arbitrary UI.

Required Context (always include)

  1. Design Principles — from docs/product/design-principles.md
  2. Persona — from docs/product/personas/
  3. Scenario — what the user is trying to accomplish, their context
  4. Hypothesis Under Test — what specific question this prototype answers

Recommended Context (include when available)

  1. State Design — which states to demonstrate (see product-principles skill)
  2. Accessibility Requirements — WCAG 2.2 AA baseline
  3. Existing Components — design system components for consistency
  4. Journey Position — where in the user journey this occurs

Blueprint Context (include when docs/product/design/ exists)

See blueprint-standards Artifact Overview for the full blueprint artifact list.

Read only the blueprint artifacts relevant to the hypothesis under test:

  • Always: brand-direction.md when present
  • Include information-architecture.md when navigation, page hierarchy, or screen placement matters
  • Include the specific file in flows/ that matches the interaction under test
  • Include content-model.md when realistic entities, relationships, or stateful data shape the prototype
  • Include ai-interaction-model.md only for AI-powered features

If no matching flow exists, say so explicitly and proceed with the available blueprint artifacts.

Design Source Priority

Use the primary-source precedence defined in references/prototype-prompt-guide.md under Source Selection Rule.

Design System Integration

How to connect prototypes with your design system depends on your setup:

  • npm Package: Include install instruction and component names in prompt
  • In-Repository Components: Use codebase-analyzer to identify existing components, list paths and APIs
  • Tailwind Config / Design Tokens: Include token definitions in prompt only when no higher-priority source exists
  • No DS Yet: Use Visual Tokens from brand-direction.md when available; otherwise define basic constraints (palette, typography, spacing) that can seed a future DS

Key Principles

  • Prototype to learn, not to ship: Don't over-invest in polish
  • Context makes the difference: A prototype without design context is just random UI
  • One hypothesis per prototype: Keep focused on a single question
  • Describe flows, not just screens: Step-by-step user flow improves output quality more than isolated UI descriptions
  • Describe states, not just features: State transitions and recovery behavior matter as much as happy-path layout
  • Use concrete data and copy: Realistic sample data and actual UI copy produce better prototypes than placeholders
  • Separate machine prompt from human guide: Keep executable instructions and evaluation notes in different files
  • Save everything: Code, screenshots, and learnings all go to docs/discovery/prototypes/
  • Iterate, don't restart: Build on previous prototypes

For detailed prompt construction patterns, DS integration examples, platform-specific tips, and scope boundaries, see references/prototype-prompt-guide.md.