Skip to content
Security
Skill

/openai-yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request

BOOST
From plugin
skills-curated
51531 skills1 agent4 commands
Install
$ npx -y skills add trailofbits/skills-curated --skill openai-yeet --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/openai-yeet

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request

SKILL.md

openai-yeet.SKILL.md
name: openai-yeet
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`). Originally from OpenAI's curated skills catalog.
allowed-tools:
- Bash
- Read
- Grep
- Glob
- Write
- Edit

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: `claude/{description}` when starting from main/master/default.
  • Commit: `{description}` (terse).
  • PR title: `[claude] {description}` summarizing the full diff.

Workflow

  • If on main/master/default, create a branch: `git checkout -b "claude/{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.

When to Use

<!-- TODO: review -->

When NOT to Use

<!-- TODO: review -->

Read more
Ships withskills-curated

Trail of Bits' reviewed and approved Claude Code plugins. Every skill and marketplace here has been vetted for quality and safety.

Get the whole plugin

Other skills on skills-curated.