Agent skill
gh-listing-issues
Lists GitHub issues with optional filtering. Use when you need to browse open, closed, or specifically labeled issues in a repository.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/gh-listing-issues
SKILL.md
Listing GitHub Issues
Purpose
Provides a standard way to retrieve a list of issues from a repository using the gh issue list command.
1. Safety & Verification
- Repository Context: Ensure you are in a git repository or use the
-R owner/repoflag. - JSON Output: Always prefer
--jsonfor structured data.
2. Common Workflows
Workflow: List Open Issues
Retrieves the most recent open issues with relevant metadata.
Command:
gh issue list --state open --json number,title,labels,updatedAt
Workflow: Filter by Label
Lists issues that have specific labels.
Command:
gh issue list --label "bug,help wanted" --json number,title,state
Workflow: Advanced Search for Sub-issues
Filters issues based on their hierarchical status.
Command:
# List all issues that have sub-issues
gh issue list --search "has:sub-issue" --json number,title
# List all issues that do NOT have a parent (top-level issues)
gh issue list --search "no:parent-issue" --json number,title
3. Output Handling
Use jq to extract specific values if needed for further automation.
Example:
gh issue list --state open --json number --jq '.[].number'
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?