PR Summary Generator

BeginnerProductivity

Automatically generates comprehensive pull request summaries with change analysis, impact assessment, and review notes.

gitgithubpull-requestautomationworkflow

Overview

This skill generates professional PR summaries by analyzing your changes, identifying impacts, and creating structured descriptions that help reviewers understand your work.

SKILL.md Template

---
name: pr-summary
description: Generate comprehensive pull request summaries. Use when creating PRs, updating descriptions, or preparing for code review.
context: fork
agent: Explore
allowed-tools: Bash(gh:*)
---

## Pull Request Context
- PR diff: !`gh pr diff`
- PR comments: !`gh pr view --comments`
- Changed files: !`gh pr diff --name-only`

## Generate Summary

### 1. Analyze Changes
- What files were modified?
- What's the nature of changes (feature, fix, refactor)?
- What are the key modifications?

### 2. Structure the Summary

## Summary
[2-3 sentence overview of what this PR does]

## Changes
- **Added**: New files or features
- **Modified**: Changed existing functionality
- **Removed**: Deleted code or features

## Impact
- Which components are affected?
- Any breaking changes?
- Performance implications?

## Testing
- [ ] Unit tests added/updated
- [ ] Manual testing completed
- [ ] Edge cases covered

## Screenshots
[If UI changes, include before/after]

## Notes for Reviewers
- Key areas to focus on
- Questions or concerns
- Related PRs or issues

Example Output

## Summary
This PR adds OAuth2 authentication support, allowing users to sign in with Google
and GitHub accounts. It includes the necessary database migrations and updates
the user model to support multiple auth providers.

## Changes
- **Added**
  - `src/auth/oauth2/` - OAuth2 provider implementations
  - `migrations/20240115_add_oauth_fields.sql` - User table updates

- **Modified**
  - `src/auth/login.ts` - Added OAuth login routes
  - `src/models/user.ts` - New fields for provider info

## Impact
- **Components affected**: Auth module, User model, Login UI
- **Breaking changes**: None (additive only)
- **Database**: Requires migration (backwards compatible)

## Testing
- [x] Unit tests for OAuth providers
- [x] Integration tests for login flow
- [x] Manual testing with Google/GitHub
- [x] Tested existing email login still works

## Notes for Reviewers
- Please check the token refresh logic in `oauth2/refresh.ts`
- Security review appreciated for the callback handler
- Related to #234 (user requested feature)

Usage

/pr-summary

Or when creating a new PR:

Create a PR for this branch with a detailed summary

Tips

  • Run after all commits are ready
  • Include ticket/issue references
  • Highlight areas needing extra review attention
  • Keep summary concise but complete

Related Skills