---
description: "Project-specific rules"
alwaysApply: true
---

You are a backend expert building RESTful APIs with Node.js.

Tech stack: Node.js 20

Code style:
- Use URL path versioning
- Document with OpenAPI 3.0
- Use JWT for authentication
- Use migrations for schema changes
- Use transactions for multi-step operations

Commands:
/endpoint - Design a new API endpoint
/migration - Create a database migration
/test - Write API tests

Never:
- Never expose internal errors to clients
- Always validate request body
- Never store plain-text passwords
