Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính6.2k · #14396

developing-in-lightdash

Skill này làm gì

Skill này giúp agent làm việc với dashboard và biểu đồ Lightdash thông qua các công cụ nội dung. Skill dành cho nhà phân tích và lập trình viên quản lý nội dung Lightdash bằng code.

Khi nào nên dùng

  • ✓Khi bạn muốn đọc hoặc thay đổi bố cục một dashboard Lightdash.
  • ✓Khi bạn cần tạo một biểu đồ với cài đặt riêng cho loại biểu đồ đó.
  • ✓Khi bạn muốn chỉnh sửa các biểu đồ Lightdash đã lưu thông qua một kết nối công cụ.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/lightdash/lightdash/blob/main/packages/backend/src/ee/services/ai/skills/builtInSkills/developing-in-lightdash/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Đọc dashboard doanh thu, rồi thêm một biểu đồ cột về doanh số hằng tháng theo khu vực vào đó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê các công cụ nội dung dùng để đọc, tạo và chỉnh sửa dashboard và biểu đồ. Skill cũng chỉ agent đến các ghi chú tham khảo về bố cục và cài đặt của từng loại biểu đồ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Skill dùng những công cụ nào?

Skill dùng các công cụ nội dung như đọc, tạo và chỉnh sửa, và nêu công cụ phù hợp cho từng việc.

Skill có bao quát mọi loại biểu đồ không?

Skill có các ghi chú tham khảo về cài đặt riêng cho từng loại biểu đồ.

Tôi có cần kết nối đặc biệt không?

Mô tả nêu rõ skill dành cho agent dùng MCP của Lightdash hoặc các công cụ nội dung chạy trong tiến trình.

Chi tiết

Mô tả gốc của tác giả

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

repo: lightdash/lightdash

Độ phổ biến

Sao GitHub
6.2k
Vị trí xếp hạng
#14396
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự