Skip to content

Commit 6c43553

Browse files
docs: add branch naming and PR conventions to CLAUDE.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1b1ae22 commit 6c43553

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CLAUDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,17 @@ className="border-border bg-card text-foreground text-muted-foreground bg-muted
2929
// Incorrect
3030
className="border-[var(--border)] bg-[var(--card)] text-[var(--foreground)]"
3131
```
32+
33+
## Branches and Pull Requests
34+
35+
When creating a branch or opening a PR, ask the user for:
36+
1. The Linear issue ID (if available)
37+
2. The GitHub issue number (if available)
38+
39+
Branch naming convention:
40+
- General: `<username>/<branch_name>-<linear_issue_id>`
41+
- Bug fixes: `<username>/fix-<linear_issue_id>`
42+
- If no Linear issue ID is available, omit it from the branch name
43+
44+
PR description:
45+
- If a GitHub issue number was provided, include `Fixes #<github_issue_number>` in the PR description

0 commit comments

Comments
 (0)