---
description: "Layered architecture conventions for {{PROJECT_NAME}}"
alwaysApply: true
---

# Layered Architecture — {{PROJECT_NAME}}

## Layers (top → bottom)
```
Presentation  →  Service/BLoC  →  Repository  →  Data Source
```

## Rules
- Dependencies flow downward only — upper layers depend on lower layers
- Each layer communicates via interfaces (abstract classes)
- Data transformations happen at layer boundaries (DTOs → domain models)
{{ARCH_IMPORT_RULES}}
