Agent skill
pr-prepare
Prepare pull request descriptions following project template. Activates on: prepare PR, create PR, pull request, ready for PR, draft PR, write PR
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/byronwilliamscpa/pr-prepare
SKILL.md
PR Preparation Skill
Automatically prepare pull request descriptions following project standards.
Activation
This skill activates on keywords:
- "prepare PR", "prepare the PR", "prepare a PR"
- "create PR", "create pull request"
- "PR description", "pull request description"
- "ready for PR", "ready to PR"
- "draft PR", "write PR"
Workflow
When activated, follow these steps:
1. Gather Context
Run these commands to understand the changes:
# Current state
git status
# Branch comparison (adjust 'main' if different base branch)
git log $(git merge-base HEAD main)..HEAD --oneline
# Files changed
git diff $(git merge-base HEAD main)..HEAD --stat
# Actual diff (for smaller changes)
git diff $(git merge-base HEAD main)..HEAD
2. Analyze Changes
Identify:
- Components modified: Which files/modules changed
- Purpose: Why these changes were made
- Impact: Benefits, risks, breaking changes
- Testing: What validation was done or needed
3. Generate PR Description
Use this template format:
## Summary
[1-3 sentences: what changed and why]
## Changes
- **[Component]**: [What changed and why]
- **[Component]**: [What changed and why]
## Impact
- ✅ [Key benefit or outcome]
- ✅ [Another benefit]
- ✅ No breaking changes
## Testing
- [ ] Tests pass (`uv run pytest`)
- [ ] Linting passes (`uv run ruff check`)
## Notes
[Optional: known issues, follow-up work, dependencies]
4. Suggest PR Title
Follow conventional commits format:
| Type | When to Use |
|---|---|
feat: |
New feature |
fix: |
Bug fix |
docs: |
Documentation only |
refactor: |
Code restructuring |
test: |
Adding tests |
perf: |
Performance improvement |
chore: |
Maintenance, dependencies |
6. Output
Present the complete PR description ready to copy-paste into GitHub.
Remind the user:
- CodeRabbit will auto-fill
@coderabbitai summaryplaceholder - They can push and create PR with
gh pr create
Example Interaction
User: "Can you prepare the PR for this branch?"
Claude:
- Runs git commands to gather context
- Analyzes the changes
- Outputs:
Suggested Title: feat: add user authentication with OAuth2
PR Description:
## Summary
Add OAuth2 authentication supporting Google and GitHub providers.
## Changes
- **auth/oauth.py**: OAuth2 client implementation with token refresh
- **api/routes/auth.py**: Login, logout, and callback endpoints
- **models/user.py**: User model with OAuth provider fields
## Impact
- ✅ Users can sign in with Google or GitHub
- ✅ Secure session management with httponly cookies
- ✅ No breaking changes to existing API
## Testing
- [x] Tests pass (`uv run pytest`)
- [x] Linting passes (`uv run ruff check`)
## Notes
Follow-up: Add Microsoft provider support
Ready to copy! Push with:
git push -u origin HEAD
gh pr create --fill
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?