원클릭으로
create-issue
Create a GitHub issue linked to a milestone, team, and optionally a parent issue
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a GitHub issue linked to a milestone, team, and optionally a parent issue
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | create-issue |
| description | Create a GitHub issue linked to a milestone, team, and optionally a parent issue |
| argument-hint | <title> [--milestone <name-or-number>] [--team <name>] [--parent <issue-number>] [--label <label>] |
| disable-model-invocation | true |
Create a GitHub issue in amaralc/explore and link it to a milestone, project team, and optionally a parent issue (sub-issue).
!gh api repos/amaralc/explore/milestones --jq '.[] | "#\(.number) \(.title)"' 2>/dev/null
!gh api repos/amaralc/explore/labels --jq '.[].name' 2>/dev/null | tr '\n' ', '
!gh api graphql -f query='{ node(id: "PVT_kwHOAergc84BAFUg") { ... on ProjectV2 { fields(first: 30) { nodes { ... on ProjectV2SingleSelectField { name options { id name } } } } } } }' --jq '.data.node.fields.nodes[] | select(.name == "Team") | .options[] | "\(.name) (\(.id))"' 2>/dev/null
Parse the following arguments from $ARGUMENTS:
Follow these steps exactly:
gh issue create --repo amaralc/explore \
--title "<title>" \
--label "<label>" \
--milestone "<milestone-title>" \
--body "<body>"
Capture the issue URL and extract the issue number.
If --team is provided:
Get the issue node ID:
gh api repos/amaralc/explore/issues/<number> --jq '.node_id'
Add to the Explore project (ID: PVT_kwHOAergc84BAFUg):
gh api graphql -f query='mutation { addProjectV2ItemById(input: {projectId: "PVT_kwHOAergc84BAFUg", contentId: "<node_id>"}) { item { id } } }'
Set the Team field (field ID: PVTSSF_lAHOAergc84BAFUgzgy_nmQ) using the option ID from the context above:
gh api graphql -f query='mutation { updateProjectV2ItemFieldValue(input: {projectId: "PVT_kwHOAergc84BAFUg", itemId: "<item_id>", fieldId: "PVTSSF_lAHOAergc84BAFUgzgy_nmQ", value: {singleSelectOptionId: "<option_id>"}}) { projectV2Item { id } } }'
Get the parent issue node ID:
gh api repos/amaralc/explore/issues/<parent_number> --jq '.node_id'
Link using the addSubIssue mutation:
gh api graphql -f query='mutation { addSubIssue(input: {issueId: "<parent_node_id>", subIssueId: "<child_node_id>"}) { issue { id } subIssue { id } } }'
Print a summary with: