AI SummaryAutomates the complete GitHub workflow (stage, commit, push, PR) via GitHub CLI in a single flow with consistent naming conventions. Developers who frequently create pull requests benefit from reduced repetitive command execution.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "yeet" skill in my project. Please run this command in my terminal: # Install skill into your project (5 files) mkdir -p .claude/skills/yeet && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yeet/SKILL.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/yeet/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yeet/LICENSE.txt "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/yeet/LICENSE.txt" && mkdir -p .claude/skills/yeet/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yeet/agents/openai.yaml "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/yeet/agents/openai.yaml" && mkdir -p .claude/skills/yeet/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yeet/assets/yeet-small.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/yeet/assets/yeet-small.svg" && mkdir -p .claude/skills/yeet/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yeet/assets/yeet.png "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/yeet/assets/yeet.png" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
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`).
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
• If on main/master/default, create a branch: git checkout -b "{description}" • Otherwise stay on the current branch. • Confirm status, then stage everything: git status -sb then 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. • Discover and read the repository PR template, if any. • Check whether the current branch already has a PR: gh pr view "$(git branch --show-current)" --json number,isDraft,url • If a PR already exists, update that PR in place. Do not create another PR, and do not change whether the existing PR is draft or ready for review. • If no PR exists, open a new draft PR: • With one template: GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --template "$template" --head "$(git branch --show-current)" • Without a template: GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head "$(git branch --show-current)" • Edit the PR title and body so they reflect the actual net change in the diff. • Write the PR description to a temp file with real newlines and pass it via --body-file or gh pr edit --body-file to avoid \n-escaped markdown.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster