Skip to content
Skillpedia
Analysis & spreadsheets6.2k · #14396

developing-in-lightdash

What it does

This skill helps an agent work with Lightdash dashboards and charts through its content tools. It is for analysts and developers who manage Lightdash content programmatically.

When to use it

  • ✓When you want to read or change a Lightdash dashboard layout.
  • ✓When you need to create a chart with specific settings for its chart type.
  • ✓When you want to edit saved Lightdash charts through a tool connection.

Skill link

https://github.com/lightdash/lightdash/blob/main/packages/backend/src/ee/services/ai/skills/builtInSkills/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/packages/backend/src/ee/services/ai/skills/builtInSkills/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

“Read the revenue dashboard, then add a bar chart of monthly sales by region to it.”

5 new skills a week. 1 minute to read.

How it works

The skill lists the content tools to use for reading, creating and editing dashboards and charts. It points the agent to reference notes for the layout and each chart type's settings.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Developing in Lightdash

For in-process agents and MCP clients working with JSON content tools; Autopilot reuses the chart references with its own workflow.

Use this skill when working with Lightdash dashboards and charts.

MCP tool names

This skill is shared with Lightdash's native agent, so its workflows use camelCase tool names. When reading it through MCP:

  • Use read_content, edit_content, and create_content for readContent, editContent, and createContent.
  • Use grep_fields and get_metadata for native grepFields and getMetadata.
  • Use generate_hashes for native generateHashes.
  • Replace runContentQuery with run_metric_query to validate a chart's governed semantic-layer metricQuery. Do not use run_sql for this validation.
  • Use run_sql where a workflow runs runContentQuery with source.type: "sql" or chartType: "sql_chart"; for a saved SQL chart, pass the sql from read_content.

What You Can Do

Task Tools/Action References
Read dashboards and charts readContent dashboard-reference, chart refs
Create, read, edit SQL charts createContent / readContent / editContent, sql_chart sql-chart-reference
Read data apps (read-only) readContent with type: data_app manifest-shaped JSON, no source code
Edit dashboards editContent with RFC6902 JSON Patch dashboard-reference
Edit charts and tiles editContent, then update referencing dashboards if needed Chart refs, dashboard-reference
Create charts grepFields, getMetadata, runContentQuery, createContent Chart refs
Create dashboards grepFields, getMetadata, createContent dashboard-reference, best practices
Add period comparisons Edit chart metricQuery and config period-over-period-reference
Verify changed metric queries runContentQuery with source.type: "metricQuery" Chart refs

Rules:

  • Always read content before editing if you have not read it since the last user message.
  • Preserve unrelated fields.
  • Prefer minimal patches.
  • Follow the dashboard or chart shape from the resource instead of inventing structure.
  • When you create or edit content, please provide links for them in the final response

Common Mistakes

Mistake Consequence Prevention
Guessing filter values Case mismatches like "Payment" vs "payment" can make a chart silently return no data Verify exact values before editing filters. Do not guess string filter values
Not updating dashboard tiles after renaming a chart Dashboard tile still shows the old title because tile title and chartName do not auto-update If you change a chart's name or purpose, also update dashboard tiles that reference its chartSlug
Including unused dimensions in metricQuery Extra dimensions change grouping and can produce wrong numbers Every dimension in metricQuery.dimensions must be used by the chart configuration
Leaving invalid touched tile positions Edited tiles overlap, sit outside the 36-column grid, or leave unintended gaps Validate touched tiles against dashboard-reference grid layout rules after tile actions
Missing contentType Content type becom
FAQ

Which tools does it use?

It uses content tools such as read, create and edit, and it names the matching tool for each task.

Does it cover every chart type?

It includes reference notes for chart-type-specific settings.

Do I need a special connection?

The description says it is for agents using Lightdash's MCP or in-process content tools.

Details

Original description by the author

Use when reading, creating, and editing Lightdash dashboards and charts as JSON, including dashboard layout and chart-type-specific configuration.

repo: lightdash/lightdash

Popularity

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills