Back to skills
SKILL.md
Pr Description Generator
ASecurityAuto-activates when user mentions creating pull request, PR description, or merge request. Generates comprehensive PR descriptions from git diff and commit history.
- 57 stars
- 0 votes
- 0 copies
- 0 views
- Added October 17, 2026
Works with
Security analysis
100/100npx -y skills add diegosouzapw/awesome-omni-skill --skill pr-description-generator --agent claude-codeAre you the author of Pr Description Generator?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/diegosouzapw-pr-description-generator)---
name: pr-description-generator
description: Auto-activates when user mentions creating pull request, PR description, or merge request. Generates comprehensive PR descriptions from git diff and commit history.
category: workflow
---
# Pull Request Description Generator
Generates comprehensive, professional PR descriptions that make reviews faster and easier.
## When This Activates
- User says: "create PR", "write PR description", "open pull request"
- User runs: `gh pr create`
- User asks: "what should my PR description say?"
## PR Description Template
```markdown
## ๐ฏ What
[One sentence summary of changes]
## ๐จ Changes
- [Bullet points of key changes]
- [Focus on user-visible changes]
- [Mention refactoring/technical changes]
## ๐ค Why
[Explanation of why this change is needed]
[Link to issue/ticket if applicable]
## ๐งช Testing
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual testing completed
- [ ] Edge cases verified
**Testing steps:**
1. [How to test this locally]
2. [What to look for]
3. [Edge cases to verify]
## ๐ธ Screenshots/Videos
[If UI changes: add before/after screenshots]
[If workflow changes: add demo GIF/video]
## โ ๏ธ Breaking Changes
[If breaking: list what breaks and migration guide]
[If not breaking: remove this section]
## ๐ Checklist
- [ ] Tests added/updated
- [ ] Documentation updated
- [ ] Changelog updated (if applicable)
- [ ] No hardcoded secrets
- [ ] Follows code style guidelines
- [ ] Reviewed own code first
## ๐ Related
Closes #[issue number]
Related: #[related PR/issue]
Depends on: #[dependency PR]
```
## Process
1. **Gather context:**
```bash
git log origin/main..HEAD --oneline
git diff origin/main..HEAD --stat
```
2. **Analyze changes:**
- What's the main feature/fix?
- What files were touched?
- Any breaking changes?
- UI changes?
3. **Generate description:**
- Clear "What" summary
- Detailed "Changes" list
- Explain "Why" this matters
- Testing instructions
- Screenshots if UI changed
4. **Present to user** for review/edit
## Examples
### Feature PR
```markdown
## ๐ฏ What
Add user authentication with JWT tokens
## ๐จ Changes
- Implemented JWT-based authentication system
- Added login and register endpoints
- Created auth middleware for protected routes
- Added password hashing with bcrypt
- Implemented token refresh mechanism
## ๐ค Why
Users need secure authentication to access protected features.
Current system uses session cookies which don't work well with our mobile app.
Closes #123
## ๐งช Testing
- [x] Unit tests pass (18 new tests added)
- [x] Integration tests pass
- [x] Manual testing completed
- [x] Tested token expiration and refresh
**Testing steps:**
1. Run `npm test`
2. Start server: `npm run dev`
3. Register new user: POST `/api/auth/register`
4. Login: POST `/api/auth/login`
5. Access protected route with token in Authorization header
6. Verify token expires after 15 minutes
## ๐ธ Screenshots

## ๐ Checklist
- [x] Tests added (18 new tests)
- [x] Documentation updated (API.md)
- [x] Changelog updated
- [x] No hardcoded secrets (all in .env.example)
- [x] Follows ESLint rules
- [x] Reviewed own code
## ๐ Related
Closes #123
Depends on: #120 (database schema)
```
### Bug Fix PR
```markdown
## ๐ฏ What
Fix null pointer exception in user profile page
## ๐จ Changes
- Added null check for user.avatar before rendering
- Added default avatar fallback
- Updated ProfileCard component tests
## ๐ค Why
Users without avatars were seeing blank profile pages.
This happened when users registered via OAuth (no avatar uploaded).
Fixes #234
## ๐งช Testing
- [x] Unit tests pass (2 new tests)
- [x] Manual testing: Created user without avatar, profile renders correctly
**Test cases:**
1. User with avatar โ renders avatar โ
2. User without avatar โ renders default avatar โ
3. User with null avatar property โ renders default avatar โ
## ๐ Checklist
- [x] Tests added for null case
- [x] No breaking changes
- [x] Verified in staging environment
```
## Smart Features
### Auto-Detect Breaking Changes
```javascript
// If code diff shows:
// - Removed exports
// - Changed function signatures
// - Renamed database columns
// โ Automatically mark as BREAKING CHANGE
```
### Auto-Generate Testing Steps
```javascript
// If PR adds new API endpoint:
// โ Auto-generate curl commands for testing
// If PR adds UI component:
// โ Auto-generate component usage example
```
### Auto-Link Issues
```javascript
// Scan commit messages for: "fixes #123", "closes #456"
// โ Automatically add to PR description footer
```
## Rules
โ
**DO:**
- Write for reviewers (assume they're busy)
- Include "why" not just "what"
- Add testing instructions
- Show UI changes with screenshots
- List breaking changes prominently
โ **DON'T:**
- Be vague ("fixed some bugs")
- Assume reviewers know context
- Skip testing section
- Forget to link related issues
- Submit without self-review
## Automation
```bash
# Generate and create PR in one command
gh pr create --title "feat: add authentication" --body "$(droid generate-pr-description)"
```
**Always show description to user before creating PR.**
Attribution
Comments
Loading commentsโฆ
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.