Rule Backend

Environment-Specific Config

Use configuration objects, not if/else blocks for environments

backendconfigurationenvironments
CLAUDE.md

Use environment-specific configuration objects, not if (env === 'production') blocks scattered through code. Load the right config at startup based on the environment variable.

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

get crystl