# Create PR

> Create PR is an Agent Skill for development published in the penpot/penpot repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Create or update a GitHub PR following Penpot conventions.

- Skill name: `create-pr`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/penpot/penpot/blob/HEAD/.opencode/skills/create-pr/SKILL.md
- Repository: penpot/penpot (56,496 GitHub stars when collected)

## SKILL.md

# Skill: create-pr

Create or update a GitHub PR. Read and follow:
- `mem:workflow/creating-prs` — title format, description structure, writing principles
- `mem:workflow/creating-commits` — commit type emojis

## When to Use

- Creating a new PR from a feature branch
- Updating an existing PR's title or description to match conventions

## Prerequisites

- `gh` CLI authenticated (`gh auth status`)

## Commands

**Create:**

```bash
gh pr create --repo penpot/penpot --title "<TITLE>" --body-file /tmp/pr-body.md
```

**Update:**

```bash
gh pr edit <NUMBER> --repo penpot/penpot --title "<TITLE>" --body-file /tmp/pr-body.md
```

**Verify:**

```bash
gh pr view <NUMBER> --repo penpot/penpot --json title,body
```

---

Source: https://www.openparable.com/skill/development/create-pr (OpenParable). Cite the canonical URL above.
