Home / Market / docs sync audit

docs sync audit

Run a read-only documentation drift audit for a feature, PR, branch, release, API, configuration change, workflow, CLI, package, or repository area. Use when the user asks whether docs are stale, missing, inconsistent with code, or need updates after code changes. Checks README files, setup guides, API docs, env docs, changelogs, examples, comments, generated docs, and user-facing instructions. This is not a general code review; it compares what the docs claim against what the code does.

skill★ 417940 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- name: docs-sync-audit description: Run a read-only documentation drift audit for a feature, PR, branch, release, API, configuration change, workflow, CLI, package, or repository area. Use when the user asks whether docs are stale, missing, inconsistent with code, or need updates after code changes. Checks README files, setup guides, API docs, env docs, changelogs, examples, comments, generated docs, and user-facing instructions. This is not a general code review; it compares what the docs claim against what the code does. license: MIT

---

Docs Sync Audit

Check whether documentation still matches the code, configuration, API behavior, commands, examples, and user workflows. Report stale or missing docs with concrete evidence and update direction.

Core Rules

Inputs

Accept any docs-sync target, including:

If scope is unclear, infer the smallest useful boundary and state it. If no scope is stated, do not ask for one; proceed with a full-repo docs audit. Ask only when different scopes would produce materially different doc checks.

Discovery Workflow

  1. Establish source of truth.
  1. Locate related documentation.
  1. Compare code and docs.
  1. Verify safely.

What To Look For

Severity Rubric

Evidence Standards

Report Format

Use this structure unless the user asks otherwise:

**Docs Sync Audit: <scope>**

No code changed. I compared <source/code/change scope> against <docs checked>. <verification summary>. No P0s found / P0s found: <count>.

1. **P1: <finding title>.**
   Drift: <what docs say or omit vs what code/config does>.
   Impact: <who is misled or blocked>.
   Evidence: source `<path>:<line>`; docs `<path>:<line>`.
   Suggested update: <specific docs change direction>.

2. **P2: <finding title>.**
   Drift: <what is stale/missing>.
   Impact: <why it matters>.
   Evidence: source `<path>:<line>`; docs `<path>:<line>` or expected docs area.
   Suggested update: <specific direction>.

**Likely Docs To Update**
- `<path>`: <why>

**Surveyed But Not Deeply Inspected**
- <For full-repo audits only: surfaces that were inventoried but not inspected deeply this pass, and which to run next. Omit this section entirely for scoped audits.>

**Checks Run**
- `<command>`: <result>

**Not Tested**
- <docs build, link check, generated-doc rebuild, or external-doc gaps and why; state residual risk when generated output was not rebuilt>

**Assumptions**
- <only include if useful>

If no drift is found, say that clearly and list residual risks such as generated docs not rebuilt, docs build/link checks not run, or external docs not accessible.

Post-Audit Update Workflow

When the user asks to update docs: