# Backend Prompt Template Use this prompt structure with Codex: ``` Read the feature spec Tech Design section at features/PROJ-X-feature-name.md. Check existing APIs: ls src/app/api/ Check Supabase schema: cat src/lib/supabase.ts [Describe what to build] Implementation rules: - Use Supabase client from src/lib/supabase.ts - Create API routes in src/app/api/[entity]/ - Follow existing patterns for route structure - Add RLS policies for new tables - Write tests for all endpoints - Run: npm test after implementation ```