Generate/update PR description based on all changes from main
Generates or updates PR descriptions summarizing all changes from main with context and test plan.
/plugin marketplace add arevlo/claude-code-workflows/plugin install arevlo-dev@claude-code-workflowsGenerate or update the PR description to reflect all changes from main. Works for initial PRs and follow-up commits.
Check PR exists:
gh pr view --json number,body -q '.number'Get all changes from main:
git log main..HEAD --oneline to see all commitsgit diff main...HEAD --stat for changed files summarygit diff main...HEAD for full diff (if not too large)Generate PR description following best practices:
## Summary
<!-- 2-3 sentences: what changed and WHY -->
## Changes
<!-- Bullet list of key changes, grouped by concept -->
-
## Test Plan
<!-- How to verify this works (if applicable) -->
## Related Issues
<!-- Use "Closes #123" to auto-link/close issues -->
Guidelines:
Closes #N or Fixes #N to link issuesShow the description to user and ask for confirmation before updating
Update the PR:
gh pr edit --body "<description>"Confirm the PR was updated with link to view it.