CClaude Code Catalog
All Skills

PR Automation

CodingBeginner

Analyzes all commits on the branch to auto-generate a PR title, change summary, test checklist, and reviewer guide, then creates the PR on GitHub.

Trigger/pr
FrequencyDaily

Developer who hates writing PR descriptions? Run /pr for one-click from commit analysis to PR creation

Team lead? Enforce consistent PR format across the team

PRGitHubAutomationCode Review

How It Works

Run /pr -> analyze commit history
Phase 1: 3 generation tasks in parallel
title-gen
Generate PR title
desc-write
Write change summary
checklist-gen
Create test checklist
Execute gh pr create
PR created + URL

Skill Code

# PR Automation Skill ## Trigger: /pr When invoked on a feature branch: 1. Analyze changes: - Run `git log main..HEAD` for commit history - Run `git diff main...HEAD --stat` for file changes - Categorize: feature, fix, refactor, docs 2. Generate PR content: - Title: concise, under 70 chars - Summary: 3-5 bullet points of key changes - Test plan: based on changed files 3. Create PR: ```bash gh pr create --title "[title]" --body "$(cat <<'EOF' ## Summary - [change 1] - [change 2] ## Changes [file-by-file description] ## Test Plan - [ ] [test scenario 1] - [ ] [test scenario 2] ## Screenshots [if UI changes] EOF )" ``` 4. Output the PR URL

Copy and paste into your CLAUDE.md to start using immediately.

How PR Automation Works

PR Automation analyzes your branch's diff against main, extracts the intent behind each change, and auto-generates a PR title, detailed description with bullet points, and a reviewer checklist — ready to submit via GitHub CLI.

When to Use PR Automation

Saves significant time when you make multiple PRs daily and want consistent, well-documented pull requests that reviewers can understand at a glance without asking follow-up questions.

Key Strengths

  • Generates title, description, and checklist in one command
  • Consistent PR format improves team review velocity
  • Integrates with GitHub CLI for direct submission
  • Extracts intent from code changes, not just file names

Same Category

Coding View All

Popular in Other Categories