Don't Repeat Yourself
Extract shared logic when you see the same pattern three times
CLAUDE.md
Extract shared logic when you see the same pattern three or more times. Two instances might be coincidence; three is a pattern worth abstracting.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.