Agent Skillsopenclaw/openclaw › openclaw-repair-sweep

openclaw-repair-sweep

GitHub

用于执行多项目修复活动,协调独立工作节点,验证根因并落地或关闭已确认的 Issue/PR。涵盖从少量列表到全队列扫描的自动化修复流程,强调所有权分配、隔离操作及证据链验证。

.agents/skills/openclaw-repair-sweep/SKILL.md openclaw/openclaw

Trigger Scenarios

需要批量修复多个 GitHub Issue 或 PR 发起针对特定代码库或全队列的自动化维护活动

Install

npx skills add openclaw/openclaw --skill openclaw-repair-sweep -g -y
More Options

Non-standard path

npx skills add https://github.com/openclaw/openclaw/tree/main/.agents/skills/openclaw-repair-sweep -g -y

Use without installing

npx skills use openclaw/openclaw@openclaw-repair-sweep

指定 Agent (Claude Code)

npx skills add openclaw/openclaw --skill openclaw-repair-sweep -a claude-code -g -y

安装 repo 全部 skill

npx skills add openclaw/openclaw --all -g -y

预览 repo 内 skill

npx skills add openclaw/openclaw --list

SKILL.md

Frontmatter
{
    "name": "openclaw-repair-sweep",
    "description": "Run scoped OpenClaw issue\/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority."
}

OpenClaw Repair Sweep

Use for a multi-item repair campaign. Root AGENTS.md owns repair and safety policy; $openclaw-pr-maintainer owns item review, GitHub writes, and landing. The lead remains hands-on and delegates independent work where useful.

Scope and authority

  • Explicit refs imply a bounded ref campaign. Otherwise discovery defaults to five qualified items (maximum twenty per batch); a whole-queue request means continuing through that queue. Do not pad low-confidence findings.
  • Honor requested workers and focus. Ref/discovery campaigns normally use up to eight item owners; a queue campaign can assign up to sixty-four, but actual active proof workers must fit host/remote capacity. Start small and scale on observed resource health; assigned is not the same as running.
  • An explicit autonomous fix-and-land/sweep invocation covers scoped investigation, repairs, commits, pushes, PRs, verified landings and proven closures. Review, triage, or list wording stays read-only; fix-only stops before publication. Never infer release, schema/config/protocol, credential, security, or product approval from campaign authority.

Use $gitcrawl for available archive discovery, $openclaw-testing for proof, $autoreview for independent code review, and $crabbox when the proof requires remote environment or untrusted-source isolation. Author-history research is conditional on a concrete question, not a campaign prerequisite.

Coordinate ownership

Assign each item or shared root-cause cluster one owner, a checkout, frozen source SHA, authorized actions, and a useful stopping condition. Duplicate symptoms share an owner; repeated defect classes should be repaired in the canonical owner rather than by parallel near-identical patches.

Use isolated issue/PR worktrees and preserve unrelated files. Serialize shared fetch/ref/branch/worktree operations, PR preparation, and merges in short slots; never hold the slot across coding, tests, or a remote wait. Each remote lease has one owner and one active command. Pause only campaign-owned work under resource pressure, and preserve patches, claims, proof, and checkpoints before replacement. The lead may take over stalled work safely; it is not an orchestration-only role.

Read root and scoped guides before acting. Each verdict-bearing worker inspects its relevant dependency contracts directly, including the root's personal Codex source requirement. The lead verifies consequential results, not just summaries. Use independent challenge for nontrivial repairs and closure evidence; one independent autoreview is enough for the code-review requirement.

Investigate and repair

Search existing work before creating another fix: current body/comments, related archive results, live state when it matters, and current source/history. Use bare PATH gh with narrow JSON fields; reuse shared evidence and avoid unnecessary pagination or repeated item fetches.

Prefer, in order:

  1. Prove the original behavior is already fixed on current main and close under the authorized scope with the canonical fix and evidence.
  2. Finish and verify an existing useful editable PR, preserving human credit.
  3. If that PR cannot safely be updated, create a credited replacement before closing it. Do not squash a contributor PR after replacing its ancestry.
  4. Implement a new high-confidence repair when no suitable fix exists.
  5. Record a concrete blocker or product/owner decision. A useful independent simplification may land under its own scope, but it does not close the bug.

A candidate needs a demonstrated current defect, an understood owner and bounded impact, relevant dependency proof, and feasible validation. Repairs requiring new dependencies/configuration, public-contract changes, security, persistence design, or product judgment require their root approvals before implementation or landing as applicable. Preserve useful investigation; do not work around the gate or count review-required work as an accepted fix.

Repair the invariant at its owner, cover relevant siblings, and remove connected obsolete paths when justified. Do not add speculative fallback layers or hardcode the reported example. Prefer simplicity without a LOC quota. Keep release-note context and credit in the PR; CHANGELOG.md remains release-owned. Do not force a second refactor PR after each completed item.

Proof and landing

Choose proportional proof through $openclaw-testing. Trusted development can run locally; remote compute needs an environment or isolation reason. Untrusted repository tooling never runs locally or on a credential-hydrated host. Preserve explicit live requirements and never describe a mock, skipped test, old head, or unfinished soak as live proof.

Run $autoreview on the completed nontrivial candidate and resolve verified findings. Re-review substantive changes or unresolved concerns; do not multiply reviews for mechanical head movement. Address actionable human/bot findings without a separate Rank-up checklist or score-refresh gate.

Land through the native maintainer workflow only with current required CI and review evidence. Verify remote merge state and ancestry before counting success. A timed-out merge request may have succeeded; reconcile it before retrying. Refresh/rebase for conflicts, failed guards, explicit requests, or material stale base risk, not merely because main advanced. Delete only owned temporary state.

For broad campaigns, a shared-main failure may justify one separately scoped repair worker. Check for an existing fix first. Do not duplicate that repair in every PR or silently expand a bounded ref request to unrelated CI work.

Closure and reporting

Before closing, prove the reporter's primary outcome and affected surfaces are fixed, not merely mitigated or diagnosed. Check fix ancestry and containing tags when version claims matter; dates do not prove inclusion. Seek independent challenge for uncertain or consequential closure evidence. Disagreement, a still broken surface, or an owner hold means leave open. Product rejection is a maintainer decision, never an automatic cleanup conclusion.

Recheck live state before mutation and explain the fixed behavior, canonical commit/PR, known containing version, and useful proof. If a closure is challenged, pause the affected closure work and correct the evidence before resuming. No more than three workers should hold simultaneous closure duty; more than fifty close/reopen actions require the root's explicit count/scope approval.

Keep a resumable ledger of owner, source/head, outcome, proof/CI state, PR/merge, credit, blockers, and cleanup. Count verified outcomes, not planned or launched work. Report meaningful progress and each verified landing with links; summarize final behavior, proof, remaining limitations, and checkout state in natural prose.

Version History

  • 8e18591 Current 2026-09-23 04:22

    简化维护者技能定义,同步共享工具链,移除发布工作流中的技能文本断言测试,修复阻止重写贡献者 Squash 提交的问题。

  • 3374458 2026-08-20 13:29

Same Skill Collection

.agents/skills/agent-transcript/SKILL.md
.agents/skills/auto-qa/SKILL.md
.agents/skills/autoreview/SKILL.md
.agents/skills/channel-message-flows/SKILL.md
.agents/skills/claw-score/SKILL.md
.agents/skills/clawdtributor/SKILL.md
.agents/skills/clawsweeper/SKILL.md
.agents/skills/control-ui-e2e/SKILL.md
.agents/skills/crabbox/SKILL.md
.agents/skills/deslop/SKILL.md
.agents/skills/discord-clawd/SKILL.md
.agents/skills/discord-e2e/SKILL.md
.agents/skills/discord-user-post/SKILL.md
.agents/skills/discrawl/SKILL.md
.agents/skills/gitcrawl/SKILL.md
.agents/skills/graincrawl/SKILL.md
.agents/skills/notcrawl/SKILL.md
.agents/skills/openclaw-changelog-update/SKILL.md
.agents/skills/openclaw-ci-limits/SKILL.md
.agents/skills/openclaw-debugging/SKILL.md
.agents/skills/openclaw-docker-e2e-authoring/SKILL.md
.agents/skills/openclaw-ghsa-maintainer/SKILL.md
.agents/skills/openclaw-live-updater/SKILL.md
.agents/skills/openclaw-parallels-smoke/SKILL.md
.agents/skills/openclaw-pr-maintainer/SKILL.md
.agents/skills/openclaw-qa-testing/SKILL.md
.agents/skills/openclaw-refactor-docs/SKILL.md
.agents/skills/openclaw-release-validation/SKILL.md
.agents/skills/openclaw-secret-scanning-maintainer/SKILL.md
.agents/skills/openclaw-test-heap-leaks/SKILL.md
.agents/skills/openclaw-test-performance/SKILL.md
.agents/skills/openclaw-testing/SKILL.md
.agents/skills/openclaw-update/SKILL.md
.agents/skills/parallels-discord-roundtrip/SKILL.md
.agents/skills/proof-video/SKILL.md
.agents/skills/prototype-openclaw-tui/SKILL.md
.agents/skills/release-openclaw-announcement/SKILL.md
.agents/skills/release-openclaw-ci/SKILL.md
.agents/skills/release-openclaw-mac/SKILL.md
.agents/skills/release-openclaw-maintainer/SKILL.md
.agents/skills/release-openclaw-nightly/SKILL.md
.agents/skills/release-openclaw-plugin-testing/SKILL.md
.agents/skills/security-triage/SKILL.md
.agents/skills/slack-e2e/SKILL.md
.agents/skills/slacrawl/SKILL.md
.agents/skills/tag-duplicate-prs-issues/SKILL.md
.agents/skills/technical-documentation/SKILL.md
.agents/skills/telegram-crabbox-e2e-proof/SKILL.md
.agents/skills/telegram-e2e-userbot/SKILL.md

Metadata

Files
0
Version
8e18591
Hash
256d0e02
Indexed
2026-08-20 13:29

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 14:12
浙ICP备14020137号-1