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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
lightdashCLI (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
Comments
- …
More skills from this repository
breakup-pr
6.2kHelps your agent split a large pull request into smaller, stacked slices that can be reviewed and merged one at a time.
lightdash-agent-slack-messaging
6.2kHelps your agent write clear, friendly maintenance and activity reports for Lightdash administrators, based only on the evidence it has.
developing-in-lightdash
6.2kHelps your agent read, create and edit Lightdash dashboards and charts as JSON, including each chart type's settings.
filter-expressions
6.2kHelps your agent write correct filter expressions for Lightdash metric queries, including filters on custom metrics.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.