One-page flowchart for file placement
┌─────────────────────────────────────────────────┐
│ Does CONTENT vary by page context? │
│ (text, images, data source) │
└────────────┬────────────────────────────────────┘
│
┌──────┴──────┐
│ │
YES NO
│ │
▼ ▼
┌─────────────┐ ┌──────────────┐
│ Page File │ │ Feature File │
│ │ │ │
│ Document: │ │ Document: │
│ - Headings │ │ - Generic │
│ - Text │ │ content │
│ - Images │ │ - Default │
│ - Data API │ │ config │
│ - Scope │ │ │
└─────────────┘ └──────────────┘
Page File (Content Varies):
/api/families/:currentFamilyId/walks (user-specific)Feature File (Content Same Everywhere):
/api/products (same for all users)Is this VISUAL design (colors, spacing, states)?
│
└─ YES → Component File
(Colors, typography, layout, states)