From pair
Generate a PR description from commits between the current branch and a base branch
How this skill is triggered — by the user, by Claude, or both
Slash command
/pair:pull-requestThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a pull-request description from the commits on the current branch that diverge from a base branch. The description is saved to `./tmp/pull-request.md`, following (in order of preference) a user override, the repo's GitHub PR template, or the skill's default template.
Generate a pull-request description from the commits on the current branch that diverge from a base branch. The description is saved to ./tmp/pull-request.md, following (in order of preference) a user override, the repo's GitHub PR template, or the skill's default template.
$1 — base branch to compare against (default: dev). Examples: dev, main, origin/main.$2 — output language (default: en). Examples: en, pt-BR.Resolve arguments. branch = $1 || dev, language = $2 || en.
Capture the diff.
git log --patch --graph <branch>..
Save the diff for inspection.
mkdir -p ./tmp
Write the output of step 2 to ./tmp/diff.txt.
Resolve the PR template in this order (stop at the first found):
./tmp/templates/pull-request.md — user project override.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.md.github/pull_request_template/ or .github/PULL_REQUEST_TEMPLATE/ — if it is a directory, use the first *.md inside (check with Glob pattern .github/{pull_request_template,PULL_REQUEST_TEMPLATE}/*.md).${CLAUDE_PLUGIN_ROOT}/skills/pull-request/template.md — plugin defaultUse Read on each candidate in order. The first existing file wins.
Generate the PR description following the resolved template:
N/A or a single-line summary.$2 language.If the skill default (template 4.iii) is the active template, follow its format exactly: the title line must be tagged as # [Feat|Fix|Refactor|Test|Chore|Docs|Style|Perf|Build|CI|Revert|WIP] <title>, with sections ## Context, ## Changes, ## Observations.
Save the description.
Write the final markdown to ./tmp/pull-request.md.
Report back in plain text (in $2 language):
./tmp/diff.txt)../tmp/pull-request.md).Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub danprates/pair-ai --plugin pair