yeet

作者: openai

透過確認範圍、有意識地提交、推送分支,並從此處透過 GitHub 應用程式開啟草稿拉取請求,將本地變更發佈到 GitHub。

npx skills add https://github.com/openai/plugins --skill yeet

GitHub Publish Changes

Overview

Use this skill only when the user explicitly wants the full publish flow from the local checkout: branch setup if needed, staging, commit, push, and opening a pull request.

This workflow is hybrid:

  • Use local git for branch creation, staging, commit, and push.
  • Prefer the GitHub app from this plugin for pull request creation after the branch is on the remote.
  • Use gh as a fallback for current-branch PR discovery, auth checks, or PR creation when the connector path cannot infer the repository or head branch cleanly.

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.
  • Require a local git repository with a clean understanding of which changes belong in the PR.

Naming conventions

  • Branch: codex/{description} when starting from main/master/default.
  • Commit: {description} (terse).
  • PR title: [codex] {description} summarizing the full diff.

Workflow

  1. Confirm intended scope.
    • Run git status -sb and inspect the diff before staging.
    • If the working tree contains unrelated changes, do not default to git add -A. Ask the user which files belong in the PR.
  2. Determine the branch strategy.
    • If on main, master, or another default branch, create codex/{description}.
    • Otherwise stay on the current branch.
  3. Stage only the intended changes.
    • Prefer explicit file paths when the worktree is mixed.
    • Use git add -A only when the user has confirmed the whole worktree belongs in scope.
  4. Commit tersely with the confirmed description.
  5. Run the most relevant checks available if they have not already been run.
    • If checks fail due to missing dependencies or tools, install what is needed and rerun once.
  6. Push with tracking: git push -u origin $(git branch --show-current).
  7. Open a draft PR.
    • Prefer the GitHub app from this plugin for PR creation after the push succeeds.
    • Derive repository_full_name from the remote, for example by normalizing git remote get-url origin or by using gh repo view --json nameWithOwner.
    • Derive head_branch from git branch --show-current.
    • Derive base_branch from the user request when specified; otherwise use the remote default branch, for example via gh repo view --json defaultBranchRef.
    • If the branch is being pushed from a fork or the PR target differs from the remote that was just pushed, prefer gh pr create fallback because the connector PR creation flow expects one repository target and may not encode cross-repo head semantics cleanly.
    • If connector-based PR creation cannot infer the repository or branch cleanly, fall back to gh pr create --draft --fill --head $(git branch --show-current).
    • Write the PR body to a temp file with real newlines when using CLI fallback so the markdown renders cleanly.
  8. Summarize the result with branch name, commit, PR target, validation, and anything the user still needs to confirm.

Write Safety

  • Never stage unrelated user changes silently.
  • Never push without confirming scope when the worktree is mixed.
  • Default to a draft PR unless the user explicitly asks for a ready-for-review PR.
  • If the repository does not appear to be connected to an accessible GitHub remote, stop and explain the blocker before making assumptions.

PR Body Expectations

The PR description should use real Markdown prose and cover:

  • what changed
  • why it changed
  • the user or developer impact
  • the root cause when the PR is a fix
  • the checks used to validate it

來自 openai 的更多技能

user-context
openai
載入或管理資料分析插件的持久性來源路由偏好設定、入門邏輯、設定進度以及語義層註冊表。
official
notion-research-documentation
openai
研究Notion內容,並將其整合為結構化的簡報、報告或附有引用的比較分析。透過精準查詢搜尋並擷取Notion頁面,然後按主題組織發現,並附上內文來源引用及參考文獻章節。根據範圍與使用者目標,從四種輸出格式(快速簡報、研究摘要、比較分析、綜合報告)中選擇。使用內建範本建立與更新Notion頁面;直接連結來源,並在新資訊到來時追蹤變更。
official
rcsb-pdb-skill
openai
提交精簡的RCSB PDB請求以獲取核心元數據、Search API查詢及FASTA下載。當用戶需要簡潔的RCSB摘要時使用;保存原始JSON或…
official
pdf
openai
PDF 讀取、建立與驗證,支援視覺化渲染與程式化生成。使用 Poppler(pdftoppm)將 PDF 頁面渲染為 PNG,以便在交付前檢查版面、間距與排版。透過 reportlab 程式化生成 PDF,確保格式可靠;使用 pdfplumber 或 pypdf 提取文字與元資料。執行品質標準:無文字裁切、元素重疊、表格破損或渲染瑕疵;僅使用 ASCII 連字號,引用格式需具可讀性。使用...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
終端驅動的瀏覽器自動化,具備元素快照與互動式UI工作流程。透過playwright-cli包裝腳本運作(需npx),支援無頭模式與有頭模式以進行視覺化除錯。核心流程:開啟頁面、擷取快照以取得穩定元素參照、使用參照進行互動、在導航或DOM變更後重新擷取快照。包含表單填寫、點擊、輸入、多分頁管理、螢幕截圖/PDF擷取,以及流程除錯的軌跡記錄。元素參照(例如e3、e15)...
official
ukb-topmed-phewas-skill
openai
接受rsID、GRCh37或GRCh38輸入,解析為所需的GRCh38查詢,以獲取單一變異的簡潔UKB-TOPMed PheWAS摘要。當需要…時使用。
official
code-review-context
openai
模型可見上下文
official