From oxgh
Triages GitHub issues by viewing content, determining and setting project fields (component, priority, size), issue type (Bug/Feature/Task), and milestone.
npx claudepluginhub oxidian/cc-plugins --plugin oxghThis skill is limited to using the following tools:
- Current repo: !`gh repo view --json nameWithOwner --jq '.nameWithOwner'`
Creates GitHub issues via gh CLI/API, sets types (Bug/Feature/Task), links subissues, copies parent milestones/project fields. For repo issue management.
Manages GitHub issues: create/update/read via gh api and MCP tools; supports labels, assignees, types, projects, workflows, dependencies.
Manages GitHub Projects v2 via gh CLI: create/edit/list projects, add issues/PRs as items, manage fields, link repos, automate workflows.
Share bugs, ideas, or general feedback.
gh repo view --json nameWithOwner --jq '.nameWithOwner'To set project fields, you need the project item ID (not the issue number):
gh project item-list {project_number} --owner {owner} --limit 300 --format json | jq '.items[] | select(.content.number == ISSUE_NUMBER) | .id'
gh project item-edit --id {item-id} --project-id {project-id} --field-id {field-id} --single-select-option-id {option-id}
Check if an issue type is set:
gh api repos/{owner}/{repo}/issues/{number} --jq '.type.name // empty'
Set an issue type (only if not already set):
gh api -X PATCH repos/{owner}/{repo}/issues/{number} --field type=Bug
Valid types: Bug, Feature, Task
Find an issue's parent (for sub-issues):
gh api graphql -f query='
{
repository(owner: "{owner}", name: "{repo}") {
issue(number: ISSUE_NUMBER) {
parent {
number
title
}
}
}
}'
Get the parent's project fields (to copy them):
gh project item-list {project_number} --owner {owner} --limit 300 --format json | jq '.items[] | select(.content.number == PARENT_NUMBER)'
Check current milestone:
gh api repos/{owner}/{repo}/issues/{number} --jq '.milestone.title // empty'
Set a milestone (use the milestone number, not title):
gh api -X PATCH repos/{owner}/{repo}/issues/{number} --field milestone={milestone-number}
Based on the user's request:
gh api repos/{owner}/{repo}/issues/{number} --jq '{title, body, type: .type.name}'gh project item-editgh api -X PATCHgh api -X PATCH