issues
GitHub issue management using GitHub CLI. Trigger when user wants to list issues ("show open issues"), view issue details ("view issue 456"), create issues ("create an issue", "file a bug"), or edit/close issues ("close issue", "add label to issue").
When & Why to Use This Skill
This Claude skill enables seamless GitHub issue management directly through the GitHub CLI (gh). It empowers developers to list, view, create, and modify issues using natural language commands, significantly streamlining the software development lifecycle (SDLC) and enhancing productivity by eliminating the need to switch between the IDE, terminal, and browser.
Use Cases
- 1. Rapid Bug Reporting: Instantly file detailed bug reports with titles, bodies, and labels as soon as an issue is identified during development or testing.
- 2. Efficient Task Triaging: Quickly list open issues, filter by labels like 'bug' or 'enhancement', and assign them to team members to maintain project momentum.
- 3. Seamless Issue Updates: Update issue statuses, add descriptive labels for better organization, or close resolved tasks directly through chat commands.
- 4. Project Progress Monitoring: View specific issue details and comments to stay informed on task requirements and discussion history without leaving the workflow.
| name | issues |
|---|---|
| description | GitHub issue management using GitHub CLI. Trigger when user wants to list issues ("show open issues"), view issue details ("view issue 456"), create issues ("create an issue", "file a bug"), or edit/close issues ("close issue", "add label to issue"). |
Issue Management
Manage GitHub issues with the gh CLI.
Prerequisites
GitHub CLI must be installed and authenticated:
gh auth status
Quick Reference
gh issue list # List open issues
gh issue view 456 # View issue details
gh issue create --title "Bug" # Create issue
gh issue close 456 # Close issue
List Issues
gh issue list
gh issue list --state open
gh issue list --label bug
gh issue list --assignee @me
gh issue list --state all --limit 50
View Issue
gh issue view 456
gh issue view 456 --json title,body,labels,state
Create Issue
gh issue create --title "Bug report" --body "Details"
gh issue create --label bug --assignee @me
gh issue create --title "Feature" --label enhancement
Edit Issue
gh issue edit 456 --title "Updated title"
gh issue edit 456 --add-label "needs-review"
gh issue edit 456 --remove-label "in-progress"
gh issue edit 456 --add-assignee @me
Close and Reopen
gh issue close 456
gh issue close 456 --reason "not planned"
gh issue reopen 456