Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Mermaid lineage diagram for dbt v1.0.0

Use this resource to visualize dbt model lineage as a Mermaid diagram

New

  • 349 downloads
  • 221 likes
  • 136 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install dbt-lineage-mermaid-diagram

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent fetches the model's lineage through the MCP tool when available, otherwise from manifest.json or the code, then generates a Mermaid diagram. You get a Markdown block ready to paste into your documentation.

Mostly picked by

Updated November 2, 2026

Card for the “Mermaid lineage diagram for dbt” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: generation steps and formatting rules
  • references/using-manifest-json.md: lineage from manifest.json
  • references/parsing-code-directly.md: direct code parsing as a fallback

Good fit for

  • You want to document a mart model's dependencies
  • A review needs a single diagram showing what feeds a table

Not for

    Tags

    • dbt
    • mermaid
    • lineage
    • diagram
    • documentation

    About

    You say

    “Draw the lineage of fct_orders in Mermaid, tests included.”

    Card for the “Mermaid lineage diagram for dbt” skill

    Skill published by dbt-labs under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to visualize dbt model lineage as a Mermaid diagram
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE11.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/parsing-code-directly.md3.2 KB
    • references/using-get-lineage-dev.md1.5 KB
    • references/using-get-lineage.md4.1 KB
    • references/using-manifest-json.md2.2 KB
    • SKILL.md3.9 KB

    Origin and licence

    Listed unmodified

    Author
    dbt-labs
    Source
    github.com/dbt-labs/dbt-agent-skills/tree/b8facde20b7a92c40ce3e6b86b71c4b92aa44040/skills/dbt-extras/skills/creating-mermaid-dbt-dag
    Licence
    Apache-2.0

    Notice

    « creating-mermaid-dbt-dag » (dbt-labs, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.