j5ik2o-gh-issue-organizer
Installation
SKILL.md
GitHub Issue Organizer
Systematically inventory, classify, and organize open GitHub Issues.
Workflow
Run the following five steps in order.
Step 1: Understand the Current State
Use the gh CLI to fetch every open issue and summarize the current backlog.
Complete retrieval guarantee:
gh issue list --limitis an upper bound, and the default limit is 30. Open issues beyond the limit are silently omitted. Do not let counting or retrieval stop at the default limit.
- Count issues with a sufficiently high limit:
gh issue list --state open --limit 100000 --json number --jq 'length'.- Fetch all issues with a limit at least as large as the actual issue count. For large repositories, use
gh api --paginate "repos/{owner}/{repo}/issues?state=open&per_page=100" | jq -s 'add | [.[] | select(.pull_request | not)]'.--paginateemits one JSON array per page, so applying--jqpage by page splits the result. Usejq -s 'add'to combine all pages first, then remove PRs returned by the Issues endpoint by excluding entries with.pull_request.
# Fetch all open issues with labels, author, and timestamps. Set --limit above the open issue count.
gh issue list --state open --limit 1000 --json number,title,labels,author,createdAt,updatedAt,body