Prepare PR — Git skill for Claude Code
Review modified files and suggest branch name, commit message, and PR description.
How to install Prepare PR
Installs to ~/.claude/commands/sagullapalli-claude-code-setup-prepare-pr.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sagullapalli/claude-code-setup/HEAD/.claude/commands/prepare-pr.md -o ~/.claude/commands/sagullapalli-claude-code-setup-prepare-pr.md Restart Claude Code, or start a new session, for it to be picked up.
What Prepare PR does
description: Review modified files and suggest branch name, commit message, and PR description allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(find:*), Bash(ls:*)
Prepare PR
Review the git changes and provide suggestions for creating a pull request.
Current State
Git status: !`git status --short`
Changed files: !`git diff --stat HEAD`
Instructions
- Analyze the changes shown above
- If there are untracked directories, list their contents to understand what was
Alternatives in Git
- Prepare Commit — Comment out inappropriate logging before commit 1.6k ★
- Get Commit Details — git show --name-status [COMMIT_ID] git diff [COMMIT_ID]^ [COMMIT_ID] 1.3k ★
- Commit Msg — 生成 Git Commit Message 1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Branch Name Validator
Validate and suggest branch names following repository conventions
Gs
Check changed files in git and suggest commit message.
Msg
Suggest a commit message for the current staged changes. Do not commit. Do not stage. Do not run any git write
Tooling Agent Skill Multi Repository Name Conventions
Cross-agent repository naming convention skill for Claude, Cursor, Copilot, Gemini, and any AGENTS.md-reading
Create PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Generate PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Related Agents
PR Author.Agent
Use when authoring or finalizing a PR — 'open PR', 'draft PR', 'write commit message', 'PR description', 'self
Change Analyzer
Read uncommitted or branch changes and return atomic commit groups with subjects, a Conventional Branch name,
Commit Writer
Drafts a Conventional Commits message for the currently staged changes and creates the commit. Reads the modif