Catalog
openai/yeet

openai

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`).

global
0installs0uses~410
v1.1Saved Apr 20, 2026

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.

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.
  • 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.
Files4
4 files · 13.0 KB

Select a file to preview

Overall Score

78/100

Grade

B

Good

Safety

82

Quality

72

Clarity

80

Completeness

72

Summary

The 'yeet' skill automates the GitHub PR workflow: it stages changes, commits with a description, runs checks, pushes to a branch, and opens a PR using GitHub CLI (`gh`). It enforces prerequisite checks (gh installation and authentication), applies consistent naming conventions, and generates detailed PR descriptions with markdown formatting.

Detected Capabilities

GitHub CLI (`gh`) integration and authentication validationGit operations (branch creation, staging, committing, pushing)Prerequisite validation (gh version, auth status)Error recovery (pull from master on push failure, retry logic)PR creation with draft mode and markdown body formattingBuild/test execution with dependency installation fallbackEnvironment variable isolation (GH_PROMPT_DISABLED, GIT_TERMINAL_PROMPT)

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

open pull requeststage and commitpr workflowgithub clipush and pr

Risk Signals

INFO

Uses `git add -A` to stage all changes without filtering

SKILL.md, Workflow section
INFO

Executes `git push` without explicit error handling beyond retry logic

SKILL.md, Workflow section
WARNING

Runs undefined checks/tests with automatic dependency installation

SKILL.md, Workflow section ('Run checks if not already')
INFO

Creates git branches and commits based on user-supplied description parameter

SKILL.md, Naming conventions and Workflow
INFO

Writes temporary PR body file (pr-body.md) to filesystem

SKILL.md, Workflow section

Referenced Domains

External domains referenced in skill content, detected by static analysis.

www.apache.org

Use Cases

  • Stage, commit, and push changes in a single flow
  • Open a pull request with auto-filled title and detailed description
  • Automate branch creation and PR workflow for code review
  • Handle authentication and dependency checks before git operations
  • Recover from common git push failures (workflow auth, tracking branch issues)

Quality Notes

  • ✓ Clear, terse scope: PR workflow only. Well-defined preconditions (gh auth, version checks).
  • ✓ Practical error handling: retry logic for push failures, dependency installation fallback, auth validation.
  • ✓ Naming conventions explicitly documented (branch, commit, PR title patterns).
  • ✓ Security-conscious: uses environment variable isolation (GH_PROMPT_DISABLED, GIT_TERMINAL_PROMPT) to prevent interactive prompts.
  • ✓ Supporting YAML agent config present with display metadata and default prompt.
  • ✗ 'Run checks if not already' is vague—no examples of what 'checks' means or how to determine if they've run.
  • ✗ Temporary file handling (pr-body.md) not explicitly cleaned up after PR creation.
  • ✗ No guidance on handling uncommitted changes that `git add -A` might inadvertently stage.
  • ✗ PR body generation instructions are prescriptive (issue, cause, root cause, fix, tests) but no example markdown provided.
  • ✗ No handling for edge cases: empty diff, merge conflicts on pull, PR already exists for branch.
Model: claude-haiku-4-5-20251001Analyzed: Apr 20, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

v1.1

Content updated

2026-04-20

Latest
v1.0

Seeded from github.com/openai/skills

2026-03-16

Add openai/yeet to your library

Command Palette

Search for a command to run...