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.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
“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, andcreate_contentforreadContent,editContent, andcreateContent. - Use
grep_fieldsandget_metadatafor nativegrepFieldsandgetMetadata. - Use
generate_hashesfor nativegenerateHashes. - Replace
runContentQuerywithrun_metric_queryto validate a chart's governed semantic-layermetricQuery. Do not userun_sqlfor this validation. - Use
run_sqlwhere a workflow runsrunContentQuerywithsource.type: "sql"orchartType: "sql_chart"; for a saved SQL chart, pass thesqlfromread_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
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.
filter-expressions
6.2kHelps your agent write correct filter expressions for Lightdash metric queries, including filters on custom metrics.
mcp-artifact-integration
6.2kHelps your agent show Lightdash query results inside an HTML or React artifact, with loading, error and empty states handled.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.