TheVoskamps

reference-resolution

The rule for an issue or PR reference an sdlc skill or agent receives — resolved once with github-ref item, its operand quoted, and named by the canonical reference or the number field in every command after — with the fields github-ref prints. Preloaded into the sdlc agents that receive a reference via their skills frontmatter, and invoked by name from the sdlc skills that do; not invoked from the user's slash menu.

TheVoskamps 0 Updated 1d ago
GitHub

Install

npx skillscat add thevoskamps/claude-plugins-marketplace/reference-resolution

Install via the SkillsCat registry.

SKILL.md

Reference Resolution

A brief, a spawn prompt or a skill's arguments name an issue or a PR as
#N, or in another form github-ref item accepts. Resolve each one
once, before any command names it, with its operand in single quotes:

github-ref item --type <issue|pr> [--in <host>/<owner>/<repo>] '<reference>'

Unquoted, the # of #N starts a shell comment, which drops the
reference and every argument after it from the command.

On exit 0 it prints one line, host|owner|repo|number|type. Every
command after names the item by one of two values built from those
fields, never by the reference as it was received:

  • the canonical reference, <host>/<owner>/<repo>#<number>, which
    an sdlc file spells <PR_REF> for a PR and <ISSUE_REF> for an
    issue;
  • the number field, <number> alone.

A non-zero exit is an escalation, and no command after it names the
item.