Code Review
Azure/sap-automation
Review pull requests in the SAP Deployment Automation Framework.
A skill your agent uses 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…
$ npx skills add microsoft/apm --skill docs-sync -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/apm docs-sync --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.apm/skills/docs-sync .claude/skills/docs-sync && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "docs-sync" agent skill from https://github.com/microsoft/apm/tree/main/.apm/skills/docs-sync into .claude/skills/docs-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-sync", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/apm/tree/main/.apm/skills/docs-syncType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/apm --skill docs-sync -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/apm docs-sync --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.apm/skills/docs-sync .agents/skills/docs-sync && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "docs-sync" agent skill from https://github.com/microsoft/apm/tree/main/.apm/skills/docs-sync into .agents/skills/docs-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-sync", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/apm --skill docs-sync -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/apm docs-sync --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.apm/skills/docs-sync .cursor/skills/docs-sync && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "docs-sync" agent skill from https://github.com/microsoft/apm/tree/main/.apm/skills/docs-sync into .cursor/skills/docs-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-sync", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/apm.git --path .apm/skills/docs-sync--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/apm --skill docs-sync -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/apm docs-sync --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.apm/skills/docs-sync .gemini/skills/docs-sync && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "docs-sync" agent skill from https://github.com/microsoft/apm/tree/main/.apm/skills/docs-sync into .gemini/skills/docs-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-sync", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/apm docs-syncInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/apm --skill docs-sync -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.apm/skills/docs-sync .github/skills/docs-sync && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "docs-sync" agent skill from https://github.com/microsoft/apm/tree/main/.apm/skills/docs-sync into .github/skills/docs-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-sync", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/apm --skill docs-sync -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/apm docs-sync --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.apm/skills/docs-sync .opencode/skills/docs-sync && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "docs-sync" agent skill from https://github.com/microsoft/apm/tree/main/.apm/skills/docs-sync into .opencode/skills/docs-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-sync", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
docs-syncA skill your agent uses 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…
Docs Sync is an agent skill from microsoft/apm, published by the product's own GitHub organization. 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 +…
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including assets (for example `assets/advisory-comment-template.md`, `assets/classifier-return-schema.json` and `assets/panelist-return-schema.json`).
It sits in Development, covering Monitoring and alerting, Code review and Test coverage. It works with Python. The repository describes itself as: Agent Package Manager. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 280b8a7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
nodeghpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Docs Sync loads about 3k tokens when it runs. Until then it costs about 178 tokens; SKILL.md has 1,298 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microsoft/apm at commit 280b8a7, republished under its MIT licence (© microsoft). 1,298 words, ~2,990 tokens.
.claude/skills/docs-sync/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.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.
N/15 for observability.gh write command, post comments, or touch PR state.## Docs sync advisory. Re-runs edit-in-place using gh pr comment --edit-last..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).apm --help, grep, and python -c commands to verify doc claims, never assert from prose.| 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 |
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)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.")
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.
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:
consumer/**) with the
SAME conceptual fix (e.g. "rename apm update -> apm self-update in
every mention") become ONE writer task with a pages_in_section[]
array in its brief.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:
before:, after: for each location.verify_claims[] in the page brief, run the actual command (S7 tool bridge: apm <verb> --help, grep -n <symbol> src/). Output: JSON with claim: verified | refuted | inconclusive per claim.In parallel with the per-page fan-out, spawn ONCE each:
All panelist tasks return JSON matching assets/panelist-return-schema.json.
Schema-validate every return; on failure, abort.
Cross-check:
verify_claims from a python-architect comes back verified or inconclusive (never refuted). If any are refuted, the doc-writer's draft is wrong; re-run the writer for that page with the refutation as context.Spawn ONE task: load the cdo persona with the full panel return
(writer drafts + verifier reports + editorial notes + growth notes
.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 with
cdo_disagreement_noted: true.ship_with_disagreement: ship as-is with the disagreement
surfaced in the comment for the maintainer to weigh.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: XsOnly 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:
docs-sync/companion-<PR_NUMBER> in the BASE repo..apm/docs-index.yml entries +
new page files + redirects on retired pages).The default is to recommend patches without opening a PR. Reconfirm on resume, changed scope, or uncertain withdrawal; never auto-push or merge.
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.
refuted verify_claims. That's silent drift you're shipping.docs-sync-confirm or evidence JSON as ratification. Only the fresh responsible-human issue-scope checkpoint permits implementation.docs-sync label on PR. Maintainer opts in.pull_request_target event. Enabled only after shadow validation.The workflow file controls which rung is active. The skill body is identical for both.
© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (assets) in .apm/skills/docs-sync of microsoft/apm.
Open the folder on GitHubat commit 280b8a7
Docs Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Docs Sync this skillmicrosoft/apm | 4k | — | ~3k | Automated safety check: Pass | MIT | |
| Code ReviewAzure/sap-automation | 145 | — | ~7k | Automated safety check: Pass | MIT | |
| Core Components Code Reviewcore-ds/core-components | 137 | — | ~5.4k | Automated safety check: Pass | MIT | |
| Code Review Skillawesome-skills/code-review-skill | 2.1k | — | ~2.8k | Automated safety check: Notes | MIT | |
| Evaluate PR Testsdotnet/maui | 23k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Docling Pull Request Reviewdocling-project/docling | 68k | — | ~1k | Automated safety check: Pass | MIT |
Azure/sap-automation
Review pull requests in the SAP Deployment Automation Framework.
core-ds/core-components
Review a Pull Request or diff in the @alfalab/core-components UI library — correctness bugs, public API/breaking changes, accessibility, keyboard/focus/pointer interaction, component states…
awesome-skills/code-review-skill
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…
dotnet/maui
Reviews the tests added in a pull request for fix coverage, quality, edge cases and test type, and recommends lighter test types where they would do.
docling-project/docling
Reviews or re-reviews a Docling pull request in fixed stages, with findings that can be reproduced and an explicit record of every check that was run.
jewbetcha/opentrace
Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.
microsoft/apm
A skill your agent uses to cut an APM release from the current worktree: assess whether the cycle since the last tag warrants a patch or minor bump (semver discipline against the…
microsoft/apm
A skill your agent uses to run a holistic regrounding pass on the entire microsoft/apm documentation corpus against current source code, page-by-page, and emit surgical fixes for stale claims.
microsoft/apm
A skill your agent uses to verify CLAIM-LEVEL grounding of a documentation page (or set of pages) against the source code.
microsoft/apm
A skill your agent uses to write the PR description (PR body) for any pull request opened against microsoft/apm.
microsoft/apm
A skill your agent uses to implement ONE microsoft/apm issue already selected by autopilot-issue-delivery-scheduler.
microsoft/apm
Drive ONE already selected open pull request in microsoft/apm to mergeable.
Works with
Categories
A skill your agent uses 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…. Docs Sync is an agent skill from microsoft/apm, published by the product's own GitHub organization. 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.
Docs Sync fits situations like: A pull request is opened; synchronized in microsoft/apm to assess whether and how the documentation corpus must change to stay truthful with the proposed code change.
Run `npx skills add microsoft/apm --skill docs-sync -a claude-code`. Or copy the skill folder (.apm/skills/docs-sync in microsoft/apm) into .claude/skills/docs-sync in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/apm --skill docs-sync -a codex`. Or copy the skill folder (.apm/skills/docs-sync in microsoft/apm) into .agents/skills/docs-sync in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/apm --skill docs-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-sync, .gemini/skills/docs-sync, .github/skills/docs-sync and .opencode/skills/docs-sync in your project.
Going by SKILL.md and its folder, Docs Sync needs the command-line tools its instructions call (node, gh and python). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Docs Sync is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Docs Sync: Code Review (Azure/sap-automation, 145 stars), Core Components Code Review (core-ds/core-components, 137 stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars) and Evaluate PR Tests (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/apm, which has 3,968 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 6, 2026.
Source: microsoft/apm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.