ワンクリックで
pr-desc
Generate PR title and description from branch diff against origin/main
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate PR title and description from branch diff against origin/main
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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
| 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