Centralize shared logic (auth, database clients, formatters) in a lib/ directory to avoid duplication.
Why This Matters
Scattered utility functions lead to duplication and inconsistent implementations across the codebase.
Tags
nextjssupabase
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 2+ others. Get actionable feedback before code ships.