All skills
Skillintermediate

Documentation Sync

Check if documentation matches the current code state.

Claude Code Knowledge Pack7/10/2026

Overview

Documentation Sync

Check if documentation matches the current code state.

Instructions

  1. Find recent code changes:

    git log --since="30 days ago" --name-only --pretty=format: -- "*.ts" "*.tsx" | sort -u
    
  2. Find related documentation:

    • Search /docs/ for files mentioning changed code
    • Check README files near changed code
    • Look for TSDoc comments in changed files
  3. Verify documentation accuracy:

    • Do code examples still work?
    • Are API signatures correct?
    • Are prop types up to date?
  4. Report only actual problems:

    • Documentation is a living document
    • Only flag things that are WRONG, not missing
    • Don't suggest documentation for documentation's sake
  5. Output a checklist of documentation that needs updating