Chuyển đến nội dung
Skillpedia
Cơ sở dữ liệu6.2k · #14404

developing-in-lightdash

Skill này làm gì

Skill này bao quát việc xây dựng dự án Lightdash từ file YAML và dbt cùng với công cụ dòng lệnh Lightdash. Skill dành cho kỹ sư analytics quản lý chỉ số, chiều dữ liệu và nội dung dưới dạng code.

Khi nào nên dùng

  • ✓Khi bạn đang định nghĩa chỉ số, chiều dữ liệu và phép nối trong YAML của dbt hoặc Lightdash.
  • ✓Khi bạn muốn triển khai, tải lên, tải xuống hoặc kiểm tra lint một dự án Lightdash bằng CLI.
  • ✓Khi bạn cần quản lý biểu đồ, dashboard, space hoặc nội dung đặt lịch dưới dạng code.

Liên kết skill

https://github.com/lightdash/lightdash/blob/main/skills/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/skills/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

“Thêm một chỉ số doanh thu và một chiều khu vực vào mô hình orders của dbt, kiểm tra lint dự án và triển khai bằng Lightdash CLI.”

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

Cách hoạt động

Skill giải thích các YAML và metadata dbt cần thiết cho chỉ số, chiều dữ liệu và phép nối. Skill liệt kê các lệnh CLI để triển khai, tải lên, kiểm tra lint và xem trước, đồng thời trỏ đến các ghi chú tham khảo cho từng việc.

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 CLI users and writeback sandboxes working with YAML and dbt files.

Build and deploy Lightdash analytics projects. This skill covers the semantic layer (metrics, dimensions, joins) and content (charts, dashboards).

When to Use

  • Working with Lightdash YAML files (charts, dashboards, models as code)
  • Using the lightdash CLI (deploy, upload, download, preview, lint, warehouse-catalog, sql)
  • Defining metrics, dimensions, joins, or tables in dbt or pure Lightdash projects
  • Creating or editing charts and dashboards as code
  • Downloading, uploading, or locally developing data apps (enterprise)
  • Creating, downloading, editing, or uploading custom chart types built in Chart Studio (enterprise)
  • Creating, editing, migrating, downloading, or uploading organization Data App themes

Don't use for: Developing the Lightdash application itself (use the codebase AGENTS.md), general dbt work without Lightdash metadata, or raw SQL unrelated to Lightdash models.

What You Can Do

Task Commands References
Create a pure Lightdash project from warehouse metadata Use Lightdash or an already-authenticated warehouse CLI to inspect catalog metadata and aggregate profiles Creating from a Warehouse Catalog
Discover warehouse tables and fields lightdash warehouse-catalog --json CLI Reference
Explore data warehouse values lightdash sql to execute raw sql, read .csv results CLI Reference
Define metrics & dimensions Edit dbt YAML or Lightdash YAML Metrics, Dimensions
Create or edit charts UI, Lightdash AI agent, MCP, or YAML via lightdash download/upload Content Workflow, Chart Types
Add period comparisons Add PoP additional metrics to chart YAML Period over Period
Create or edit dashboards UI, Lightdash AI agent, MCP, or YAML via lightdash download/upload Content Workflow, Dashboard Reference
Manage content as code across project and organization resources lightdash download, lightdash upload Content as Code
Manage data apps as code (enterprise) lightdash download --apps <ref> (one app) or --include-apps (all), edit bundle, lightdash upload --apps <ref>; local dev via lightdash apps create/preview/validate Data Apps, Content as Code
Build or edit a custom chart type (enterprise) lightdash apps create "<name>" --chart-type or lightdash download --chart-types <ref>, edit chart-types/<slug>/src/, lightdash upload --chart-types <ref> Custom Chart Types
Manage organization Data App themes as code lightdash download --organization, edit themes/<slug>/, lightdash upload --organization Data App Themes
Manage data-app external connections (enterprise) lightdash download --include-external-connections, edit YAML, lightdash upload Content as Code
Lint yaml files lightdash lint CLI Reference
Set warehouse connection lightdash set-warehouse from profiles.yml CLI Reference
Deploy changes lightdash deploy (semantic layer), lightdash upload (content) CLI Reference
Test changes lightdash preview Workflows

Common Mistakes

Mistake Consequence Prevention
Guessing filter values Case mismatches ('Payment' vs 'payment') cause charts to silently return no data Always run lightdash sql "SELECT DISTINCT column FROM table LIMIT 50" -o values.csv and use exact values
Not updating dashboard tiles after renaming a chart Dashboard tile still shows old title — title and chartName are independent overrides that do NOT auto-update Download the dashboard, find tiles with matching chartSlug, update
Câu hỏi thường gặp

Những lệnh nào được bao quát?

Skill bao quát các lệnh như deploy, upload, download, preview, lint và các công cụ danh mục kho dữ liệu.

Skill có hoạt động với dbt thuần không?

Skill hoạt động với các mô hình dbt có metadata Lightdash và với các dự án Lightdash thuần.

Skill có dùng cho mọi công việc dbt không?

Không. Mô tả nêu rõ skill không dành cho công việc dbt chung khi không có metadata Lightdash.

Chi tiết

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

Use when working with Lightdash YAML files, dbt models with Lightdash metadata, the lightdash CLI (deploy, upload, download, preview, lint, warehouse-catalog, sql, set-warehouse, apps create/preview/validate), or managing charts, dashboards, spaces and access, AI agents, scheduled content, data apps, custom chart types (Chart Studio, `apps create --chart-type`, `--chart-types`), organization Data App themes, data-app external connections, users, groups, custom roles, metrics, and dimensions as code

repo: lightdash/lightdash

Độ phổ biến

Sao GitHub
6.2k
Vị trí xếp hạng
#14404
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ự