/misc:pr-description [--detailed] [--story story-file]from misc
Generate PR description from branch changes vs main
Ships in misc. 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.
Generate a pull request title and description based on changes between the current branch and main. Outputs the description for the user to copy or use with gh pr create.
$ARGUMENTS
Parse for:
--detailed for a more thorough description (optional)--story <story-file> for additional context (optional)!git rev-parse --abbrev-ref HEAD
!git merge-base main HEAD
!git log --oneline main..HEAD
!git diff --stat main...HEAD
!git diff main...HEAD
If the diff summary is empty, report and exit:
No changes found between current branch and main.
If on main, report and exit:
Already on main. Create or switch to a feature branch first.
If --story provided, read the file to understand the motivation behind the work.
From the commits and diff, identify:
Title:
Body:
Choose format based on complexity:
Simple PRs — single prose block covering why and what changed.
Complex PRs — structured format:
<Why paragraph — no header, just start writing the motivation/context>
## Changes
<Summary of what changed>
### Details
<Breakdown of changes — only if summary isn't enough>
### Attention
<Tricky, risky, or critical parts for reviewers — only if relevant>
When to use structured format:
If unsure: Ask the user which format they prefer.
Emit the title and body as raw text inside fenced code blocks so the user can copy the unrendered markdown. Use a 4-backtick fence for the body so code blocks inside it don't close the fence. Do not add anything inside the fences besides the title/body.
## Suggested PR
**Title:**
```text
<title>
```
**Body:**
````markdown
<body in markdown>
````
What SKILL.md sets; muted values are Claude Code's defaults
haikulownpx claudepluginhub urso/claudev --plugin misc9 skills in this plugin
Other plugins' skills for the same job