Skip to main content

Design & Architecture Prompts (Phases 3–4)

Use these prompts to design clear screens, establish intentional styling, choose a simple tech stack, and document your architecture before writing code.


Prompt 1: Review User Journeys & Wireframes​

Context:
I mapped my MVP user journeys, screen inventory, and rough wireframes:
[paste user journeys, screen list, and text wireframes]

Objective:
Identify dead ends, missing UI states, and screens that can be combined or simplified.

Boundaries:
- Do NOT generate HTML, CSS, React, or color palettes yet.
- Do NOT introduce new features outside `docs/prd.md`.

Expected Output:
1. Missing navigation steps, confusing transitions, or missing actions (Cancel, Delete, Edit, Back).
2. Missing UI states (Empty state, Loading state, Error state) for each screen.
3. Suggestions to reduce the number of screens if anything is over-split.

Prompt 2: Define Intentional Design Direction (No Generic AI UI)​

Context:
App purpose: [1 sentence]
Target user & setting: [who uses it and on what device]
Screens in MVP: [list screens]

Objective:
Create a clean, cohesive Design Direction spec (`docs/design-direction.md`) that avoids generic AI dashboard templates.

Boundaries:
- No neon gradients, glowing cards, decorative badges, or fake analytics widgets.
- Limit palette to 1 background, 1 surface, 1 primary text, 1 muted text, 1 primary accent, and semantic error/success colors.
- Prioritize readable font sizes, accessible contrast, and clean mobile layout.
- No implementation code yet.

Expected Output:
1. Visual tone (3 words) and core layout rules.
2. Color roles with accessible contrast guidance.
3. Typography hierarchy and spacing rules.
4. "Visual Anti-Patterns to Avoid" checklist for this app.

Prompt 3: Compare Simple Tech Stack Options​

Context:
I am choosing a mainstream, beginner-friendly tech stack for my MVP.
- Core features: [3-4 bullets]
- Needs user login/accounts? [Yes / No]
- Needs multi-device data sync? [Yes / No]
- Needs secret API keys or backend processing? [Yes / No]

Objective:
Compare 2 simple, boring, well-supported tech stack options and recommend one.

Boundaries:
- Avoid microservices, Kubernetes, complex monorepos, or brand-new experimental frameworks.
- Minimize the number of separate processes/servers I have to run and deploy.
- Clearly note where secret keys or authorization checks must live (backend, never browser).

Expected Output:
1. Option A (Simplest possible) vs. Option B (Standard full-stack), listing Frontend, Backend, Database, and Hosting fit.
2. Tradeoffs and learning curve of each.
3. Clear recommendation and what would make us outgrow it later.

Prompt 4: Design Folder Structure, Data Model & Security Boundaries​

Context:
Chosen tech stack: [name stack]
MVP features & data: [summary from PRD]
Auth needed: [Yes / No]

Objective:
Produce a starter Architecture Document (`docs/architecture.md`) with a clean folder structure, data entities, and authorization rules.

Boundaries:
- Keep folder nesting shallow and readable for a beginner.
- Do NOT write application code yet.
- Explicitly separate Authentication ("who is logged in") from Authorization ("who owns which record on the server").

Expected Output:
1. Folder tree with a 1-line purpose per folder.
2. Data model (tables/entities, fields, relationships).
3. Core API endpoints/actions with server-side validation and authorization checks.
4. 2-3 Key Technical Decisions (options considered, choice, tradeoffs).

Navigation: ← Previous: Product & Planning Prompts | Prompts Index | Next: Implementation Prompts →