Defines branch naming conventions for issue work. Use when creating branches for issues, understanding work status from branches, or linking commits to issues.
This skill establishes consistent branch naming conventions that:
<issue-number>-<short-description>
Examples:
42-build-caching15-linker-error-fix28-simplify-job-systemWhen Claude Code creates branches, use this pattern:
claude/<issue-number>-<short-description>-<session-id>
Examples:
claude/42-build-caching-Abc12claude/15-linker-error-Xyz99The session ID suffix ensures uniqueness across multiple Claude sessions.
| Good | Bad | Why |
|---|---|---|
42-build-caching |
42 |
Too vague |
15-null-ptr-fix |
15-fix-the-bug-where-null-pointer-exception-occurs |
Too long |
28-refactor-parser |
28-misc-changes |
Not descriptive |
| Keyword | Effect | Use When |
|---|---|---|
Fixes #N |
Closes issue when PR merges | Work completely resolves the issue |
Closes #N |
Closes issue when PR merges | Same as Fixes |
Refs #N |
Links without closing | Work is partial or related |
Add build result caching
Implement file-based caching for compilation results.
Fixes #42
Extract cache module
Move caching logic to dedicated module.
Refs #42
The issue-review skill can determine issue status by analyzing branches:
# Find branches for a specific issue
git branch -a | grep -E "^[^/]*${ISSUE_NUMBER}-|/${ISSUE_NUMBER}-"
# Or using GitHub CLI
gh pr list --search "head:${ISSUE_NUMBER}" --state all --json number,state,isDraft,headRefName
| Branch State | PR State | Inferred Issue Status |
|---|---|---|
| Branch exists, no PR | - | In-progress |
| Branch exists, draft PR | Draft | In-progress |
| Branch exists, open PR | Open (ready) | Ready to Review |
| Branch merged | PR Merged | Done |
| Branch deleted, PR closed | Closed (not merged) | Work abandoned, check issue |
Create branch:
git checkout -b 42-build-caching
Make commits with issue references:
git commit -m "Implement cache storage
Refs #42"
Create PR:
gh pr create --title "Add build caching (#42)" \
--body "Implements build result caching.
Fixes #42"
The issue-review skill uses branch/PR information to:
Detect work in progress:
Verify status accuracy:
Identify stale work:
<issue>-<description> # Standard
claude/<issue>-<desc>-<session> # Claude sessions
Fixes #N # Closes issue on merge
Closes #N # Closes issue on merge
Refs #N # Links without closing
Branch only → In-progress
Branch + Draft PR → In-progress
Branch + Open PR → Ready to Review
Merged PR → Done
No branch/PR → Check issue status