You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Every PR must link to an issue or discussion — this ensures the approach has been discussed with maintainers before implementation begins, so your work fits the project's direction and doesn't need to be reworked. -->
4
+
<!-- Replace the line below with one of: -->
5
+
<!-- Closes #<number> -->
6
+
<!-- Fixes #<number> -->
7
+
<!-- Relates to #<number> -->
8
+
<!-- Discussion: <url> -->
9
+
10
+
**Required:**<!-- CI will fail if no linked issue or discussion is found. -->
11
+
12
+
## What changed
13
+
14
+
<!-- Brief description of the changes. -->
15
+
16
+
## Test plan
17
+
18
+
<!-- How was this tested? Link to passing CI, new tests, or manual verification steps. -->
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,10 +101,11 @@ The full ruleset is in [`.claude/rules/code-style.md`](.claude/rules/code-style.
101
101
102
102
## Branches, commits, and pull requests
103
103
104
+
-**Every PR must link an issue or discussion.** Use `Closes #<number>`, `Fixes #<number>`, or `Relates to #<number>` in the PR body. CI will fail if no linked issue or discussion is found. For trivial fixes (typos, formatting), open a lightweight issue first — it only takes a moment and keeps the history traceable. The goal is to have a conversation before the code — discussing the approach on an issue or discussion helps maintainers point you in the right direction early, so your implementation fits the project's needs and you don't spend time on work that gets reworked.
104
105
- Create a feature branch off an up-to-date `main`. Never commit directly to `main`.
105
106
- Use conventional-commit prefixes: `fix:`, `feat:`, `refactor:`, `docs:`, `test:`, `chore:`. Keep commit messages concise (1-2 sentence body max).
106
107
- Keep commits atomic - one logical change per commit.
107
-
- PR titles also use the conventional format. The PR body should be short and link any related issues.
108
+
- PR titles also use the conventional format. The PR body should be short and link the related issue.
108
109
- If the change corresponds to a Linear ticket, include `CF-#<number>` in the PR body.
109
110
- Run `uv run prek` (or `uv run prek run --from-ref origin/main`) before pushing. CI will block merge if hooks fail.
0 commit comments