Skills yeet
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`).
install
source · Clone the upstream repo
git clone https://github.com/openai/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openai/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/.curated/yeet" ~/.claude/skills/openai-skills-yeet && rm -rf "$T"
manifest:
skills/.curated/yeet/SKILL.mdsource content
Prerequisites
- Require GitHub CLI
. Checkgh
. If missing, ask the user to installgh --version
and stop.gh - Require authenticated
session. Rungh
. If not authenticated, ask the user to rungh auth status
(and re-rungh auth login
) before continuing.gh auth status
Naming conventions
- Branch:
when starting from main/master/default.{description} - Commit:
(terse).{description} - PR title:
summarizing the full diff.{description}
Workflow
- If on main/master/default, create a branch:
git checkout -b "{description}" - Otherwise stay on the current branch.
- Confirm status, then stage everything:
thengit status -sb
.git add -A - Commit tersely with the description:
git commit -m "{description}" - Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.
- Push with tracking:
git push -u origin $(git branch --show-current) - If git push fails due to workflow auth errors, pull from master and retry the push.
- Open a PR and edit title/body to reflect the description and the deltas:
GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head $(git branch --show-current) - Write the PR description to a temp file with real newlines (e.g. pr-body.md ... EOF) and run pr-body.md to avoid \n-escaped markdown.
- PR description (markdown) must be detailed prose covering the issue, the cause and effect on users, the root cause, the fix, and any tests or checks used to validate.