templates/skills/doc-update/SKILL.md
Review and update project documentation (README.md, CLAUDE.md, docs/) to reflect the current codebase. Use when the user asks to "update docs", "sync documentation", "refresh README", "update CLAUDE.md", or after significant code changes that may have made documentation stale. Also trigger when the user mentions "docs are outdated" or "documentation drift".
npx skillsauth add samwang0723/claudecode-setup doc-updateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review and update project documentation to match the current state of the codebase.
Understand the current state before touching any docs:
git log --oneline -20 for recent changes that may not be reflected in docsFor each documentation file, check for:
| File | What to Check |
|------|---------------|
| README.md | Project overview, install instructions, feature lists, architecture diagrams, examples |
| CLAUDE.md | Repository structure, navigation guide, design decisions, file counts, conventions |
| docs/**/*.md | Any documentation files in the docs directory |
Before making changes, present a summary of what's stale or missing:
Documentation Audit:
- README.md: 3 issues (outdated skill count, missing new feature, stale file path)
- CLAUDE.md: 2 issues (wrong line count, missing section for new module)
- docs/api.md: up to date
After the user confirms (or if invoked with --yes), update each file:
After updates, cross-check that all docs agree:
docs/ directory doesn't exist, skip that part — don't create oneFocus area or scope: $ARGUMENTS
If no arguments provided, audit all documentation files found in the project root and docs/ directory.
development
Generate a technical specification document using the DDD template in template.md. Use when the user says 'write tech spec', 'create tech spec', 'technical specification', or needs a structured design document for a new feature or major change covering architecture, domain models, APIs, data design, security, and operations.
testing
Write a Product Requirements Document (PRD) using the standard TMAB template with stakeholders, user stories (Given-When-Then), success metrics, and A/B testing plans. Use when the user asks to write a PRD, create product requirements, document a feature spec, or plan a new product feature.
data-ai
Clean up an agent team. Removes team resources, optionally cleans worktrees and branches. Use after team work is complete and merged. Use when told to "stop team", "cleanup team", "disband team".
testing
Check progress of an active agent team. Shows member status, completed tasks, pending work, and any messages. Use when asked "team status", "how's the team", "check team progress", "team update".