developing-in-lightdash
ما الذي تفعله
تغطي هذه المهارة بناء مشاريع Lightdash من ملفات YAML وdbt، واستخدام أداة سطر أوامر Lightdash. وهي لمهندسي التحليلات الذين يديرون المقاييس والأبعاد والمحتوى كشيفرة.
متى تستخدمها
- ✓عندما تعرّف مقاييس وأبعادًا ووصلات في YAML الخاص بـ dbt أو Lightdash.
- ✓عندما تريد نشر مشروع Lightdash أو رفعه أو تنزيله أو فحصه بأداة سطر الأوامر.
- ✓عندما تحتاج إلى إدارة المخططات ولوحات المعلومات والمساحات والمحتوى المجدول كشيفرة.
رابط المهارة
https://github.com/lightdash/lightdash/blob/main/skills/developing-in-lightdash/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أضف مقياس إيرادات وبُعد منطقة إلى نموذج الطلبات في dbt، وافحص المشروع وانشره بأداة سطر أوامر Lightdash.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشرح المهارة ملفات YAML وبيانات dbt الوصفية اللازمة للمقاييس والأبعاد والوصلات. وتعرض أوامر النشر والرفع والفحص والمعاينة، وتحيل إلى ملاحظات مرجعية لكل مهمة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
lightdashCLI (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 |
الأسئلة الشائعة
ما الأوامر المغطاة؟
تغطي أوامر مثل deploy وupload وdownload وpreview وlint، وأدوات كتالوج المستودع.
هل تعمل مع dbt العادي؟
تعمل مع نماذج dbt التي تحتوي بيانات Lightdash الوصفية، ومع مشاريع Lightdash الخالصة.
هل هي للعمل العام على dbt؟
لا، يذكر الوصف أنها ليست للعمل العام على dbt دون بيانات Lightdash الوصفية.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 6.2k
- الترتيب
- #14404
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
breakup-pr
6.2kيساعد وكيلك على تقسيم طلب سحب كبير إلى شرائح أصغر متراكمة يمكن مراجعة كل منها ودمجها على حدة.
lightdash-agent-slack-messaging
6.2kيساعد وكيلك على كتابة تقارير صيانة ونشاط واضحة وودية لمسؤولي Lightdash، مبنية فقط على الأدلة المتوفرة.
developing-in-lightdash
6.2kيساعد وكيلك على قراءة لوحات المعلومات والمخططات في Lightdash وإنشائها وتحريرها كملفات JSON، بما فيها إعدادات كل نوع مخطط.
filter-expressions
6.2kيساعد وكيلك على كتابة تعابير فلترة صحيحة لاستعلامات مقاييس Lightdash، بما فيها الفلاتر على المقاييس المخصصة.
مهارات مشابهة
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
clickhouse-io
280kيساعد وكيلك على تحسين الاستعلامات والمخططات في ClickHouse وتطبيق أفضل ممارسات التحليل عالي الأداء، ويفيد عندما تكون الاستعلامات التحليلية بطيئة.
scientific-db-pubmed-database
280kيساعد وكيلك على البحث عن المقالات العلمية في المجال الطبي الحيوي. مفيد للبحوث التي تحتاج إلى معلومات طبية محددة.