data-dashboards
ما الذي تفعله
تتيح هذه المهارة للذكاء الاصطناعي صنع صفحة سريعة وجميلة فيها مخططات وأرقام أساسية أو صفحة هبوط بسيطة. وهي مناسبة لمن يريدون رؤية بياناتهم أو مشاركتها دون بناء موقع.
متى تستخدمها
- ✓عندما تطلب لوحة بيانات فيها مخططات أو أرقام أساسية.
- ✓عندما تريد صفحة بسيطة للاطلاع عليها، مثل صفحة أسعار أو أداة صغيرة.
- ✓عندما تريد مشاركة صفحة بيانات برابط يمكن تحديثه باستمرار.
رابط المهارة
https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أحتاج إلى لوحة بيانات فيها مخططات لأرقام مبيعاتي الشهرية، أستطيع رؤيتها هنا في المحادثة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يبني الذكاء الاصطناعي صفحة HTML ويعرضها في المحادثة كبطاقة تفتحها بملء الشاشة. ولا تُنشر برابط عام إلا إذا طلبت ذلك، ويمكنك الإشارة إلى جزء لتغييره.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Data dashboards and pages
A page made with show_html shows in the chat as one card. The person watches it appear, steps back through
its versions, opens it full screen, shares it at a public link, and points at a part to change: their next
message then says what they pointed at (a tag, its text, a CSS selector and a bit of its HTML). Change exactly
that with show_html and the page's app_id; the same card refreshes.
Pick the right home
| The person wants | Build |
|---|---|
| A quick answer or one chart | No page. Use the Data tools (data_sql, data_show) or a markdown table. |
| A small summary to look at here | A chat page (show_html) with pre-aggregated rows embedded as CSV. |
| To explore bigger data, or a link to share | Query with the Data tools, export the slice with data_export (format: "parquet") into a folder beside index.html, show the folder in the chat with show_html path, and publish_page it when the person wants a link: the same card gains it. |
| "Keep it up to date" | The shared page, plus a schedule (trigger, action=create, when=schedule) whose instructions re-run the export, set CONFIG.updated, and publish the same folder again. Publishing the same path keeps the same link. |
Publish only when the person asks to share. A published page is public: never put secrets, personal details or rows they didn't ask to share in it.
Start from the template
dashboard.html sits next to this guide, in the folder named by this skill's root. It is tested in the chat
sandbox and on published pages, in light and dark, at phone and desktop widths. Copy it to your working folder as
index.html (a small chat page sends its text as html; a folder page is shown with path) and change only what the
data needs:
CONFIG:dataFile(data.parquetordata.csv),source,updated(when the data was refreshed, ISO time),currency.QUERIESand therender…functions: your columns and your questions. The sample hasdate,region,category,product,units,revenue.- Headings, notes and KPI labels in the HTML.
- For a chat page, paste the CSV between the
embedded-datatags.
Keep the rest: the pinned versions (DuckDB-WASM 1.32.0, ECharts 6.1.0, both from cdn.jsdelivr.net; never @latest),
the single-threaded DuckDB set up through a blob worker (it needs no special headers, so it runs in the chat sandbox),
the colour tokens, Intl formatting, loading and error states, aria labels and the "Show the numbers" tables.
Cut cards rather than adding a fifth chart.
Data
- Aggregate first. Ship the smallest table that answers the questions: one row per day and dimension, not raw events. Do the heavy work with the Data tools, then export.
- Size. Keep data at or under about 5 MB (a published page holds 5 MB in all). A chat page is at most 256 KB including the template (about 28 KB), so embed at most about 200 KB of CSV.
- A page sent as
htmlreads embedded CSV only. A folder page (show_htmlpath) loads the files beside its index.html, Parquet included, so it shows inline exactly as it will publish. - Published pages: prefer Parquet. It is often 10 to 20 times smaller than CSV; DuckDB fetches its Parquet reader (about 0.5 MB) on first load. CSV works too.
- Types. Dates as DATE (Parquet) or
YYYY-MM-DD(CSV). Cast sums and counts to DOUBLE in SQL so they arrive as plain numbers. - Put filter values into SQL only through the template's
quote(). - Check one or two numbers on the page against a direct query before you show it.
Design
Charts
- One question per chart. Make the heading the question ("Which regions sell the most?") and the note under it the answer, computed from the data.
- Pick the form by the job: compare categories with a bar (horizontal and sorted when labels are long); show change over time with a line; show part-to-whole with a stacked bar. A single number is a KPI tile, not a chart. Many categories belong in a table.
- Never: 3D, two y-axes (use two charts, or index both series to 100), pies with more than 3 slices, rainbow colour scales, a number on every point.
- Bars start at zero. Don't cut an axis to make a change look bigger.
- Label directly: values at bar tips, series names at line ends. Use a legend only when direct labels collide.
- Annotate the key point (the peak, a target, the change that matters) on the chart itself.
- Emphasis beats colour: one accent for what matters, grey for the
الأسئلة الشائعة
هل ستكون الصفحة المشاركة عامة؟
نعم. الصفحة المنشورة تكون عامة، لذلك تُبقي المهارة الأسرار والتفاصيل الخاصة خارجها.
هل أستطيع تحديث الصفحة لاحقًا؟
نعم. إعادة نشر الصفحة نفسها تُبقي الرابط نفسه.
هل تستطيع الصفحة التحديث وفق جدول زمني؟
نعم. يمكن للجدول أن يعيد تصدير البيانات ونشر الصفحة نفسها من جديد.
التفاصيل
الوصف الأصلي من المؤلف
Build a fast, good-looking page: a data dashboard, or any page made with show_html (a landing page, a pricing page, a tool), in this chat or at a public link with publish_page. Use when the person asks for a dashboard, charts or KPIs on a page, a page or mock-up to look at, or a data page to share or keep up to date.
repo: milind-soni/OpenMausBot
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11795
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
create-verification-skill
11kيساعد وكيلك على كتابة دليل واحد يوضح كيف تُشغَّل تطبيقًا معينًا وتُختبَر وتُفحَص، مع إمكانية التراجع عن كل تغيير.
phone-harness
11kيتيح لوكيلك تشغيل هاتف أندرويد متصل عبر USB، فيفتح التطبيقات ويقرأ الشاشة وينقر ويكتب عنك.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.