# Create Pr

> Create a pull request for implemented changes from a GitHub issue

- Skill: `jartan-llc/create-pr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jartan-llc/create-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jartan-llc/create-pr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Jartan-LLC (https://skillmd.com/u/jartan-llc)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jartan-llc/create-pr

---


# Create Pull Request

Create a pull request from the current implementation branch for a GitHub issue.

## Process

### 1. Verify Branch

Check existing local and remote branches for one related to this issue -- it may be named by issue number (`feature/issue-123`) or by description (`feature/audit-improvements`). Check it out and ensure it has committed changes ready for a PR.

### 2. Get Issue Context

Determine the issue number from the user's request and fetch details:

```bash
gh issue view <issue-number>
```

### 3. Review All Changes

Determine the correct base branch -- `main` for regular branches, or the parent feature branch for sub-issue branches. Read `git diff <base>` to understand the full scope of changes. Note what was added, modified, and removed.

### 4. Create Pull Request

Read `.github/PULL_REQUEST_TEMPLATE.md` for the expected format, then create the PR:

```bash
gh pr create --title "<type>: <description>" --body "<body following template>" --base <base-branch>
```

Include `Closes #<issue-number>` in the body.

### 5. Post Update

```bash
gh issue comment <issue-number> --body "Pull request created: <PR-link>

---
*Generated by Claude -- reply with \`/praxis:review-pr <pr-number>\` for automated review*"
```

