Openclaw openclaw-pr-maintainer
Maintainer workflow for reviewing, triaging, preparing, closing, or landing OpenClaw pull requests and related issues. Use when Codex needs to validate bug-fix claims, search for related issues or PRs, apply or recommend close/reason labels, prepare GitHub comments safely, check review-thread follow-up, or perform maintainer-style PR decision making before merge or closure.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/openclaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/openclaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/openclaw-pr-maintainer" ~/.claude/skills/openclaw-openclaw-openclaw-pr-maintainer && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/openclaw "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/.agents/skills/openclaw-pr-maintainer" ~/.openclaw/skills/openclaw-openclaw-openclaw-pr-maintainer && rm -rf "$T"
manifest:
.agents/skills/openclaw-pr-maintainer/SKILL.mdsource content
OpenClaw PR Maintainer
Use this skill for maintainer-facing GitHub workflow, not for ordinary code changes.
Apply close and triage labels correctly
- If an issue or PR matches an auto-close reason, apply the label and let
handle the comment/close/lock flow..github/workflows/auto-response.yml - Do not manually close plus manually comment for these reasons.
labels can be used on both issues and PRs.r:*- Current reasons:
r: skillr: supportr: no-ci-prr: too-many-prsr: testflightr: third-party-extensionr: moltbookr: spaminvalid
for PRs onlydirty
Enforce the bug-fix evidence bar
- Never merge a bug-fix PR based only on issue text, PR text, or AI rationale.
- Before landing, require:
- symptom evidence such as a repro, logs, or a failing test
- a verified root cause in code with file/line
- a fix that touches the implicated code path
- a regression test when feasible, or explicit manual verification plus a reason no test was added
- If the claim is unsubstantiated or likely wrong, request evidence or changes instead of merging.
- If the linked issue appears outdated or incorrect, correct triage first. Do not merge a speculative fix.
Handle GitHub text safely
- For issue comments and PR comments, use literal multiline strings or
for real newlines. Never embed-F - <<'EOF'
.\n - Do not use
when the body contains backticks or shell characters. Prefer a single-quoted heredoc.gh issue/pr comment -b "..." - Do not wrap issue or PR refs like
in backticks when you want auto-linking.#24643 - PR landing comments should include clickable full commit links for landed and source SHAs when present.
Search broadly before deciding
- Prefer targeted keyword search before proposing new work or closing something as duplicate.
- Use
with--repo openclaw/openclaw
first.--match title,body - Add
when triaging follow-up discussion.--match comments - Do not stop at the first 500 results when the task requires a full search.
Examples:
gh search prs --repo openclaw/openclaw --match title,body --limit 50 -- "auto-update" gh search issues --repo openclaw/openclaw --match title,body --limit 50 -- "auto-update" gh search issues --repo openclaw/openclaw --match title,body --limit 50 \ --json number,title,state,url,updatedAt -- "auto update" \ --jq '.[] | "\(.number) | \(.state) | \(.title) | \(.url)"'
Follow PR review and landing hygiene
- If bot review conversations exist on your PR, address them and resolve them yourself once fixed.
- Leave a review conversation unresolved only when reviewer or maintainer judgment is still needed.
- When landing or merging any PR, follow the global
process./landpr - Use
for scoped commits instead of manualscripts/committer "<msg>" <file...>
andgit add
.git commit - Keep commit messages concise and action-oriented.
- Group related changes; avoid bundling unrelated refactors.
- Use
for PR submissions and.github/pull_request_template.md
for issues..github/ISSUE_TEMPLATE/
Extra safety
- If a close or reopen action would affect more than 5 PRs, ask for explicit confirmation with the exact count and target query first.
means: if the tree is dirty, commit all changes with a sensible Conventional Commit message, thensync
, thengit pull --rebase
. Stop if rebase conflicts cannot be resolved safely.git push