Use when reviewing, triaging, validating, or discussing ClawHub GitHub issues or pull requests, including author context, CI, UI proof, evidence, labels, close
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-clawhub-pr-maintainer-4ba4bc62ace3 ,按照其中的说明把「clawhub-pr-maintainer」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use this skill for maintainer-facing ClawHub GitHub workflow, not for ordinary implementation work.
gh pr view or gh issue view against openclaw/clawhub; verify live
state before commenting, labeling, closing, or recommending merge.Common read-only commands:
gh pr view <number> --repo openclaw/clawhub --json title,body,author,labels,comments,files,commits,statusCheckRollup,reviewDecision,url,additions,deletions,changedFiles
gh issue view <number> --repo openclaw/clawhub --json title,body,author,labels,comments,state,url
gh api users/<login> --jq '{login,name,created_at,type}'
proof:ui just to inspect
existing evidence.LOC: +x/-y (N files), using live PR stats or
local diff stats.No blocking findings or
No findings.Provenance: line when a bounded
history pass identifies it. Separate code author, PR author,
merger/committer, current PR author, PR number, and date when those differ.
If the blamed PR was merged by automation, identify the human trigger when
practical; otherwise say trigger unknown.origin/main behavior or current published docs when
regression, compatibility, or user-visible docs accuracy matters.Remaining uncertainty; do not call the PR best, proof-sufficient, or
merge-ready.Every PR review must explicitly answer: "Is this the best fix, or only a plausible fix?"
Before verdict:
origin/main and shipped behavior when relevant.Review output must include:
Best-fix verdict: best / acceptable mitigation / wrong layer / too narrow /
too broad.Alternatives considered: 1-3 concrete alternatives and why rejected.Code read: compact list of main files/contracts checked.Remaining uncertainty: what was not proven.Generate new visual evidence with the best proof runtime available in the
current session. Use Crabbox through bun run proof:ui only when a Crabbox
skill or working Crabbox capability is available. Otherwise ignore Crabbox and
run the existing Playwright proof runtime against a real local ClawHub instance;
missing Crabbox access is not a blocker.
before-after: bug fixes, regressions, changed copy, changed layout, or any
PR where main-vs-candidate comparison clarifies the change.feature: new page, new flow, new UI state, or behavior that cannot exist on
origin/main.Write a temporary Playwright scenario under .artifacts/proof-scenarios/; do
not infer manual clicks. Keep screenshots and videos in .artifacts/ until
publishing. Never commit proof artifacts.
For the local fallback, start ClawHub with the relevant local Convex state and run the scenario through the local Playwright runner:
bun run proof:ui -- --runner local --mode feature \
--scenario .artifacts/proof-scenarios/<name>.pw.ts \
--candidate-url <local-clawhub-url>
For before/after proof, run the same scenario against an origin/main checkout
and the candidate checkout, then pass both URLs with --baseline-url and
--candidate-url. The runner accepts only localhost or loopback URLs and writes
publishable baseline/ and candidate/ artifacts. Use the Codex app browser to
inspect the running local instances and captured evidence.
If this review generated proof:ui artifacts, publish them before the final PR
review comment. Do not leave only local .artifacts/... paths in a PR comment;
they are useful to the maintainer locally but invisible to GitHub readers.
Use:
bun run proof:publish -- --proof-dir .artifacts/clawhub-ui-proof/<timestamp> --target-pr <number>
proof:publish copies the selected files to the qa-artifacts branch and
upserts a marker-backed PR comment with a ClawHub UI Proof section.
That comment includes:
before-after or feature)report.md result summaryUse --dry-run before publishing if you need to inspect the generated comment.
If publishing fails because credentials are missing, report the local proof
directory and the failed command instead of posting a comment that claims
evidence is attached.
ClawSweeper is the bot control plane for automated PR/issue review once ClawHub dispatch is configured. Until then, use this skill for manual maintainer review. If ClawSweeper has posted a review, read it as evidence but verify live PR state before acting.
--body-file; never pass escaped
\n strings.--body-file over inline -b bodies.#123 in backticks when you want GitHub to
auto-link them.gh pr comment --body-file is fine.
When proof artifacts were generated, use proof:publish so screenshots/videos
are published before posting.