---
paths:
  - "src/**"
  - "app/**"
  - "api/**"
  - "server/**"
  - "*.php"
  - "*.py"
  - "*.js"
---

# Backend rules

- Prefer readability over clever code.
- Avoid mixing unrelated responsibilities in the same file.
- Keep validation and error handling explicit.
- Preserve existing architecture unless change is requested.