# Backend Implementation Prompt Template Use this prompt structure for backend development: ``` Read features/INDEX.md and the feature spec at features/PROJ-X-feature-name.md. Implement the backend components. Focus on: - API endpoints (create, read, update, delete) - Database queries (SQL, migrations) - Business logic (validation, error handling) - Authentication/Authorization if needed - Rate limiting and security headers Write tests in the appropriate tests/ directory. Follow the coding rules in .opencode/rules/ or .codex/config/project.md. ``` Example: ``` exec "Read features/PROJ-1-login.md. Implement the login API: POST /auth/login endpoint, password verification, JWT generation. Add migration for users table. Write PHPUnit tests." ```