TheVoskamps

pr-ready

Mark a draft GitHub pull request as ready for review (draft -> ready).

TheVoskamps 0 Updated 1mo ago
GitHub

Install

npx skillscat add thevoskamps/claude-plugins-marketplace/pr-ready

Install via the SkillsCat registry.

SKILL.md

PR Ready

Flip a draft GitHub pull request into the ready-for-review state. A
draft PR cannot be auto-merged, so the flip is the point at which a PR
becomes mergeable; keep a PR draft until it is meant to be.

Invocation

/pr-ready <PR>
  • <PR> (required): the pull request, in any form
    skills/lib/pr-reference.md lists.

Execution

Run the bundled script, spelled as a bare name:

pr-ready <PR>

The script flips the PR, then re-reads it. A PR that is already ready
is left as it is — gh warns about it on stderr and succeeds — so the
script is safe to run more than once.

Output and exit status

  • Exit 0 — the re-read shows the PR ready for review. Stdout is one
    line, PR <PR> is ready for review; report it back.
  • Exit 1 — a command the script ran failed, such as the gh call,
    and its own error is on stderr above the script's line. Surface it verbatim.
  • Exit 2 — a usage error; nothing was sent to GitHub.
  • Exit 3 — the flip did not land: the re-read still shows a draft.
    Stderr says so; report it.