/github-prs:pr-viewfrom github-prs
Print a GitHub pull request — a fixed dump of it by default, its canonical host/owner/repo#N reference with `--ref`, or the fields a caller names with `--json`, optionally filtered with `--jq`. Read-only.
Ships in github-prs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read one pull request. With no flags you get a fixed dump a human can
read; with --ref you get the PR's canonical reference, the form to
carry the PR onward in; with --json <fields> you get exactly the
fields you named, as gh pr view --json spells them, for a caller that
needs specific data — the body, the reviews, the comments, the state,
the head and base refs, createdAt.
This skill is GitHub-only by design; there is no CodeCommit (or other source-control) branch.
/pr-view <PR> [--ref | --json <fields> [--jq <expression>]]
<PR> (required): the pull request, in any form
skills/lib/pr-reference.md lists.--ref (optional, never with --json): print the PR's canonical
reference alone, as skills/lib/pr-reference.md defines it.--json <fields> (optional): a comma-separated field list, passed
through unchanged.--jq <expression> (optional, only with --json): a jq expression
over those fields, passed through unchanged. A string result prints
raw, without quotes.Run the bundled script, spelled as a bare name, with the arguments you were given:
pr-view <PR> [--ref | --json <fields> [--jq <expression>]]
When your caller asked for the output in a file, redirect the script's stdout to that path; the script writes nothing else there.
--ref, stdout is the canonical reference alone,
<host>/<owner>/<repo>#<N>. With --json, stdout is gh's JSON for
those fields, or the --jq result.
Hand it to your caller unchanged.gh call,
and its own error is on stderr above the script's line. Surface it
verbatim rather than inventing a replacement message.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thevoskamps/claude-plugins-marketplace --plugin github-prs14 skills in this plugin
/pr-closing-issuesReport the set of issues a GitHub pull request's body closes, by relaying the line the bundled script prints. The parse is gp_closing_issues, shared by the pr-closing-issues and pr-link-issue scripts; every skill and agent outside github-prs reads a body's closing set by invoking this skill./pr-commentPost a comment on a GitHub pull request from a file, then verify the comment GitHub holds carries that file's text./pr-createOpen a draft GitHub PR for a branch against the configured base, with one closing keyword per issue in the branch's own issue set in the PR body.Other plugins' skills for the same job