# Soloscrum Tracker Github Create Subtask

> Operation: create a subtask of a GitHub Issue using native GH Sub-issue. Used when active tracker profile is github-only.

- Skill: `mew-ton/soloscrum-tracker-github-create-subtask` (Agent Skill)
- Install (CLI): `npx get-skill add mew-ton/soloscrum-tracker-github-create-subtask`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mew-ton/soloscrum-tracker-github-create-subtask/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mew-ton (https://skillmd.com/u/mew-ton)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/mew-ton/soloscrum-tracker-github-create-subtask

---


# soloscrum-tracker-github-create-subtask

Creates a subtask of a parent GitHub Issue using the native Sub-issue feature. Active when `tracker_profile = github-only`.

## Inputs

- `parent_issue_number` — GH Issue number of the parent (e.g. `123`)
- `title` — subtask title
- `body` — subtask body in the lightweight work-body format per `soloscrum-define-issue-format`'s Subtask Body section (Parent / What / Checklist / Notes — Subtasks do **not** carry AC; the parent Issue owns the AC and the Subtask slices its delivery)
- `type` — `develop` or `design-ui` (per `soloscrum-define-task-type`)
- `sp` — story points (per `soloscrum-define-story-points`)

## Steps

1. Create a GH Issue for the subtask
   ```
   gh issue create \
     --title "<title>" \
     --body "<body>" \
     --label "type:<type>"
   ```
2. Link as Sub-issue under the parent via GraphQL
   ```
   gh api graphql -f query='
     mutation($parent: ID!, $child: ID!) {
       addSubIssue(input: { issueId: $parent, subIssueId: $child }) { issue { id } }
     }' -F parent=<parent_node_id> -F child=<child_node_id>
   ```
3. Set SP via `soloscrum-tracker-github-set-sp` for the new subtask
4. Return the new Sub-issue number

## Output

- Sub-issue number (e.g. `#456`)
- URL

## Notes

- Sub-issue numbers are regular GH issue numbers — the same `#` references and PR linking work
- If the parent has no Project assigned, prompt the user to attach the project first (SP step requires it)

