What problem does it solve?
This skill eliminates stale, missing, or conflicting documentation by helping you create, update, move, and verify the right docs as the codebase evolves.
Core Features & Use Cases
- Doc contract ownership: ensures repository documentation stays coherent over time and maintains a single source of truth.
- Smart doc routing and conflict handling: places new information into the narrowest appropriate surface (inline, in-folder, root instructions, living docs, or historical timestamped evidence) and resolves live-vs-historical drift by moving or removing misplaced docs.
- Full documentation website generation: runs an end-to-end workflow to research a project and scaffold a polished Nextra site (including supporting references and templates) when external users need searchable docs.
- Command-driven workflows: supports focused doc operations for specific changes or areas, plus a complete
/docs-site flow for project-level documentation.
Quick Start
Use the code-documentation skill when you need to update docs for a change request, for example: ask it to refresh documentation for the repository area affected by your last commit.