批量分诊并推进疑似缺陷与相关 PR 到可合并状态的工程协作技能
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "batch-bug-shepherd" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/batch-bug-shepherd/SKILL.md 2. 保存为 ~/.claude/skills/batch-bug-shepherd/SKILL.md 3. 装好后重载技能,告诉我可以用了
请处理 microsoft/apm 的这批疑似缺陷:先逐条分诊为 LEGIT、UNCLEAR 或 FIXED-AT-HEAD;对 LEGIT 项依据 PRINCIPLES.md 做战略一致性检查;检查是否已有相关开放 PR;若是新缺陷则创建修复 PR,要求 TDD 并通过 mutation-break gate;维护 plan.md 作为总状态表。
输出分诊结果、plan.md 状态表、已关联或新建的修复 PR 列表,以及每项后续动作。
请对当前所有与缺陷相关的社区进行中 PR 逐个启动 shepherd-driver:运行评审面板,吸收非阻塞建议,在保留作者身份的前提下推送修改,并持续监控 CI 直到通过;若存在冲突或不可合并状态,请重新探测并解决。
输出每个 PR 的评审结论、已处理建议、CI 状态与最终可合并性结果。
请执行一次每周巡检:扫描 microsoft/apm 中带 bug 标记的 issue 与进行中的相关 PR,更新分诊结论、战略一致性、重复项或关联 PR 判断,并把所有 PR 推进到可合并状态;最后汇总到 plan.md。
输出一份最新巡检报告,包含问题分类、PR 进度、阻塞项与更新后的 plan.md。
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…
对整套技术文档逐页对照源码审计,并给出精准过时内容修复建议
优化命令行输出、日志与报错文案,提升终端交互可读性与诊断体验
在文档结构需随 PR 调整时,规划目录变更并生成新页面大纲草案。
帮助开发者规划 Python 模块结构、重构类层次并设计跨文件架构变更方案。
识别代码中的令牌、凭证与远程主机认证流程并辅助处理鉴权问题
帮助团队制定 APM 项目定位、发布沟通与破坏性变更决策策略。
批量梳理并分诊 APM 仓库问题,将明确事项推进到可合并 PR。
用于 APM 编排流程中单个 PR 的审查整合、修复迭代与合并就绪推进。
对 microsoft/apm 的标记 PR 发起多专家联合审查并给出综合建议
帮助开发团队快速分诊 microsoft/apm 新开或待分诊问题并生成统一处理意见
为 microsoft/apm 的拉取请求自动撰写结构完整、证据充分的 PR 描述。
从正确性、测试、安全与性能等维度进行深入代码审查并给出改进建议