---
title: "/git:create-pr - Pull Request Creation"
description: "Create pull requests using GitHub CLI with proper templates and formatting."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/create-pr-2
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:19:08.984Z
license: CC-BY-4.0
attribution: "/git:create-pr - Pull Request Creation — Claudary (https://claudary.paisolsolutions.com/skills/create-pr-2)"
---

# /git:create-pr - Pull Request Creation
Create pull requests using GitHub CLI with proper templates and formatting.

## 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

```bash
/git:create-pr
```

## Arguments

None required - interactive guide for PR creation.

## How It Works

1. **Branch Detection**: Identifies current branch and target base branch
2. **Template Search**: Looks for PR templates in `.github/` directory
3. **Change Summary**: Analyzes commits to generate description
4. **PR Creation**: Uses `gh pr create` with formatted content
5. **Issue Linking**: Automatically links related issues

## Usage Examples

```bash
# 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

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/create-pr-2) · https://claudary.paisolsolutions.com
