شعار Tableau Mock

Tableau Mock

المجتمع
laviDrori0702
tableau-mock

Renders the interactive HTML demo (mock.html) for the tableau-dashboard-plugin workflow at the plan's screen size, populated from the real sample CSVs, so the analyst can share a realistic demo and validate direction before any Tableau work. Builds strictly from DASHBOARD-PLAN.md — every KPI, chart, filter, and interaction — and ends with a coverage checklist proving each plan element (screen size, every filter, every interaction) was rendered, so omissions are visible before the stakeholder sees it. Enforces readable slot sizing (no compressed, out-of-bounds, or empty-space-heavy charts). Reads DASHBOARD-PLAN.md and the sample CSVs, and DESIGN-TOKENS.md if present. Use when the user wants to build the mock, render the demo, or when tableau-route reports mock is next. Step 6 of 8 in the workflow.

نظرة عامة

الناشرlaviDrori0702
المستودعtableau-dashboard-creator-skill
اسم المهارةtableau-mock
النجوم
34
التفريعات
11
الملفات المرفقة
3
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها laviDrori0702 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Tableau Mock في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/laviDrori0702/tableau-dashboard-creator-skill/tree/main/skills/tableau-mock
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/laviDrori0702/tableau-dashboard-creator-skill.git /tmp/tableau-dashboard-creator-skill
mkdir -p .claude/skills
cp -r /tmp/tableau-dashboard-creator-skill/skills/tableau-mock .claude/skills/tableau-mock
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Tableau Mock في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Tableau Mock تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Tableau Mock بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

tableau-mock

Step 6 of 8, and non-skippable. It turns the strict DASHBOARD-PLAN.md into an interactive mock.html demo — rendered at the plan's screen size and populated from the real sample CSVs — that the analyst shares so the stakeholder can validate the dashboard direction before any Tableau work begins. The mock ends with a coverage checklist proving every plan element was rendered, so nothing is silently dropped before the demo goes out.

ReadsRequired: DASHBOARD-PLAN.md (from plan) — the blueprint, including the screen size and every element/filter/interaction id; and the sample CSVs (data/*.csv, demo fallback scaffold/sample-data/*.csv) — the real rows the demo shows. Optional (enrich, never block): DESIGN-TOKENS.md (from brand; absent ⇒ neutral styling).
Writesmock-version/<v_N>/mock.html — a full standalone deliverable copy (CONTRACT.md §4.3).
STATE.md updateSets mock = approved and current_version to the target v_N; flips every downstream approved step (spec/build) to stale on a re-run (CONTRACT.md §4.2).
Entry gateRefuses to run until plan is resolved and DASHBOARD-PLAN.md exists, and data is resolved and a sample CSV exists (CONTRACT.md §4.1).
Next steptableau-spec (or tableau-route to confirm).

The mechanical guarantees — the entry gate, the coverage checklist (every plan element rendered), the slot-sizing guard (no compressed / out-of-bounds / empty-space-heavy layouts), the version bump, and the STATE.md transition — live in mock.py (CLI) and coverage.py (the checklist + guard core). Your job is the judgment part: designing a faithful, attractive demo that renders the plan at its screen size with real data. Run the script at the points below; do not hand-edit STATE.md.

The two conventions the coverage check depends on

coverage.py decides "rendered" mechanically, so the mock must carry two machine-readable markers (see references/MOCK-SKELETON.html for a working example):

  1. data-plan-id="<id>" on every rendered KPI, chart, filter control, and interaction trigger. The <id> must match the plan's Elements / Filters / Interactions tables exactly. A plan id with no matching data-plan-id is a coverage gap that blocks approval — this is what makes "every element rendered" a guarantee, not a hope.
  2. An embedded JSON layout manifest — one <script type="application/json" id="mock-layout"> block giving the canvas size and a pixel box {id, x, y, width, height} for every element id (KPIs/charts; filters and interactions need no box). The slot-sizing guard reads it; the canvas width/height must equal the plan's Screen Size dimensions.

How to run

  1. Precheck. From the project directory, run:

    bash
    python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-mock/scripts/mock.py" precheck "<project-dir>"

    (Use python3 if python is unavailable.) If it prints [BLOCKED], relay the reason and stop — the analyst must resolve the named upstream step (tableau-plan for the blueprint, tableau-data for the samples) first. Otherwise note its signals: the canvas size to render at, the coverage targets (element/filter/interaction counts), the target version path to write mock.html into (and whether this run bumps the version because the mock was already approved), and whether DESIGN-TOKENS.md is present.

  2. Read the inputs. Read DASHBOARD-PLAN.md in full — its Screen Size, Layout Grid, Elements, Filters, and Interactions tables are your build list; use the ids verbatim. Read the sample CSVs (data/*.csv, or scaffold/sample-data/*.csv — if you fall back to the demo samples, say so) and populate every chart/KPI from the real rows — do not invent numbers. If DESIGN-TOKENS.md is present, apply its colors/typography; if absent, use neutral styling.

  3. Author mock.html at the precheck's target version path (mock-version/<v_N>/mock.html). Render at the plan's screen size, lay out every element in its planned slot, wire the filters and interactions, and tag everything with data-plan-id + embed the mock-layout manifest (see the two conventions above and references/MOCK-SKELETON.html). When refining an existing mock at this version, Edit it in place. Keep the file self-contained (inline CSS/JS; no external fetches) so the analyst can open and share it directly.

  4. Slot sizing. Give each element a readable box inside the canvas — not so small it compresses (the guard rejects boxes under ~80×56px), not overflowing the canvas (out-of-bounds), and collectively filling the canvas (the guard rejects layouts that leave it mostly empty). Make the manifest boxes match what you actually render.

  5. Self-check, then present. Validate the draft before showing it:

    bash
    python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-mock/scripts/mock.py" validate "<project-dir>"

    It prints the coverage checklist (one line per screen size / element / filter / interaction, each [x] rendered or [ ] <- MISSING) and the slot-sizing guard result. If it prints [INVALID], fix the flagged gaps/violations and re-run. When it prints [OK], show the checklist to the analyst (it's the proof nothing was dropped) and present the mock for approval.

  6. Commit — only after the analyst approves:

    bash
    python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-mock/scripts/mock.py" commit "<project-dir>"

    Commit re-runs the full coverage + guard check (mock is non-skippable, so it only ever sets approved). If it prints [REFUSED], fix what the checklist names and re-run. On success it records mock = approved, sets current_version to the target v_N, and reports any downstream steps it marked stale. Relay the summary and tell the analyst to open a fresh conversation and run the next step (tableau-spec, or tableau-route to confirm).

Filter control types

The plan's Filters table names a control type per filter. Render each as the Tableau control it stands for, not as a bare browser widget. Never use a native <select multiple> list box: it needs Ctrl+click and applies on every change.

control typerender in the mock as
dropdown (multi) / multi-selecta button showing the selection summary ("All", "2 of 5") that opens a checkbox list with an (All) row and an Apply button; the filter applies on Apply, not on each tick.
dropdown (single) / single-selecta native <select> (one value, applies on change).
date rangetwo <input type="month"> (or date) pickers, from and to.
slidera native <input type="range"> with the current value shown.

When the plan puts filters in a sidebar slot, render it as a collapsible panel with a Show/Hide control (see references/MOCK-SKELETON.html), unless the plan says otherwise.

Shared interactions vocabulary (CONTRACT.md §6)

The plan's interactions use these intent-level terms; render each so its intent is demonstrable in the demo (the Tableau construct is chosen later, in spec):

termrender in the mock as
toggle panela control that shows/hides a region.
swap viewa control that replaces one chart with an alternative in the same slot.
drillclick-through between hierarchy levels (year → quarter → month) in place.
cross-filterclicking marks in one chart filters the others.
highlightclicking/hovering marks highlights related marks elsewhere (no filtering).
parameter swapa control that changes a measure/dimension/threshold across views.

Multi-view tabs

When DASHBOARD-PLAN.md declares more than one view, author one mock.html with a tab strip and one .view-canvas per view (see references/MOCK-SKELETON.html). Each canvas carries data-view="<name>" matching the plan; every element keeps its data-plan-id. mock.validate checks coverage per view ? an id planned for view B missing from B's canvas is a gap that names the view. A single-view plan (no view column) omits the strip and renders exactly as today.

Notes

  • Non-skippable. The workflow has no demo without the mock; commit only ever sets approved.
  • Versioned deliverable. mock.html lives under mock-version/<v_N>/ (CONTRACT.md §4.3): re-running after approval bumps current_version to a fresh v_N and writes a full standalone copy there, preserving prior versions; re-running before approval overwrites the current v_N. The target path is reported by precheck.
  • Real data, real field names. Populate from the sample CSVs and reference the same field names the plan uses — that's how the demo lines up with the data model and, later, the workbook.

The full STATE.md schema and the ordering / staleness / versioning rules live in CONTRACT.md at the repo root. This skill restates only its own slice; mock.py / coverage.py are the executable mirror of the contract it enforces.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Tableau Mock؟

Renders the interactive HTML demo (mock.html) for the tableau-dashboard-plugin workflow at the plan's screen size, populated from the real sample CSVs, so the analyst can share a realistic demo and validate direction before any Tableau work. Builds strictly from DASHBOARD-PLAN.md — every KPI, chart, filter, and interaction — and ends with a coverage checklist proving each plan element (screen size, every filter, every interaction) was rendered, so omissions are visible before the stakeholder sees it. Enforces readable slot sizing (no compressed, out-of-bounds, or empty-space-heavy charts)....

لماذا تستخدم Tableau Mock على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Tableau Mock عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Tableau Mock في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/laviDrori0702/tableau-dashboard-creator-skill/tree/main/skills/tableau-mock. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Tableau Mock؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Tableau Mock؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Tableau Mock معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Tableau Mock مجانية؟

نعم. نشرها laviDrori0702 على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇