Awesome Reviewers

When code behavior or links depend on environment variables, feature flags, or user preferences, follow these rules:

1) Centralize env-aware URL building

2) Separate environment config from account identity

3) Don’t duplicate account actions across unrelated settings

4) Feature flags gate availability, not correctness

5) Respect user/environment preferences for UI behavior

Example (preference resolution with override precedence):

const prefersReduced = window.matchMedia?.('(prefers-reduced-motion: reduce)')?.matches;
const behavior = props.behavior ?? (prefersReduced ? 'auto' : 'smooth');

Apply this standard anywhere you wire environment-specific URLs, feature-flagged commands, or preference-sensitive UI behavior.