Cursor Cheat Sheet
Purpose: This page serves as the definitive reference for AI assistants working on the Reformer Platform. It contains all credentials, permissions, architecture details, and project knowledge so assistants never need to ask for information they already have access to.
🚨 CRITICAL DIRECTIVE
NEVER ask the user for credentials, API keys, or access that is already documented here or accessible via tools. You have access to:
- All Render environment variables via Render MCP
- All ClickUp credentials and list IDs
- All integration credentials documented below
- Database access via Render MCP
- All deployment configurations
ALWAYS: Search this documentation first, use available MCP tools, check codebase documentation. ONLY ask if information is truly missing and not documented anywhere.
🔐 Credentials & Access
⚠️ SECURITY NOTE: API keys and credentials are stored in Render environment variables. Never commit actual keys to documentation or code.
ClickUp
- API Key: Stored in Render as
CLICKUP_API_KEY(see environment variables) - Workspace ID:
9017263897 - Spaces:
- Sales:
90171436100 - Platform:
90171436129 - Clients:
90171436125
- Sales:
- Lists:
- Bugs:
901705974520 - Features:
901705974536 - DevOps:
901705974542 - Leads:
901705974477 - Follow-ups:
901705974488 - Proposals:
901705974503
- Bugs:
Render.com
- MCP Access: Fully configured - use
mcp_Render_*tools - Production Service ID:
srv-d3g5ve95pdvs73e81jlg - All Environment Variables: Accessible via Render MCP tools
- Dashboard: https://dashboard.render.com/web/srv-d3g5ve95pdvs73e81jlg
Database (Supabase PostgreSQL)
- Connection: Available via
DATABASE_URLin Render env vars - Access: Query via Render MCP or backend API
- Location:
aws-1-us-west-1.pooler.supabase.com:6543
Integration Credentials
All stored in Render environment variables (accessible via MCP):
| Service | Env Var | Status |
|---|---|---|
| Stripe | STRIPE_WEBHOOK_SECRET, Stripe_Reformer_Product_Mgmt | ✅ Configured |
| Close CRM | CLOSE_API_KEY | ✅ Configured |
| Dropbox | DROPBOX_ACCESS_TOKEN | ✅ Configured |
| Slack | SLACK_WEBHOOK_URL | ✅ Configured |
| ClickUp | CLICKUP_API_KEY | ✅ Configured |
| Intercom | INTERCOM_ACCESS_TOKEN | ✅ Configured |
| Resend | RESEND_API_KEY | ✅ Configured (Primary email service) |
| Cal.com | CAL_CLIENT_ID, CAL_CLIENT_SECRET | ✅ Configured |
| Vimeo | Database (integrations table) | ✅ Configured |
| Spotify | Database (spotify_tokens table) | ✅ Configured |
| Hunter | HUNTER_API_KEY | ✅ Configured |
| Pirsch | Database or PIRSCH_ACCESS_KEY | ✅ Configured |
| PageSpeed | PAGESPEED_API_KEY | ✅ Configured (optional) |
| Firecrawl | FIRECRAWL_API_KEY | ✅ Configured |
| Render | RENDER_API_KEY | ✅ Configured (External MCP) |
🏗️ Architecture Quick Reference
Project Structure
/Users/greenmachine/cursor-projects/
├── reformer-platform/ # Backend API (Node.js/Express)
├── dashboard/ # Frontend (React/Vite)
├── docs-site/ # Documentation (Docusaurus)
└── archive/ # Archived documentation
Deployment URLs
- Backend API: https://reformer-platform.onrender.com
- Admin Dashboard: https://dash.reformer.la
- Client Dashboard: https://my.reformer.la
- Documentation: https://developers.reformer.la
- Marketing Site: https://reformer.la
Key Files
- Backend Server:
reformer-platform/src/server.js - Automation Orchestrator:
reformer-platform/services/automation-orchestrator.js - Admin Dashboard:
dashboard/src/pages/AdminClientDashboard.jsx - API Routes:
reformer-platform/src/api/*.js - Services:
reformer-platform/services/*.js
🔄 Common Workflows
EOD (End of Day)
- Collect today's work (git commits, file changes)
- Create status update document
- Update Developer Docs page in dashboard
- Add bugs to ClickUp Bugs list
- Sync roadmap in ClickUp Features list
- Archive old documentation
- Verify database migrations (NEW - Critical)
- Build and deploy docs site (NEW)
- Verify system health
- Confirm completion
Morning Briefing
- Check Render logs for errors (last 12h)
- Review recent deployments
- Check ClickUp for new tasks
- Reference developers.reformer.la for latest context (NEW)
- Generate briefing with:
- Completed yesterday
- Top 3 roadmap items (dependency order)
- Quick wins
- Issues
- System health
- Recommendation
Testing Protocol
Before reporting "done":
- Check linter errors (
read_lints) - Verify database migrations (
npm run db:verify) - Test API endpoints with curl
- Query database to verify data changes
- Check logs for errors
- Verify integrations are receiving data
Database Migrations
- Automatic: Migrations run on every server startup
- Manual:
npm run db:migrateto run migrations - Verify:
npm run db:verifyto check schema - Check:
npm run db:checkto check and fix database - Critical: Migrations are part of the build process - never skip them in production
📋 Integration Patterns
Adding a New Integration
- Create service file:
reformer-platform/services/[name]-service.js - Add credentials to
integrationstable - Add API endpoints in
reformer-platform/src/server.js - Update
automation-orchestrator.jsif needed - Add to dashboard UI if client-facing
- Document in
docs-site/docs/integrations/[name].mdx - Update
docs-site/docs/integrations/index.mdx
Environment Detection
- Development (localhost) →
http://localhost:10000 - Staging (.pages.dev/staging) → staging API
- Production →
https://reformer-platform.onrender.com
🛠️ Available Tools & MCP Servers
MCP Servers (15 Custom + Render)
15 custom MCP servers provide AI assistants with direct access to all platform services.
Custom MCP Servers
- Supabase MCP - Database access (8 tools)
- Close CRM MCP - Lead management (10 tools)
- Stripe MCP - Payment management (13 tools)
- ClickUp MCP - Task management (11 tools)
- Slack MCP - Team communication (6 tools)
- Cal.com MCP - Calendar management (7 tools)
- Vimeo MCP - Video management (4 tools)
- Dropbox MCP - File management (6 tools)
- Intercom MCP - Customer support (7 tools)
- Resend MCP - Email sending (4 tools)
- Spotify MCP - Playlist management (5 tools)
- Hunter MCP - Email enrichment (5 tools)
- Pirsch MCP - Analytics (4 tools)
- PageSpeed MCP - Performance analysis (2 tools)
- Webflow AI MCP - Website generation (multiple tools)
External MCP Servers
- Render MCP - Deployment and monitoring
- List services, databases, key-value stores
- Get metrics (CPU, memory, HTTP requests)
- Query Postgres databases
- List and read logs
- Update environment variables
- Get service details
Browser Extension MCP
- Navigate, click, type, take screenshots
- Fill forms, handle dialogs
- Evaluate JavaScript
MCP Server Configuration
- Config File:
~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Template:
reformer-platform/mcp-servers/COMPLETE-CURSOR-CONFIG.json - Documentation: See MCP Servers documentation for complete details
- Total: 95+ tools across 15 custom MCP servers + Render MCP
📝 Documentation Standards
When to Document
- ✅ Complex technical processes
- ✅ Architecture decisions
- ✅ API integrations
- ✅ Deployment procedures
- ❌ Trivial tasks (just tell user directly)
Documentation Locations
- Working docs: Root level (
*.md) - Archived docs:
/archive/YYYY-MM-DD/ - Platform code:
/reformer-platform/ - Dashboard:
/dashboard/ - Public docs:
/docs-site/docs/
🚀 Deployment
Backend (Render)
- Auto-deploys on
git push origin main - Manual: Push to GitHub, Render auto-deploys
- Check: https://dashboard.render.com/web/srv-d3g5ve95pdvs73e81jlg
Frontend (Cloudflare Pages)
- Admin:
dash.reformer.la(auto-deploys on push) - Client:
my.reformer.la(auto-deploys on push) - Manual:
npm run build && wrangler pages deploy dist --project-name=[name]
Documentation (Cloudflare Pages)
- Auto-deploys: On git push (if GitHub integration configured)
- Manual:
cd docs-site && npm run deploy:cloudflare - EOD Integration: Automatically builds and deploys during EOD workflow
🐛 Common Issues & Solutions
"Where's the API key?"
→ Check this page first, then Render MCP, then codebase ENV-TEMPLATE.md
"How do I test this?"
→ Use curl, check browser console, verify CORS, test all user flows
"What's the deployment status?"
→ Check Render MCP for service status, check Cloudflare Pages for frontend
"Where's the database?"
→ Supabase PostgreSQL, accessible via DATABASE_URL in Render env vars
📚 Additional Resources
Last Updated: Auto-updated during EOD workflow
Maintained By: EOD automation + AI assistants
Purpose: Eliminate redundant questions, provide instant project context