Repos, branches, and pull requests
Who this is for
Section titled “Who this is for”Everyone who changes code.
When to use it
Section titled “When to use it”When you branch, commit, or open a pull request.
- Must: All production changes go through a pull request. Do not push straight to the default branch.
- Must: The PR description links the ticket and says how to test.
- Must: Do not commit secrets, credentials, or client dumps. If you did, rotate them and treat it as something wrong.
- Should: One PR, one outcome. Split unrelated work.
- Should: Keep the default branch shippable. Do not merge known-broken builds.
- Team decides: Branch names and whether you squash-merge. Write the choice in the repo README.
What good looks like
Section titled “What good looks like”A reviewer can open the PR, find the ticket, run the test notes, and understand the change without asking the author to narrate it live.
What to do
Section titled “What to do”- Create a branch from the current default branch.
- Commit in small steps that still build.
- Open the PR with ticket link and test notes.
- Wait for code review and a green check from CI when CI exists.
- Merge only when review and required checks pass.