mr-min-max/staledocs

Finds documentation that no longer matches your code. Deterministic AST check for pull requests; no API key. TypeScript, JavaScript, Python.

TypeScript

2

258 commits

updated Oct 9, 2026

See the code

See what people are saying

SourceMessageScoreDate

Your /r/javascript recap for the week of October 05 - October 11, 2026 (r/javascript)

**Monday, October 05 - Sunday, October 11, 2026** ###Top Posts | score | comments | title & link | |--|--|--| | 251 | [86 comments](/r/javascript/comments/1x1lw8s/deno_is_joining_cloudflare_we_will_support_the/) | [Deno is joining Cloudflare - "We will support the Deno runtime for another year…

1

Oct 12, 2026

StaleDocs: flag unchanged Markdown docs when JavaScript/TypeScript APIs change (r/javascript)

4

Oct 11, 2026

README

StaleDocs

Formerly aidoc.

StaleDocs: a createUser(email) change linked to README.md and docs/API.md, ending in a reviewed documentation update.

StaleDocs reads your code, finds public API changes in a pull request, and tells you which documentation sections now describe the old behavior.

Website · GitHub Action setup

Add to a repository in one file

name: StaleDocs review
on: {pull_request: {types: [opened, synchronize, reopened]}}
permissions: {contents: read, pull-requests: write}
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with: {fetch-depth: 0}
      - uses: mr-min-max/staledocs@v0.4.0-beta.1
        with:
          mode: review
          fail-on: none

Example StaleDocs pull request review comment

What the comment contains

  • Changed symbols with before and after signatures.
  • Sections that mention them and were not updated.
  • breaking-change and docs-stale labels when applicable.

No model, no API key, no writes. It is deterministic AST analysis.

From the terminal

Install the command:

npm install -g staledocs@beta

staledocs review reports documentation impact for a pull request.

staledocs plan prints the affected documentation targets.

staledocs check exits with code 1 when a section mentioning a changed public symbol was not updated, and exits 0 otherwise.

Fix the docs with your assistant

Claude Code plugin

Start Claude Code in your Git worktree, then run:

/plugin marketplace add mr-min-max/staledocs
/plugin install staledocs@staledocs

Use /staledocs:check for drift signals, /staledocs:review for the PR report, or /staledocs:maintain-documentation for a validated draft. Requires Node.js

=22.12.0 and npm/npx. This repository hosts its own plugin marketplace; it is not an approved Anthropic directory listing.

Codex or manual MCP

codex mcp add staledocs -- staledocs --mcp

prepare_documentation_update gives the assistant the exact sections and before and after signatures.

StaleDocs validates the candidate, and the assistant applies the approved Markdown.

See the Codex guide and Claude guide.

Languages

TypeScript, JavaScript, and Python are supported. A public symbol is one reachable from the package entry; see LIMITATIONS.md.

See LIMITATIONS.md for syntax and discovery caveats.

Legacy generators

readme, api, changelog, diagram, and annotate remain available for initial documentation. They need a provider key or Ollama and are not the focus of StaleDocs. See the CLI catalogue.

StaleDocs 0.4.0-beta.1 is published. npm latest, npm beta, and the GitHub Action v0 tag all use this release.

npm CI License: MIT Node.js GitHub Action Marketplace

api-docs
ast
ci
claude-code
code-review
codex
developer-tools
documentation
documentation-drift
github-action
javascript
linter
mcp
pull-request
python
stale-docs
typescript

mr-min-max/staledocs

Finds documentation that no longer matches your code. Deterministic AST check for pull requests; no API key. TypeScript, JavaScript, Python.

TypeScript

2

258 commits

updated Oct 9, 2026

See the code

See what people are saying

SourceMessageScoreDate

Your /r/javascript recap for the week of October 05 - October 11, 2026 (r/javascript)

**Monday, October 05 - Sunday, October 11, 2026** ###Top Posts | score | comments | title & link | |--|--|--| | 251 | [86 comments](/r/javascript/comments/1x1lw8s/deno_is_joining_cloudflare_we_will_support_the/) | [Deno is joining Cloudflare - "We will support the Deno runtime for another year…

1

Oct 12, 2026

StaleDocs: flag unchanged Markdown docs when JavaScript/TypeScript APIs change (r/javascript)

4

Oct 11, 2026

README

StaleDocs

Formerly aidoc.

StaleDocs: a createUser(email) change linked to README.md and docs/API.md, ending in a reviewed documentation update.

StaleDocs reads your code, finds public API changes in a pull request, and tells you which documentation sections now describe the old behavior.

Website · GitHub Action setup

Add to a repository in one file

name: StaleDocs review
on: {pull_request: {types: [opened, synchronize, reopened]}}
permissions: {contents: read, pull-requests: write}
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with: {fetch-depth: 0}
      - uses: mr-min-max/staledocs@v0.4.0-beta.1
        with:
          mode: review
          fail-on: none

Example StaleDocs pull request review comment

What the comment contains

  • Changed symbols with before and after signatures.
  • Sections that mention them and were not updated.
  • breaking-change and docs-stale labels when applicable.

No model, no API key, no writes. It is deterministic AST analysis.

From the terminal

Install the command:

npm install -g staledocs@beta

staledocs review reports documentation impact for a pull request.

staledocs plan prints the affected documentation targets.

staledocs check exits with code 1 when a section mentioning a changed public symbol was not updated, and exits 0 otherwise.

Fix the docs with your assistant

Claude Code plugin

Start Claude Code in your Git worktree, then run:

/plugin marketplace add mr-min-max/staledocs
/plugin install staledocs@staledocs

Use /staledocs:check for drift signals, /staledocs:review for the PR report, or /staledocs:maintain-documentation for a validated draft. Requires Node.js

=22.12.0 and npm/npx. This repository hosts its own plugin marketplace; it is not an approved Anthropic directory listing.

Codex or manual MCP

codex mcp add staledocs -- staledocs --mcp

prepare_documentation_update gives the assistant the exact sections and before and after signatures.

StaleDocs validates the candidate, and the assistant applies the approved Markdown.

See the Codex guide and Claude guide.

Languages

TypeScript, JavaScript, and Python are supported. A public symbol is one reachable from the package entry; see LIMITATIONS.md.

See LIMITATIONS.md for syntax and discovery caveats.

Legacy generators

readme, api, changelog, diagram, and annotate remain available for initial documentation. They need a provider key or Ollama and are not the focus of StaleDocs. See the CLI catalogue.

StaleDocs 0.4.0-beta.1 is published. npm latest, npm beta, and the GitHub Action v0 tag all use this release.

npm CI License: MIT Node.js GitHub Action Marketplace

api-docs
ast
ci
claude-code
code-review
codex
developer-tools
documentation
documentation-drift
github-action
javascript
linter
mcp
pull-request
python
stale-docs
typescript

Project health

Latest release

0.3.0-beta.1 · Sep 10, 2026

Releases this year

0