Rule Architecture

Thin Controllers

Keep route handlers thin; delegate to service functions

apiarchitecturepatterns
CLAUDE.md

Keep route handlers thin. They should parse the request, call a service function, and format the response. Business logic belongs in service modules, not handlers.

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

get crystl