doc-gap-analyzer

Detect undocumented and stale documentation across codebases and knowledge graphs.

6|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/kmshihab7878/claude-code-setup --skill doc-gap-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-gap-analyzer
Source: https://github.com/kmshihab7878/claude-code-setup/tree/main/skills/doc-gap-analyzer
Command: npx skills add https://github.com/kmshihab7878/claude-code-setup --skill doc-gap-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Doc Gap Analyzer finds undocumented APIs, stale documentation, broken examples, and knowledge graph gaps so documentation teams can prioritize work that reduces onboarding friction and user confusion.

Core Features & Use Cases

  • Coverage scanning: Compares public API endpoints and Python public functions against documentation pages and docstrings to surface missing coverage.
  • Staleness detection: Flags docs older than 90 days that have accompanying recent code changes, broken examples referencing deprecated APIs, and 404 links.
  • Gap classification & reporting: Produces prioritized targets (P0–P3), top-10 gap lists, coverage percentages, staleness reports, and trend metrics for doc-to-code sync.
  • Use cases: Pre-release audits, post-feature doc updates, quarterly documentation health reviews, and onboarding readiness checks.

Quick Start

Run a full coverage scan to identify undocumented APIs, stale pages, missing examples, and knowledge graph gaps and generate a prioritized gap report.

Frequently Asked Questions about doc-gap-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find undocumented APIs and stale documentation in my codebase?

Documentation gap analysis detects undocumented APIs and stale documentation by comparing public API endpoints and Python docstrings against existing pages. It flags files older than 90 days with recent code changes to produce prioritized gap reports.

What is documentation coverage scanning and how does it work?

Documentation coverage scanning compares public API endpoints and Python public functions against documentation pages and docstrings. It surfaces missing coverage by generating coverage percentages and prioritized targets from P0 to P3.

How do I audit broken examples and 404 links before a software release?

Pre-release audits identify broken examples referencing deprecated APIs and 404 links by checking link health and file modification timestamps. This process generates staleness reports and top-10 gap lists to ensure onboarding readiness.

Does documentation gap detection work with knowledge graphs and Python repositories?

Documentation gap detection works with repositories, documentation sites, and knowledge base audits by comparing Python public functions, docstrings, and knowledge graphs. It applies to onboarding, documentation sprints, and quarterly health reviews.

What is the best way to prioritize documentation updates after feature changes?

Post-feature doc updates are prioritized using gap classification reports that rank targets from P0 to P3. The analyzer compares recent code modifications against existing documentation timestamps to generate trend metrics for doc-to-code sync.

When should I run a documentation health review for onboarding readiness?

Documentation health reviews should be run during quarterly audits, pre-release checks, and post-feature updates. The process evaluates coverage metrics, staleness reports, and knowledge graph gaps to reduce onboarding friction and user confusion.