.agents/skills/openclaw-landable-bug-sweep/SKILL.md
Autonomous maintainer workflow for producing a requested batch of landable OpenClaw bugfix PR URLs. Use for broad issue/PR sweeps where the bar is high and the output is PRs, not notes. Do not use for plugin SDK/API boundary work; those need separate architecture review.
Use batch_size from the request, defaulting to 5 and capped at 20.
Return up to that many qualified PR URLs, each with:
The URLs may be existing PRs that were reviewed/fixed, or new PRs created from issues/clusters.
Do not present a PR URL to the maintainer until it has been refreshed on current main, left-tested, autoreviewed clean, pushed, and verified green in live GitHub CI.
If code, tests, changelog, PR body, or branch base changes after autoreview, rerun autoreview before showing the URL.
Do not pad a batch when the bounded search yields fewer qualified PRs.
batch_size: requested number of landable PRs; default 5, maximum 20.source_mode: discovery or provided-prs; default discovery.provided_prs: explicit PR refs when source_mode=provided-prs.In provided-prs mode, inspect only the supplied PRs plus directly linked duplicate/canonical refs unless broader discovery is required to prove the best fix.
Use $gitcrawl for discovery/clustering, $openclaw-pr-maintainer for live GitHub mutation rules, $github-author-context when contributor trust matters, $openclaw-testing for proof choice, $autoreview before publishing/landing, and $crabbox for broad/E2E/live proof.
Accept only when all are true:
src/plugin-sdk/** boundary changeGood examples:
main, with proof and closeable duplicatesReject:
$autoreviewgit status -sbgit pull --ff-onlymaingitcrawl open issues/PRs, neighbors, and searchgh issue/pr viewrepair-existing-pr, create-new-pr, close-fixed-on-main, close-duplicate, or rejectmain, prove with current source/test/commit and close kindlyorigin/mainCHANGELOG.md during normal sweep PRs; release automation generates it from PRs and commits$autoreview until no accepted/actionable findings remain before creating, updating, or presenting the PR URLbatch_size landable PR URLs are ready or the bounded qualified queue is exhausted.Use the repo PR template. Include authored ## What Problem This Solves and
## Evidence sections. Keep the body focused on intent and the most useful
validation evidence; inspect the code, tests, and CI before judging correctness.
main, fix small issues, left-test, autoreview clean, push, and get CI green before showing or counting it.main: comment proof, close.Maintain a running ledger:
accepted:
- PR URL:
source refs:
bug:
root cause:
fix:
risk:
rebase/head:
left-test:
autoreview:
CI:
credit/thanks:
cleanup:
rejected:
- ref:
reason:
closed:
- ref:
reason:
proof/comment:
Final answer: