pr-document-writer
Installation
SKILL.md
PR Description Generator
Generate a well-crafted PR title (conventional commit format) and a filled-out PR description template by analyzing the git diff of the current branch.
Workflow
Step 1: Identify the base branch
Determine the base branch that the current branch will be merged into.
Run these git commands to gather context:
git branch --show-current
git remote show origin | grep "HEAD branch"
git log --oneline -5
Use git remote show origin to find the default branch (usually main or master). If the repo has a common base like develop or staging, infer from the branch naming convention or recent merge targets.
Related skills