Rule Code Quality

Small Functions

Keep functions under 25 lines to maintain readability

functionsreadabilityorganization
CLAUDE.md

Keep functions under 25 lines. Long functions are hard to understand, test, and maintain. Extract logical sections into well-named helper functions.

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

get crystl