Skip to content
Skill

Kmg docs impact scan

Finds docs affected by code changes before you push, PR or ship

Kmg docs impact scan is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Kmg docs impact scan

This skill runs a documentation impact check when pre-ship moments come up, such as pushing a branch, opening a pull request or wrapping up an implementation plan. It reads the git diff against the default branch, pulls out changed command, feature, flag and skill names, and greps the project root and docs folder for those names, skipping planning and design folders.

After the scan, the agent lists the candidate files with the reason each was picked, including common files like README and CHANGELOG, and waits for the user to confirm or edit the list. Confirmed files are then updated one at a time through a Claude Code command, and learned correction patterns can be saved for future scans.

It expects a git repository with a local main or master branch and a Knowledge Graph setup that the skill can query. It writes a per-commit flag file in /tmp that a pre-push gate checks.

When your agent uses it

Fires on pre-ship signals to scan for docs affected by code changes

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kmgraph plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add technomensch/knowledge-graph
/plugin install kmgraph@knowledge-management-graph

Or copy only this skill to ~/.claude/skills/kmg-docs-impact-scan:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kmg-docs-impact-scan &&
cp -R "$tmp/skills/kmg-docs-impact-scan" ~/.claude/skills/kmg-docs-impact-scan &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/kmg-docs-impact-scan inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kmg-docs-impact-scan to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kmg-docs-impact-scan &&
cp -R "$tmp/skills/kmg-docs-impact-scan" ~/.agents/skills/kmg-docs-impact-scan &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/kmg-docs-impact-scan inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kmg-docs-impact-scan to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kmg-docs-impact-scan &&
cp -R "$tmp/skills/kmg-docs-impact-scan" ~/.cursor/skills/kmg-docs-impact-scan &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/kmg-docs-impact-scan inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/technomensch/knowledge-graph.git --path skills/kmg-docs-impact-scan

Or copy the folder to ~/.gemini/skills/kmg-docs-impact-scan yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kmg-docs-impact-scan:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kmg-docs-impact-scan &&
cp -R "$tmp/skills/kmg-docs-impact-scan" ~/.copilot/skills/kmg-docs-impact-scan &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/kmg-docs-impact-scan inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/technomensch/knowledge-graph.git

Then copy knowledge-graph/skills/kmg-docs-impact-scan into your agent's skills folder as kmg-docs-impact-scan. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Diff-based identifier extraction
Pulls command, feature, flag and skill names from the changed lines of the branch diff, or from uncommitted changes when on the default branch.
Documentation grep scan
Searches top-level markdown files and the docs folder for references to the changed identifiers, excluding planning and design directories.
Confirmation step
Shows candidate files with their source labels and waits for the user to add or remove entries before any edits run.
Learned correction patterns
Offers to save corrections as patterns so future scans check the same extra files for related changes.
Pre-push gate flag
Writes a commit-specific completion flag that the pre-push gate reads to confirm the scan ran.

Good for

  • Check which docs mention a renamed command before opening a pull request
  • Find README or install guide references to a flag I changed before pushing
  • Update user-facing docs after finishing an implementation plan
  • Scan for documentation affected by a skill rename before merging

Kmg docs impact scan FAQ

When does Kmg docs impact scan trigger?

It fires on pre-ship signals such as push to origin, push and merge, open PR, create PR, finishing up, ready to push, or when it is named as the final task in an implementation plan.

What does Kmg docs impact scan need to run?

It needs a local main or master branch and a git repository with a common ancestor. If neither exists, or the clone is shallow, it reports that the scan was skipped.

Does Kmg docs impact scan update docs without asking?

No. It shows the candidate file list and waits for user confirmation before dispatching updates through the kmg-update-doc command.

Does Kmg docs impact scan cover every doc in the repo?

No. It scans top-level markdown files and docs/ while excluding docs/plans, docs/superpowers and docs/design, plus a fixed set of obvious files.

How do I install Kmg docs impact scan in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kmg-docs-impact-scan to use it in all your projects, or to .claude/skills/kmg-docs-impact-scan in one project. Or install the kmgraph plugin, which includes it: /plugin marketplace add technomensch/knowledge-graph, then /plugin install kmgraph@knowledge-management-graph.

Does Kmg docs impact scan run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Kmg docs impact scan?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Kmg docs impact scan?

The closest alternatives to Kmg docs impact scan are Kmg paperwork audit, Diff aware semgrep scan, Docs branch off feature branch smuggles code, Update docs and commit and Acquire codebase knowledge.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from technomensch/knowledge-graph

  1. Prompts the agent to capture architectural decisions as Architecture Decision Records

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Lets your agent search a knowledge graph for past decisions and solved problems

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  3. Makes the agent check a project's knowledge graph for prior decisions before recommending

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  4. Routes 'capture that' and 'remember that' requests to memory, lessons or ADRs

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  5. Routes explicit doc-update requests to the right knowledge-graph update command

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Enforces strict, zero-deviation execution of a written plan file in Gemini/Antigravity

    • Open source
    • 6 GitHub stars
    • Developer tools