tableau-dashboard-creator
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "tableau-dashboard-creator":https://skillpi.com/zh/skills/deepskill-28dd575f51116c11bc074b566a2822f2bba63d6611f04f2d9859f77b33c32e51。安装前核对上游来源和版本:https://github.com/Kilo-Org/kilo-marketplace。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
指导数据分析师完成多步骤的 Tableau 仪表板创建工作流:包含品牌设置、数据探索、仪表板规划、交互式 HTML 原型创建、Tableau 实现规范及实验性 TWB 工作簿生成。适用于需要创建仪表板、构建原型、规划 KPI 与图表或编写实施文档的场景。
介绍来源: third_party · Kilo-Org · 0.0.1 参考来源
SkillPi 解读
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: tableau-dashboard-creator
description: >-
Guides data analysts through a multi-step Tableau dashboard creation workflow
- brand setup, data exploration, dashboard planning, interactive HTML mock
creation, Tableau implementation spec, and experimental TWB workbook
generation. Use when the user wants to create a Tableau dashboard, build a
dashboard mock, plan KPIs and charts, or generate a Tableau implementation
document.
metadata:
category: data
source:
repository: 'https://github.com/laviDrori0702/tableau-dashboard-creator-skill'
path: skill/tableau-dashboard-creator
license_path: LICENSE
commit: 620c4ef53c8557346532ebf9984f18300fed2e79Tableau Dashboard Creator
A multi-step workflow that transforms a human-language dashboard request into an implementable Tableau specification with an interactive HTML mock and an optional generated workbook.
Prerequisites
Before starting, scan the user's project root for:
Checklist (all paths are inside the project directory the skill is executed in, except `.env` — see note below):
- [ ] QUERIES.md — SQL queries grouped under database type headings (e.g., PostgreSQL)
OR sample-data/ directory with CSV files
- [ ] <DASHBOARD-NAME>-PRD.md — Human-language dashboard request
- [ ] .env — Database credentials (skip if using sample-data/). Does **not** need to live
inside the project directory — `load_dotenv()` walks upward from the current
working directory and picks up the closest `.env` it finds, so the user can keep
credentials in a parent directory and avoid copying secrets into the project.
Required variables (PostgreSQL): `PG_HOST`, `PG_DATABASE`, `PG_USER`, `PG_PASSWORD`,
and optionally `PG_PORT` (defaults to `5432`).
- [ ] branding/ directory (required) containing ONE of:
- branding.md — brand spec (palette, fonts, padding, sizing)
- template.twb — Organization's Tableau template workbook
Optionally, a logo (.svg or .jpg) can be added to branding/ in either case.
If any are missing, immediately run Project Scaffolding (below) before doing anything else. Do NOT ask the user to manually provide files — scaffold first, then let them customize.
Only check for the files listed above. Do NOT check for
design-tokens.md,DS-ARCHITECTURE.md,DASHBOARD-PLAN.md, or any files insidemock-version/— those are outputs generated by the workflow steps, not user-provided inputs.
QUERIES.md Format
Queries must be grouped under a heading matching the database type:
## PostgreSQL
SELECT * FROM public.table2
The agent selects the correct query script based on the heading.
Adding other databases: The skill ships with PostgreSQL support. To add other databases (Databricks, Snowflake, MySQL, BigQuery, etc.), create a matching
query_<dbtype>.pyscript in the installed skill'sscripts/directory following the same pattern asquery_postgresql.py, add the corresponding heading toQUERIES.md, and updatereferences/step-a-data-exploration.md.
Required Python packages
# PostgreSQL
psycopg2-binary, python-dotenv, pandas
Workflow Overview
[Scaffolding] ──[user approval]──> Step 0: Brand Setup
Step 0: Brand Setup ──[user approval]──> Step A: Data Exploration
Step A: Data Exploration ──[user approval]──> Step B: Dashboard Planning
Step B: Dashboard Planning ──[user approval]──> Step C: HTML Mock
Step C: HTML Mock ──[user approval]──> Step D: Implementation Spec
Step D: Implementation Spec ──[user approval]──> Step E: TWB Generation (Experimental)
Do NOT skip steps. Wait for explicit user approval before moving to the next step.
Project Scaffolding
When to run: Automatically when the prerequisites check finds missing files. Skip only if all prerequisite files already exist.
Process:
- Ask the user for permission to scaffold their project directory
- Read each file from
skeleton/in the skill directory and write its contents into the user's project root, preserving the directory structure. This creates:sample-data/— starter CSV files (sales orders, customer segments, monthly targets) for immediate testing.env.example— database credentials template (rename to.envwhen ready)EXAMPLE-PRD.md— blank PRD template with section headers and placeholder examplesQUERIES.md— SQL query template with database type headingsbranding/branding.md— branding spec template with section headers and placeholder valuesSalesPerformance-PRD.md— partially filled Sales Performance PRD as a starting reference
- List every file created and briefly explain what the user should fill in or customize
- Be explicit about scaffold state:
sample-data/means the project is immediately usable in demo mode- database mode is only ready after the user fills in
.envandQUERIES.md - branding mode is only ready after the user finishes
branding/branding.mdand optionally adds a logo or icons
- Encourage the user to explore the
demo/directory in the skill repository for a complete worked example with all steps already generated - If both
sample-data/and a real database setup exist, explicitly tell the user which source will be used in Step A and why before proceeding - Wait for the user to confirm they have reviewed/customized the files, then proceed to Step 0
Important: Do NOT use shell
cpcommands — the skeleton directory is inside the skill installation, not the user's project. Read each skeleton file with the Read tool and write it to the user's project root with the Write tool.
Every step is iterative. The agent will not produce a perfect result in a single pass — this is expected and by design. Encourage the user to review each artifact carefully, request changes, and iterate until satisfied. This is especially true for Step C (HTML mock) and Step E (TWB generation). For Step C, encourage the user to share the mock with stakeholders for validation before approving — a well-reviewed mock prevents costly rework downstream.
Step 0: Brand Setup
Identity: Tableau design systems engineer.
Read references/step-0-brand-setup.md for detailed instructions.
Summary:
- Ask the user for the minimum target Tableau Desktop version first (
2024.2 – 2025.xdefault, or2026.1+). Record the answer indesign-tokens.md— it controls Step E's XML emission. - Detect branding source inside
branding/:branding.mdORtemplate.twb - Extract design tokens from
branding.md(or from the.twbXML), plus optional logo if present - If fallback defaults are used for any missing brand decision, call out each fallback decision explicitly in
design-tokens.md - Generate
design-tokens.mdin the project root - Present
design-tokens.mdto the user for approval
Step A: Data Exploration
Identity: Senior Data Engineer.
Read references/step-a-data-exploration.md for detailed instructions.
Summary:
- Check for local data first: If
sample-data/directory exists with CSV files and the user has not clearly signaled database intent, scan those files directly - If
QUERIES.mdor.envclearly indicates DB intent, say which source you are using and why before continuing - If using the database path, read
QUERIES.md, identify the database type from headings, and execute each query via the matching script from the installed skill:- PostgreSQL: run the installed skill's
scripts/query_postgresql.py; it permits one read-onlySELECT,WITH, or plainEXPLAINquery and enforces a hard 500-row cap - Other databases: add a
query_<dbtype>.pyscript following the same read-only-by-default pattern
- PostgreSQL: run the installed skill's
- Analyze schema and sample data
- Create
DS-ARCHITECTURE.mdwith datasource and field descriptions - Present
DS-ARCHITECTURE.mdto the user for approval
Step B: Dashboard Planning
Identity: Senior Data Analyst specialized in informative graphs and dashboards.
Read references/step-b-dashboard-planning.md for detailed instructions.
Summary:
- Read the PRD file,
DS-ARCHITECTURE.md, anddesign-tokens.md - Identify KPIs and chart types from the user request
- Map each visualization to specific columns from
DS-ARCHITECTURE.md - Assign stable IDs for KPIs, charts, filters, and actions so later steps can reuse the same identifiers
- Suggest additional KPIs and interesting data patterns
- Propose filter strategy and dashboard actions
- Present the dashboard plan to the user with approval criteria before moving to Step C
Step C: HTML Mock Creation
Identity: Tableau Developer.
Read references/step-c-mock-creation.md for detailed instructions.
Summary:
- Read
design-tokens.md(generated in Step 0) - Select appropriate template layout based on design tokens
- Ask the user for their target screen size: Standard Laptop (1100×800) for portable devices, Home Screen (2100×1000) for wide external displays, or Custom dimensions. Defaults to Standard Laptop if skipped.
- Create interactive HTML mock with Chart.js and sample data using the chosen screen dimensions as the dashboard frame
- Save to
mock-version/v_N/mock.html - Prevent empty-space-heavy, compressed, or out-of-bounds chart layouts by enforcing explicit slot sizes and readable chart occupancy
- Present the mock to the user for approval
- If approved, update
DASHBOARD-PLAN.mdanddesign-tokens.mdif the mock diverged from them
Step D: Tableau Implementation Spec
Read references/step-d-implementation-spec.md for detailed instructions.
Summary:
- Translate the approved HTML mock into a technical Tableau implementation spec
- Document container hierarchy, sheets, calculated fields, parameters, and stable IDs in a strict markdown schema
- Save to
mock-version/v_N/TABLEAU-IMPLEMENTATION.md - Include enough structured detail for Step E to consume without guessing
- If approved, update
DASHBOARD-PLAN.mdif the implementation spec diverged from it
Step E: TWB Workbook Generation (Experimental)
Scaffold build string: 2025.1.10 (20251.25.1121.1650) — all snippets are authored against this build. The emitted workbook version attribute and the inclusion of <explain-data> are driven by the Target Tableau Version captured in Step 0. See references/step-e-twb-generation.md § Tableau Version Targeting.
Read references/step-e-twb-generation.md for detailed instructions.
Snippet library: The references/snippets/ directory contains validated .twb files organized by domain. Each domain has a companion .md explaining the XML patterns. Read the relevant snippet files and companion docs before generating XML — assemble from validated patterns, do not generate XML from scratch.
Summary:
- Read the approved TABLEAU-IMPLEMENTATION.md and design-tokens.md
- Read
DS-ARCHITECTURE.mdfor field names and types - Select snippet patterns based on requirements:
- Data model:
snippets/data-model/→ single CSV, relationship, or join - Chart types:
snippets/worksheets/→ bar, line, text-table, area, pie, scatter, dual-axis, map - Styling:
snippets/worksheets/bar-chart-styled.twb→ fonts, colors, axis titles - Filters:
snippets/worksheets/bar-chart-filtered.twb→ categorical, date range, context - Sorting:
snippets/worksheets/bar-chart-sorted.twb→ computed sort - Tooltips:
snippets/worksheets/custom-tooltip.twb→ formatted tooltip template - Dashboard layout:
snippets/dashboard/→ single/multi-sheet, nested containers - Actions:
snippets/dashboard/→ filter, highlight, parameter actions - Features:
snippets/features/→ calculated fields, parameters, LOD expressions, Dynamic Zone Visibility
- Data model:
- Assemble the
.twbusing the scaffold skeleton (snippets/scaffold/workbook-skeleton.twb) as the base, inserting parameterized snippet patterns in strict element order - Generate as live connection — do NOT include
<extract>sections - Package as
.twbx(ZIP archive bundling the.twb+ all CSV data files) - Save both
dashboard.twbanddashboard.twbxtomock-version/v_N/ - Instruct the user to open
dashboard.twbxin Tableau Desktop and use Data → Replace Data Source to connect live data
Handling Unknown Features
If the user requests a Tableau feature that has no validated snippet in references/snippets/, ask the user which approach they prefer:
- Provide a reference
.twb— the user builds a minimal example in Tableau Desktop demonstrating just that feature, provides the path, and the agent extracts the pattern from it - Attempt from
examples/— the agent searches theexamples/directory for a similar pattern in the existing complex workbooks, adapts it, and flags it as ⚠️ UNVALIDATED - Skip and document — the agent generates everything else correctly and writes a
MANUAL_STEPS.mdlisting what the user needs to add manually in Tableau Desktop
Version Management
- All mock and implementation files go inside
mock-version/v_N/(e.g.,mock-version/v_1/) - Each version is a full standalone copy (mock.html + TABLEAU-IMPLEMENTATION.md + dashboard.twb + dashboard.twbx)
- When the user requests revisions after Step D or E, increment the version number. Step C revisions overwrite the current mock in-place (same
v_Ndirectory). DS-ARCHITECTURE.md,DASHBOARD-PLAN.md, anddesign-tokens.mdlive at the project root and always represent the latest approved global truth- Each versioned artifact should note which approved root-level files and mock version it was derived from
File Structure (per project)
project-root/
├── QUERIES.md (user input — with DB type headings)
├── <DASHBOARD-NAME>-PRD.md (user input)
├── .env (user input — DB credentials)
├── branding/ (user input — required; contains brand source)
│ ├── branding.md (option A: brand spec)
│ ├── template.twb (option B: org Tableau template)
│ ├── logo.svg / logo.jpg (optional, either case)
│ └── icons/ (optional)
├── sample-data/ (user input — optional, skip DB queries)
│ └── *.csv
├── design-tokens.md (generated - step 0)
├── DS-ARCHITECTURE.md (generated - step A)
├── DASHBOARD-PLAN.md (generated - step B)
└── mock-version/
├── v_1/
│ ├── mock.html (generated - step C)
│ ├── TABLEAU-IMPLEMENTATION.md (generated - step D)
│ ├── dashboard.twb (generated - step E, raw XML)
│ └── dashboard.twbx (generated - step E, packaged with data)
└── v_2/
├── mock.html
├── TABLEAU-IMPLEMENTATION.md
├── dashboard.twb
└── dashboard.twbx版本历史
-
skills-20261103210927-6c1b454
GitHub ↗
原版更新说明
Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323
-
skills-20260928190452-ff51758
GitHub ↗
原版更新说明
Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505
-
skills-20260924105536-d31110d
GitHub ↗
原版更新说明
Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049
-
skills-20260923085113-cea285e
GitHub ↗
原版更新说明
Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7
-
skills-20260922193956-97d7333
GitHub ↗
原版更新说明
Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的多步骤 Tableau 仪表板创建工作流,涵盖从品牌设置到 TWB 生成的全流程
- 解决数据分析师创建仪表板的实际痛点,具有高实用价值
- 支持多种数据源(CSV 文件、PostgreSQL 数据库)和灵活的品牌配置
亮点
- 触发词精准完整,明确描述了适用场景(创建 Tableau 仪表板、构建原型、规划 KPI 等)
- 边界清晰,不易与其他 Skill 重叠
待提升项
-
文档过长且缺少显式 When to Use 章节 原报告严重程度:轻微
Skill 文档内容详尽但超过 500 行,且未设置显式的 When to Use 章节(虽在 description 中有体现)
改进建议:建议将文档拆分为更小的章节或添加显式的 When to Use 部分以提升可读性
亮点
- Phase/步骤清晰,包含从 Step 0 到 Step E 的完整工作流
- 提供了端到端的文件结构示例和版本管理机制
- frontmatter 完整,包含必要的元数据信息
亮点
- 工具来源明确,使用已安装的脚本(如 query_postgresql.py)执行数据库查询
- 覆盖了主要异常情况(如文件缺失时的脚手架机制)
- 不可逆操作(如文件写入)有用户确认机制,确保执行安全
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 32, 35, 90, 229 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。