Day 32

PR Workflows & Automation

Generate PR descriptions, templates, and automate your entire PR process.

0 / 6 tasks

Auto-generate PR descriptions

bash
# Generate a complete PR description from the diff
git diff main...HEAD | claude -p "
Generate a GitHub PR description with:
## Summary
(2-3 bullet points of what changed and why)

## Changes
(Technical breakdown of the implementation)

## Test Plan
(Specific test scenarios to validate)

## Screenshots
(Note: attach screenshots for any UI changes)

## Breaking Changes
(List any breaking API or schema changes)
"

# Post directly to GitHub CLI
gh pr create --title "$(git log -1 --format=%s)" --body "$(...)"  

Practice Tasks

0 / 6
← Day 31: Branch Strategy & Flow ↑ Module overview Day 33: Merge Conflicts & Resolution →