creating-pull-requests
БесплатноБез исполняемых скриптовНе проверенCreates high-quality pull requests with comprehensive descriptions, test plans, and context. Activates when user wants to create PR, says 'ready to merge', or…
Об этом скилле
Creating Pull Requests
You are activating pull request creation capabilities. Your role is to create comprehensive, reviewer-friendly PRs that accelerate the review process.
When to Activate
This skill activates when:
- User says "create PR", "make pull request"
- User says "ready to merge" or "ready for review"
- Feature work is complete and tests pass
- User asks about PR best practices
- Significant changes are ready to share
PR Philosophy
Why Quality PRs Matter
- Faster Reviews: Clear context = quick approval
- Better Feedback: Reviewers understand intent
- Knowledge Sharing: PRs document decisions
- Future Reference: PRs are searchable history
- Team Culture: Quality PRs encourage quality code
PR Best Practices
- Small & Focused: One thing per PR
- Clear Context: Why this change matters
- Test Coverage: Prove it works
- Reviewer Friendly: Easy to review
- Self-Review First: Catch obvious issues
PR Creation Process
1. Analyze Changes
Understand what's being submitted:
# Check current branch and status
git status
git branch --show-current
# See all commits since divergence from base branch
git log main..HEAD --oneline
# View full diff from base branch
git diff main...HEAD
# Check for staged/unstaged changes
git diff HEAD
git diff --staged
Key Questions:
- What feature/fix does this implement?
- What's the scope of changes?
- Are there related commits?
- Is everything committed?
2. Verify Quality
Ensure PR is ready:
# Run tests
npm test # or pytest, cargo test, etc.
# Run linting
npm run lint # or ruff check, cargo clippy, etc.
# Check builds
npm run build # if applicable
Pre-flight Checklist:
- All tests pass
- Linting passes
- No unintended changes
- No debug code/comments
- No secrets/credentials
- Branch is up to date with main
3. Craft PR Description
Create comprehensive description:
## Summary
[2-3 sentences describing what this PR does and why]
## Changes
- [Key change 1]
- [Key change 2]
- [Key change 3]
## Motivation
[Why this change is needed. Link to issue if applicable.]
## Implementation Details
[Any non-obvious decisions or tradeoffs]
## Testing
- [ ] Unit tests added/updated
- [ ] Integration tests pass
- [ ] Manual testing completed
- [ ] Edge cases covered
## Screenshots/Videos
[If UI changes, include before/after screenshots]
## Breaking Changes
[If any, describe and provide migration guide]
## Rollout Plan
[For significant changes: how will this be deployed?]
## Related
- Fixes #[issue number]
- Related to #[issue number]
- Depends on #[pr number]
4. Create PR
Push and create:
# Push to remote (with tracking if needed)
git push -u origin feature-branch
# Create PR with gh CLI
gh pr create \
--title "Clear, descriptive title" \
--body "$(cat <<'EOF'
[PR description from step 3]
EOF
)"
5. Self-Review
Review your own PR first:
- Read the diff as if you're the reviewer
- Check for embarrassing mistakes
- Ensure all changes are intentional
- Add comments explaining complex parts
PR Title Guidelines
Format
<type>: <short description>
Types:
feat:New featurefix:Bug fixdocs:Documentation onlyrefactor:Code restructuring (no behavior change)perf:Performance improvementtest:Adding/fixing testschore:Maintenance tasks
Examples:
- ✅
feat: Add user authentication with JWT - ✅
fix: Resolve race condition in cache invalidation - ✅
refactor: Extract payment logic into separate module - ❌
Update stuff(vague) - ❌
WIP(not ready for review) - ❌
Fix bug(which bug?)
Good Titles
- Descriptive: What changed, not just where
- Concise: 50-72 characters
- Action-oriented: Start with verb
- Specific: Enough context to understand
PR Description Template
Comprehensive Template
# [Feature/Fix Name]
## Summary
[1-2 paragraph overview of what this PR does and why it matters]
## Problem
[What problem does this solve? What was broken/missing?]
## Solution
[High-level approach taken. Why this approach?]
## Changes
### Added
- [New feature 1]
- [New feature 2]
### Changed
- [Modified behavior 1]
- [Modified behavior 2]
### Removed
- [Deleted code/feature]
### Fixed
- [Bug fix 1]
- [Bug fix 2]
## Implementation Details
### Key Decisions
1. **[Decision 1]**: [Why this choice?]
2. **[Decision 2]**: [Tradeoffs considered]
### Tradeoffs
- **Chose X over Y because**: [Reasoning]
- **Accepted limitation**: [What and why]
### Alternative Approaches Considered
- **Approach A**: [Why not chosen]
- **Approach B**: [Why not chosen]
## Testing
### Test Coverage
- Unit tests: [X% or list of tests]
- Integration tests: [Description]
- Manual testing: [What was tested]
### Test Plan for Reviewers
1. [Step 1]
2. [Step 2]
3. [Expected result]
### Edge Cases Tested
Установить creating-pull-requests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGrepGlobFAQ
Что делает скилл creating-pull-requests?
Creates high-quality pull requests with comprehensive descriptions, test plans, and context. Activates when user wants to create PR, says 'ready to merge', or has completed feature work. Analyzes commits and changes to generate meaningful PR descriptions.
Как установить скилл creating-pull-requests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл creating-pull-requests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic