Agent Skillsxiaotianfotos/homerail › homerail-pr-closeout

homerail-pr-closeout

GitHub

用于判定GitHub PR是否具备合并条件,通过校验CI、依赖及审批证据确保安全。严禁自动合并,仅输出就绪状态或阻塞原因,供人工决策。

skills/homerail-pr-closeout/SKILL.md xiaotianfotos/homerail

Trigger Scenarios

PR从Draft转为Ready 检查PR合并资格 验证PR审批与CI状态

Install

npx skills add xiaotianfotos/homerail --skill homerail-pr-closeout -g -y
More Options

Use without installing

npx skills use xiaotianfotos/homerail@homerail-pr-closeout

指定 Agent (Claude Code)

npx skills add xiaotianfotos/homerail --skill homerail-pr-closeout -a claude-code -g -y

安装 repo 全部 skill

npx skills add xiaotianfotos/homerail --all -g -y

预览 repo 内 skill

npx skills add xiaotianfotos/homerail --list

SKILL.md

Frontmatter
{
    "name": "homerail-pr-closeout",
    "description": "Determine whether a GitHub pull request can leave Draft or is ready for its\nowner to merge, using immutable validation, review, CI, dependency, and\napproval evidence. Never merge a pull request."
}

HomeRail PR Closeout

Use the concrete pr-closeout orchestration after implementation and local validation are complete. Do not substitute a conversational checklist.

Safety Boundary

  • Never call a GitHub merge API or gh pr merge.
  • Never represent HomeRail approval as a GitHub approval or merge.
  • Never accept validation evidence whose head differs from the current PR head.
  • Never let a model override deterministic blockers.

Draft Closeout

For a Draft PR, use one of these paths:

  • Call run_pr_closeout with repo, integer pr, phase: draft, and durable validation_runs. Do not invent run ids.
  • Run hr dag run-template pr-closeout with explicit operator-attested local evidence bound to a commit SHA.

A successful result means only ready_for_review; the PR must still run normal GitHub CI and PR Review after leaving Draft.

Merge Closeout

For a non-Draft PR, call run_pr_closeout with durable validation_runs, especially the matching HomeRail PR Review run. Do not use generic create_and_run, shell, gh, or curl to reconstruct the snapshot. The workflow may pause at merge_approval. Return the real run id and the exact blocker list or pending approval hash. Only human:owner may decide that approval, and the user still merges manually.

After a terminal decision, consume the declared pr-closeout.json artifact with hr dag artifact <run-id> pr-closeout.json --output pr-closeout.json. Never reconstruct closeout evidence by scraping handoffs.

Read docs/scenarios/pr-closeout.md for the full evidence contract.

Version History

  • 7f1ebb2 Current 2026-08-12 20:53

Same Skill Collection

assets/orchestrations/dag-best-practices/SKILL.md
plugins/builtin/core-generative-ui/skills/voice-generative-ui/SKILL.md
plugins/builtin/pr-closeout/skills/pr-closeout/SKILL.md
plugins/builtin/topic-outline/skills/topic-outline/SKILL.md
plugins/examples/release-notes/skills/compose-release-notes/SKILL.md
plugins/examples/video-cover/skills/generate-video-cover/SKILL.md
skills/homerail-install-ops/SKILL.md
skills/homerail-pr-review/SKILL.md
skills/homerail-shared/SKILL.md
skills/homerail-cli/SKILL.md
skills/homerail-dag-ops/SKILL.md
skills/homerail-dag-patterns/SKILL.md

Metadata

Files
0
Version
7f1ebb2
Hash
fafa08cb
Indexed
2026-08-12 20:53

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-12 23:14
浙ICP备14020137号-1 $お客様$