yeet
Stage, commit, push and open a GitHub pull request in one flow with gh, only when the user explicitly asks for that.
- Kind
- Skill
- Works with
- Codex, Claude Code
- Source
- openai/skills @ 49f948faa925
- Path
- skills/.curated/yeet/SKILL.md
- License
- Apache-2.0
- Jobs
- Git workflow
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
## 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"`.
…