Rule Code Quality

No Premature Abstraction

Don't create abstractions until you have three concrete use cases

abstractiondesignsimplicity
CLAUDE.md

Don’t create abstractions until you have three concrete use cases. Three similar lines of code is better than a premature abstraction. Wait for the pattern to emerge before generalizing.

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

get crystl