What problem does it solve?
Manually creating and maintaining project documentation is time-consuming, and documentation often drifts out of sync with code as projects evolve, leading to outdated, incorrect docs that waste team time and cause misalignment.
Core Features & Use Cases
- Initialization Mode: Generates standardized, phase-appropriate documentation templates (covering initialization, requirements, design, testing, etc.) for repository-level or individual subprojects, populating basic content from existing code structure to jumpstart doc creation for new or restructured projects.
- Update Mode: Scans current code, compares it with existing documentation, identifies outdated, missing, or inconsistent content, and automatically fixes verifiable discrepancies to keep docs aligned with the latest code state.
- Use Case: For a multi-module C++ project, use this skill to generate all required documentation skeletons after running the project-structure-init skill to set up the project directory, then run it again after major code changes to sync all docs with the latest code without manual review of every file.
Quick Start
Use the project-docs-gen skill to initialize all repository-level documentation for the current project in the initialization phase.