PR — Git skill for Claude Code
Git community
description: Generate a pull request description from branch changes Generate PR Description Create a comprehensive pull request description based on the branch diff.
How to install PR
Installs to ~/.claude/skills/thedecipherist-claude-code-mastery-pr/SKILL.md
Terminal
mkdir -p ~/.claude/skills/thedecipherist-claude-code-mastery-pr && curl -fsSL https://raw.githubusercontent.com/TheDecipherist/claude-code-mastery/HEAD/commands/pr.md -o ~/.claude/skills/thedecipherist-claude-code-mastery-pr/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What PR does
description: Generate a pull request description from branch changes
Generate PR Description
Create a comprehensive pull request description based on the branch diff.
Process
1. Gather Context
# Get current branch name
git branch --show-current
# Find base branch (usually main or master)
git remote show origin | grep 'HEAD branch'
# Get all commits on this branch
git log main..HEAD --oneline
# Get the full diff
git diff main...HEAD --stat
git diff main...HEAD
Alternatives in Git
- Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
- 使用 Git Worktrees — 创建孤立的 Git worktrees,带有智能目录选择与安全验证 115.1k ★
- Claude Skills GitHub — Building agent skills blog 103.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
#148
, #161)
Skill Development Guide
Community Examples
Git Worktree Docs Issue: Dependency Installation — GitHub
Community feedback on official docs with full worktree lifecycle walkthrough
Address PR Comments
Fix PR
by metabase - Fetches and fixes unresolved PR comments by automatically retrieving feedback, addressing review
Ws Reset
Reset the current branch to main, fetch upstream, and update submodules.