/github-prs:pr-difffrom github-prs
Fetch the full unified diff of a GitHub pull request, verbatim.
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.
Fetch the full unified diff of a GitHub pull request. This is the
diff-fetch that PR consumers run before
reading a PR's changes: the agents sdlc:theorem-based-pr-reviewer
spawns — theorem-generator, theorem-disprover, and
counterexample-verifier —
and /sdlc:orchestrate's own issue-fixer, code-documenter,
style-checker, and docs-writer. Each
declares this skill in its skills: frontmatter rather than writing
out a raw gh pr diff of its own.
This skill is GitHub-only by design. Its script is a thin wrapper
around gh's own diff; there is no CodeCommit (or other source-control) branch,
and none is planned here — CodeCommit is deliberately out of scope for
this plugin.
/pr-diff <PR>
<PR> (required): the pull request, in any form
skills/lib/pr-reference.md lists.This skill reads no repo-config. The PR is all the diff needs. (The
source-control value that a caller would previously have read to
choose between gh and CodeCommit is not consulted — this plugin is
GitHub-only, so there is nothing to branch on.)
Run the bundled script, spelled as a bare name:
pr-diff <PR>
gh call
for a PR that does not exist, 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
Other plugins' skills for the same job
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.