批量分诊并推进疑似缺陷到可合并 PR 队列,持续跟踪评审、冲突与 CI 状态。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "batch-bug-shepherd" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/apm/main/packages/batch-bug-shepherd/.apm/skills/batch-bug-shepherd/SKILL.md 2. 保存为 ~/.claude/skills/batch-bug-shepherd/SKILL.md 3. 装好后重载技能,告诉我可以用了
请处理 microsoft/apm 的这批疑似缺陷 issue。对每个 issue 并行分诊为 LEGIT、UNCLEAR 或 FIXED-AT-HEAD;对 LEGIT 项检查是否符合 PRINCIPLES.md;与现有开放 PR 交叉比对;将结果写入 plan.md,输出按状态分组的结论和下一步建议。
一份更新后的 plan.md,以及每个 issue 的分诊结论、依据、关联 PR 和后续动作建议。
针对 plan.md 中标记为 LEGIT 且没有现有修复 PR 的 issue,分别创建修复分支与 PR。要求采用 TDD,补充能被 mutation testing 识别的测试,修复后确保 CI 通过,并把 PR 状态回写到 plan.md。
可审查的修复 PR 集合,包含测试、代码变更、CI 结果和在 plan.md 中记录的最新状态。
请对当前所有与缺陷相关的在途社区 PR 执行 shepherd 流程:逐个运行评审面板,吸收非阻塞建议,保留原作者身份进行推送,持续观察 CI;若出现冲突或不可合并状态,自动重试并修复,直到重新达到 mergeable。
每个社区 PR 的合并准备状态报告,包括已处理建议、冲突解决结果、最新 CI 状态和剩余阻塞项。
This skill is an A10 ORCHESTRATOR-SAGA over fan-out waves (triage,
strategic-alignment, PR-cross-reference, fix, drive-to-merge,
conflict-resolution) with a persisted ground-truth table between
phases. It COMPOSES the
shepherd-driver skill as the per-PR
drive-to-merge engine -- it does NOT re-implement the review +
fold + push + CI loop. shepherd-driver transitively COMPOSES
apm-review-panel; this skill inherits
that edge and never reaches into panel internals directly. It also
COMPOSES the apm-ceo persona (host-repo agent at
.apm/agents/apm-ceo.agent.md) for the strategic-alignment gate,
which checks every LEGIT bug against PRINCIPLES.md before allowing
fix / drive work to proceed. Per-PR shepherding is delegated to
shepherd-driver; per-issue verification, strategic alignment,
PR-in-flight branching, greenfield fix dispatch, post-wave
mergeability re-probe, and the cross-session table are owned here.
The skill is ADVISORY at the panel layer and EXECUTIVE at the
orchestrator layer: it WILL push commits, open PRs, post comments,
close superseded PRs. Every consequential write goes through a
deterministic CLI (gh, git, uv run ruff) wrapped in plan +
execute + verify (A9 SUPERVISED EXECUTION).
These 17 rules bind every wave. The one-line essence is below; the
FULL binding text (rationale, edge cases, inherited-from-driver
detail) lives in references/invariants.md. Load
references/invariants.md before planning Phase 0 -- the summaries
here are dispatch anchors, not the complete contract.
LEGIT); UNCLEAR -> human, FIXED-AT-HEAD -> close.gh pr list every legit
issue before any fix; duplicating community work is the worst
failure mode this skill defends against.microsoft/apm and returns superseded.ruff check +
ruff format --check silent before any git push.assets/progress-diagram.md).mergeStateStatus
before claiming ready; Phase 5 resolves conflicts with
--force-with-lease (bare --force prohibited).apm-ceo subagent per LEGIT row; demoted rows skip Phase 2-5; the…
优化 APM 代码库中的 CLI 输出、日志提示与诊断信息体验
在批处理编排中接管单个PR审查整合、修复迭代与合并就绪推进