Version: 1.1.0 Last Updated: 2026-04-11 Status: Active Index of development guides, setup, and conventions for the Encore Health OS Platform.Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
New to the project? Start here:-
SETUP_QUICK_START.md ⭐ First-Time Setup
- Environment variables checklist
- PWA setup verification
- CodeRabbit setup
- First-time developer onboarding
-
DEVELOPMENT_QUICK_REFERENCE.md ⭐ Daily Reference
- Common commands (CodeRabbit, build, test)
- Common patterns (spacing, colors, icons)
- Common components (PageContainer, ResponsiveFormLayout)
- Common gotchas (React.lazy, loading states, permissions)
Common Tasks
Setup & Configuration
- SETUP_QUICK_START.md - Quick setup checklists
- ENVIRONMENT_VARIABLES.md - Environment configuration
- PWA_SETUP.md - PWA configuration
- CODERABBIT_GUIDE.md - CodeRabbit setup
Code Review Workflow
- CODE_REVIEW_PROCESS.md - Complete review process with quick start
- DEVELOPMENT_QUICK_REFERENCE.md - CodeRabbit commands
- PR-313-DEEP-REVIEW.md - Forensic review template for large/conflicting PRs
- PR-313-SPLIT-RELEASE-PLAN.md - Example wave-based decomposition of oversized production PRs
Security & dependencies
- DEPENDENCY_SECURITY.md - npm audit, lockfile workflow,
overrides, Denonpm:review cadence (not covered bynpm audit), Dependabot
CI & quality gates
- CI_PIPELINE.md — Maps .github/workflows/build.yml to local commands (debug red PRs)
- RLS_CI_CD_GUIDE.md — RLS tests in CI and local parity
- CROSS-REPO-SYNC-POLICY.md — Canonical
originbranch model and one-way mirror policy toencore_lovable - Full test matrix: TESTING_SETUP_AND_RUN.md
- Doc link/version health:
npm run validate-docsandnpm run check-doc-versions
Spacing & Layout
- SPACING_AND_UX_STANDARDS.md - Complete spacing guide (includes quick reference)
- DEVELOPMENT_QUICK_REFERENCE.md - Quick spacing patterns
Icons & Colors
- ICON_GUIDE.md - Icon design and usage
- SEMANTIC_COLORS.md - Color token reference
Navigation
Start Here: Constitution §6.3 (current: see docs/VERSIONS.md) defines the core navigation requirements.- mobile-navigation-guide.md - Mobile navigation patterns (bottom nav, safe areas, touch targets, mobile breadcrumbs)
- breadcrumb-implementation-guide.md - Breadcrumb implementation (route labels, auto-generation, customization)
- NAVIGATION_STANDARD.md - Navigation standard (policies, sub-modules, route taxonomy)
Setup & Configuration
PWA & Mobile Setup
-
PWA Setup ⭐ Start Here
- Complete PWA configuration guide
- Icon generation and setup
- Service worker configuration
- Performance optimization
- Mobile safe area support
- Testing checklist
-
Mobile Navigation Guide
- Mobile navigation architecture
- Bottom navigation bar implementation
- Mobile menu patterns
- Safe area insets guide
- Touch target guidelines
- Accessibility requirements
- Navigation review findings
- Dashboard standards integration
- Quick actions pattern
Development Tools
-
CodeRabbit Guide ⭐ Complete Reference
- Setup and installation
- Configuration details
- CLI commands and output modes
- Workflow patterns (CodeRabbit + Lovable)
- Reporting guide
- Best practices
- Troubleshooting
- CODERABBIT_CURSOR_REVIEW_CONTEXT.md — CodeRabbit-oriented PR review context for Cursor. For CodeRabbit setup and YAML, use CodeRabbit Guide above.
-
CODE_REVIEW_PROCESS.md ⭐ Review Workflow
- Quick start workflow
- Daily commands reference
- Pattern identification
- Documentation update process
Environment & Configuration
- Environment Variables — Canonical list of env vars; required vs optional, local vs production.
- ENVIRONMENT_CONFIG.md — Project IDs and environment-specific credentials (staging, production).
Supabase (hub)
All Supabase-related setup, CLI, and troubleshooting in one place. For required variables, see ENVIRONMENT_VARIABLES.md and integrations/SUPABASE_SETUP.md.| Doc | Purpose |
|---|---|
| SUPABASE_SETUP | Production Supabase configuration, project setup |
| SUPABASE_MULTI_ENV_SETUP.md | Local, staging, production env config |
| SUPABASE_CLI_LOCAL_WORKFLOW.md | Migrations, supabase start, db reset, link |
| Troubleshooting Guide | Fix “Remote migration versions not found” |
| MCP Usage Guide | When to use Supabase MCP vs CLI |
| SUPABASE_AUTH_401_TROUBLESHOOTING.md | 401 auth errors and fixes |
Lovable workflow
- Lovable docs — LOVABLE_CUSTOM_KNOWLEDGE, LOVABLE_PROMPTS, LOVABLE_REFERENCE_APPENDIX. Copy Custom Knowledge into Lovable; use prompts for the 4-chat workflow.
- Lovable handoff guidance is consolidated in
AGENTS.mdanddocs/tools/lovable/index.md.
Patterns & Standards
UI/UX Standards
- UI/UX Standards ⭐ Canonical Standards
- Complete UI/UX patterns and requirements
- Design system tokens and usage
- Page templates and required states
- Navigation and information architecture
- Mobile-first requirements
- Performance UX patterns
- Accessibility standards
- UI Consistency Review — Spec/PR checklist for dialogs,
PageContainer, skeletons,EmptyState, semantic tokens - Spec Command Cheat Sheet — Tiered map of Cursor spec commands (
whats-next, validate, review, tasks, complete)
Navigation
- Navigation Guide Index ⭐ Start Here
- Central index for all navigation documentation
- Quick navigation by topic
- Common use cases and workflows
- Links to all navigation guides
UI Patterns
-
Icon Style Guide
- Icon design guidelines
- Icon usage patterns
- Icon generation process
-
SPACING_AND_UX_STANDARDS.md ⭐ Complete Guide
- Quick reference section at top
- Spacing and layout patterns
- Responsive spacing guidelines
- Safe area considerations
- Page container patterns
- Grid and form spacing
-
Settings Pattern Guide
- Settings page implementation
- Module settings pattern
- Organization-level settings
- Upsert pattern and compliance status
settings-page-pattern.md has been consolidated into settings-pattern-guide.md and archived.
Component Development
- Storybook/Chromatic are currently deferred in this repository. See root
CLAUDE.mdfor current status.
Migration & Adoption
- Use module specs and
specs/_templates/checklists for migration/adoption tracking.
Development Guides
Core Development Guides
-
TROUBLESHOOTING_GUIDE.md ⭐ Problem Solving
- Diagnostic workflow for common issues
- Build & dependency troubleshooting
- TypeScript errors
- Supabase connection issues
- Authentication problems
- Performance debugging
- Mobile-specific issues
- Cross-browser compatibility
- Quick reference table
-
DATABASE_DEVELOPMENT_GUIDE.md ⭐ Database Development
- Multi-tenant architecture & RLS
- RLS policy patterns
- Migration creation and testing
- Custom fields implementation
- Multi-tenant query patterns
- Database debugging
- Code examples and best practices
-
TESTING_SETUP_AND_RUN.md ⭐ Testing
- Canonical test execution runbook
- Unit, integration, RLS, baseline, and E2E guidance
- Environment variables and CI notes
-
API_DEVELOPMENT_GUIDE.md ⭐ API Development
- API patterns (PostgREST, Edge Functions)
- Creating API endpoints
- Authentication & authorization
- Error handling
- Response formatting
- API testing strategies
-
PERFORMANCE_OPTIMIZATION_GUIDE.md ⭐ Performance
- Performance debugging workflow
- Bundle size optimization
- Query optimization
- Image optimization
- Lazy loading patterns
- Caching strategies
- Performance targets & metrics
- FW module tables →
docs/fw/module-tables.md - PF adoption tracker →
specs/pf/adoption-tracker.md - Permissions V2 migration →
specs/pf/permissions-v2-migration.md - Permissions V2 rollout →
specs/pf/permissions-v2-rollout.md
Scripts & Utilities
- verify-coderabbit-setup.sh
- CodeRabbit setup verification script
- Automated setup checking
Documentation Structure
File Organization
- Setup Guides:
*-SETUP.mdor*-setup.md - Pattern Guides:
*-pattern.mdor*-PATTERN.md - Quick References:
*-quick-reference.mdor*-QUICK_REFERENCE.md - Style Guides:
*-STYLE_GUIDE.mdor*-style-guide.md - Checklists:
*-CHECKLIST.mdor*-checklist.md
Related Documentation
Architecture:- Architecture Overview (v1.0.0) - Complete architecture documentation
- Integration Patterns (v2.1.0) - Cross-core integration patterns
- Navigation Standard - Navigation standards and patterns
- Navigation Guide Index - Navigation documentation index
- Spacing & UX Standards (v1.0.0) - Spacing and layout patterns
See Also
Architecture Documentation:- Architecture Overview (v1.0.0) - System architecture and design principles
- Integration Patterns (v2.1.0) - How cores integrate with each other
- Navigation Standard - Navigation implementation standards
- Navigation Guide Index - Navigation documentation index
- UI/UX Standards - Complete UI/UX design system
- SPACING_AND_UX_STANDARDS.md - Spacing patterns and responsive design (includes quick reference)
- DEVELOPMENT_QUICK_REFERENCE.md - Quick reference for common patterns
- PF Documentation - Platform Foundation specifications
Quick Start Workflow
New developers: README, Architecture, then SETUP_QUICK_START.md. Patterns: DEVELOPMENT_QUICK_REFERENCE.md, UI_UX_STANDARDS.md, SPACING_AND_UX_STANDARDS.md. Daily: DEVELOPMENT_QUICK_REFERENCE.md, CODE_REVIEW_PROCESS.md. Before commit: run review, verify PWA and nav per their checklists.Documentation Maintenance
Last Major Update: 2025-12-31 Recent consolidations and improvements (2025-01-27 to 2025-01-28):- ✅ Archived review/analysis files (13 files → archive)
- All DEVELOPMENT_DOCS_* review/analysis files
- CONSOLIDATION_ACTION_PLAN.md (plan implemented)
- settings-page-pattern.md (consolidated)
- ✅ Moved module-specific docs to appropriate locations (4 files)
- ✅ Consolidated spacing documentation (2 files → 1)
- ✅ Consolidated code review documentation (3 files → 1)
- ✅ Consolidated settings pattern files (2 files → 1)
- ✅ Created DEVELOPMENT_QUICK_REFERENCE.md for daily use
- ✅ Created SETUP_QUICK_START.md for onboarding
- ✅ Created NAVIGATION_GUIDE_INDEX.md for navigation documentation
- ✅ Created guides: TROUBLESHOOTING_GUIDE.md,
- DATABASE_DEVELOPMENT_GUIDE.md
- API_DEVELOPMENT_GUIDE.md
- PERFORMANCE_OPTIMIZATION_GUIDE.md
- ✅ Enhanced README.md with Quick Start and Common Tasks sections
- ✅ Added metadata, TOCs, quick references, and cross-references across all files
- ✅ Fixed broken links and updated references to archived files
- Follow file naming conventions above
- Add entry to relevant section in this README
- Link from main Documentation Hub if needed
- Update “Last Updated” date
Historical Notes
Historical plans and one-off reviews were intentionally removed from active docs navigation to reduce noise. Use Git history for retrieval when needed.Questions? Check the relevant guide above or search the development documentation directory.