Documentation techniquesource GitHub
Synchronisation de la documentation
/docs-syncVérifier si la documentation correspond bien au code
// contenu du skill
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
- Find recent code changes:
bash
git log --since="30 days ago" --name-only --pretty=format: -- "*.ts" "*.tsx" | sort -u- Find related documentation:
- Search
/docs/for files mentioning changed code - Check README files near changed code
- Look for TSDoc comments in changed files
- Verify documentation accuracy:
- Do code examples still work?
- Are API signatures correct?
- Are prop types up to date?
- 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
- Output a checklist of documentation that needs updating
// source originale publique
ChrisWiles/claude-code-showcase/.claude/commands/docs-sync.md
Licence : Licence non indiquée. Consultez le dépôt avant toute réutilisation.
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.