Community程式設計與開發github.com

OpenClaw 小錯誤批次修復

在深度程式碼審查後,僅修復從貼上的 issue/PR 清單中挑選出的、高確定性的小規模 OpenClaw 錯誤。

OpenClaw 小錯誤批次修復 是什麼?

此技能專為 OpenClaw 專案設計,用於批次處理貼上的 issue 或 PR 參考,並專注於修復小型且高確定性的錯誤。它採用嚴格的評審流程:首先深度檢查每個問題以證明當前行為和根本原因,然後僅在本地修復那些擁有明確所有權和精準證明的簡單錯誤。所有修復在經過 Peter 的手動審查和批准後才會被提交並推送,確保了程式碼品質並防止未經審查的變更進入主分支。此技能整合了 `$gitcrawl` 進行相關線索搜尋、`$openclaw-pr-maintainer` 管理 GitHub 衛生、`$github-deep-review` 進行源碼追蹤,以及 `$openclaw-testing` 進行證明。工作流程會明確跳過非錯誤、不確定或需要大規模重構的項目,並要求每個使用者可見的修復都帶有變更記錄條目。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/openclaw-small-bugfix-sweep

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

OpenClaw 小錯誤批次修復 是做什麼的?

用於批次處理貼上的 OpenClaw issue/PR 參考。 請執行,不要總結。 先進行評審、證明,並在本地套用修復;在 Peter 手動審查之前,請勿發布。

Peter 審查關卡

Peter 始終希望在提交前審查程式碼。 預設流程:

  1. 深度審查每個 issue,足以證明當前行為和根本原因。
  2. 僅修復那些擁有明確所有權和精準證明的簡單、高確定性錯誤。
  3. 停止操作,輸出骯髒的 diff 摘要、受影響的檔案以及測試/關卡輸出,以供 Peter 手動審查。
  4. 在 Peter 批准發布後,為每個接受的修復建立一個提交,並為每個使用者可見的修復添加變更記錄條目。
  5. 拉取/重定基底、推送,然後僅對已修復或已明確分類關閉的 issue 進行評論和關閉。

請勿將不相關的 issue 修復批次放入同一個提交中。在審查/證明階段,請勿推送、建立 PR、評論、關閉、標記、落地、合併或以其他方式發布。

配套技能

首先使用 $gitcrawl,使用 $openclaw-pr-maintainer 進行即時 GitHub 衛生維護,採用 $github-deep-review 姿態進行源碼追蹤,並使用 $openclaw-testing 進行證明。

迴圈

針對每個參考:

  1. 使用 gh 讀取即時目標。
  2. 檢查 gitcrawl 中相關的、重複的、已關閉或已修復的討論串。
  3. 在必要時閱讀本文、評論、連結的參考、變更的檔案、當前程式碼、相鄰的測試以及依賴合約。
  4. 追蹤真實的執行時路徑。
  5. 對於 issue:僅當此為錯誤、當前程式碼證明了根本原因、影響路徑清晰且窄範圍的修補比重構更乾淨時,才在本地修復。
  6. 對於 PR:決定為 ready-to-merge、needs-fixup 或 skip;除非明確要求,否則不要更改 PR 分支。
  7. 在可行時,為本地 issue 修復或 PR 就緒性檢查添加精準的回歸證明。
  8. 執行最小且最有意義的關卡測試。
  9. 持續直到每個貼上的參考都被修復或分類完畢。

除非明確要求,否則不使用子代理。

跳過時機

  • 不是錯誤
  • 配置/文件/工作流程/發布/支援/依賴/產品相關工作
  • 無法重現或不確定根本原因
  • 大規模重構或涉及所有權邊界的變更更為合適
  • 已在當前 main 上修復
  • 依賴行為屬於猜測
  • 無法進行精準證明

使用簡短原因跳過。請勿用低確定性的修復填充內容。

修復規則

  • 優先修改所屬模組;僅在必要時使用通用接縫
  • 遵循現有模式/輔助程式/型別
  • 不做順便的重構
  • 測試應靠近失敗表面
  • 僅針對變更的公開行為更新文件
  • 在審查/證明階段不要提交
  • 在 Peter 批准發布後,每個被接受的使用者可見修復對應一個提交加上變更記錄
  • 在 Peter 審查後批准發布之前,不要推送/建立 PR/評論/關閉/標記/落地/合併

PR 規則

  • ready-to-merge:程式碼良好,當前頭部已檢查,所需的證明已通過或明確僅等待外部 CI;列出以供維護者合併或 @clawsweeper automerge
  • needs-fixup:小錯誤明確,但 PR 分支需要變更;列出確切的檔案/測試並等待明確的修復/推送/自動合併指令
  • skip:廣泛的、過時的、推測性的、配置/產品/安全性/發布、所有權邊界或重構規模的
  • 如果來源 PR 不可信任或不可編輯,請勿在掃描期間建立替代 PR

輸出格式

分類帳:fixed-local、ready-to-merge、needs-fixup、skipped、needs-human。 最終:issue 檔案留在磁碟上,PR 準備好合併/自動合併,測試/關卡,跳過原因。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能