/toolbox:pr-title-and-description [base-branch] [--create|--update] [--draft]from toolbox
Writes a pull request title and description from the actual git changes, starting with links to the task origin (e.g. Jira task and epic), following industry best practices (Google eng-practices, GitHub docs, Conventional Commits). Detects the repo's PR template, title convention and linked ticket, explains what changed and why, how it was tested and what to watch for, and can create or update the PR with gh after confirmation. Use when the user asks to "write a PR description", "create a PR", "open a pull request", "improve this PR title", "describe my changes for review", or invokes /pr-title-and-description.
Ships in toolbox. 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.
Read when SKILL.md points to them.
Writes a PR title and description that let a reviewer understand what changed, why, and how to verify it without reading the whole diff first, and that still make sense to someone reading the history years later.
TODO: for the author instead of guessing.--create/--update and after the user approves the draft.Arguments received: $ARGUMENTS
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
base-branch (1st, positional) | string (branch name) | no | the existing PR's base, else the repo default branch | Branch to compare against |
--create | boolean flag | no | false | After approval, create the PR with gh pr create |
--update | boolean flag | no | false | After approval, update the existing PR for the current branch with gh pr edit |
--draft | boolean flag | no | false | With --create, open it as a draft PR |
Without --create/--update, only print the title and description.
If both --create and --update are given, stop and ask which one.
This file is the orchestrator: principles, arguments and step order. Each step lives
in its own file under references/. Read each step's file right before running
it, in order. Paths are relative to this skill's directory.
| Step | File | Responsibility |
|---|---|---|
| 1 | step-1-gather-context.md | Read branch, existing PR, commits and the diff against the base |
| 2 | step-2-repo-conventions.md | Detect PR template, title convention, ticket IDs, repo PR rules |
| 2.5 | step-2-5-origin-links.md | Resolve task/epic origin links (user, PR/commits, Jira, GitHub, JIRA_BASE_URL) |
| 3 | step-3-understand-the-change.md | Classify type, why, what, impact, risk and size |
| 4 | step-4-title-rules.md | Write the title in the repo convention, ≤ 72 chars |
| 5 | step-5-description-template.md | Origin line first, then template or default sections, writing rules |
| 6 | step-6-present-and-confirm.md | Show title/body, conventions detected, TODO: items |
| 7 | step-7-create-or-update.md | Only with --create/--update: confirm, then gh pr create/gh pr edit |
Before finishing, read checklist.md and confirm every item.
references/checklist.md (opens in a new tab)references/step-1-gather-context.md (opens in a new tab)references/step-2-5-origin-links.md (opens in a new tab)references/step-2-repo-conventions.md (opens in a new tab)references/step-3-understand-the-change.md (opens in a new tab)references/step-4-title-rules.md (opens in a new tab)references/step-5-description-template.md (opens in a new tab)references/step-6-present-and-confirm.md (opens in a new tab)references/step-7-create-or-update.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stdioh321/claude-toolbox --plugin toolbox2 skills in this plugin