docs-sync
The docs-sync command identifies documentation that needs updating by comparing recent code changes in TypeScript files against related documentation files, then verifies whether code examples, API signatures, and prop types remain accurate. Use this command when deploying code changes to catch outdated or incorrect documentation before release.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ChrisWiles/claude-code-showcase/HEAD/.claude/commands/docs-sync.md -o ~/.claude/commands/docs-sync.mddocs-sync.md
# Documentation Sync Check if documentation matches the current code state. ## Instructions 1. **Find recent code changes**: ```bash 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
MUST BE USED PROACTIVELY after writing or modifying any code. Reviews against project standards, TypeScript strict mode, and coding conventions. Checks for anti-patterns, security issues, and performance problems.
Git workflow agent for commits, branches, and PRs. Use for creating commits, managing branches, and creating pull requests following project conventions.
Run code quality checks on a directory
Review a pull request using project standards
Generate a summary for the current branch changes
Work on a JIRA/Linear ticket end-to-end
Core component library and design system patterns. Use when building UI, using design tokens, or working with the component library.
Formik form handling with validation patterns. Use when building forms, implementing validation, or handling form submission.