roles/codex/files/skills/github-issue-hierarchy/SKILL.md
Create GitHub issues with optional parent/sub-issue relationships and organization issue types. Use when the user asks to create, link, or retag GitHub issues, especially when they mention a parent issue, sub-issues, tasks, bugs, epics, or cross-repo issue hierarchy.
npx skillsauth add techdufus/dotfiles github-issue-hierarchyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when issue creation needs hierarchy or issue types, not just a plain gh issue create.
gh issue create is enough.Task or Epic,
use the bundled helper: scripts/gh-issue-hierarchy.sh.GITHUB_REPOSITORY.scripts/gh-issue-hierarchy.sh issue-types --repo owner/reposupported is false, the repo does not expose organization issue types. Do not force one.lookup_error is present, treat that as an org-level permission or feature-availability failure and tell the user plainly.supported is true, match the requested type name case-insensitively against the returned list.create subcommand so the issue is created
with parentIssueId and issueTypeId in one call.link to attach an existing child to a parent.set-type to change an existing issue's type.Check issue-type support for a repo:
roles/codex/files/skills/github-issue-hierarchy/scripts/gh-issue-hierarchy.sh issue-types \
--repo owner/repo
Create a child issue with an org issue type:
roles/codex/files/skills/github-issue-hierarchy/scripts/gh-issue-hierarchy.sh create \
--repo owner/repo \
--title "Implement session refresh" \
--body-file /tmp/issue-body.md \
--parent "owner/repo#123" \
--type Task
Link an existing issue as a sub-issue:
roles/codex/files/skills/github-issue-hierarchy/scripts/gh-issue-hierarchy.sh link \
--parent "owner/repo#123" \
--child "owner/repo#456"
Reassign a child that already has a parent:
roles/codex/files/skills/github-issue-hierarchy/scripts/gh-issue-hierarchy.sh link \
--parent "owner/repo#123" \
--child "owner/repo#456" \
--replace-parent
Change an existing issue type:
roles/codex/files/skills/github-issue-hierarchy/scripts/gh-issue-hierarchy.sh set-type \
"owner/repo#456" \
--type Bug
gh issue create and gh issue edit CLI surface still has no issue-type flag, so use the
helper whenever issue types are relevant./repos/{owner}/{repo}/issues/{issue_number}/sub_issues,
but the helper uses GraphQL for create and link flows because createIssue, addSubIssue, and
updateIssueIssueType compose cleanly with global node IDs.supported: false result with lookup_error usually
means the token cannot read org issue-type settings, not necessarily that the repo can never use them.lookup_error mentions admin:org, the current gh auth is too weak to discover type IDs by name.
Tell the user and either skip the type or have them run gh auth refresh -h github.com -s admin:org.testing
Preparing and creating git commits when explicitly requested; covers staged diff review, secrets checks, and conventional commit messages.
testing
Verifying implementation work before claiming completion; covers tests, affected artifacts, evidence, and unresolved risks.
testing
Aggressively remove grammatical scaffolding LLMs reconstruct while preserving meaning-carrying content. Output may be fragments. Use when compressing text for prompts, reducing token count, preparing context for LLM input, or making documentation more token-efficient. Applies LLM-aware compression rules that delete predictable grammar while preserving semantics.
testing
Use when the user explicitly invokes $work or asks for execution strategy for complex engineering work with unclear scope, dependent steps, or separable workstreams.