mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-02 20:15:14 +00:00
Automated rebrand of all openclaw references to hanzo bot: - Package: openclaw -> @hanzo/bot - Binary: openclaw -> hanzo-bot - Config: ~/.openclaw -> ~/.hanzo/bot - Docker: ghcr.io/hanzoai/bot - Env vars: OPENCLAW_* -> BOT_* - Bundle IDs: ai.hanzo.bot.* - Product name: Hanzo Bot
3.8 KiB
3.8 KiB
name, description
| name | description |
|---|---|
| openclaw-pr-maintainer | Maintainer workflow for reviewing, triaging, preparing, closing, or landing Hanzo Bot 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. |
Hanzo Bot 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
.github/workflows/auto-response.ymlhandle the comment/close/lock flow. - Do not manually close plus manually comment for these reasons.
r:*labels can be used on both issues and PRs.- Current reasons:
r: skillr: supportr: no-ci-prr: too-many-prsr: testflightr: third-party-extensionr: moltbookr: spaminvaliddirtyfor PRs only
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
-F - <<'EOF'for real newlines. Never embed\n. - Do not use
gh issue/pr comment -b "..."when the body contains backticks or shell characters. Prefer a single-quoted heredoc. - Do not wrap issue or PR refs like
#24643in backticks when you want auto-linking. - 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
--repo hanzoai/botwith--match title,bodyfirst. - Add
--match commentswhen triaging follow-up discussion. - Do not stop at the first 500 results when the task requires a full search.
Examples:
gh search prs --repo hanzoai/bot --match title,body --limit 50 -- "auto-update"
gh search issues --repo hanzoai/bot --match title,body --limit 50 -- "auto-update"
gh search issues --repo hanzoai/bot --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
/landprprocess. - Use
scripts/committer "<msg>" <file...>for scoped commits instead of manualgit addandgit commit. - Keep commit messages concise and action-oriented.
- Group related changes; avoid bundling unrelated refactors.
- Use
.github/pull_request_template.mdfor PR submissions and.github/ISSUE_TEMPLATE/for issues.
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.
syncmeans: if the tree is dirty, commit all changes with a sensible Conventional Commit message, thengit pull --rebase, thengit push. Stop if rebase conflicts cannot be resolved safely.