Skip to content
Skill

Refresh docs

Finds outdated reference docs and rewrites them from current source and data files

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

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

Similar skills

About Refresh docs

This skill scans a project for reference and specification docs that have fallen behind the code. It can check the whole repository, only files changed in recent commits, or a single named doc. When the project includes its own doc-freshness checker, the agent runs that first and treats its output as authoritative.

Beyond timestamp comparisons, the skill has the agent compare the surface a doc describes, such as endpoints, functions, CLI options and config keys, against what the code currently exposes. Each divergence is classed as missing from docs, missing from code, signature mismatch or description mismatch, with severity attached so the most misleading errors are fixed first. The agent then groups findings into docs to refresh and docs to create, asks which to update, and edits only the affected sections while keeping existing structure.

The skill expects a git repository, since it uses git diff and git diff --stat to identify and verify changes. It also asks the agent to use AskUserQuestion for confirmation and to skip docs with only trivial source changes.

When your agent uses it

Scan for stale reference docs and update them by reading current source code and data files.

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 (4 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 claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kit

Or copy only this skill to ~/.claude/skills/refresh-docs:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/refresh-docs &&
cp -R "$tmp/skills/refresh-docs" ~/.claude/skills/refresh-docs &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/refresh-docs &&
cp -R "$tmp/skills/refresh-docs" ~/.agents/skills/refresh-docs &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/refresh-docs &&
cp -R "$tmp/skills/refresh-docs" ~/.cursor/skills/refresh-docs &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/refresh-docs 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/ajyadav013/claude-kit.git --path skills/refresh-docs

Or copy the folder to ~/.gemini/skills/refresh-docs yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/refresh-docs &&
cp -R "$tmp/skills/refresh-docs" ~/.copilot/skills/refresh-docs &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ajyadav013/claude-kit.git

Then copy claude-kit/skills/refresh-docs into your agent's skills folder as refresh-docs. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Stale doc detection
Finds docs whose source files changed more recently than the docs themselves.
Surface divergence analysis
Compares documented endpoints, functions and options against the current code.
Severity-ranked findings
Classifies each mismatch so misleading or breaking errors are addressed first.
Targeted section updates
Edits only affected sections while preserving each doc's existing structure.
Commit-range scoping
Limits the scan to source files changed in the last N commits.
User-confirmed refresh
Presents counts and asks which docs to update before writing changes.

Good for

  • Update the API reference after endpoints changed
  • Find which architecture docs are out of date with the source
  • Refresh a single spec file against current code
  • Check docs touched by the last few commits
  • Create docs for undocumented components

Refresh docs FAQ

Does Refresh docs need any scripts or extra tools?

It ships no scripts. It relies on git commands and, if the project has one, its own doc-freshness checker.

Will Refresh docs rewrite every doc in the project?

No. It groups findings, asks which docs to refresh, and skips docs with only minor source changes.

How is Refresh docs invoked?

It accepts no arguments, a --since N option for recent commits, or a path to a specific doc file.

How do I install Refresh docs in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/refresh-docs to use it in all your projects, or to .claude/skills/refresh-docs in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.

Does Refresh docs 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 Refresh docs?

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 Refresh docs?

The closest alternatives to Refresh docs are Docs sync audit, Docs sync edho ferdian, Docsync, Documentation audit and Doc gardening.

Where this comes from

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

More from ajyadav013/claude-kit

  1. Guides an agent through pytest, async fixtures and security-regression tests for FastAPI

    • Open source
    • 13 GitHub stars
    • Developer tools
  2. Lets your agent inspect and debug live browser pages via Chrome DevTools MCP

    • Open source
    • 13 GitHub stars
    • Browser automation
  3. Runs concurrent load and stress tests against API endpoints to find latency and throughput

    • Open source
    • 13 GitHub stars
    • Developer tools
  4. Lets an agent click through a feature in a real browser and check how it behaves

    • Open source
    • 13 GitHub stars
    • Developer tools
  5. Runs quick health checks on backend, frontend and login to catch obvious breakage

    • Open source
    • 13 GitHub stars
    • Developer tools
  6. Guides an agent through red-green-refactor, bug reproduction tests and test pyramid

    • Open source
    • 13 GitHub stars
    • Developer tools