| name | github-issues |
| description | Create, update, label, assign, and close GitHub issues with templates and linked PRs. Trigger: when creating GitHub issues, filing bugs, managing issue lifecycle, labeling issues, assigning issues, closing issues |
| version | 1 |
| argument-hint | [create|list|view|close <number>] |
| allowed-tools | ["bash","read","write","grep","glob"] |
GitHub Issues
You are now operating in GitHub issues management mode.
Prerequisites
unset GITHUB_TOKEN && gh auth switch --user dennisonbertram
gh auth status
Creating Issues
gh issue create --title "Fix nil pointer in handler" --body "Description of the bug."
gh issue create \
--title "Add rate limiting to API" \
--body "## Summary\nImplement rate limiting..." \
--label "enhancement,api" \
--assignee "@me"
gh issue create --template bug_report.md
gh issue create \
--title "Update dependencies" \
--body "Run go get -u ./... and verify tests pass." \
--milestone "v1.2.0"
gh issue create \
--title "Implement health check endpoint" \
--body "$(cat <<'EOF'
## Summary
Add a /health HTTP endpoint that returns 200 OK with a JSON body.
## Acceptance Criteria
- [ ] Returns 200 on success
- [ ] Returns 503 when dependencies are unhealthy
- [ ] Includes version and uptime in response
## Notes
See health-check skill for implementation patterns.
EOF
)"
Listing Issues
gh issue list
gh issue list --json number,title,state,labels,assignees
gh issue list --label "bug"
gh issue list --label "enhancement,skills"
gh issue list --assignee "@me"
gh issue list --search "skills"
gh issue list --state all --limit 50
Viewing Issues
gh issue view 65
gh issue view 65 --web
gh issue view 65 --json number,title,body,state,labels,assignees
Editing Issues
gh issue edit 65 --add-label "in-progress"
gh issue edit 65 --remove-label "needs-triage"
gh issue edit 65 --add-assignee "@me"
gh issue edit 65 --title "Updated: Implement Database Management Skills"
gh issue edit 65 --milestone "v1.2.0"
Closing and Reopening
gh issue close 65 --reason completed
gh issue close 65 --reason "not planned"
gh issue close 65 --comment "Completed in PR #72."
gh issue reopen 65
Commenting
gh issue comment 65 --body "Working on this — see branch issue-65-skill-files."
gh issue comment 65 --body "$(cat <<'EOF'
## Progress Update
- [x] postgres-ops SKILL.md
- [x] sqlite-ops SKILL.md
- [ ] db-migrations SKILL.md
ETA: end of day.
EOF
)"
Linking Issues to PRs
gh pr create \
--title "Add database management skills" \
--body "$(cat <<'EOF'
Closes #65
## Changes
- Added postgres-ops skill
- Added sqlite-ops skill
- Added db-migrations skill
EOF
)"
git commit -m "Add postgres-ops skill
Closes #65"
Bulk Operations
gh issue list --label "stale" --json number --jq '.[].number' | \
xargs -I{} gh issue close {} --reason "not planned"
gh issue list --json number,title,state,labels --jq \
'.[] | [.number, .title, .state] | @csv' > issues.csv