GitHub Issue Development Workflow
This skill defines the systematic process for working through GitHub issues.
Priority Order
- •Bug issues (lowest number first)
- •Enhancement issues (lowest number first)
- •Documentation issues (lowest number first)
Issue Classification
All issues must have at least one primary label:
| Label | When to Apply |
|---|---|
bug | Something is broken, incorrect, or failing |
enhancement | New feature or improvement request |
documentation | Docs, README, comments, guides |
Dependency Handling
Before starting an issue, check for dependencies:
markdown
## Parent Issue Part of #123 ## Blocked By - #456 (must complete first) ## Dependencies - Requires #789 to be merged
If dependencies exist and are open:
- •Work on the dependency first
- •Complete and merge the dependency PR
- •Return to the original issue
Git Worktree Strategy
Each issue gets its own worktree for isolation:
bash
# Create worktree git worktree add ../retail-demo-issue-42 -b issue-42-fix-login origin/main # List worktrees git worktree list # Remove after PR merged git worktree remove ../retail-demo-issue-42
Naming Convention
- •Worktree path:
../retail-demo-issue-<number> - •Branch name:
issue-<number>-<short-slug>
Parallelization Rules
- •Multiple worktrees can run in parallel
- •Never parallelize dependent issues
- •Each worktree = independent development environment
Pull Request Requirements
One Issue = One PR
- •Each issue gets exactly one PR
- •PR title follows conventional commit format
- •PR body must include
Closes #<number>orFixes #<number>
PR Template
markdown
## Summary - Brief description of changes ## Test Plan - How to verify the changes work Closes #<issue-number>
CI Validation
PRs must pass all GitHub Actions checks:
bash
# Watch CI status gh pr checks <pr-number> --watch # View failed run logs gh run view <run-id> --log-failed
If CI fails:
- •Analyze the failure
- •Fix in the worktree
- •Commit and push
- •Wait for CI to re-run
- •Repeat until green
Completion Criteria
An issue is complete when:
- •PR is created and linked to issue
- •All CI checks pass
- •Code review approved (if required)
- •PR is merged
- •Issue is automatically closed
Commands Reference
| Command | Purpose |
|---|---|
/work | Start the full workflow |
/work classify | Only classify unlabeled issues |
/work next | Show next issue to work on |
/work 42 | Work on specific issue #42 |
/work status | Show active worktrees |