git-issue-hierarchy
БесплатноБез исполняемых скриптовНе проверенGitHub sub-issues and blocked_by/blocking links. Use when breaking an issue into sub-tasks, checking parent progress, or viewing a dependency graph.
от laurigates★ 61 звезда на GitHubОб этом скилле
When to Use This Skill
| Use this skill when... | Use the alternative when... |
|---|---|
| Adding/removing native GitHub sub-issues to a parent issue | Use git-issue-manage for transfer, pin, lock, develop-branch operations |
Marking issue A as blocked_by issue B (or unblocking) |
Use github-issue-writing to create well-structured issue bodies in the first place |
| Viewing a parent issue's sub-issue completion progress and dependency graph | Use git-issue to actually start working on issues end-to-end |
| Checking the dependency graph before starting work on a multi-issue feature | Use gh-cli-agentic for raw gh issue --json queries without hierarchy logic |
Context
- Repo: !
git remote -v - Parent issue: (parsed from arguments)
Parameters
Parse these parameters from the command:
Every issue argument — <parent-issue> and each <N> flag value below — is
accepted as a bare number, #N, or a full GitHub issue URL, and normalized to a
(number, repo) pair in Step 0.
| Parameter | Description |
|---|---|
<parent-issue> |
Parent issue as a bare number, #N, or full GitHub issue URL (https://github.com/<owner>/<repo>/issues/<N>) — see Step 0 |
--add <N...> |
Add existing issues as sub-issues (each N as number, #N, or URL) |
--create "<title>" |
Create a new issue and add it as sub-issue |
--remove <N...> |
Remove sub-issues from parent (each N as number, #N, or URL) |
--status |
Show sub-issue completion progress |
--list |
List all sub-issues of the parent |
--deps |
Show dependency graph (blocked_by + blocking + sub-issues) for the issue |
--blocking |
List issues the parent is blocking |
--block <N> |
Mark issue N as blocked by the parent (parent blocks N); N as number, #N, or URL |
--blocked-by <N> |
Mark the parent as blocked by issue N; N as number, #N, or URL |
--unblock <N> |
Remove blocking relationship with issue N in either direction; N as number, #N, or URL |
Sub-issues express composition ("is part of"); blocked_by dependencies express ordering ("must happen before"). When unsure which link fits, see references/relationship-types.md.
Execution
Execute the requested issue hierarchy operation.
Step 0: Normalize issue references
Before any API call, normalize <parent-issue> and every issue value passed
to a flag (--add, --remove, --block, --blocked-by, --unblock) into a
(number, repo) pair. Accept these forms:
| Input form | Extract |
|---|---|
123 |
number 123, repo = current remote |
#123 |
number 123, repo = current remote |
https://github.com/<owner>/<repo>/issues/123 |
number 123, repo = <owner>/<repo> |
.../issues/123#issuecomment-... |
number 123 (drop the #... fragment), repo = <owner>/<repo> |
Rules:
- Strip a leading
#; strip a URL#...fragment after the number. A token is an issue ref only if, after stripping, it is all digits or matches the/issues/<digits>URL shape (require trailing digits — a/pull/<N>,/discussions/<N>, or bare/issueslist URL is not a ref). - For the plural flags (
--add/--remove, which take<N...>), normalize each space-separated value independently; never split a single URL into two refs. - For a URL whose
<owner>/<repo>differs from the current remote (Step 1REPO), record it as cross-repo and carry-R <owner>/<repo>on everygh issuecall and targetrepos/<owner>/<repo>/…on everygh apicall for that issue. Sub-issue and dependency links require both endpoints to live in the same repo — if a normalized ref points at a different repo than the parent, surface that rather than issuing a mismatched cross-repo link.
Downstream steps use the normalized $PARENT, $N, and $CHILD numbers;
where a ref was cross-repo, substitute its <owner>/<repo> for $OWNER/$REPO_NAME
and add -R <owner>/<repo> to the corresponding gh issue call.
Step 1: Resolve Repository Context
REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
OWNER=$(echo "$REPO" | cut -d/ -f1)
REPO_NAME=$(echo "$REPO" | cut -d/ -f2)
If Step 0 normalized <parent-issue> to a cross-repo URL, use that URL's
<owner>/<repo> as $OWNER/$REPO_NAME (and pass -R <owner>/<repo> to the
gh issue view below) instead of the current remote.
Verify the parent issue exists:
gh issue view $PARENT --json number,title,state,subIssuesSummary
Step 2: Branch on Operation Mode
Determine which operation to perform based on parsed parameters.
If --status (or no flags):
Display sub-issue summary and list.
If --add:
Add existing issues as sub-issues.
If --create:
Create new issue, then add as sub-issue.
If --remove:
Remove specified sub-issues.
If --list:
List all sub-issues with their states.
**If --deps, `--block
Установить git-issue-hierarchy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(gh api *)Bash(gh issue *)Bash(git remote *)ReadGrepGlobTodoWriteВложенные файлы
FAQ
Что делает скилл git-issue-hierarchy?
GitHub sub-issues and blocked_by/blocking links. Use when breaking an issue into sub-tasks, checking parent progress, or viewing a dependency graph.
Как установить скилл git-issue-hierarchy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-issue-hierarchy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic