No Side Effects
Keep functions pure when possible
CLAUDE.md
Keep functions pure when possible — same inputs should produce the same outputs with no observable side effects. Isolate side effects (I/O, state changes) at the edges of your system.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.