with one click
pr-desc
Generate PR title and description from branch diff against origin/main
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Generate PR title and description from branch diff against origin/main
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Run CodeRabbit CLI code review and interactively fix issues
Write detailed commit messages and create commits
Run formatters and linters, then fix reported issues
Comprehensive PR review with detailed explanations and constructive feedback
Analyze and resolve git merge conflicts with guided assistance
Split a bloated PR into a stack of small, reviewable PRs
Based on SOC occupation classification
| name | pr-desc |
| description | Generate PR title and description from branch diff against origin/main |
| triggers | ["pr-desc","pr description","write pr","pr title","pull request description"] |
Use this skill to analyze the diff between your branch and origin/main and generate a well-structured PR title and description.
Run these commands in parallel:
# Fetch latest main
git fetch origin main
# Get diff stats
git diff origin/main...HEAD --stat
# Get full diff
git diff origin/main...HEAD
# Get commit history
git log origin/main..HEAD --oneline
# Get current branch name
git branch --show-current
# Get detailed commit messages
git log origin/main..HEAD --format="%s%n%n%b%n---"
Group changes by category:
Format: [<scope>] <type>: <concise description>
Guidelines:
Examples:
[Microbench] feat: Add decode window validation and safety multiplier[Runner] fix: Prevent race condition in session tracking[Config] refactor: Consolidate benchmark config hierarchyUse this structure:
## Summary
<2-3 sentences explaining what this PR does and why>
## Changes
### <Category 1>
- <Change description with file reference>
### <Category 2>
- <Change description>
## Key Design Decisions
- <Decision 1 and rationale>
## Testing
- [ ] <How was this tested?>
- [ ] <What scenarios were verified?>
## Related Issues
Fixes #<issue_number> (if applicable)
Use AskUserQuestion:
Question: "How would you like to proceed?" Header: "Action" Options:
git push -u origin $(git branch --show-current)
gh pr create --title "<title>" --body "$(cat <<'EOF'
<description>
EOF
)"
# Generate PR description
/pr-desc
# Generate and create PR immediately
/pr-desc --create
# Generate for specific base branch
/pr-desc --base develop