← ClaudeAtlas

prlisted

Generate a gold-standard pull request description from branch diff
tony/ai-workflow-plugins · ★ 2 · AI & Automation · score 69
Install: claude install-skill tony/ai-workflow-plugins
# Generate PR Description Create a gold-standard pull request description from the current branch's diff. User hint: $ARGUMENTS ## Context Current branch — run this command and read the output: ```bash git branch --show-current ``` Base branch detection — run this command and read the output: ```bash git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master ``` Commits on this branch — run this command and read the output: ```bash BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master); git log "origin/$BASE..HEAD" --oneline 2>/dev/null || echo "(no commits ahead of base)" ``` Files changed (stat) — run this command and read the output: ```bash BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master); git diff "origin/$BASE...HEAD" --stat 2>/dev/null || echo "(no diff)" ``` Full diff — run this command and read the output: ```bash BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master); git diff "origin/$BASE...HEAD" 2>/dev/null || echo "(no diff)" ``` --- ## Procedure ### 1. Analyze Changes - Review the full diff and **all commits** on the branch — not just the latest - Determine the nature of the change: new feature, bug fix, refactor, CI/infra, docs, etc. - Identify which modules, files, and areas are affected - Note the scope: is this a small targeted fix or a large multi-module change? ### 2. Read Project Conventions - Read AGENTS.md and/or