Skip to content

Latest commit

Β 

History

History
29 lines (23 loc) Β· 944 Bytes

File metadata and controls

29 lines (23 loc) Β· 944 Bytes

AGENTS.md β€” Agent Development Guide

For AI Coding Agents (Claude Code, Codex, etc.)

This project is AI-agent friendly. Here's how to work with it:

Project Structure

src/pages/       β†’ Dashboard pages
src/components/  β†’ Shared components
src/lib/         β†’ Supabase client, helpers
supabase/        β†’ Edge functions + migrations
scripts/         β†’ Automation cron scripts

Common Tasks

  1. Add a new dashboard page: Create in src/pages/, add route in App.tsx
  2. Add an edge function: Create in supabase/functions/, deploy with npx supabase functions deploy
  3. Modify email templates: Edit in src/pages/Templates.tsx
  4. Add a new automation: Create script in scripts/, set up cron

Testing

npm run dev      # Local development
npm run build    # Verify production build

Environment

All secrets in .env β€” never hardcode. See .env.example for required vars.