跳到正文
FunCoding

github-pr-status

Inspect an environment's GitHub pull request, mark it ready or draft, or merge it from the Hyperfide CLI; read PR status from another plugin.

Star
585
许可证
Apache-2.0
最近提交
2026年11月17日

plugins/github-pr-status/skills/github-pr-status/SKILL.md

在 GitHub 上查看

GitHub PR Status

The plugin finds the pull request for an environment's current branch by running gh in the environment's workspace on its machine, so forks, upstream remotes and the machine's own gh login apply. The composer banner, the Info panel and sidebar plugins read their PR status from it.

Hyperfide pull-request show <environment-id> [--json]
Hyperfide pull-request ready <environment-id> [--json]
Hyperfide pull-request draft <environment-id> [--json]
Hyperfide pull-request merge <environment-id> [--method merge|squash|rebase] [--json]
  • show prints the PR number, state, branch, attention, checks, review and mergeability. --json prints { "outcome": "available", "pullRequest" }, { "outcome": "absent" } or { "outcome": "unavailable", "message" }.
  • ready needs a draft PR, draft needs an open PR and merge needs an open PR GitHub reports as mergeable. Each re-reads the PR first and fails with the reason otherwise.
  • Hyperfide never wakes a machine for PR work. When the environment's machine is suspended or offline, show reports unavailable and the actions fail with a message naming the machine.
  • gh must be installed and logged in on that machine.

Other plugins read the same data through RPC. pullRequests is a keyed read: pass up to 200 environment ids and get one row per id. While a client watches a row, the plugin re-checks it every 30 seconds when checks are pending, auto-merge is on, the PR is queued or mergeability is unknown. It also re-checks after a thread on the environment goes idle or the environment's refs, status or metadata change, and refreshes viewers only when the row changes.

experimental_useRpcKeyedQuery({
  pluginId: "hyperfide--github-pr-status",
  contract,
  method: "pullRequests",
  keys: [environmentId],
});

hyperfide-platform plugin rpc inspect hyperfide--github-pr-status prints the input and output schemas for pullRequests, markReady, markDraft and merge.

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea485k近 7 天新增 9,215 个 star

rea-changelog-update

MOmorluto/rea485k近 7 天新增 9,215 个 star

wizard

MAmattpocock/skills336k近 7 天新增 5,004 个 star

pr

MAmattpocock/skills336k近 7 天新增 5,004 个 star

triage

MAmattpocock/skills336k近 7 天新增 5,004 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills336k近 7 天新增 5,004 个 star