Skip to content

Commit 6a38807

Browse files
georgeolaruclaude
andcommitted
Document issue-tracking workflow in CLAUDE.md
Add mandatory workflow: create issue, assign to milestone, commit referencing issue, close after push. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1d8070f commit 6a38807

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CLAUDE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,25 @@ Four registered menus: `primary`, `secondary`, `tertiary`, `search-suggestions`.
156156

157157
Template overrides in `woocommerce/`, dedicated styles in `src/scss/woocommerce/`, and scripts in `src/js/woocommerce.js`.
158158

159+
## Workflow: Fixes and Improvements
160+
161+
For every fix or improvement:
162+
163+
1. **Create a GitHub issue** describing the problem and proposed fix
164+
2. **Assign to the latest open milestone** (or create a new one if none exists)
165+
3. **Commit referencing the issue** — use `(#NNN)` in the commit message
166+
4. **Close the issue** after the fix is pushed — `gh issue close NNN -r completed`
167+
168+
```bash
169+
# Example workflow
170+
gh issue create --title "Fix XSS in widget output" --milestone "2.0.13" --label "[Type] Bug"
171+
# ... apply fix ...
172+
git add inc/widgets.php
173+
git commit -m "Fix XSS in widget output (#NNN)"
174+
git push origin main
175+
gh issue close NNN -r completed
176+
```
177+
159178
## Version Bump Checklist
160179

161180
When changing the version, update:

0 commit comments

Comments
 (0)