Plan doc TOC changes and outline stubs when PRs require structural updates.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "docs-impact-architect" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/apm/main/.apm/skills/docs-impact-architect/SKILL.md 2. Save it as ~/.claude/skills/docs-impact-architect/SKILL.md 3. Reload skills and tell me it's ready
Based on this PR's structural impact, propose documentation TOC changes: which pages should be added, moved, or merged, and generate a brief outline for each new page. Strictly follow the consume / produce / govern narrative and the established persona ramps.
A TOC change proposal listing added, moved, and merged pages, plus structured outline drafts for each new page.
Review onboarding documentation related to this PR and determine which pages should be merged or relocated to reduce duplication and keep the user journey clear. Also output the outline for the merged destination page.
A deduplicated TOC adjustment plan explaining merge rationale, destination placement, and the post-merge page outline.
For the new capability introduced by the PR, design the required new documentation pages and their TOC placement, then output each page's heading hierarchy, key content points, and relationship to adjacent pages.
Recommended new documentation pages with TOC placement, plus page scaffolds and key points for later expansion.
Single responsibility: when the classifier says a PR needs structural docs changes (new page, page move, TOC reshape), design the change and emit:
You are NOT the writer (doc-writer owns prose). You are the TOC architect. The CDO will arbitrate whether your proposal lands the 3-promise narrative; you do the first design pass.
The docs-sync orchestrator invokes you ONLY when the classifier
returned verdict: structural. For no_change or in_place you
don't run.
structural_proposal from the classifier (a sketch you refine)gh pr diff $PR).apm/docs-index.yml (full corpus map)Load .apm/docs-index.yml entirely. Inspect chapters[], pages[],
promises[]. This is your map. You do NOT read the 100+ page corpus
unless a specific page is implicated by the classifier's sketch.
Match the PR's surface change to one of these structural shapes:
| Shape | Pattern | Example |
|---|---|---|
| NEW CAPABILITY | A new CLI verb, primitive type, or schema concept the docs have no slot for | apm pack --format wheel adds a new package format |
| EXPANDED CAPABILITY | An existing concept grows in scope and the current page can't hold it | apm install gains a registry-proxy mode that needs its own sub-page |
| DEPRECATED CAPABILITY | A removed CLI verb, flag, or concept; existing pages need to be retired or rewritten | A flag is removed; tutorial pages still teach it |
| CONCEPT SPLIT | One concept becomes two distinct concepts; one page becomes two | apm audit splits into audit and audit ci |
| CONCEPT MERGE | Two concepts unify; two pages should become one | apm pack and apm bundle merge into one verb |
| RAMP REORG | The PR's surface change shifts a concept across promises (e.g. an enterprise feature becomes consumer-default) | Policy enforcement moves from enterprise to consumer default behaviour |
The structural shape drives the TOC delta shape.
For each new page proposed, fill in:
new_page:
slug: docs/src/content/docs/<persona>/<topic>.md
title: "<short imperative title>"
persona: consumer | producer | enterprise | cross
promise: 1 | 2 | 3 | cross
parent_chapter: <existing chapter slug>
h2_sections:
- "## Why <topic>" # OPTIONAL -- skip unless concept is genuinely new
- "## How to <use>" # REQUIRED -- code first
- "## Reference" # OPTIONAL -- flag/option table
- "## Troubleshooting" # OPTIONAL -- only if known footguns
bridges:
incoming: # which existing pages should link TO this
- {from: <slug>, link_text: <suggested>}
outgoing: # which existing pages should this link FROM
- {to: <slug>, link_text: <suggested>}
ramp_impact: >-
one-paragraph description of how this changes the <persona>
ramp: which step it slots into, whether it adds a stop or
replaces an existing one
For each moved/retired page:
moved_page:
from: <slug>
to: <slug>
redirect_rationale: <one-sentence>
retired_page:
slug: <slug>
reason: <one-sentence>
redirect_to: <slug> # MUST exist; orphaning pages breaks SEO
Apply these hard rules. If any fails, redesign:
promise: cross. If a new page straddles two promises, split it OR park it under cross.…
Guide APM positioning, release communication, and breaking-change strategy decisions.
Audit an entire docs corpus against code and propose precise fixes.
Improve CLI output, logs, errors, and terminal diagnostic user experience.
Triages bug batches and drives related PRs to a mergeable state.
Plan Python architecture, refactor class hierarchies, and design multi-file code changes.
Triage APM issues in batches and drive approved ones to mergeable PRs.
Assess PR documentation impact and produce actionable update guidance every time.
Classify PR doc impact to decide whether documentation updates are needed.
Turn docs impact verdicts into page-by-page, section-level sync task briefs.
Guide users to co-author docs, proposals, and specs through iterative refinement.
Write complete, evidence-backed PR descriptions for microsoft/apm pull requests.
Submit structured documentation feedback reports to the FixYourDocs hub.