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).
fullstack ruleP2universalStack: universal
pr-hygienescopereview
Keep unrelated changes out of the current PR
Don't include changes that belong to another PR/task; keep each PR scoped to its own concern so reviewers aren't re-reviewing work from elsewhere.
PR: hegnar-forum-web · org-mining-hist-2026-06Created: Jun 20, 2026
Bad example
Old codetext
| 1 | // PR for feature A also edits ForumBreadcrumbs which belongs to feature B's PR |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetext
| 1 | // keep feature A's diff limited to feature A; move the breadcrumb change to its own PR |
Explanation (EN)
Objašnjenje (HR)