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انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اقرأ لوحة معلومات الإيرادات، ثم أضف إليها مخططًا عموديًا للمبيعات الشهرية حسب المنطقة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تعرض المهارة أدوات المحتوى التي تُستخدم للقراءة والإنشاء والتحرير للوحات المعلومات والمخططات. وتوجه الوكيل إلى ملاحظات مرجعية للتخطيط وإعدادات كل نوع مخطط.
المحتوى التقني (ملف 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, andcreate_contentforreadContent,editContent, andcreateContent. - Use
grep_fieldsandget_metadatafor nativegrepFieldsandgetMetadata. - Use
generate_hashesfor nativegenerateHashes. - Replace
runContentQuerywithrun_metric_queryto validate a chart's governed semantic-layermetricQuery. Do not userun_sqlfor this validation. - Use
run_sqlwhere a workflow runsrunContentQuerywithsource.type: "sql"orchartType: "sql_chart"; for a saved SQL chart, pass thesqlfromread_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 |
الأسئلة الشائعة
ما الأدوات التي تستخدمها؟
تستخدم أدوات محتوى مثل القراءة والإنشاء والتحرير، وتسمي الأداة المطابقة لكل مهمة.
هل تغطي كل أنواع المخططات؟
تتضمن ملاحظات مرجعية لإعدادات كل نوع مخطط.
هل أحتاج إلى اتصال خاص؟
يذكر الوصف أنها للوكلاء الذين يستخدمون MCP من Lightdash أو أدوات المحتوى داخل العملية.
التفاصيل
الوصف الأصلي من المؤلف
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
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
breakup-pr
6.2kيساعد وكيلك على تقسيم طلب سحب كبير إلى شرائح أصغر متراكمة يمكن مراجعة كل منها ودمجها على حدة.
lightdash-agent-slack-messaging
6.2kيساعد وكيلك على كتابة تقارير صيانة ونشاط واضحة وودية لمسؤولي Lightdash، مبنية فقط على الأدلة المتوفرة.
filter-expressions
6.2kيساعد وكيلك على كتابة تعابير فلترة صحيحة لاستعلامات مقاييس Lightdash، بما فيها الفلاتر على المقاييس المخصصة.
mcp-artifact-integration
6.2kيساعد وكيلك على عرض نتائج استعلامات Lightdash داخل مصنوع HTML أو React، مع معالجة حالات التحميل والخطأ والفراغ.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.