Logo vun Tableau Data

Tableau Data

Communautéit
laviDrori0702
tableau-data

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

Iwwersiicht

EditeurlaviDrori0702
Repositorytableau-dashboard-creator-skill
Skill-Nummtableau-data
Stären
34
Forks
11
Matgeliwwert Fichieren
5
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum laviDrori0702 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Tableau Data an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/laviDrori0702/tableau-dashboard-creator-skill/tree/main/skills/tableau-data
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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-data .claude/skills/tableau-data
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Tableau Data an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Tableau Data automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Tableau Data net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

tableau-data

Step 3 of 8, and non-skippable. It turns the analyst's data into DATA-MODEL.md — the documented field names and types that tableau-mock and tableau-build build against. The CSVs under data/ are the single source of truth for those field names, so this step also validates that the documented names match the real CSV headers exactly before approving.

ReadsThe data: production data/*.csv (preferred) or the scaffold/sample-data/*.csv demo fallback. For the published-ds route, the inputs datasources.json + .env (the latter discovered by walking up — nearest wins). None is a required read — data has no producer-gated inputs (CONTRACT.md §1).
WritesDATA-MODEL.md at the project root (latest approved truth; overwritten in place). The CSVs themselves are analyst-provided in data/ (or the demo scaffold/sample-data/).
STATE.md updateSets data = approved; flips every downstream approved step to stale on a re-run (CONTRACT.md §4.2).
Entry gateRefuses to run until init is approved in STATE.md (CONTRACT.md §4.1).
Next steptableau-brand (or tableau-plan, or tableau-route to confirm).

The two acquisition routes (and no third)

There are exactly two ways to get the mimicking CSVs (CONTRACT.md §3.2). There is no synthesized/random-data path — when no real data exists, the floor is the clearly-labelled scaffold/sample-data/ demo, never invented rows.

  • Route 1 — data_mode: csv (default, zero-credential). The analyst drops CSV file(s) in data/. Each CSV is one data source. profile → enrich → commit.
  • Route 2 — data_mode: published-ds (VizQL Data Service). The analyst lists published sources in datasources.json (one entry each: ds_name + project_name) and supplies a Tableau connection in .env. pull signs in with the Personal Access Token and samples each source through the VDS — read-metadata (authoritative field names/types/descriptions) then query-datasource (a capped row sample) — writing one data/<slug>.csv per source plus DATA-MODEL.md. Then enrich → commit, exactly as Route 1. Fires only when data/ has no production CSVs (real CSVs always win).

The mechanical guarantees — the entry gate, CSV profiling/type inference, the VDS pull, the header↔model validation, and the STATE.md transition — live in data.py (with the VDS client in vds.py), this skill's executable mirror of the contract. Your job is the judgment part: confirming which route applies and enriching each field's Description in DATA-MODEL.md. Run the script at the points below; do not hand-edit STATE.md.

How to run

  1. Precheck. From the project directory, run:

    bash
    python "${CLAUDE_PLUGIN_ROOT}/skills/tableau-data/scripts/data.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 signals: the csv source (production data/, demo scaffold/sample-data/, or none), whether Route 2 inputs are present, whether a DATA-MODEL.md already exists, and the current data status (a re-run).

  2. Branch on the situation precheck reported:

    • CSV available (data/ or the demo) → go to step 3 (profile).
    • Route 2 (datasources.json + .env, no production CSVs) → go to step 3a (pull). If datasources.json is present but .env is missing, tell the analyst to copy scaffold/.env.example to .env and fill in their Tableau connection first.
    • Nothing → tell the analyst to either drop CSV(s) in data/, or add datasources.json + .env for the published-ds route. To just demo the workflow they can re-run tableau-init to lay down the scaffold/sample-data/ examples. Stop.

3a. Pull (published-ds route only). Sample the listed published sources via VDS:

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

This signs in with the PAT, and for each source pulls metadata + a capped row sample, writing one data/<slug>.csv (slug = lowercased ds_name, e.g. Regional Sales → regional_sales.csv) and a schema-complete DATA-MODEL.md (tier published-ds (VDS query), types/descriptions taken from VDS metadata). It also sets data_mode: published-ds in STATE.md. The row cap is --row-limit (default 100, silent up to 1000); a value above 1000 is refused until you confirm the larger sample with the analyst and re-run with --confirm-large. pull is non-destructive (refuses if DATA-MODEL.md exists; re-run with --force to re-sample). If it prints [REFUSED], relay the actionable reason and stop — no artifact is written on failure (sign-in/connection error, the source's API Access capability is off, the named source is not a published source — it may be embedded, in which case export it to CSV and use Route 1 — or the query returned zero rows). On success, go to step 4 (enrich) — there is no separate profile step for this route.

  1. Profile (csv route only). Generate the field tables from the resolved CSVs:

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

    This infers a type per column and writes a schema-complete DATA-MODEL.md. It is non-destructive: if DATA-MODEL.md already exists it refuses (so prior descriptions aren't clobbered) — Edit it in place to refine, or re-run with --force to regenerate from the CSVs (e.g. after the data changed). If precheck said the source was the demo fallback, tell the analyst you're profiling demo data, not their real source.

  2. Enrich DATA-MODEL.md. Edit each data source's field table to fill the Description column (and refine Role — Dimension/Measure — where the numeric heuristic guessed wrong). Do not rename fields — the documented field names must stay identical to the CSV headers (commit enforces this). Present the DATA-MODEL.md for approval.

  3. Commit — only after the analyst approves:

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

    The script validates every documented field name against the real CSV header (exact match, case included). If it prints [REFUSED] naming missing/extra fields, fix the drift in DATA-MODEL.md (or the CSV) and re-run. On success it records data = approved 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-route to confirm).

The DATA-MODEL.md schema

profile (csv route) or pull (published-ds route) generates this; the model enriches the Description (and refines Role) cells. For the published-ds route, Type and any Description come pre-filled from authoritative VDS metadata.

markdown
## Acquisition
- tier: csv (provided in data/)        # or: csv (demo - scaffold/sample-data/), or: published-ds (VDS query)

## Data source: `sales_orders.csv`
- rows profiled: 40

| Field      | Type    | Role      | Sample values        | Description    |
|------------|---------|-----------|----------------------|----------------|
| order_id   | string  | Dimension | ORD-001, ORD-002     | <model fills>  |
| revenue    | real    | Measure   | 971.89, 1499.95      | <model fills>  |
  • One ## Data source: section per CSV (CONTRACT.md §3.2 — "csv = datasource").
  • Type is one of string, integer, real, date, datetime, boolean.
  • Acquisition tier is recorded so downstream steps know whether this is the analyst's real data or the demo fallback.
  • commit re-parses the Field column and checks it against the CSV headers, so keep the table structure intact when enriching.

Notes

  • Non-skippable. Unlike intake/brand, data cannot be skipped — the pipeline has no field names to build against without it. commit only ever sets approved.
  • Latest-truth file. DATA-MODEL.md lives at the project root and is overwritten in place; re-running flips downstream approved steps to stale (CONTRACT.md §4.2/§4.3). It does not create a version directory.
  • CSV-only here. This step reads *.csv. Excel (.xlsx) is not profiled — export to CSV, or use the published-ds route.

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; data.py is the executable mirror of the contract it enforces.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Tableau Data?

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

Firwat Tableau Data op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Tableau Data besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Tableau Data an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/laviDrori0702/tableau-dashboard-creator-skill/tree/main/skills/tableau-data an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Tableau Data benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Tableau Data benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Tableau Data domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Tableau Data gratis?

Jo. De Skill gëtt vum laviDrori0702 ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇