{"kind":"Skill","metadata":{"namespace":"community","name":"openclaw-small-bugfix-sweep","version":"0.1.0"},"spec":{"description":"Fix only small, high-certainty OpenClaw bugs from a pasted issue/PR list after deep code review.","files":{"SKILL.md":"---\nname: openclaw-small-bugfix-sweep\ndescription: Fix only small, high-certainty OpenClaw bugs from a pasted issue/PR list after deep code review.\n---\n\n# OpenClaw Small Bugfix Sweep\n\nBatch workflow for pasted OpenClaw issue/PR refs.\nExecute, do not summarize.\nTriage reviews, proves, and patches local fixes first; publishing waits for Peter's manual review.\n\n## Peter Review Gate\n\nPeter always wants to review code before commits.\nDefault flow:\n1. Review each issue deeply enough to prove current behavior and root cause.\n2. Fix only easy, high-confidence bugs with narrow ownership and focused proof.\n3. Stop with the dirty diff summary, touched files, and test/gate output for Peter's manual review.\n4. After Peter approves shipping, make one commit per accepted fix, with a changelog entry for each user-facing fix.\n5. Pull/rebase, push, then comment and close only the fixed or explicitly triaged-closed issues.\n\nDo not batch unrelated issue fixes into one commit. Do not push, create PRs, comment, close, label, land, merge, or otherwise publish during the review/prove phase.\n\n## Companion Skills\n\nUse `$gitcrawl` first, `$openclaw-pr-maintainer` for live GitHub hygiene, `$github-deep-review` posture for source tracing, and `$openclaw-testing` for proof.\n\n## Loop\n\nFor each ref:\n\n1. Read live target with `gh`.\n2. Check `gitcrawl` for related, duplicate, closed, or already-fixed threads.\n3. Read body, comments, linked refs, changed files, current code, adjacent tests, and dependency contracts when relevant.\n4. Trace the real runtime path.\n5. For issues: fix locally only if this is a bug, current code proves root cause, the implicated path is clear, and a narrow patch is cleaner than refactor.\n6. For PRs: decide `ready-to-merge`, `needs-fixup`, or `skip`; do not alter PR branches unless explicitly asked.\n7. Add focused regression proof when practical for local issue fixes or PR readiness checks.\n8. Run the smallest meaningful gate.\n9. Continue until every pasted ref is fixed or classified.\n\nNo subagents unless explicitly requested.\n\n## Skip If\n\n- not a bug\n- config/docs/workflow/release/support/dependency/product work\n- repro or root cause is uncertain\n- larger refactor or owner-boundary change is cleaner\n- already fixed on current `main`\n- dependency behavior is guessed\n- no focused proof is feasible\n\nSkip with terse reason. Do not pad with low-confidence fixes.\n\n## Fix Rules\n\n- owner module first; generic seam only when required\n- existing patterns/helpers/types\n- no drive-by refactors\n- tests near failing surface\n- docs only for changed public behavior\n- no commit during the review/prove phase\n- after Peter approves shipping, one commit plus changelog per accepted user-facing fix\n- no push/create PR/comment/close/label/land/merge until Peter approves shipping after review\n\n## PR Rules\n\n- `ready-to-merge`: code is good, current head checked, required proof is green or clearly pending only external CI; list for maintainer merge or `@clawsweeper automerge`\n- `needs-fixup`: small bug is clear, but PR branch needs changes; list exact files/tests and wait for explicit fix/push/automerge instruction\n- `skip`: broad, stale, speculative, config/product/security/release, owner-boundary, or refactor-sized\n- if source PR is untrusted/uneditable, do not create a replacement PR during sweep\n\n## Output Shape\n\nLedger: `fixed-local`, `ready-to-merge`, `needs-fixup`, `skipped`, `needs-human`.\nFinal: issue files left on disk, PRs ready for merge/automerge, tests/gates, skip reasons.\n"},"import":{"commit_sha":"424c6d0a5f4665b803ad6768d08b0be7659deaf4","imported_at":"2026-05-18T20:13:36Z","license_text":"MIT License\n\nCopyright (c) 2025 Peter Steinberger\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","owner":"openclaw","repo":"openclaw/openclaw","source_url":"https://github.com/openclaw/openclaw/tree/424c6d0a5f4665b803ad6768d08b0be7659deaf4/.agents/skills/openclaw-small-bugfix-sweep"}},"content_hash":[253,83,32,161,161,219,64,147,233,209,52,211,177,228,81,239,229,13,35,228,155,178,138,230,175,48,94,221,174,154,136,26],"trust_level":"unsigned","yanked":false}
