npx skills add ...
npx skills add remotion-dev/remotion --skill issue-management
Manage GitHub Issues 2.0 relationships with gh CLI: parent issues, sub-issues, blocked-by, and blocking links.
npx skills add remotion-dev/remotion --skill issue-management
Use this skill when creating, editing, inspecting, or removing relationships between GitHub issues.
These commands use the Issues 2.0 gh issue support added in GitHub CLI PR cli/cli#13057. Because this feature is new, first confirm the installed gh supports it:
If those flags are missing, update gh before trying to manage issue relationships. Do not invent older commands.
Relationship flags accept issue numbers or issue URLs.
Use a number for an issue in the current repository:
Use a full issue URL for a cross-repository relationship:
Multiple related issues can be passed as a comma-separated list:
A sub-issue has exactly one parent issue.
To create a new issue directly under a parent:
To set or change the parent of an existing child issue:
To remove the parent from a child issue:
To manage children from the parent issue:
--add-sub-issue moves the child to the new parent if it already has another parent. Do not use --add-sub-issue while editing multiple parent issues in one command; one child cannot be added ambiguously to several parents.
Use blocked-by when the issue being edited is waiting on another issue.
Use blocking when the issue being edited blocks another issue.
Equivalent mental model:
means the same relationship as:
Choose the command based on which issue you are already editing.
When creating an issue, set relationships immediately:
Human-readable view shows parent, sub-issues, blocked-by, and blocking metadata when present:
Raw non-TTY output includes stable relationship lines:
For scripts, request the JSON fields explicitly:
subIssues, blockedBy, and blocking are connection objects with nodes and totalCount. subIssuesSummary contains completion counts.
--body-file, not inline multiline shell strings.gh issue create or gh issue edit flag.gh issue view <number> or gh issue view <number> --json parent,subIssues,subIssuesSummary,blockedBy,blocking.gh issue edit 123 --parent 100gh issue edit 123 --blocked-by https://github.com/remotion-dev/remotion/issues/456gh issue edit 123 --add-blocked-by 200,201gh issue create \
--title 'Docs: Add issue management skill' \
--body-file /tmp/remotion-issue-body.md \
--parent 100gh issue edit <child-number> --parent <parent-number-or-url>gh issue edit <child-number> --remove-parentgh issue edit <parent-number> --add-sub-issue <child-number-or-url>
gh issue edit <parent-number> --remove-sub-issue <child-number-or-url># Issue 123 is blocked by issue 200.
gh issue edit 123 --add-blocked-by 200
# Remove that relationship.
gh issue edit 123 --remove-blocked-by 200# Issue 123 is blocking issues 300 and 301.
gh issue edit 123 --add-blocking 300,301
# Remove one blocking relationship.
gh issue edit 123 --remove-blocking 300gh issue edit A --add-blocking Bgh issue edit B --add-blocked-by Agh issue create \
--title 'Studio: Add timeline validation' \
--body-file /tmp/remotion-issue-body.md \
--blocked-by 200,201 \
--blocking 300gh issue view <number>gh issue view <number> | grep -E '^(parent|sub-issues|sub-issues-completed|blocked-by|blocking):'gh issue view <number> \
--json parent,subIssues,subIssuesSummary,blockedBy,blocking