/tableau-dashboard-plugin:tableau-intakefrom Tableau Dashboard Plugin
Converts free-form dashboard requests into a structured PRD.md for the Tableau dashboard plugin workflow. Reads DASHBOARD-REQUEST.md, pasted text, or a demo example and writes a schema-complete PRD. Step 2 of 8.
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.
Step 2 of 8. Converts a free-form request into a structured PRD.md so the
downstream planning steps work from an unambiguous spec. The step is optional
(it can be skipped) and idempotent (re-running refines an existing PRD instead
of clobbering it).
| Reads | The request: production DASHBOARD-REQUEST.md (preferred) or text the analyst pastes or the scaffold/EXAMPLE-DASHBOARD-REQUEST.md demo example. None is a required read — the request can be pasted, so this step never refuses for a "missing" request file (CONTRACT.md §1). |
| Writes | PRD.md at the project root (latest approved truth; overwritten in place). |
| STATE.md update | Sets intake = approved (PRD authored) or skipped; flips every downstream approved step to stale on a re-run (CONTRACT.md §4.2). |
| Entry gate | Refuses to run until init is approved in STATE.md (CONTRACT.md §4.1). |
| Next step | tableau-data (or tableau-route to confirm). |
Why optional? PRD.md is a structuring convenience, not a hard dependency.
tableau-plan (step 5) reads it as an optional input and falls back to the raw
DASHBOARD-REQUEST.md when intake was skipped (CONTRACT.md §1), so skipping never
blocks the pipeline — it just means planning works from the unstructured request.
The mechanical guarantees — the entry gate, the PRD schema check, and the STATE.md
transition — live in intake.py, this skill's executable mirror of the contract.
Your job is the part that needs judgment: reading the free-form request and
authoring (or refining) the PRD prose. Run the script at the two points below; do
not hand-edit STATE.md yourself.
Precheck. From the project directory, run:
python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-intake/scripts/intake.py" precheck "<project-dir>"
(Use python3 if python is unavailable.) If it prints [BLOCKED], relay the
reason and stop — the analyst must run tableau-init first. Otherwise note
its three signals: whether a PRD.md already exists, which request source to
read, and the current intake status (a re-run).
Refine vs. overwrite. If precheck reports a PRD.md already exists, use
AskUserQuestion to offer Refine (keep its structure, update the content),
Overwrite (author fresh), or Skip. Never silently overwrite an
existing PRD.md. If no PRD exists, author fresh (still offer Skip).
Read the request. Follow precheck's request source:
DASHBOARD-REQUEST.md — read the analyst's production request.scaffold/EXAMPLE-DASHBOARD-REQUEST.md — the demo fallback; tell the
analyst you're demoing the workflow, not using real input.none — ask the analyst to paste their request text.Author PRD.md. Write (or, when refining, Edit) PRD.md at the project
root using references/PRD-TEMPLATE.md as the structure. Always include the
required core — Overview and Visualizations. Proactively propose
KPIs, Filters, and Additional Notes, since most dashboards want them — but if
the analyst says a section isn't needed, omit it without friction. Don't
complicate the PRD with empty sections. When refining, preserve the analyst's
existing structure and custom sections; change only what the request updates.
Present the PRD for approval.
Commit — only after the analyst approves (or chooses to skip):
python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-intake/scripts/intake.py" commit "<project-dir>" --status approved
# or, to skip the step:
python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-intake/scripts/intake.py" commit "<project-dir>" --status skipped
On --status approved the script validates PRD.md has the required core; if
it prints [REFUSED] listing missing sections, add them and re-run. On success
it records the status 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-data, or tableau-route to confirm).
intake.py enforces only the required core; the rest is recommended-but-optional.
| section | required? | what goes there |
|---|---|---|
## Overview | required | Purpose, audience, update frequency. |
## Visualizations | required | The charts and what each shows. |
## KPIs | optional | Headline metrics with formulas; omit if the dashboard has none. |
## Filters | optional | Slicing controls; omit if users don't need filtering. |
## Additional Notes | optional | Branding, conditional formatting, sort orders, constraints. |
The validator matches headings as case-insensitive substrings and allows extra custom sections, so a refined PRD that keeps its own structure still passes.
skipped in STATE.md and never
blocks the pipeline — downstream plan falls back to DASHBOARD-REQUEST.md and
neutral handling (CONTRACT.md §1). Re-running refines the root PRD.md in place
and flips downstream approved steps to stale; it does not create a new
version directory (PRD.md is a root "latest truth" file, CONTRACT.md §4.3).tableau-data's job and branding is tableau-brand's.The full
STATE.mdschema and the ordering / staleness / versioning rules live inCONTRACT.mdat the repo root. This skill restates only its own slice;intake.pyis the executable mirror of the contract it enforces.
What SKILL.md sets; muted values are Claude Code's defaults
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-initScaffolds a new tableau-dashboard-plugin project. Creates a scaffold/ folder of demo examples (EXAMPLE-DASHBOARD-REQUEST.md, EXAMPLE-datasources.json, .env.example, branding/EXAMPLE-branding.md, starter sample-data/) and initializes the STATE.md manifest, recording the target Tableau Desktop version so the build step never has to re-ask. Use when the user wants to start a new Tableau dashboard project, scaffold the workflow, or when tableau-route reports a fresh project. Step 1 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