# Yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull...

- Repository: https://github.com/openai/skills (28445 stars)
- Category: Git and review
- License: see repository
- Last updated: 2026-10-28
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openai/skills --skill yeet -g -a claude-code -y`
Codex: `npx skills add openai/skills --skill yeet -g -a codex -y`
Cursor: `npx skills add openai/skills --skill yeet -g -a cursor -y`
Gemini CLI: `npx skills add openai/skills --skill yeet -g -a gemini-cli -y`

## Description

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

## Prerequisites

- Require GitHub CLI `gh`. Check `gh --version`. If missing, ask the user to install `gh` and stop.
- Require authenticated `gh` session. Run `gh auth status`. If not authenticated, ask the user to run `gh auth login` (and re-run `gh auth status`) before continuing.

## Naming conventions

- Branch: `{description}` when starting from main/master/default.
- Commit: `{description}` (terse).
- PR title: `{description}` summarizing the full diff.

## PR template discovery

Before creating the PR, resolve the repository root and look for the active GitHub PR template from there:

```shell
repo_root="$(git rev-parse --show-toplevel)"
```

Template candidates, in order:

- `.github/pull_request_template.md`
- `.github/PULL_REQUEST_TEMPLATE.md`
- One `*.md` file under `.github/pull_request_template/`
- One `*.md` file under `.github/PULL_REQUEST_TEMPLATE/`

Use paths as emitted from the repository root, such as `.github/pull_request_template.md`, not `./.github/pull_request_template.md`.

If exactly one template is found, read it before composing the final PR body and pass it to `gh pr create` with `--template "$template"`.

If multiple template files are found, stop before PR creation and ask which template to use. If no template exists, use the fallback body shape in this skill.

## Workflow

The rest: https://github.com/openai/skills/blob/HEAD/skills/.curated/yeet/SKILL.md
