# create-pr

Opens draft pull requests through the GitHub CLI using repository templates. It checks for uncommitted changes and formats PR titles with emojis.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1200 installs · ★ 1787
- Author: NeoLabHQ
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/create-pr/SKILL.md
- Updated: 2026-08-26
- HTML: https://affpapa.org/en/nevibecode/skills/create-pr

## What it does

The skill automates pull request creation using the GitHub CLI. It executes `git status` before initiating any request. If uncommitted changes exist, the workflow expects you to run the `commit` skill first so no files are omitted.

New pull requests are created as drafts against the `main` branch via `gh pr create --draft`. Titles must follow Conventional Commits formatting with real emoji characters at the start. The description pulls directly from `.github/pull_request_template.md`. Modifying headers or removing PR-Agent blocks is forbidden, and all text must be written in English.

The command will fail immediately if `gh` is missing or not authenticated with `gh auth login`.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-pr -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-pr/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-pr/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-pr -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-pr/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-pr -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-pr/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NeoLabHQ/context-engineering-kit create-pr
```

2. **Manually: put the files in place**
- File: `.github/skills/create-pr/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-pr -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NeoLabHQ/context-engineering-kit --path skills/create-pr
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-pr/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-pr -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/create-pr/SKILL.md

## When to use it
- open draft pull requests using GitHub CLI
- verify git working tree status before pushing
- enforce conventional commit titles with actual emojis
- preserve PR template structure and PR-Agent blocks

## Example prompts
- Create a draft PR for this branch
- Open a pull request into main using the repository template
- Format and submit a draft PR for my recent changes

## Similar
- [antfu-create-pr](https://affpapa.org/en/nevibecode/skills/antfu-create-pr.md) — skill · 485 installs
- [git-workflow](https://affpapa.org/en/nevibecode/skills/netresearch-dtt-gmbh-git-workflow.md) — skill · 722 installs
- [workshop-create](https://affpapa.org/en/nevibecode/skills/workshop-create.md) — skill · 23 installs
- [babysit](https://affpapa.org/en/nevibecode/skills/babysit.md) — skill · 4900 installs
- [create-worktrees](https://affpapa.org/en/nevibecode/commands/create-worktrees.md) — command · 351 installs
- [gh-fix-ci](https://affpapa.org/en/nevibecode/skills/openai-gh-fix-ci.md) — skill · 11500 installs

## Other versions with the same name
- [create-pr · zhaono1](https://affpapa.org/en/nevibecode/skills/zhaono1-create-pr.md) — 666 installs

From the same set: [neolabhq/context-engineering-kit](https://affpapa.org/en/nevibecode/by/neolabhq/context-engineering-kit.md) — 64 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
