Sync Docs
Use this skill to detect and fix inconsistencies between documentation and the actual implementation.
Workflow
- Identify the documentation scope.
- Use user-provided paths first.
- Otherwise inspect likely docs such as
README.md,docs/, API documentation, setup guides, design notes, and project-specific documentation files.
- Verify claims against the implementation.
- Check referenced files and directories.
- Check scripts, commands, package manager usage, and setup steps.
- Check dependencies, configuration names, environment variables, and test commands.
- Check documented APIs, public functions, CLI options, routes, and user-facing workflows.
- Report findings by severity.
- Critical: wrong paths, commands, API names, or setup steps that break use.
- Warning: stale or duplicated documentation that can mislead maintainers.
- Info: missing documentation or minor drift.
- Propose focused fixes.
- Keep changes limited to documentation unless the user explicitly asks for implementation changes.
- Preserve the existing documentation style and structure.
- Do not add process notes about the review itself to the docs.
- Apply changes only after the active repository instructions permit editing.
- If approval is needed, present the target files and the planned edits first.
- After editing, rerun the relevant checks or at least re-read changed sections.
Output
Summarize:
- documentation files inspected
- implementation areas checked
- inconsistencies found
- files changed, if any
- checks performed