What problem does it solve?
Mermaid diagrams in design specs often vary, making it hard to compare flows and communicate intent. This skill defines a standard set of conventions for node shapes, IDs, color schemes, and layout to ensure consistency across teams.
Core Features & Use Cases
- Node shapes and styles: Standardized shapes for entry points, actions, decisions, outputs, API calls, and sub-flows.
- Node IDs and labeling: Descriptive camelCase IDs and self-documenting labels to avoid ambiguity.
- Decision edges and annotations: Clear, labeled edges and support for explanatory annotations without disrupting flow.
- Colour scheme and styling: Unified classDef styles for default, decisions, endpoints, and annotations to maintain visual consistency.
- Subgraphs and organization: Group related steps to reflect screens or phases in a flow.
Quick Start
Create a Mermaid flow diagram by writing a flowchart LR block in a Markdown file with labeled nodes and edges.