maintainer-sweep
GitHub用于 GitHub Issue/PR 维护,执行状态刷新、代码映射、修复验证、安全推送及公开回复。
Trigger Scenarios
Install
npx skills add tw93/Kaku --skill maintainer-sweep -g -y
SKILL.md
Frontmatter
{
"name": "maintainer-sweep",
"description": "Run Kaku maintainer follow-up for live GitHub issues and pull requests: triage open items, connect them to code or commits, verify fixes, push main safely, wait for GitHub Actions, then post concise replies and close items when appropriate.",
"when_to_use": "latest issues, latest PRs, triage issues, triage PRs, close issue, reply issue, reply PR, GitHub follow-up, push then close, maintainer sweep, 看看最新 issue, 看看最新 PR, 回复 issue, 关闭 issue, 处理 PR"
}
Kaku Maintainer Sweep
Use this skill for maintenance work that spans GitHub issues, pull requests, local fixes, main CI, and public follow-up. It is not the notarized release flow, and it must not contain private signing credentials or local machine setup.
Workflow
-
Refresh live state
- Run
gh issue list --state open --limit 20andgh pr list --state open --limit 20. - For each actionable item, read
gh issue view <n>orgh pr view <n>and confirm title, author, state, body, and recent comments. - If the task asks for the latest state, refresh the lists again before final decisions.
- Run
-
Map reports to code
- Find the latest release tag with
git tag --list 'V*' --sort=-version:refname | head -1; without theV*filter the rollingnightlytag sorts first. - Compare relevant changes with
git log <tag>..HEAD --oneline,git show, and targetedrg. - Do not treat a closed issue as proof. Identify the fix mechanism, the commit, or the remaining gap.
- Find the latest release tag with
-
Fix and verify
- Keep fixes scoped. For unrelated issues, prefer one commit per issue or behavior.
- For shell integration changes, run the affected
assets/shell-integration/tests/*_smoke.shscript, then the full list that.github/workflows/checks.ymlruns underShell integration smoke testswhen feasible. - For AI provider, transport, or config changes, run targeted Cargo tests before repository-level checks.
- For release-adjacent work, prefer
git diff --check,make fmt-check,make check,make test, andmake appunless the maintainer narrows the gate.
-
Push safely
- Run
git fetch origin main, then verifyorigin/mainstill matches the expected base beforegit push origin main. - If
origin/mainmoved, stop and revieworigin/main..HEAD. - After pushing, locate the new run with
gh run list --branch main --limit 5and watch it withgh run watch <id> --exit-status.
- Run
-
Follow up publicly
- Post fixed/closed replies only after the relevant GitHub Actions run on
mainis green. - Confirm each item identity again before posting.
- Match the reporter's language, including Japanese and Korean, unless the maintainer explicitly requests another language.
- Start with
@login, one short thanks, the concrete fix or reason, and the next release, nightly, or verification step. - Use Nightly as a test path only after verifying it was rebuilt for the fix.
nightlyis a rolling GitHub prerelease produced by./scripts/nightly.sh; a push tomainalone does not refresh the DMG. - For merged contributor PRs, leave at most one short thanks comment after merge or Nightly availability, and avoid duplicating bot or deployment noise.
- If the current request authorizes closure, complete the root
AGENTS.mdclosure pipeline and close with--reason completed; otherwise propose closure and wait for authorization. - Close PRs without merging only when the fix is already covered on
main, the direction is no longer needed, the patch is unsafe, the work is duplicate, or the maintainer explicitly rejects it. - If an accepted contributor fix lands through a maintainer commit, acknowledge the contribution and explain the delivered fix in the PR comment without commit hashes or internal attribution bookkeeping.
- Post fixed/closed replies only after the relevant GitHub Actions run on
Final Report
Report the pushed branch and commit, the CI run URL and conclusion, any verified Nightly URL when used, each issue/PR decision, and whether any open issues or PRs remain.
Version History
-
53700c8
Current 2026-09-22 22:36
修正标签获取逻辑以区分 nightly,细化测试与回复规范。
- 8b370e5 2026-08-20 09:06


