Version: 1.0.0Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Last Updated: 2025-01-27
Status: Active
Target Audience: Developers Quick setup checklists for first-time developers and environment verification.
First-Time Developer Onboarding
Step 1: Clone & Install
Step 2: Environment Setup
-
Copy environment template:
-
Get Supabase credentials:
- Go to Supabase Dashboard → Settings → API
- Copy Project URL →
VITE_SUPABASE_URL - Copy anon public key →
VITE_SUPABASE_PUBLISHABLE_KEY
-
Add to
.env.local: -
Verify setup:
- Should start dev server without errors
- Should connect to Supabase successfully
Step 3: PWA Setup Verification
-
Check icons exist:
Should show:
pwa-64x64.png,pwa-192x192.png,pwa-512x512.png,favicon.ico -
Verify PWA configuration:
- Check
vite.config.tshasVitePWAplugin configured - Check
index.htmlhas manifest link and theme-color meta tag
- Check
-
Test PWA features:
- Open browser DevTools → Application → Service Workers
- Should see service worker registered
- Check Application → Manifest for PWA manifest
Step 4: CodeRabbit Setup
-
Install CodeRabbit CLI:
-
Authenticate:
-
Verify setup:
Should show: ✅ All checks passed
-
Test review:
Should run review without errors
Step 5: Recommended IDE Extensions
These extensions are recommended for all developers using Cursor or VS Code:| Extension | Marketplace ID | Purpose |
|---|---|---|
| Fallow | fallow-rs.fallow-vscode | Inline dead-code detection, duplication insights, and complexity hotspots. |
- Open Extensions panel (
Ctrl+Shift+X/Cmd+Shift+X) - Search for
fallow-rs.fallow-vscode - Click Install
- Hover over any export to see how many places import it
- Imports and Exports tree views for navigating module usage
- Inline diagnostics for unused files, exports, and dependencies
- Circular dependency detection
.cursor/mcp.json. Restart Cursor after installing to activate both the extension and the MCP server.
Step 6: Verify Development Environment
Environment Variables Quick Checklist
Required Variables
-
VITE_SUPABASE_URL- Supabase project URL -
VITE_SUPABASE_PUBLISHABLE_KEY- Supabase anon public key
Development/Testing Variables (Optional)
-
SUPABASE_SERVICE_ROLE_KEY- For testing only (never commit)
Verification
PWA Setup Quick Checklist
Icons
-
favicon.icoexists inpublic/ -
pwa-64x64.pngexists -
pwa-192x192.pngexists -
pwa-512x512.pngexists -
maskable-icon-512x512.pngexists -
apple-touch-icon-180x180.pngexists
Configuration
-
vite.config.tshasVitePWAplugin configured -
index.htmlhas manifest link -
index.htmlhas theme-color meta tag (#234d72) - Service worker registers on page load
Testing
- Dev server starts without PWA errors
- Service worker appears in DevTools → Application → Service Workers
- Manifest appears in DevTools → Application → Manifest
- Icons display correctly in browser tab
- PWA install prompt appears (if supported)
IDE Extensions Quick Checklist
Recommended Extensions
- Fallow (
fallow-rs.fallow-vscode) installed — inline dead-code diagnostics and module graph navigation
Verification
- After installing Fallow extension: run
npx fallow dead-codein the workspace and verify diagnostics appear in-editor - Restart Cursor to activate the Fallow MCP server (configured in
.cursor/mcp.json)
CodeRabbit Setup Quick Checklist
Installation
- CodeRabbit CLI installed globally
- Authenticated with
coderabbit auth login - Convenience aliases configured (if using)
Verification
- Run
bash docs/development/verify-coderabbit-setup.sh- all checks pass - Run
cr-uncommitted- review completes successfully - Run
cr-lovable- markdown report generates
Common Commands
-
cr-uncommitted- Review uncommitted changes -
cr-review- Full review -
cr-lovable- Generate markdown report by severity
See: CODERABBIT_GUIDE.md for complete setup
Troubleshooting Common Issues
Environment Variables Not Loading
Problem:Missing environment variable errors
Solution:
- Ensure
.env.localexists (not.env) - Check variable names start with
VITE_for client-side access - Restart dev server after changing
.env.local
PWA Icons Missing
Problem: Icons not displaying or service worker errors Solution:- Regenerate icons:
npx pwa-assets-generator public/icon-512-gold-512x512.png --preset minimal - Check
vite.config.tsPWA plugin configuration - Clear browser cache and service worker
CodeRabbit Not Working
Problem:cr command not found or authentication errors
Solution:
- Reinstall CLI:
npm install -g @coderabbitai/cli - Re-authenticate:
coderabbit auth login - Check shell configuration (reload
.bashrcor.zshrc)
Build Errors
Problem:npm run build fails
Solution:
- Reinstall dependencies with lockfile parity:
npm ci --legacy-peer-deps - Clear build cache:
rm -rf dist .vite - Check for TypeScript errors:
npm run typecheck
Next Steps
After completing setup:-
Read Core Documentation:
- README.md - Project overview
- AGENTS.md - AI agent instructions
- constitution.md - Engineering guardrails
-
Review Development Guides:
- DEVELOPMENT_QUICK_REFERENCE.md - Common patterns and gotchas
- UI_UX_STANDARDS.md - UI/UX standards
- mobile-navigation-guide.md - Mobile navigation patterns
-
Start Developing:
- Create feature branch:
git checkout -b feature/your-feature - Follow CODE_REVIEW_PROCESS.md for review workflow
- Reference DEVELOPMENT_QUICK_REFERENCE.md for common patterns
- Create feature branch:
Quick Links
- DEVELOPMENT_QUICK_REFERENCE.md - Common commands and patterns
- ENVIRONMENT_VARIABLES.md - Complete environment guide
- PWA_SETUP.md - Complete PWA guide
- CODERABBIT_GUIDE.md - Complete CodeRabbit guide
- MCP_USAGE.md - MCP server usage guide (Fallow, Supabase, Context7)
- README.md - Development documentation index