Review, triage, repair, or land OpenClaw issues and pull requests with current-source evidence and the native maintainer workflow.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-openclaw-pr-maintainer-e80da0dcd188 ,按照其中的说明把「openclaw-pr-maintainer」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use for the requested OpenClaw issue/PR operation. Root AGENTS.md owns repair,
product, source-trust, and approval policy; this skill owns the GitHub workflow.
A pasted ref is context, not permission to publish or expand the task.
The lead remains hands-on. Use bounded independent workers where they add useful evidence; serialize shared checkout/ref mutations and GitHub writes. Do not create user-owned app tasks to hide internal subtasks. Preserve a stalled worker's patches, claims, and proof before taking over or reassigning its work.
Start with git status -sb; preserve unrelated changes. Use available local
gitcrawl data for related work when useful, then bare PATH gh with narrow
JSON fields for live decisions. Stale/missing archives fall through to gh;
do not broadly sync archives just to begin. PR source comes from gh pr view/diff and the checkout, not web search.
gh pr view <pr> --repo openclaw/openclaw \
--json number,title,state,body,author,assignees,baseRefName,headRefName,headRefOid,files,comments,reviews
gh issue view <issue> --repo openclaw/openclaw \
--json number,title,state,body,author,assignees,comments
Check assignment before deep work. Mention another assignee and treat a fresh assignment as active ownership unless the user directs otherwise. Assignment alone is not a block when stale or explicitly overridden. Claim an unassigned named item only under assignment or landing/autonomous-resolution authority, using the verified authenticated login. Never remove others' assignments without direction. Account/activity research belongs to its conditional route.
Read the affected owner, entry points, callers, relevant siblings, tests, docs, history, and current main as needed to support a conclusion. Inspect dependency contracts directly when they determine behavior; apply the root's personal Codex-source inspection requirement when relevant. Investigate contrary evidence before defending a verdict. Do not fill an arbitrary evidence matrix or invent a rejected alternative merely to satisfy a form.
Use $openclaw-testing to choose proportional proof and its source-trust/host
route. Trusted development proof defaults local; remote proof needs an environment
or isolation reason. Unavailable optional live proof may use meaningful boundary
proof with the limitation stated. Explicit live requests, external API contracts,
and changes whose risk requires authenticated execution keep their required proof.
Never describe mocks, skipped checks, or an older head as live evidence.
Before committing or landing nontrivial code, run $autoreview and resolve
verified actionable findings. Use it for a review-only request when that request
asks for independent autoreview; ordinary findings-only review does not need a
second reviewer by default. Do not add another mandatory CLI review pass.
Reopen review for substantive changes or unresolved concerns, not a patch-identical
rebase or a mechanical head change. Address real human/bot findings and explain
rejected ones; bot scores and Rank-up lists do not create separate obligations.
Use the current PR template. Lead with the plain-language problem and concrete
user impact; keep the explanation short and leave implementation inventories in
the diff or optional details. Keep important risks, migrations, required actions,
useful evidence, known gaps, and contributor credit visible and current. Do not
invent a user benefit for internal-only work. Explain material tradeoffs when they
matter; do not require universal LOC tables, provenance fields, or alternate-fix
essays. CHANGELOG.md is release-owned; user-facing release-note context stays
in the PR/commit. Omit agent transcripts unless explicitly requested.
Before public mutation, verify author/committer and authenticated writer identity. Use body files for shell-sensitive text. Post findings only under the authorized write scope, and update an existing relevant comment/body instead of duplicating it. Publication, media, exact-head CI, and native landing mechanics are in landing; read that reference before publishing or merging.
Verify the final merge/closure state and source rather than trusting a local summary. Report the problem, owner-level change, important proof and limitations, credit, and linked final state in concise prose. Record worthwhile follow-ups; do not manufacture another task after a bounded request is complete.
Once the requested outcome and required verification are complete, remove the
task's disposable proof and scratch. This includes test logs, receipts, local
proof archives, and .crabbox outputs. Do not retain, archive, export, or hand off
these files merely to remove the completed task's worktree. Follow
native closeout.
Required pre-merge proof stays mandatory. Preserve requested deliverables, explicit retention requests, unfinished source, recovery state needed by unfinished operations, active owners, credentials, agent state, and shared dependencies. Optional follow-ups do not keep a completed task open.