Rule Code Quality

No Magic Numbers

Replace magic numbers and strings with named constants

readabilityconstantsclarity
CLAUDE.md

Replace magic numbers and strings with named constants. Every literal value that isn’t immediately obvious should have a descriptive name that explains its purpose.

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

get crystl