/github-project-skills:gh-issue-managementfrom github-project-skills
Manages GitHub issues end-to-end: create, update, close, list, search, comment, and handle sub-issue hierarchies via gh CLI and API.
Ships in github-project-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Consolidates all issue-related operations into a single, token-efficient skill. This reduces context overhead and enables multi-action workflows in fewer turns.
gh-verifying-context has been run and confirmed by the user.Creates an issue and sets labels, assignees, and projects in one step.
Command:
gh issue create --title "Title" --body "Description" --label "bug,triage" --assignee "@me" --project "Roadmap"
Refines an existing issue's title, body, and associations.
Command:
gh issue edit <issue-number> --title "New Title" --body "New Body" --add-label "bug" --remove-label "needs-investigation" --add-assignee "@me" --milestone "v1.0"
Retrieves issues based on state, labels, or keywords.
Command:
# List open bugs
gh issue list --state open --label "bug" --json number,title,updatedAt
# Search across repositories for unprojected issues
gh search issues --no-project --state open --json number,title,repository
Comments on, closes, or transfers issues.
Command:
# Post a comment
gh issue comment <issue-number> --body "Implementation finished."
# Close with reason
gh issue close <issue-number> --reason "completed"
Manages parent-child relationships between issues. Since sub-issues are not yet first-class flags in gh issue commands, these operations use gh api directly.
ID Disambiguation: Sub-issue API calls require the database ID (an internal integer), not the issue number shown in the UI. Retrieve it with:
gh issue view <issue-number> --json id --jq '.id'
Commands:
# List sub-issues of a parent
gh api /repos/{owner}/{repo}/issues/{issue_number}/sub_issues
# Add an existing issue as a sub-issue
gh api --method POST /repos/{owner}/{repo}/issues/{parent_number}/sub_issues \
-F sub_issue_id={sub_issue_id}
# Remove a sub-issue from its parent
gh api --method DELETE /repos/{owner}/{repo}/issues/{parent_number}/sub_issue \
-F sub_issue_id={sub_issue_id}
# Reprioritize a sub-issue within the parent's list
gh api --method PATCH /repos/{owner}/{repo}/issues/{parent_number}/sub_issues/priority \
-F sub_issue_id={sub_issue_id} \
-F after_id={after_id}
See references/commands.md for the full action reference table, sub-issues API endpoints, and list of state-changing commands that require approval.
Always prefer --json for structured data when listing or viewing. Use jq for extraction if needed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/gh-linking-branches-to-issuesCreates and links a development branch to an issue. Use to start implementation work./gh-project-managementComprehensive management of GitHub Projects (v2). Use to list projects, view items, add items, update fields, and manage project structure in a single skill./gh-set-active-projectSets the active GitHub project and repository context by writing a repo-level config file at .github/project-config.json. Run once per repository to eliminate repeated context verification prompts and share the context with all team members via git. All subsequent agent sessions will auto-verify silently against this config./gh-verifying-contextVerifies the current GitHub authentication status and git remote against the repo-level config at .github/project-config.json. Proceeds silently when the environment matches the config. Alerts only when a mismatch is detected or no config exists. Use at the start of every session.npx claudepluginhub yu-iskw/github-project-skills --plugin github-project-skillsOther plugins' skills for the same job