Rule Architecture

Clear Layers

Maintain clear architectural layers: routes, services, data

architecturelayersorganization
CLAUDE.md

Maintain clear architectural layers. Routes handle HTTP, services handle business logic, repositories handle data access. Each layer only calls the layer directly below it.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl