No Business Logic in Routes
Keep route handlers free of business logic
CLAUDE.md
Keep business logic out of route handlers. Routes should parse input, call a service function, and format the response. Business rules in route handlers can’t be reused or tested independently.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.