TheVoskamps

issue-set-blocks

Declare that one issue blocks another (blocked-by edge from the blocker's side). Sugar for /issue-set-blocked-by with inverted args.

TheVoskamps 0 Updated 1mo ago
GitHub

Install

npx skillscat add thevoskamps/claude-plugins-marketplace/issue-set-blocks

Install via the SkillsCat registry.

SKILL.md

Record "issue N blocks issue B". This is the blocker's-end view of the
edge /issue-set-blocked-by writes: set-blocks N B is the same edge
as set-blocked-by B N.

Invocation

/issue-set-blocks <issue> <blocked-issue>
  • <issue> (required): the blocker, the prerequisite.
  • <blocked-issue> (required): the issue being blocked by <issue>.

Each operand is an issue reference, and the two need not share a repo.
Mnemonic: "set blocks of N to B" — "N blocks B".

Execution

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

issue-set-blocks <issue> <blocked-issue>

The script resolves each operand in the repo it names, is a no-op when
the edge already exists, and otherwise creates it and re-reads the
blocker, exiting non-zero when the edge is not there. Print its stdout
as it stands. On a non-zero exit, relay its stderr verbatim and stop;
an operand that does not resolve is reported against its own repo.

Output

Marked issue <N> as blocking <B>.
<url of the blocker>

The no-op prints Issue <N> already blocks <B>; no change. and exits
zero. An issue reference prints as
skills/lib/issue.md → "Repositories and issue references" states.

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.