TheVoskamps

issue-unset-parent

Remove a child issue from its current parent (sub-issue edge), looked up from the child side.

TheVoskamps 0 Updated 1mo ago
GitHub

Install

npx skillscat add thevoskamps/claude-plugins-marketplace/issue-unset-parent

Install via the SkillsCat registry.

SKILL.md

Detach an issue from its parent. Only the child is named: an issue has
at most one parent, so the script looks the parent up.

Invocation

/issue-unset-parent <child-issue>
  • <child-issue> (required): the child, as an issue reference.

Execution

Run the issue-unset-parent script, which this plugin puts on
PATH, with the Bash tool from inside the repo's working tree:

issue-unset-parent <child-issue>

The script is a no-op when the issue has no parent, and otherwise
removes the edge and re-reads the child, exiting non-zero when the
parent is still there. Print its stdout as it stands. On a non-zero
exit, relay its stderr verbatim and stop.

Output

The confirmation names the former parent and prints the child's URL:

Removed issue #<C> as a sub-issue of #<former-P>.
https://github.com/<owner>/<repo>/issues/<C>

The no-op prints Issue #<C> has no parent; no change. and exits
zero.

Jira backend

The script serves the GitHub backend only. Under issues: Jira it
exits non-zero with its fixed Jira message before it reads or writes an
issue; follow
skills/lib/issue.md → "Jira backend" → "Relationships" instead.