What problem does it solve?
This Skill removes the manual effort and guesswork of creating visual documentation for PHP codebases by automatically researching source code and producing accurate Mermaid diagrams, making architecture, flows, and database schemas easy to understand and maintain.
Core Features & Use Cases
- Code-driven diagrams: Reads project files to produce sequence, class, ERD, flowchart, state, and other Mermaid diagrams that reflect actual code and database structures.
- Configurable and multi-repo: Honors .mermaid-diagrams.yaml for sources, output paths, and defaults; supports researching additional local or git repositories for multi-service flows.
- Organized output: Writes diagrams as Markdown files with Mermaid blocks, maintains an index, and marks draft proposals when the implementation is missing or uncertain.
- Use case: Visualize a user registration flow across controllers, services, events, and database tables to onboard new engineers or document integrations like Stripe.
Quick Start
Diagram the user registration flow and database relationships as a sequence diagram and ERD for this PHP project using the default configuration.