From dbt-extras
Generates Mermaid diagrams of dbt model lineage and dependencies using MCP tools, manifest.json, or code parsing. Visualizes DAGs in markdown with color-coded nodes and legend.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dbt-extras:creating-mermaid-dbt-dagThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. If name is provided, use that name
Follow this hierarchy. Use the first available method:
Primary: Use get_lineage_dev MCP tool (if available)
Fallback 1: Use get_lineage MCP tool (if get_lineage_dev not available)
Fallback 2: Parse manifest.json (if no MCP tools available)
Last Resort: Parse code directly (if manifest.json too large or missing)
graph LR directive to define a left-to-right graph.npx claudepluginhub dbt-labs/dbt-agent-skills --plugin dbt-extrasGuides creation of syntactically correct Mermaid diagrams including flowcharts, sequence diagrams, class diagrams, state diagrams, Gantt charts, ER diagrams, and data lineage visualizations.
Routes Mermaid diagram requests to type-specific guides (sequence, activity, ER, architecture); validates .md files, renders .mmd to SVG, architects from codebases.
Generates ERDs, Mermaid/PlantUML diagrams, schema docs, and insights from SQL dumps, ORM models (Prisma, SQLAlchemy, TypeORM), migrations, or live DBs.