All skills
Skillintermediate
/git:create-pr - Pull Request Creation
Create pull requests using GitHub CLI with proper templates and formatting.
Claude Code Knowledge Pack7/10/2026
Overview
/git:create-pr - Pull Request Creation
Create pull requests using GitHub CLI with proper templates and formatting.
- Purpose - Streamline PR creation with consistent formatting
- Output - GitHub pull request with template
/git:create-pr
Arguments
None required - interactive guide for PR creation.
How It Works
- Branch Detection: Identifies current branch and target base branch
- Template Search: Looks for PR templates in
.github/directory - Change Summary: Analyzes commits to generate description
- PR Creation: Uses
gh pr createwith formatted content - Issue Linking: Automatically links related issues
Usage Examples
# Create PR for current branch
> /git:create-pr
# After completing feature
> /git:commit
> /git:create-pr
# Full workflow
> /git:analyze-issue 123
> claude "implement feature"
> /git:commit
> /git:create-pr
Best Practices
- Push branch first - Ensure branch is pushed to remote
- Use descriptive titles - Clear summary of changes
- Link issues - Reference related issues in description
- Request reviewers - Add appropriate team members