docs-sync
Skill3.9k starsChanged 2 months agoMITView on GitHub
Use this skill whenever a pull request is opened, reopened, or synchronized in microsoft/apm to assess whether and how the documentation corpus must change to stay truthful with the proposed code change. Activate even when the PR title or body says nothing about docs -- the skill must run on every PR to detect silent drift between code and docs. Classifies impact as no-change, in-place edit (one to a few paragraphs), or structural change (new page or TOC reshape), then orchestrates a CDO + doc-writer + python-architect + editorial-owner + growth-hacker loop to produce a patch-ready advisory. Does NOT review code quality, security, or test coverage. Does NOT auto-merge or auto-push doc edits.
22 other projects use a version of this.
Trending
Steady talk.about the whole repository
Most recently taken up by
- kekzl/imptheir own version, first seen Oct 4, 2026
- LeeYudok/agents-scaffoldtheir own version, first seen Oct 4, 2026
- sunholo-data/ailangtheir own version, first seen Oct 2, 2026
- 1pedroosilva/databricks-genie-skillstheir own version, first seen Oct 2, 2026
- yasik/agentlanetheir own version, first seen Oct 1, 2026
- jackneil/claude-jackedtheir own version, first seen Oct 1, 2026
Who's talking about microsoft/apm
- dependabot/dependabot-core“Support https://github.com/microsoft/apm - agent package manager”GitHub · Mar 3, 2026 · 22 reactions
- renovatebot/renovate“feat(manager): add apm manager for Agent Package Manager”GitHub · Jul 6, 2026 · 8 reactions
- A Hacker News story“Agent Package Manager”Hacker News · Mar 18, 2026 · 7 points
- @qdrddr.bsky.social“#VibeCode Easy: declare and share #skills, prompts, instructions, and tools for your git project with …”Bluesky · Mar 5, 2026 · 3 likes
- @ironyuppie.com“What are people using to manage agent skills across harnesses and machines? APM looks promising but not …”Bluesky · Sep 11, 2026 · 2 likes
The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 41
Talked about on GitHub, Hacker News and Bluesky (41 times).
On GitHub · 32
- Mar 3, 2026Support https://github.com/microsoft/apm - agent package manager — dependabot/dependabot-core22 reactions · 5 comments
- Jul 6, 2026feat(manager): add apm manager for Agent Package Manager — renovatebot/renovate8 reactions · 25 comments
- Jun 22, 2026[Feature] Add Agent Package Manager distribution mechanism — pbakaus/impeccable2 reactions · 3 comments
- Jun 5, 2026[FEATURE] Native support for Claude Code Plugin Format — LobsterTrap/lola2 reactions · 3 comments
- May 4, 2026Support scanning all agent context-building blocks, not just SKILL.md — snyk/agent-scan2 reactions · 3 comments
27 more on GitHub
- Apr 7, 2026feat: add asdf-apm plugin for Microsoft Agent Package Manager — asdf-vm/asdf-plugins2 reactions
- Apr 3, 2026chore(deps): update dependency microsoft/apm to v0.8.10 — MH0386/aur2 reactions · 4 comments
- Oct 1, 2026build(deps): bump apm-cli from 0.20.0 to 0.32.0 in /.apm-cli-pin — elastic/oblt-aw1 reaction · 3 comments
- Jul 28, 2026Add a feature for installing APM from https://github.com/microsoft/apm/releases — postfinance/devcontainer-features1 reaction
- May 29, 2026Expression-harvesting pass hoists ${{ ... }} tokens from inside bash # comments into step env, breaking workflow load (regression since v0.76) — github/gh-aw1 reaction
- Apr 28, 2026shared/apm.md: align docs with canonical microsoft/apm source; deprecate vendored copy — github/gh-aw1 reaction
- Apr 27, 2026Feature request: first-class label-name filter on `pull_request_target.types: [labeled]` (avoid red "skip via exit 1" idiom) — github/gh-aw1 reaction · 1 comment
- Apr 22, 2026Add support Microsoft APM — droosma/vibe-codeGraph1 reaction
- Apr 19, 2026APM integration — a few alignment notes from the APM side — bradygaster/squad1 reaction · 1 comment
- Mar 31, 2026feat(init): bridge to APM during init for cross-team distribution — microsoft/agentrc1 reaction · 2 comments
- Mar 28, 2026[ca] CLI Version Update: MCP Gateway v0.2.7, APM v0.8.6 — github/gh-aw1 reaction
- Mar 24, 2026[ca] CLI Version Updates: MCP Gateway v0.2.4, APM v0.8.5 — github/gh-aw1 reaction
- Mar 23, 2026[ca] Update APM (Agent Package Manager) to v0.8.4 — github/gh-aw1 reaction
- Mar 22, 2026[ca] CLI Version Update: MCP Gateway v0.1.20→v0.1.22, APM v0.8.2→v0.8.3 — github/gh-aw1 reaction
- Mar 18, 2026[ca] CLI Version Updates: MCP Gateway v0.1.17, APM v0.8.1, Claude Code 2.1.78, Copilot CLI 1.0.7 — github/gh-aw1 reaction
- Oct 3, 2026Reproduce: clone URL and SSH entries are looked up wrongly — MPV/renovate-apm-demo10 reactions
- Oct 3, 2026Reproduce: object-form entries are dropped — MPV/renovate-apm-demo10 reactions
- Oct 3, 2026chore(deps): bump apm-cli from 0.31.0 to 0.32.0 — juangcarmona/agent-toolkit0 reactions
- Sep 28, 2026chore(apm): refresh baseline — thetechgy/agent-engineering-baseline0 reactions
- Sep 25, 2026APM install target `copilot` no longer ships VS Code MCP configs — ministryofjustice/ai-toolkit0 reactions
- Sep 4, 2026Consider APM for this repo — con/skills0 reactions · 1 comment
- Sep 4, 2026[GHSA-q5pp-gvjg-h7v4] Correct PyPI package name from `apm` to `apm-cli` — github/advisory-database0 reactions
- Jul 22, 2026Your Task title Evaluate AI SDLC / SpecKit Tooling — eclipse-score/score0 reactions · 1 comment
- Jun 24, 2026try https://github.com/microsoft/apm — sushichan044/dotfiles0 reactions
- Jun 14, 2026Consider delegating the packaging layer to microsoft/apm — apache/magpie0 reactions · 3 comments
- May 28, 2026APM support into HVE Core — microsoft/hve-core0 reactions · 2 comments
- Mar 24, 2026feat: implement APM unpack in JavaScript, replace microsoft/apm-action restore step in agent job — github/gh-aw0 reactions · 19 comments
On Hacker News · 5
- Mar 18, 2026Agent Package Manager7 points
- Jun 24, 2026Microsoft Agent Package Manager2 points
- Mar 4, 2026APM – Agent Package Manager (Microsoft)2 points
- Mar 31, 2026Show HN: A tool to solve the Agent Supply Chain pandora box1 point
- Mar 20, 2026Show HN: Agent Package Manager (APM) for Agent Configuration1 point
On Bluesky · 4
- Mar 5, 2026#VibeCode Easy: declare and share #skills, prompts, instructions, and tools for your git project with APM.yaml across the team. By… — @qdrddr.bsky.social3 likes and reposts · 1 reply
- Sep 11, 2026What are people using to manage agent skills across harnesses and machines? APM looks promising but not very popular (in the grand scheme)… — @ironyuppie.com2 likes and reposts · 1 reply
- Jul 22, 2026gh skills コマンドとどっちが良いかな。 おそらく apm に移行するかな。 🔗 microsoft/apm: Agent Package Manager github.com/microsoft/apm — @teruhirokomaki.bsky.social1 likes and repost
- Apr 16, 2026AIエージェントのプロンプトやスキルを管理できるパッケージマネージャーらしい 開発環境を統一したいチームでかなり便利そう yug1224 starred microsoft/apm https://github.com/microsoft/apm — @yug1224.com1 likes and repost
Used with
Projects with it also use release.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- openai/openai-agents-python★ 30ksame name
- openai/openai-agents-js★ 3.9ksame name
- jMerta/codex-skills★ 130same name
- microsoft/webui★ 93same name
- ric03uec/clawrium★ 61same name
- kekzl/imp★ 44same name
- sunholo-data/ailang★ 34same name
- LeeYudok/agents-scaffold★ 28same name
- microsoft/learn-ai-native-dev★ 20same name
- shutootaki/gwm★ 19same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository98 other files it gives its agents.
- templates/hello-world/AGENTS.mdAGENTS.md
- tests/integration/fixtures/target_resolution/s01_claude_md_only/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s06_dry_run/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s07_compile_all_single/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s15_claude_rules_exists/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s16b_provenance_cwd/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- packages/apm-contributor-dashboard/.github/copilot-instructions.mdCopilot instructions
- packages/autopilot/autopilot-maintainer-canvas/.github/copilot-instructions.mdCopilot instructions
- tests/integration/fixtures/target_resolution/s02b_copilot_instructions/.github/copilot-instructions.mdCopilot instructions
- tests/integration/fixtures/target_resolution/s05_apm_yml_multi/.github/copilot-instructions.mdCopilot instructions
- apm-spec-guardianSkill
- apm-strategySkill
- authSkill
- autopilot-commentSkill
- autopilot-issue-delivery-schedulerSkill
- autopilot-issue-delivery-workerSkill
- autopilot-issue-triage-schedulerSkill
- autopilot-issue-triage-workerSkill
- autopilot-pr-merge-workerSkill
- autopilot-pr-review-schedulerSkill
- autopilot-pr-review-workerSkill
- autopilot-pr-triage-schedulerSkill
- autopilot-pr-triage-workerSkill
- cli-logging-uxSkill
- cut-releaseSkill
- devx-uxSkill
- docs-corpus-auditSkill
- docs-grounding-verifierSkill
- docs-impact-architectSkill
- docs-impact-classifierSkill
- docs-impact-localizerSkill
- oss-growthSkill
- pr-description-skillSkill
- python-architectureSkill
- supply-chain-securitySkill
- apm-spec-guardianSkill
- apm-strategySkill
- authSkill
- cli-logging-uxSkill
- cut-releaseSkill
- devx-uxSkill
- docs-corpus-auditSkill
- docs-grounding-verifierSkill
- docs-impact-architectSkill
- docs-impact-classifierSkill
- docs-impact-localizerSkill
- docs-syncSkill
- oss-growthSkill
- python-architectureSkill
- supply-chain-securitySkill
- apm-usageSkill
- autopilot-commentSkill
- autopilot-issue-delivery-schedulerSkill
- autopilot-issue-delivery-workerSkill
- autopilot-issue-triage-schedulerSkill
- autopilot-issue-triage-workerSkill
- autopilot-pr-merge-workerSkill
- autopilot-pr-review-schedulerSkill
- autopilot-pr-review-workerSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 3 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Single-writer interlock: Only the orchestrator writes.
- Very specific: line 40
Index-not-corpus reads: Every classifier and architect agent reads .apm/docs-index.yml, NOT the corpus itself.
- Very specific: line 106
If verdict is no_change: skip to Step 6 with a brief advisory ("No docs impact detected.
- Very specific: line 122
Cascade-size mitigation (PR 1244 class): If scope_pages[] has
- Very specific: line 125
BEFORE spawning, group scope_pages[] into SECTIONS:
- Very specific: line 146
All panelist tasks return JSON matching assets/panelist-return-schema.json.
- Very specific: line 153
Every verify_claims from a python-architect comes back verified or inconclusive (never refuted).
- Distinctive: line 155
All drafts are ASCII-only (per repo encoding rule).
- Very specific: line 178
Write it via safe-outputs.add-comment.
- Very specific: line 189
Only on structural verdict in a human-supervised follow-up.
- Distinctive: line 195
Before editing, tie the companion to a real issue and a nominated scope-record comment URL.
- Distinctive: line 217
Only after that checkpoint:
- Very specific: line 242
If the counter would exceed 15, the orchestrator stops spawning, ships the partial result with cost_ceiling_hit: true, and the comment …
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
docs-sync -- per-PR documentation impact panel
The docs corpus drifts silently and constantly. This skill catches drift at PR-open time, classifies its impact, and orchestrates a persona panel to produce a patch-ready advisory comment.
The pattern is A1 PANEL + B1 FAN-OUT/SYNTHESIZER + A8 ALIGNMENT LOOP. The classifier is the cost gate (~70% of PRs short-circuit to no-change with ~1 LLM call). When the panel does fan out, every agent reads a bounded context (~10 KB) -- never the full corpus.
This skill is ADVISORY. It does not gate merge, apply verdict labels, or push to the contributor's fork. The orchestrator is the sole writer to the PR: exactly one comment per run (idempotent edit-in-place), plus optional label sweeps.
Architecture invariants
- Cost ceiling: 15 LLM calls per run. Hard-wired. The orchestrator refuses to spawn beyond. Header prints
N/15for observability. - Single-writer interlock. Only the orchestrator writes. Panelist subagents return JSON; they MUST NOT call any
ghwrite command, post comments, or touch PR state. - Idempotent comment. Exactly one comment per run, with a stable header
## Docs sync advisory. Re-runs edit-in-place usinggh pr comment --edit-last. - No fork-write. Companion docs PRs require Step 7's fresh responsible-human issue-scope checkpoint and open in the BASE repo; never pushed to the contributor's fork. Labels request advice, not implementation.
- Index-not-corpus reads. Every classifier and architect agent reads
.apm/docs-index.yml, NOT the corpus itself. The corpus is sampled only by the localizer (which reads the specific candidate pages) and by per-page panelists (which read one page each). - S7 deterministic tool bridge. The python-architect panelist MUST run real
apm --help,grep, andpython -ccommands to verify doc claims, never assert from prose.
Roster
| Role | Agent | Always active? |
| Classifier | doc-analyser inside docs-impact-classifier | Yes (every run) |
| Localizer | docs-impact-localizer | Only on in_place verdict |
| Architect | docs-impact-architect | Only on structural verdict |
| Writer | doc-writer | Per candidate page (fan-out) |
| Verifier | python-architect | Per candidate page (fan-out, S7) |
| Editorial | editorial-owner | Once across all redrafts |
| Growth | oss-growth-hacker | Once across all redrafts |
| Synthesizer | cdo | Once, with ALIGNMENT LOOP up to 3 redrafts |
Topology
docs-sync SKILL (orchestrator thread)
|
Step 1: classify (1 LLM call, may exit here)
|
v
verdict?
/ | \
no-change in-place structural
| | |
EXIT | architect (TOC delta)
| |
+----<-----+
|
Step 2: localize (1 LLM call) -- per-page task brief
|
Step 3: FAN-OUT panel via task tool
|
+----+----+----+----+
v v v v v
writer verify edit growth
x N x N once once
(parallel; each <=10 KB context)
|
Step 4: schema-validate returns
|
Step 5: CDO synthesize (1 LLM call)
|
agree?
/ | \
revise (N<=3 redrafts) | agree
|
Step 6: emit ONE comment via safe-outputs.add-comment
Step 7: OPTIONAL companion docs PR (structural AND fresh
responsible-human issue-scope checkpoint)Execution checklist
Step 1 -- Classify
Spawn ONE task: load the docs-impact-classifier skill, pass it the
PR number. It returns the classifier JSON.
Validate the JSON against assets/classifier-return-schema.json.
On schema failure, abort the run with a comment explaining the
internal error.
If verdict is no_change: skip to Step 6 with a brief advisory
("No docs impact detected. Reason: <one-line>. LLM calls: 1/15.")
Step 2 -- Localize (in_place) or Architect (structural)
For in_place: spawn ONE task that loads the
docs-impact-localizer skill with the classifier output. Returns
per-page task briefs.
For structural: spawn ONE task that loads the
docs-impact-architect skill with the classifier output. Returns
TOC delta + new-page outlines + downstream in-place pages. THEN
spawn the localizer for those downstream pages.
Step 3 -- Fan-out panel
Cascade-size mitigation (PR 1244 class). If scope_pages[] has
8 entries, the per-page fan-out at one writer call per page would approach the 15-call ceiling with no headroom for verifier redrafts. BEFORE spawning, group
scope_pages[]into SECTIONS:
- Pages under the same TOC section (e.g. all
consumer/**) with the SAME conceptual fix (e.g. "rename apm update -> apm self-update in every mention") become ONE writer task with apages_in_section[]array in its brief. - A 9-page rename cascade collapses to 2-3 section writer tasks.
The python-architect verifier still runs per verify_claims[] (not
per page), because S7 evidence is keyed on claims, not pages.
For each page-or-section in the per-page task brief, spawn TWO parallel tasks:
- doc-writer task -- drafts the patch for that page's (or section's) specific edits. Output: JSON with
before:,after:for each location. - python-architect task -- for each
verify_claims[]in the page brief, run the actual command (S7 tool bridge:apm <verb> --help,grep -n <symbol> src/). Output: JSON withclaim: verified | refuted | inconclusiveper claim.
In parallel with the per-page fan-out, spawn ONCE each:
- editorial-owner task -- receives ALL writer drafts, returns tone fixes.
- oss-growth-hacker task -- receives ALL writer drafts, returns ramp-clarity notes (does this read well to a cold OSS visitor).
All panelist tasks return JSON matching assets/panelist-return-schema.json.
Schema-validate every return; on failure, abort.
Step 4 -- Validate
Cross-check:
- Every
verify_claimsfrom a python-architect comes backverifiedorinconclusive(neverrefuted). If any arerefuted, the doc-writer's draft is wrong; re-run the writer for that page with the refutation as context. - Cross-page constraints from the localizer are honored across all writer drafts.
- All drafts are ASCII-only (per repo encoding rule).
Step 5 -- CDO synthesize
Spawn ONE task: load the cdo persona with the full panel return
(writer drafts + verifier reports + editorial notes + growth notes
- classifier verdict + (architect output if structural)) and
.apm/docs-index.yml.
The CDO returns one of three verdicts:
agree: ship. Proceed to Step 6.revise: re-spawn the writer panelists with the CDO's specific concerns as additional context. Re-run the editorial and growth passes if needed. Bounded N <= 3 redrafts. Increment a redraft counter; if it hits 3 and CDO still disagrees, ship withcdo_disagreement_noted: true.ship_with_disagreement: ship as-is with the disagreement surfaced in the comment for the maintainer to weigh.
Step 6 -- Emit ONE comment
Render assets/advisory-comment-template.md with the final results.
Write it via safe-outputs.add-comment. Header is exactly
## Docs sync advisory (stable for idempotent edit-in-place).
The comment MUST include the cost header:
Verdict: <verdict> * Pages affected: N * LLM calls: M/15 * Took: XsStep 7 -- Optional companion PR
Only on structural verdict in a human-supervised follow-up.
docs-sync-confirm is at most a request to discuss the proposal; it
never ratifies scope or permits companion implementation. This applies
even when an older workflow prompt calls it confirmation. Unattended
label/manual-dispatch runs end with advice, not a companion PR.
Before editing, tie the companion to a real issue and a nominated scope-record comment URL. In a trusted default-branch checkout of the target repository (not the contributor branch or skill directory), probe:
node scripts/governance/eligibility.cjs --help
node scripts/governance/eligibility.cjs --repo microsoft/apm --issue N --approval-url URLThe target's authority.cjs owns record interpretation and the trusted
GOVERNANCE.md roster. Do not add a package dependency, duplicate parser,
or label-based roster. Missing tool, incomplete/API-failed reads, or
unverifiable evidence means STOP and escalate.
The result always has authorizes_implementation: false: even an
unedited scope evidence record cannot reveal deleted withdrawals.
Obtain a fresh explicit confirmation from a responsible human for this
issue's bounded scope, done-when, exclusions, and review contact before
companion implementation. Capture its current confirmation reference;
neither bot advice, a review, historical acceptance, silence, nor a label
is consent. A named contact is not proof of review availability.
Only after that checkpoint:
- Branch name:
docs-sync/companion-<PR_NUMBER>in the BASE repo. - Apply the doc-writer drafts as a commit on that branch.
- Apply the architect's TOC delta (
.apm/docs-index.ymlentries + new page files + redirects on retired pages). - Open a draft PR linked to the original PR, with the advisory comment text as the PR body.
- Reference the companion PR in the advisory comment.
The default is to recommend patches without opening a PR. Reconfirm on resume, changed scope, or uncertain withdrawal; never auto-push or merge.
Cost accounting
The orchestrator maintains a running LLM-call counter:
| Step | Min calls | Max calls |
| Step 1 classify | 1 | 1 |
| Step 2 localize/architect | 0 | 2 |
| Step 3 fan-out (N pages) | 0 | 2N + 2 |
| Step 5 CDO | 0 | 1 + 3 redrafts |
| Total | 1 | 15 |
If the counter would exceed 15, the orchestrator stops spawning,
ships the partial result with cost_ceiling_hit: true, and the
comment surfaces the truncation.
Anti-patterns
- Reading the corpus instead of the index. Context budget breach.
- Letting panelists post comments. Single-writer interlock violation.
- Ignoring
refutedverify_claims. That's silent drift you're shipping. - Skipping the CDO synthesis on "obvious" in-place patches. The bridges still matter.
- Treating
docs-sync-confirmor evidence JSON as ratification. Only the fresh responsible-human issue-scope checkpoint permits implementation. - Re-running on every push (synchronize). Wasteful. Re-apply the trigger label for re-run.
Operating modes
- Rung 1 (label-gated, default): triggered by
docs-synclabel on PR. Maintainer opts in. - Rung 2 (default-on): triggered on every
pull_request_targetevent. Enabled only after shadow validation.
The workflow file controls which rung is active. The skill body is identical for both.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

