| name | gh-workflow |
| description | Manage project work via GitHub CLI. Use for ALL GitHub tasks including creating/viewing issues, organizing with milestones, and responding to PR comments. |
GitHub Workflow Skill
Issue Creation Template (MANDATORY)
Every issue created must follow this structure:
Context
Describe WHAT the issue is about and WHY it matters. Never describe HOW to implement it.
Investigation Starting Points
- File/code references that are relevant
- Specific functions, modules, or tests to look at
Scope Constraints
- What is explicitly NOT in scope
- Boundaries to prevent scope creep
Validation
- Testable acceptance criteria
- How to verify the issue is resolved
Organization with Milestones
Issues within a milestone are executed sequentially by issue number (ascending).
Order matters - create issues in the sequence they should be implemented.
gh api repos/{owner}/{repo}/milestones -f title="v0.1" -f description="..."
gh api repos/{owner}/{repo}/milestones --jq '.[] | "\(.title) (\(.open_issues) open)"'
gh issue create --title "..." --body "..." --milestone "v0.1"
gh issue list --milestone "v0.1" --state open --json number,title --jq 'sort_by(.number)'
Core Issue Commands
gh issue list
gh issue list --milestone "v0.1"
gh issue list --state open --json number,title,labels
gh issue view <number> --comments
gh issue create --title "..." --body "..." --label "..." --milestone "..."
gh issue edit <number> --add-label "..." --milestone "..."
gh issue close <number>
PR Commands
gh pr create --title "..." --body "..."
gh pr view <number> --comments
gh pr merge <number> --squash --delete-branch
gh pr comment <number> --body "..."
gh api repos/{owner}/{repo}/pulls/<pr>/comments -f body="..." -F in_reply_to=<comment_id>
gh api repos/{owner}/{repo}/pulls/<pr>/comments