Rule Code Quality

Single Responsibility Functions

Each function should do exactly one thing

functionsclaritydesign
CLAUDE.md

Each function should do one thing. If you need the word ‘and’ to describe what a function does, split it into two functions.

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

get crystl