cmd-documentation-doc-sync

Detect stale Markdown documentation from git ranges and propose minimal edits.

2|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/jlaws/dotfiles --skill cmd-documentation-doc-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmd-documentation-doc-sync
Source: https://github.com/jlaws/dotfiles/tree/main/.agents/skills/cmd-documentation-doc-sync
Command: npx skills add https://github.com/jlaws/dotfiles --skill cmd-documentation-doc-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Documentation maintainers often face stale or out-of-sync docs after releases or feature merges, requiring manual audits and patching.

Core Features & Use Cases

  • Staleness detection: compare recent changes with doc files (README*, ARCHITECTURE*, docs/.md, CHANGELOG) to identify outdated sections.
  • Surgical edits proposal: generate minimal, targeted edits that preserve style and intent for reviewer approval.
  • Audit workflows: support post-release documentation hygiene and automated diff-driven updates.

Quick Start

Provide a git range to analyze; the tool will detect stale docs and propose surgical edits.

Frequently Asked Questions about cmd-documentation-doc-sync

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

FAQPage Schema
How do I find stale documentation after a code merge?

To find stale documentation after a code merge, provide a git range to analyze. The tool scans git diffs and compares them against common doc patterns like README, ARCHITECTURE, and CHANGELOG files to identify outdated sections.

Can I automatically sync markdown docs with recent git changes?

Yes, you can sync markdown docs with git changes by scanning a specified git range. The tool detects outdated markdown files and proposes minimal, targeted edits designed to preserve the original style for reviewer approval.

What is the best way to audit project documentation against a git diff?

The best way to audit documentation against a git diff is using an automated diff-driven workflow. This process scans specified git ranges to detect stale docs and generates surgical, review-ready markdown patches.

Do I need to manually apply the documentation updates generated by the diff scan?

No, you do not manually apply updates immediately. The tool generates minimal, review-ready edits that propose surgical changes to markdown files, allowing maintainers to review and approve the patches before they are applied.

What documentation file formats are supported for staleness detection?

Staleness detection supports common markdown doc patterns including README, ARCHITECTURE, CHANGELOG, and any files matching the docs/*.md directory structure, ensuring broad coverage for standard project documentation.

When should I run a documentation sync against my codebase?

You should run a documentation sync during post-release maintenance, after feature merges, or as part of scheduled documentation audits to ensure your markdown files remain accurately aligned with recent code changes.