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: general
processpull-requestsdraftcode-review
Open work-in-progress changes as a draft PR
If a PR isn't ready for review, mark it as draft (or don't open it yet) so reviewers don't spend time on incomplete code.
PR: hegnar-forum-web · org-mining-3rd-2026-06Created: Jun 18, 2026
Bad example
Old codebash
| 1 | # Opens a normal PR and requests review while still actively coding |
Explanation (EN)
Objašnjenje (HR)
Good example
New codebash
| 1 | gh pr create --draft # mark as draft until it's ready for review |
Explanation (EN)
Objašnjenje (HR)