Dbt Model Generator

🌐Community
by jeremylongshore · vlatest · Repository

Automatically generates dbt models from prompts, streamlining your data transformation workflow with JeremyLongshore's AI assistance.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add dbt-model-generator npx -- -y @trustedskills/dbt-model-generator
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "dbt-model-generator": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/dbt-model-generator"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The dbt-model-generator skill allows AI agents to automatically generate dbt (data build tool) models based on provided schema and transformation logic. It can create new models or modify existing ones, streamlining the data modeling process. This skill significantly reduces manual coding effort for building and maintaining data pipelines within a dbt environment.

When to use it

  • Rapid prototyping: Quickly generate initial model drafts for exploratory analysis or proof-of-concept projects.
  • Automating repetitive tasks: Automatically create models from standardized schemas, reducing the time spent on boilerplate code.
  • Model maintenance: Modify existing dbt models based on evolving data requirements or business logic changes.
  • Team onboarding: Accelerate new team members’ understanding of a dbt project by generating model skeletons.

Key capabilities

  • Generates dbt models from schema definitions.
  • Supports creating both new and modifying existing dbt models.
  • Automates the creation of SQL transformation logic within models.
  • Streamlines data pipeline development using dbt.

Example prompts

  • "Generate a dbt model for a table named 'customers' with columns: id (integer), name (string), email (string)."
  • "Create a new dbt model that joins the 'orders' and 'products' tables on order_id."
  • "Modify the existing 'daily_sales' model to include a calculated field for profit margin."

Tips & gotchas

  • Requires familiarity with dbt concepts and project structure.
  • The quality of generated models depends heavily on the clarity and completeness of the provided schema and transformation instructions.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jeremylongshore
Installs
12

🌐 Community

Passed automated security scans.