对整套技术文档逐页对照源码审计,并给出精准过时内容修复建议
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "docs-corpus-audit" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/apm/main/.apm/skills/docs-corpus-audit/SKILL.md 2. 保存为 ~/.claude/skills/docs-corpus-audit/SKILL.md 3. 装好后重载技能,告诉我可以用了
请对 microsoft/apm 的全部文档做一次全库审计,逐页对照当前源码检查过时描述、错误配置、失效链接和目录调整带来的断链,并输出按页面分组的精确修复建议,不要自动提交或合并。
一份覆盖全库的审计结果,按页面列出问题、证据和可直接采用的修订建议。
我们刚重构了 microsoft/apm 的核心模块,请重新校准整套文档:检查每一页是否仍与当前代码行为、API、参数和示例一致,找出所有漂移内容并给出最小修改方案。
逐页漂移清单,包含不一致点、受影响段落及最小化修复文本。
我们刚调整了文档目录结构,请对整个文档库执行一次全面检查,找出因 TOC 重组导致的死链、错误引用、失效导航和上下文不一致,并按页面输出修复建议。
一份按页面整理的链接与导航问题报告,以及对应的替换链接和修正文案建议。
The docs corpus drifts silently between releases. docs-sync catches
drift introduced by individual PRs at PR-open time. This skill catches
the accumulated drift that slips past per-PR review -- stale flag
names, dead nav links from past IA reshuffles, deprecation banners
that outlived their version targets, factual claims whose source-side
truth has moved.
The pattern is A1 PANEL + WAVE EXECUTION + S7 DETERMINISTIC TOOL BRIDGE + A8 ALIGNMENT LOOP + A9 SUPERVISED EXECUTION. The corpus is split into disjoint page scopes; one verifier subagent owns each scope; agents extract factual claims, S7-verify against source, apply surgical fixes inline. The orchestrator then runs an alignment-loop pass to re-verify that applied edits actually ground out true.
This skill is ADVISORY but ACTIONABLE: agents apply edits inline on a working branch. The orchestrator is the sole writer to git -- stages, commits, pushes. Maintainer reviews the resulting PR.
These two skills share substrate. Be explicit:
| Shared resource | Owner | Both use |
|---|---|---|
.apm/docs-index.yml (corpus map) | docs-sync | yes |
| doc-writer persona | shared | yes (per-page edits) |
| python-architect persona | shared | yes (S7 verification) |
| editorial-owner persona | shared | optional (voice pass at scale) |
| cdo persona | shared | yes (final synthesis) |
assets/panelist-return-schema.json | docs-sync (mirrored) | yes |
Trigger boundary (avoid DISPATCH COLLISION):
docs-sync triggers on a PR event ("PR opened/synchronized",
source-diff-driven).docs-corpus-audit triggers on a maintainer ask for a
WHOLE-CORPUS pass ("audit the corpus", "reground", "pre-release
sweep") -- no PR required, no diff required, the whole corpus
is the input.If a maintainer asks "review this PR's doc impact", route to
docs-sync. If they ask "audit all our docs" or "the docs feel
stale everywhere", route here.
uv run apm <verb> --help for CLI,
grep -n src/apm_cli/ for symbols, python -c "import ..." for
module shape, file-existence checks for nav links. Never assert
from LLM recall.git commit, git push, or gh pr <write>. Orchestrator
commits per wave; pushes once per session.Reuse docs-sync's personas. Do NOT invent a one-off "grounding- verifier" role; that's R3 EXTRACT in reverse.
| Role | Persona | Always active? |
|---|---|---|
| Per-scope verifier+editor | python-architect (S7) and doc-writer (edits), bundled into one subagent prompt per scope | Yes -- one per page scope, parallel fan-out |
…
优化 APM 代码库中的 CLI 输出、日志提示与诊断信息体验
对 microsoft/apm 的标记 PR 发起多专家联合审查并给出综合建议