Skip to content
Skillpedia
Databases6.2k · #14404

developing-in-lightdash

What it does

This skill covers building Lightdash projects from YAML and dbt files and using the Lightdash command-line tool. It is for analytics engineers who manage metrics, dimensions and content as code.

When to use it

  • ✓When you are defining metrics, dimensions and joins in dbt or Lightdash YAML.
  • ✓When you want to deploy, upload, download or lint a Lightdash project with the CLI.
  • ✓When you need to manage charts, dashboards, spaces or scheduled content as code.

Skill link

https://github.com/lightdash/lightdash/blob/main/skills/developing-in-lightdash/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/lightdash/lightdash/blob/main/skills/developing-in-lightdash/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Add a revenue metric and a region dimension to the orders dbt model, lint the project and deploy it with the Lightdash CLI.”

5 new skills a week. 1 minute to read.

How it works

The skill explains the YAML and dbt metadata needed for metrics, dimensions and joins. It lists the CLI commands for deploying, uploading, linting and previewing, and points to reference notes for each task.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Developing in Lightdash

For CLI users and writeback sandboxes working with YAML and dbt files.

Build and deploy Lightdash analytics projects. This skill covers the semantic layer (metrics, dimensions, joins) and content (charts, dashboards).

When to Use

  • Working with Lightdash YAML files (charts, dashboards, models as code)
  • Using the lightdash CLI (deploy, upload, download, preview, lint, warehouse-catalog, sql)
  • Defining metrics, dimensions, joins, or tables in dbt or pure Lightdash projects
  • Creating or editing charts and dashboards as code
  • Downloading, uploading, or locally developing data apps (enterprise)
  • Creating, downloading, editing, or uploading custom chart types built in Chart Studio (enterprise)
  • Creating, editing, migrating, downloading, or uploading organization Data App themes

Don't use for: Developing the Lightdash application itself (use the codebase AGENTS.md), general dbt work without Lightdash metadata, or raw SQL unrelated to Lightdash models.

What You Can Do

Task Commands References
Create a pure Lightdash project from warehouse metadata Use Lightdash or an already-authenticated warehouse CLI to inspect catalog metadata and aggregate profiles Creating from a Warehouse Catalog
Discover warehouse tables and fields lightdash warehouse-catalog --json CLI Reference
Explore data warehouse values lightdash sql to execute raw sql, read .csv results CLI Reference
Define metrics & dimensions Edit dbt YAML or Lightdash YAML Metrics, Dimensions
Create or edit charts UI, Lightdash AI agent, MCP, or YAML via lightdash download/upload Content Workflow, Chart Types
Add period comparisons Add PoP additional metrics to chart YAML Period over Period
Create or edit dashboards UI, Lightdash AI agent, MCP, or YAML via lightdash download/upload Content Workflow, Dashboard Reference
Manage content as code across project and organization resources lightdash download, lightdash upload Content as Code
Manage data apps as code (enterprise) lightdash download --apps <ref> (one app) or --include-apps (all), edit bundle, lightdash upload --apps <ref>; local dev via lightdash apps create/preview/validate Data Apps, Content as Code
Build or edit a custom chart type (enterprise) lightdash apps create "<name>" --chart-type or lightdash download --chart-types <ref>, edit chart-types/<slug>/src/, lightdash upload --chart-types <ref> Custom Chart Types
Manage organization Data App themes as code lightdash download --organization, edit themes/<slug>/, lightdash upload --organization Data App Themes
Manage data-app external connections (enterprise) lightdash download --include-external-connections, edit YAML, lightdash upload Content as Code
Lint yaml files lightdash lint CLI Reference
Set warehouse connection lightdash set-warehouse from profiles.yml CLI Reference
Deploy changes lightdash deploy (semantic layer), lightdash upload (content) CLI Reference
Test changes lightdash preview Workflows

Common Mistakes

Mistake Consequence Prevention
Guessing filter values Case mismatches ('Payment' vs 'payment') cause charts to silently return no data Always run lightdash sql "SELECT DISTINCT column FROM table LIMIT 50" -o values.csv and use exact values
Not updating dashboard tiles after renaming a chart Dashboard tile still shows old title — title and chartName are independent overrides that do NOT auto-update Download the dashboard, find tiles with matching chartSlug, update
FAQ

Which commands are covered?

It covers commands such as deploy, upload, download, preview, lint and the warehouse catalog tools.

Does it work with plain dbt?

It works with dbt models that have Lightdash metadata and with pure Lightdash projects.

Is it for general dbt work?

No, the description says it is not for general dbt work without Lightdash metadata.

Details

Original description by the author

Use when working with Lightdash YAML files, dbt models with Lightdash metadata, the lightdash CLI (deploy, upload, download, preview, lint, warehouse-catalog, sql, set-warehouse, apps create/preview/validate), or managing charts, dashboards, spaces and access, AI agents, scheduled content, data apps, custom chart types (Chart Studio, `apps create --chart-type`, `--chart-types`), organization Data App themes, data-app external connections, users, groups, custom roles, metrics, and dimensions as code

repo: lightdash/lightdash

Popularity

GitHub stars
6.2k
Ranking position
#14404
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills