TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/openai/skills/llms.txt
Use this file to discover all available pages before exploring further.
yeet skill compresses the entire “I’m done coding, time to open a PR” sequence into a single Codex prompt. It stages your changes, writes a terse commit message, pushes to a tracking branch, discovers and applies your repository’s PR template (if one exists), and opens a well-structured draft pull request — all through the GitHub CLI (gh). What normally takes several terminal commands and careful copy-pasting happens in one coherent, reviewable flow.
Trigger conditions
yeet activates only when you explicitly ask to publish changes as a pull request. Common triggers include:
- “Yeet this”
- “Open a PR for these changes”
- “Stage, commit, and push — open a draft PR”
- “Prepare this branch for review”
Prerequisites
Install the GitHub CLI
Follow the instructions at cli.github.com for your platform, then confirm the install:
Workflow
Once prerequisites are confirmed,yeet runs through the following steps automatically:
Branch
If you are on
main, master, or the default branch, a new branch is created using your change description as the name. If you are already on a feature branch, the skill stays put.Stage and commit
Runs
git status -sb to confirm what is changing, then git add -A to stage everything. Commits with a terse message describing the change.Run checks
If pre-push checks are configured and have not yet run, the skill runs them. If they fail due to missing dependencies, it installs deps and retries once.
Push
Pushes with upstream tracking:
git push -u origin <current-branch>. If the push fails due to workflow auth errors, it pulls from the default branch and retries.Discover PR template
Searches for an active GitHub PR template in this order:
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.md- A single
*.mdfile under.github/pull_request_template/ - A single
*.mdfile under.github/PULL_REQUEST_TEMPLATE/
gh pr create --template. If multiple are found, Codex pauses and asks which to use.Open or update the PR
Checks whether a PR already exists for the current branch. If yes, it updates the title and body in place — never converting a ready-for-review PR back to draft. If no PR exists, it opens a new draft PR.
PR title convention
Titles follow the conventional commit format:| Type | When to use |
|---|---|
feat | New user-facing feature |
fix | Bug fix for users |
docs | Documentation changes |
style | Formatting, missing semicolons — no logic change |
refactor | Code restructuring with no behavior change |
test | Adding or refactoring tests |
chore | Build tooling, dependency updates, etc. |
<scope> is optional and names the component, service, or subsystem being changed.
Default prompt
When you install the skill, its default prompt is:“Prepare this branch for review: stage intended changes, write a focused commit, and open a PR.”
Installing
Restart Codex after installing to pick up the new skill.