doc-sweep

Audit documentation against source code for the 'mine' CLI tool.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/rnwolfe/mine --skill doc-sweep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-sweep
Source: https://github.com/rnwolfe/mine/tree/main/.claude/skills/doc-sweep
Command: npx skills add https://github.com/rnwolfe/mine --skill doc-sweep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common issue of documentation becoming outdated or inaccurate as code evolves, leading to confusion and errors for users and developers.

Core Features & Use Cases

  • Factual Drift Detection: Identifies discrepancies between code behavior and documentation across commands, features, and repository files.
  • Automated Auditing: Scans command definitions, feature pages, READMEs, and contribution guides for inconsistencies.
  • Use Case: After a new feature is merged, run doc-sweep features to verify that a corresponding documentation page exists and accurately reflects the new functionality, flagging any missing or outdated information.

Quick Start

Run a full documentation audit across all scopes.

Frequently Asked Questions about doc-sweep

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

FAQPage Schema
How do I audit my documentation for accuracy against the codebase?

Documentation auditing scans command references, feature pages, and developer docs against source code definitions to identify factual drift. It categorizes missing flags, stale examples, and inaccurate claims by severity for targeted resolution.

What is documentation drift detection and how does it work?

Documentation drift detection identifies discrepancies between code behavior and written documentation across commands and repository files. It works by comparing source code definitions and status files against developer documentation to flag inaccurate claims and undocumented features.

How do I check for missing flags and stale examples in developer docs?

Check for missing flags and stale examples by running an automated documentation audit. The process scans command definitions and feature pages, comparing their contents against code reality to locate outdated information and categorize findings by severity.

Can I automate documentation validation after merging a new feature?

You can automate documentation validation after merging a new feature by running a documentation sweep. This verifies that corresponding documentation pages exist and accurately reflect the new functionality, flagging any missing or outdated information.

What is the best way to ensure CLI documentation matches code reality?

The best way to ensure CLI documentation matches code reality is performing a full documentation audit across all scopes. Scanning command references and landing pages against source code definitions identifies undocumented features and inaccurate claims effectively.

Does doc-sweep work without external dependencies?

Yes, the doc-sweep documentation audit skill operates without external dependencies. It independently scans repository files, command definitions, and status files to detect factual drift and categorize inconsistencies by severity.