Documentation Sync banner
ChrisWiles ChrisWiles

Documentation Sync

Documentation community intermediate

Description

Check if documentation matches the current code state.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

Repository README

This is the README for ChrisWiles/claude-code-showcase, shared by 6 entries in this directory. It describes the repository, not this entry specifically.


description: Check if documentation is in sync with code allowed-tools: Read, Glob, Grep, Bash(git:*)

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