Skip to content

Commit 6fae370

Browse files
docs: add branch/commit/push/PR steps to Bug Fix Workflow
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 190d85b commit 6fae370

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ When fixing bugs, always follow Test-Driven Development:
164164
3. **Implement the fix** - Make the minimal code change to fix the issue
165165
4. **Verify the test passes** - Run the test again to confirm the fix works
166166
5. **Run full test suite** - Ensure no regressions with `yarn test:ci`
167+
6. **Create a branch** - `git checkout -b fix/descriptive-branch-name`
168+
7. **Commit the fix** - Use a descriptive commit message referencing the issue (e.g., `fix: description of fix\n\nFixes #123`)
169+
8. **Push the branch** - `git push -u origin fix/descriptive-branch-name`
170+
9. **Create a PR** - Use `gh pr create` with a clear title and description that references the issue
171+
10. **Return to main** - `git checkout main` to prepare for the next task
167172

168173
This ensures every bug fix has regression coverage and documents the expected behavior.
169174

0 commit comments

Comments
 (0)