github

作者: openai

通过连接的GitHub应用对GitHub仓库、拉取请求和议题工作进行分类和定向。当用户寻求常规GitHub帮助、需要处理PR或…时使用。

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

GitHub

Overview

Use this skill as the umbrella entrypoint for general GitHub work in this plugin. It should decide whether the task stays in repo and PR triage or should be handed off to a more specific review, CI, or publish workflow.

This plugin is intentionally hybrid:

  • Prefer the GitHub app from this plugin for repository, issue, pull request, comment, label, reaction, and PR creation workflows.
  • Use local git and gh only when the connector does not cover the job well, especially for current-branch PR discovery, branch creation, commit and push, gh auth status, and GitHub Actions log inspection.
  • Keep connector state and local checkout context aligned. If the request is about the current branch, resolve the local repo and branch before acting.

Once the intent is clear, route to the specialist skill immediately and do not keep broad GitHub triage in scope longer than needed.

Connector-First Responsibilities

Handle these directly in this skill when the request does not need a narrower specialist workflow:

  • repository orientation once the repo, PR, issue, or local checkout is identified
  • recent PR or issue triage
  • PR metadata summaries
  • PR patch inspection
  • PR comments, labels, and reactions
  • issue lookup and summarization
  • PR creation after a branch is already pushed

Prefer the GitHub app from this plugin for those flows because it provides structured PR, issue, and review-adjacent data without depending on a local checkout. If the repository is not already identifiable from the user request or local git context, ask for the repo instead of pretending there is a repo-search flow that may not exist.

Routing Rules

  1. Resolve the operating context first:
    • If the user provides a repository, PR number, issue number, or URL, use that.
    • If the request is about "this branch" or "the current PR", resolve local git context and use gh only as needed to discover the branch PR.
    • If the repository is still ambiguous after local inspection, ask for the repo identifier.
  2. Classify the request before taking action:
    • repo or PR triage: summarize PRs, issues, patches, comments, labels, reactions, or repository state
    • review follow-up: unresolved review threads, requested changes, or inline review feedback
    • CI debugging: failing checks, Actions logs, or CI root-cause analysis
    • publish changes: create or switch branches, stage changes, commit, push, and open a draft PR
  3. Route to the specialist skill as soon as the category is clear:
    • Review comments and requested changes: ../gh-address-comments/SKILL.md
    • Failing GitHub Actions checks: ../gh-fix-ci/SKILL.md
    • Commit, push, and open PR: ../yeet/SKILL.md
  4. Keep the hybrid model consistent after routing:
    • connector first for PR and issue data
    • local git and gh only for the specific gaps the connector does not cover

Default Workflow

  1. Resolve repository and item scope.
  2. Gather structured PR or issue context through the GitHub app from this plugin.
  3. Decide whether the task stays in connector-backed triage or needs a specialist skill.
  4. Route immediately when the work becomes review follow-up, CI debugging, or publish workflow.
  5. End with a clear summary of what was inspected, what changed, and what remains.

Output Expectations

  • For triage requests, return a concise summary of the repository, PR, or issue state and the next likely action.
  • For mixed requests, tell the user which specialist path you are taking and why.
  • For connector-backed write actions, restate the exact PR, issue, label, or reaction target before applying the change.
  • Never imply that GitHub Actions logs are available through the connector alone. That remains a gh workflow.

Examples

  • "Use GitHub to summarize the open PRs in this repo and tell me what needs attention."
  • "Help with this PR."
  • "Review the latest comments on PR 482 and tell me what is actionable."
  • "Debug the failing checks on this branch."
  • "Commit these changes, push them, and open a draft PR."

来自 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
改进OpenAI Agents JS mon
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