/tableau-dashboard-plugin:tableau-initfrom Tableau Dashboard Plugin
Scaffolds a new tableau-dashboard-plugin project with demo examples and STATE.md manifest. Step 1 of 8 in the workflow.
Ships in Tableau Dashboard Plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The first step of the tableau-dashboard-plugin workflow. Running it in a project
directory scaffolds a complete starting skeleton and writes the STATE.md manifest
that every downstream skill reads to know where the analyst is.
This skill is step 1 of 8. It has no upstream dependencies — it is what creates the workflow state in the first place.
| Reads | — (nothing; this step bootstraps the project) |
| Writes | STATE.md + a scaffold/ folder of demo examples: scaffold/EXAMPLE-DASHBOARD-REQUEST.md, scaffold/EXAMPLE-datasources.json, scaffold/.env.example, scaffold/branding/EXAMPLE-branding.md, scaffold/sample-data/*.csv |
| STATE.md update | Creates the manifest with init = approved and steps 2–8 = pending; records target_tableau_version, data_mode: csv, current_version: v_1 |
| Next step | tableau-intake (or tableau-data if the analyst skips intake) |
Everything init writes under scaffold/ is a demo example so the analyst
can trial the whole workflow before owning any real inputs. Every downstream skill
prefers the production input at the project root and only falls back to the
scaffold/ example when the production file is absent:
| production input (preferred) | scaffold/ demo fallback |
|---|---|
DASHBOARD-REQUEST.md | scaffold/EXAMPLE-DASHBOARD-REQUEST.md |
datasources.json + .env (published-ds route) | scaffold/EXAMPLE-datasources.json + scaffold/.env.example |
branding/branding.md | scaffold/branding/EXAMPLE-branding.md |
data/*.csv (csv route) | scaffold/sample-data/*.csv |
init deliberately creates only the scaffold/ examples (and STATE.md),
never the production files — their absence is exactly what tells the analyst (and
the model) which real inputs are still owed. See CONTRACT.md §3 for the canonical
rule.
Determine the project directory. Default to the current working directory.
This is where the skeleton and STATE.md will be written.
Ask for the target Tableau Desktop version — unless the user already stated
it. This is recorded once, here, and drives tableau-build later (it is never
re-asked downstream). Offer exactly the two allowed values:
2024.2-2025.x — the broad-compatibility target (no rounded corners, no
<explain-data> in the workbook).2026.1+ — the newest target (enables border-radius and newer XML).If unsure, recommend 2024.2-2025.x for the widest compatibility.
Run the scaffolder, passing the chosen version:
python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-init/scripts/init.py" --target-version "<version>" "<project-dir>"
(Use python3 if python is unavailable.) The script copies this skill's
skeleton/ templates into the project's scaffold/ folder and writes a
schema-valid STATE.md. It is non-destructive: any file that already
exists — including an existing STATE.md — is preserved, never overwritten, so
re-running on an established project keeps the analyst's edits and pipeline
progress.
Relay the scaffolder's summary to the analyst: what was created, what was
preserved, and the one input to act on now — create their real
DASHBOARD-REQUEST.md at the project root (copy scaffold/'s example, or just
paste the request when running tableau-intake). Then tell them to open a
fresh conversation and run the next step (tableau-intake to structure the
request, or skip straight to tableau-data if they prefer). Suggest
tableau-route if they want the router to confirm the next step.
Don't walk the analyst through data acquisition or branding here. Those
decisions belong to the skills that own them — tableau-data explains the two
data routes (real CSVs in data/, or a published data source queried via the
VizQL Data Service, with the scaffold/sample-data/ demo as fallback) when the
analyst reaches that step, and tableau-brand handles branding. Init only lays
the examples down; it does not pre-explain how to fill them.
scaffold/ examples (including scaffold/sample-data/*.csv) let the project
run a full demo immediately. How the analyst swaps in real data — into data/ —
is tableau-data's topic, not init's; don't describe acquisition modes here.target_tableau_version is the one decision captured at init time. Everything
else (the request, the data, branding) is filled in by the later steps that
own those concerns.The full
STATE.mdschema and the ordering / staleness / versioning rules live inCONTRACT.mdat the repo root. This skill restates only its own slice;init.pyis the executable mirror of the schema it writes.
scripts/init.py (opens in a new tab)skeleton/scaffold/EXAMPLE-DASHBOARD-REQUEST.md (opens in a new tab)skeleton/scaffold/EXAMPLE-datasources.json (opens in a new tab)skeleton/scaffold/branding/EXAMPLE-branding.md (opens in a new tab)skeleton/scaffold/sample-data/customer_segments.csv (opens in a new tab)skeleton/scaffold/sample-data/monthly_targets.csv (opens in a new tab)skeleton/scaffold/sample-data/sales_orders.csv (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lavidrori0702/tableau-dashboard-creator-skill --plugin tableau-dashboard-plugin9 skills in this plugin
/tableau-brandExtracts design tokens (palette, type, spacing) into DESIGN-TOKENS.md for the tableau-dashboard-plugin workflow, so the mock and the Tableau workbook match the brand. Reads the analyst's branding/ (a branding.md spec and/or an org template .twb, plus logo/icons), or runs a short brand interview when none exists. Every value guessed from a Tableau default is flagged. Skippable only once branding/branding.md exists. Use when the user wants to set up branding/design tokens, or when tableau-route reports brand is next. Step 4 of 8 in the workflow./tableau-buildBuilds the Tableau workbook for the tableau-dashboard-plugin workflow from the approved IMPLEMENTATION-SPEC.md and DATA-MODEL.md, producing a Replace-Data-Source-ready dashboard.twbx beside the mock it was specced from. Derives a machine-readable build manifest (datasources, worksheets with chart type and shelves/encodings, the spec's layout container tree, actions, parameters, and the project's target Tableau version) and schema-validates it fail-fast, so an unknown chart type, an element id missing from the layout, or a field that is not in the data model is caught with the offending entry named before any XML is generated. Reads the approved IMPLEMENTATION-SPEC.md at the current version, DATA-MODEL.md, and the CSVs under data/. Use when the user wants to build the workbook, generate the twbx, or when tableau-route reports build is next. Step 8 of 8 in the workflow./tableau-dataAcquires the data for a tableau-dashboard-plugin project and writes the DATA-MODEL.md handoff artifact. CSV mode (the default, zero-credential path) profiles the analyst's data/*.csv into documented field names + types and validates that headers match exactly; the scaffold/sample-data/ demo CSVs are the fallback. The published-ds route (datasources.json + .env) samples published sources through the VizQL Data Service into data/*.csv. Use when the user wants to acquire or model dashboard data, build DATA-MODEL.md, or when tableau-route reports data is next. Step 3 of 8 in the workflow./tableau-intakeTurns a free-form dashboard request into a structured PRD.md for the tableau-dashboard-plugin workflow. Reads the analyst's DASHBOARD-REQUEST.md (or text pasted into the terminal, or the scaffold/ demo example) and authors a schema-complete PRD.md. Optional and idempotent — if a PRD.md already exists it offers to refine rather than overwrite. Use when the user wants to structure a dashboard request, write a PRD, or when tableau-route reports intake is next. Step 2 of 8 in the workflow./tableau-mockRenders 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./tableau-planProduces the strict DASHBOARD-PLAN.md for the tableau-dashboard-plugin workflow — the complete blueprint tableau-mock and tableau-build build against. Decides screen size here (so slot sizing is correct downstream), lays out a grid of named slots, and assigns every KPI, chart, filter, and interaction a stable id that later steps reference. Reads DATA-MODEL.md (field names) and, if present, PRD.md and DESIGN-TOKENS.md; proposes extra KPIs and patterns beyond the literal request. Use when the user wants to plan the dashboard, lay out KPIs/charts/filters, or when tableau-route reports plan is next. Step 5 of 8 in the workflow.Other plugins' skills for the same job