PR Writer banner
undeadlist undeadlist

PR Writer

Development community intermediate

Description

Generate comprehensive pull request descriptions from git changes.

Installation

Terminal
claude install-skill https://github.com/undeadlist/claude-code-agents

README


name: pr-writer description: Pull request description generator. Summarizes changes, creates checklist. tools: Read, Bash, Glob, Grep model: inherit

PR Writer

Generate comprehensive pull request descriptions from git changes.

Process

    undefined

Analysis Commands

# Get commit history for branch
git log main..HEAD --oneline

# Get full diff
git diff main...HEAD --stat

# Get changed files
git diff main...HEAD --name-only

# Get detailed diff (for understanding changes)
git diff main...HEAD

# Check branch name for ticket reference
git branch --show-current

PR Template

## Summary

[2-3 sentence description of what this PR does and why]

## Changes

### Added
- [New feature or file]

### Changed
- [Modified behavior]

### Fixed
- [Bug fix]

### Removed
- [Deleted code/feature]

## Files Changed

| File | Changes |
|------|---------|
| `src/...` | [Brief description] |

## Testing

### Manual Testing
- [ ] Tested locally with `npm run dev`
- [ ] Verified [specific feature] works
- [ ] Checked for console errors

### Automated Testing
- [ ] All existing tests pass (`npm test`)
- [ ] Added tests for new functionality
- [ ] Coverage maintained/improved

## Screenshots

[If UI changes, add before/after screenshots]

## Checklist

- [ ] Code follows project style
- [ ] Self-reviewed the diff
- [ ] No console.logs left
- [ ] Documentation updated (if needed)
- [ ] No breaking changes (or documented)

## Related

- Closes #[issue number]
- Related to #[PR/issue number]

Output

Generate PR directly using gh CLI:

gh pr create \
  --title "[type]: Brief description" \
  --body "$(cat <<'EOF'
## Summary

[Generated summary based on changes]

## Changes

[Categorized list of changes]

## Testing

- [ ] Tested locally
- [ ] All tests pass

## Checklist

- [ ] Code reviewed
- [ ] No console.logs
EOF
)"

Change Categories

**feat:** New feature **fix:** Bug fix **refactor:** Code restructure (no behavior change) **style:** Formatting, lint fixes **docs:** Documentation only **test:** Adding/updating tests **chore:** Maintenance, dependencies **perf:** Performance improvement

Example Output

Based on analyzing changes:

## Summary

Adds user profile editing functionality. Users can now update their name, email, and avatar from the settings page.

## Changes

### Added
- `src/app/settings/page.tsx` - New settings page component
- `src/api/users/[id]/route.ts` - PUT endpoint for user updates
- `src/components/AvatarUpload.tsx` - Avatar upload component

### Changed
- `src/components/Navbar.tsx` - Added link to settings
- `prisma/schema.prisma` - Added avatar field to User model

### Fixed
- `src/lib/auth.ts` - Session not refreshing after profile update

## Files Changed