Developing In Lightdashのロゴ

Developing In Lightdash

組織人気
lightdash
developing-in-lightdash

LightdashのダッシュボードやチャートをJSONとして読み取り、作成、編集するときに使います。ダッシュボードのレイアウトや、チャートの種類に応じた設定も対象です。

Add to TypingMind

概要

公開者lightdash
リポジトリlightdash
スキル名developing-in-lightdash
スター
6.1K
フォーク
778
同梱ファイル
14
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    lightdashがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Developing In Lightdash」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/lightdash/lightdash/tree/main/packages/backend/src/ee/services/ai/skills/builtInSkills/developing-in-lightdash
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lightdash/lightdash.git /tmp/lightdash
mkdir -p .claude/skills
cp -r /tmp/lightdash/packages/backend/src/ee/services/ai/skills/builtInSkills/developing-in-lightdash .claude/skills/developing-in-lightdash
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDeveloping In Lightdashを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDeveloping In Lightdashを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Developing In Lightdashは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

What You Can Do

TaskTools/ActionReferences
Read dashboards and chartsreadContentdashboard-reference, chart refs
Read data apps (read-only)readContent with type: data_appmanifest-shaped JSON, no source code
Edit dashboardseditContent with RFC6902 JSON Patchdashboard-reference
Edit charts and tileseditContent, then update referencing dashboards if neededChart refs, dashboard-reference
Create chartsgrepFields, getMetadata, runContentQuery, createContentChart refs
Create dashboardsgrepFields, getMetadata, createContentdashboard-reference, best practices
Add period comparisonsEdit chart metricQuery and configperiod-over-period-reference
Verify changed metric queriesrunContentQuery 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

MistakeConsequencePrevention
Guessing filter valuesCase mismatches like "Payment" vs "payment" can make a chart silently return no dataVerify exact values before editing filters. Do not guess string filter values
Not updating dashboard tiles after renaming a chartDashboard tile still shows the old title because tile title and chartName do not auto-updateIf you change a chart's name or purpose, also update dashboard tiles that reference its chartSlug
Including unused dimensions in metricQueryExtra dimensions change grouping and can produce wrong numbersEvery dimension in metricQuery.dimensions must be used by the chart configuration
Leaving invalid touched tile positionsEdited tiles overlap, sit outside the 36-column grid, or leave unintended gapsValidate touched tiles against dashboard-reference grid layout rules after tile actions
Missing contentTypeContent type becomes ambiguousAlways keep contentType: "chart" or contentType: "dashboard"

Core Workflows

Edit Dashboards

  1. Call readContent and inspect the current JSON shape.
  2. Always read the dashboard-reference resource.
  3. Build the smallest possible JSON Patch.
  4. Call editContent with that patch.
  5. Re-read if needed to verify the final state.

Edit Charts and Dashboard Tiles

  1. Call readContent for the chart slug.
  2. Always read the chart reference for chart type (see Choosing the Right Chart Type below).
  3. If you add or change filters, verify exact filter values before patching.
  4. If you change the chart's name or purpose, also update dashboards that reference that chart.
  5. Build the smallest possible JSON Patch.
  6. If you changed the chart's metricQuery, call runContentQuery with source.type: "metricQuery" and the edited chart's tableName/metricQuery.
  7. Call editContent with that patch.
  8. Re-read if needed to verify the final state.

Create Charts

  1. Use grepFields, then getMetadata, to explore available fields and plan your chart.
  2. Always read the chart reference for chart type (see Choosing the Right Chart Type below) to understand required fields and configuration.
  3. Build the full chart JSON with that metric query and other required fields.
  4. Call runContentQuery with source.type: "metricQuery" and the chart's tableName/metricQuery.
  5. Call createContent with the verified chart JSON.

Create Dashboards

  1. Always read the dashboard-reference and dashboard-best-practices resources.
  2. Explore existing dashboards and charts to find reusable content and inspiration for layout and design.
  3. Use grepFields, then getMetadata, to explore available fields and plan which charts to include.
  4. Create an empty dashboard shell first.
  5. Start building charts and adding them to the dashboard one by one, using the workflow above for creating charts.

Editing Charts

Dashboard tiles have their own titles. A saved_chart tile's title and chartName are independent overrides and do not automatically change when a chart is renamed. If you change a chart from "Total Revenue" to "Gross Profit", update the dashboard tile too.

json
{
    "tiles": [
        {
            "properties": {
                "chartName": "Gross Profit",
                "chartSlug": "total-revenue-kpi",
                "title": "Gross Profit"
            },
            "type": "saved_chart"
        }
    ]
}

Slug Fields

slug is a read-only stable identifier.

Dashboards

  • spaceSlug is the dashboard's space path. Changing it moves the dashboard to another space.
  • Dashboard tile properties.chartSlug references an existing reusable or dashboard-owned chart.

Charts

Charts are either reusable space charts or dashboard-owned charts.

  • Reusable chart: no dashboardSlug; spaceSlug is its space path and changing it moves the chart.
  • Dashboard-owned chart: has dashboardSlug; both dashboardSlug and spaceSlug are read-only, and spaceSlug is the owning dashboard's space.

Chart Types

All charts share a common base structure:

json
{
    "chartConfig": {
        "config": {},
        "type": "<type>"
    },
    "contentType": "chart",
    "dashboardSlug": "my-dashboard",
    "metricQuery": {
        "dimensions": ["my_explore_category"],
        "exploreName": "my_explore",
        "filters": {},
        "limit": 500,
        "metrics": ["my_explore_total_sales"],
        "sorts": []
    },
    "name": "Chart Name",
    "slug": "unique-chart-slug",
    "spaceSlug": "target-space",
    "tableConfig": {
        "columnOrder": []
    },
    "tableName": "my_explore",
    "version": 1
}

Spaces can be nested. Use parent/child syntax in spaceSlug for sub-spaces, for example "sales/forecasts". A bare slug like "sales-forecasts" is a flat top-level space; the slash defines the hierarchy.

Choosing the Right Chart Type

Data PatternRecommended ChartWhy
Trends over timeLine or area (cartesian)Shows continuous change with time on the X-axis
Category comparisonsBar (cartesian)Easy visual comparison between discrete categories
Part-of-whole relationshipspie or treemapShows proportions or composition
Single KPI metricbig_numberFocuses attention on one important value
Conversion stagesfunnelShows drop-off between sequential stages
Progress toward targetgaugeShows current value relative to a goal
Geographic datamapPlaces values on points or regions
Flow between categoriessankeyShows how values move from source to target
Detailed recordstableShows row-level or pivoted data clearly
Advanced custom needscustomFull Vega-Lite control
TypeUse CaseResource
cartesianBar, line, area, scattercartesian-chart-reference
pieParts of wholepie-chart-reference
tableData tablestable-chart-reference
big_numberKPIsbig-number-chart-reference
funnelConversion funnelsfunnel-chart-reference
gaugeProgress indicatorsgauge-chart-reference
treemapHierarchical compositiontreemap-chart-reference
mapGeographic datamap-chart-reference
sankeyFlow diagramssankey-chart-reference
customVega-Litecustom-viz-reference

For period comparisons, read period-over-period-reference in addition to the chart type reference.

Resources

Charts

  • cartesian-chart-reference - Bar, line, area, scatter
  • pie-chart-reference - Parts of whole
  • table-chart-reference - Data tables
  • big-number-chart-reference - KPIs
  • funnel-chart-reference - Conversion funnels
  • gauge-chart-reference - Progress indicators
  • treemap-chart-reference - Hierarchical composition
  • map-chart-reference - Geographic data
  • sankey-chart-reference - Flow diagrams
  • custom-viz-reference - Vega-Lite
  • period-over-period-reference - PoP comparisons
  • field-formatting-reference - Chart-level field formatting overrides for metrics and dimensions

Dashboards

  • dashboard-reference - Dashboard structure, layout, tabs, tiles, and filters
  • dashboard-best-practices - Dashboard design guidance

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Developing In Lightdash」では何ができますか?

LightdashのダッシュボードやチャートをJSONとして読み取り、作成、編集するときに使います。ダッシュボードのレイアウトや、チャートの種類に応じた設定も対象です。

TypingMindでDeveloping In Lightdashを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Developing In Lightdashはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDeveloping In Lightdashをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lightdash/lightdash/tree/main/packages/backend/src/ee/services/ai/skills/builtInSkills/developing-in-lightdashを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Developing In Lightdashを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Developing In Lightdashで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDeveloping In Lightdashを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Developing In Lightdash」は無料ですか?

lightdashがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇