AI Documentation Diagram Updater
Synchronizes Mermaid diagrams in your documentation with recent codebase changes to maintain architectural accuracy.
The Update Docs AI Diagrams skill automates the tedious task of keeping technical visualizations in sync with evolving code. By analyzing recent git commits and structural modifications—such as new modules, API changes, or data model updates—it identifies which Mermaid diagrams (flowcharts, sequence diagrams, class diagrams, etc.) are outdated. It then intelligently modifies the Mermaid syntax to reflect the current state of the project, ensuring your READMEs and architecture documents remain reliable sources of truth without manual intervention.
Key Features
01Automatically scans for .md, .mmd, and .mermaid files across the repository
02Preserves existing diagram styling, custom classes, and formatting conventions
03Analyzes git history and diffs to pinpoint structural code changes
040 GitHub stars
05Supports multiple Mermaid types including flowcharts, sequence, class, and ER diagrams
06Validates Mermaid syntax to ensure diagrams render correctly after updates
Use Cases
01Updating system architecture flowcharts after refactoring service boundaries
02Adjusting sequence diagrams after modifying API interaction logic or message flows
03Syncing database ER diagrams following schema migrations or model changes