Logo de Tableau Mock

Tableau Mock

Comunidade
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.

Visão geral

Publicado porlaviDrori0702
Repositóriotableau-dashboard-creator-skill
Nome da habilidadetableau-mock
Estrelas
34
Forks
11
Arquivos incluídos
3
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por laviDrori0702 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Tableau Mock no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/laviDrori0702/tableau-dashboard-creator-skill/tree/main/skills/tableau-mock
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Tableau Mock em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Tableau Mock automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Tableau Mock não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Tableau Mock faz?

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)....

Por que usar Tableau Mock no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Tableau Mock é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Tableau Mock no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/laviDrori0702/tableau-dashboard-creator-skill/tree/main/skills/tableau-mock. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Tableau Mock?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Tableau Mock?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Tableau Mock com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Tableau Mock é gratuita?

Sim. A habilidade é publicada no GitHub por laviDrori0702 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇