Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
backend ruleP2universalStack: TypeScript
namingproject-structureconventionsreadability
Avoid generic folder and module names
Name folders and modules after their role (e.g. helpers, services) rather than vague labels like "class" or "admin-tool"; generic names hide what lives inside.
PR: vinify-backend · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codetext
| 1 | apps/src/class/import-status-handler.ts |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetext
| 1 | apps/src/helpers/import-status-handler.ts |
Explanation (EN)
Objašnjenje (HR)