Stateless Services
Keep service functions stateless when possible
CLAUDE.md
Keep service functions stateless when possible. Pass all required data as arguments rather than storing it in module-level variables. Stateless code is easier to test and scale.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.