sagullapalli

Prepare PR — Git skill for Claude Code

Git community

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

Terminal
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

  1. Analyze the changes shown above
  2. 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 Repository