---
title: "docs-impact skill"
canonical: "https://mrbogomips.github.io/eng-skills/skills/docs-impact/"
author: "MrBogomips"
published: "2026-12-02T00:00:00.000Z"
modified: "2026-12-02T00:00:00.000Z"
lang: "en"
license: "CC-BY-4.0"
code-license: "MIT"
---

---
summary: Before a branch is delivered, reports which public documentation sections its code changes leave wrong, incomplete or unreachable, and what each needs.
---


Checks, before a branch is delivered, whether its code changes affect the public documentation: README, user
guide, API reference pages or a GitHub Pages site. You get a report of the sections the branch makes wrong,
incomplete or unreachable, what each one needs, the new public elements no page documents, and a verdict.

## Why

A branch changes the code while the documentation keeps describing it as it was, and nobody notices until a
reader follows a removed flag. This skill scans the whole doc set for what the diff touches, adds the impacts no shared term reveals, and
leaves the fix to a separate step, so the report stays a check, not a rewrite.

## Usage

Claude Code picks the skill before the final pull request of a branch, or when you ask:

```text
which documentation does this branch affect?
what docs does the range v1.4..HEAD make stale?
```

It never edits documentation. At the end it offers the `documentation-writer` agent to make the changes, or
the `documentation-reviewer` agent to review the affected pages.

## Inputs and outputs

- **Configuration**: none needed; by default it checks `README*`, `docs/**`, `doc/**` and top-level `*.md`
  in the repository. Keys in the project's `## Documentation` section of `CLAUDE.md` or
  `AGENTS.md` adjust it:

  ```markdown
  ## Documentation
  - Published as a whole: `README.md`, `docs/**`
  - Docs source: https://github.com/example/payments-docs.git@main
  - Docs impact map: `src/refunds/**` => `docs/api/refunds.md`
  - Docs pages: off
  ```

  `Published as a whole` sets the doc set, and `technical-writing` reads it too: a glob set for that skill
  also narrows this one's doc set; `Docs source` points to documentation kept outside the
  repository, a local path or a git URL with an optional `@<ref>`; each `Docs impact map` line ties a code
  glob to the pages that document it; `Docs pages: off` skips GitHub Pages detection and the navigation
  check.
- **Report**: a Markdown file in the session's scratch folder, or the path you give, with the impacted
  sections and an assessment.

## Requirements

Python 3 (standard library only) and git 2.28 or later.

## Limitations

- It scans documentation formats only (Markdown/MDX, reStructuredText, AsciiDoc, HTML) and excludes
  changelogs; an OpenAPI file in the doc set is skipped.
- The navigation check needs an explicit navigation (an MkDocs `nav:` or a hand-written Docusaurus
  sidebar); no site is built and no link is followed.
- An empty result covers shared terms and mappings, not behaviour described only in prose: the skill reads
  the diff for those.
- With an external docs source it cannot see edits already made in the branch, and skips the navigation
  check.
