prepare-pr
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Pull Request Content Generator
Generates PR title and description by analyzing all commits in the current branch compared to the base branch. Creates both Korean and English versions for easy copying.
Repository State Analysis
- Git status: !
git status --porcelain - Current branch: !
git branch --show-current - Default branch: !
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main" - Remote branches: !
git branch -r --list 'origin/main' 'origin/master' 2>/dev/null - Commits since divergence: !
git log --oneline origin/HEAD..HEAD 2>/dev/null || git log --oneline origin/main..HEAD 2>/dev/null || git log --oneline origin/master..HEAD 2>/dev/null || echo "Unable to detect base branch" - Changed files summary: !
git diff --stat origin/HEAD..HEAD 2>/dev/null || git diff --stat origin/main..HEAD 2>/dev/null || git diff --stat origin/master..HEAD 2>/dev/null
PR Title Format (Conventional Commits)
<type>[(optional scope)]: <description>