本文へスキップ
Skillpedia
分析とスプレッドシート6.2k · #14396

developing-in-lightdash

できること

コンテンツのツールを通じて、Lightdashのダッシュボードとグラフを扱う方法を説明します。Lightdashのコンテンツをプログラムで管理するアナリストや開発者向けです。

使う場面

  • ✓Lightdashのダッシュボードのレイアウトを読んだり変えたりしたいとき。
  • ✓特定のグラフの種類に合った設定で、グラフを作りたいとき。
  • ✓ツールの接続を通じて、保存済みのLightdashのグラフを編集したいとき。

スキルのリンク

https://github.com/lightdash/lightdash/blob/main/packages/backend/src/ee/services/ai/skills/builtInSkills/developing-in-lightdash/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/lightdash/lightdash/blob/main/packages/backend/src/ee/services/ai/skills/builtInSkills/developing-in-lightdash/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“売上ダッシュボードを読んで、地域ごとの月次売上の棒グラフを追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、ダッシュボードとグラフの読み取り、作成、編集に使うコンテンツツールを一覧にします。レイアウトと各グラフの種類の設定について、参考メモをエージェントに示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

どのツールを使いますか?

読み取り、作成、編集などのコンテンツツールを使い、作業ごとに対応するツールが示されています。

すべてのグラフの種類に対応していますか?

グラフの種類ごとの設定の参考メモが含まれています。

特別な接続が必要ですか?

LightdashのMCPまたはプロセス内のコンテンツツールを使うエージェント向けだと説明されています。

詳細

作者による元の説明

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

repo: lightdash/lightdash

人気

GitHubのスター
6.2k
ランキング
#14396
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル