HT

humphrey4data/tableau-to-hex-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

91 stars 质量 53 趋势 19MIT

humphrey4data/tableau-to-hex-skill 是从 https://github.com/humphrey4data/tableau-to-hex-skill. 导入的代理技能候选。

概览

humphrey4data/tableau-to-hex-skill 是从 https://github.com/humphrey4data/tableau-to-hex-skill. 导入的代理技能候选。

概述(AI 翻译)

一个能将Tableau、Looker或Power BI仪表盘迁移到带有匹配查询、数字、过滤器、颜色、布局和工具提示的十六进制应用的代理技能——然后通过自动截图-差异循环验证匹配。

此文件适用于人类。代理执行 SKILL.md(过程)和 reference.md(命令)。

来源支持:

来源 状态 注释
Tableau(云 + 自架服务器) 经过实战验证 经过生产迁移验证
Looker(Looker托管+客户托管) 文档对应 有一点更简单:API 返回每个瓦片后面的仓库 SQL
Power BI(Fabric / Premium / PPU 最佳) 文档等效,最难的源代码 提取干净(通过 API 实现 PBIR + TMDL),但 DAX 指标必须转换为仓库 SQL,并验证其等效;没有可访问上游仓库的导入模式模型根本无法迁移

它的作用,一步步

阶段 发生了什么 你的参与
0.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Tableau/Looker/Power BI → Hex Dashboard Migration Skill

An agent skill that migrates a Tableau, Looker, or Power BI dashboard to a Hex app with matching queries, numbers, filters, colors, layout, and tooltips — then proves the match with an automated screenshot-diff loop.

This file is for humans. The agent follows SKILL.md (the procedure) and reference.md (the commands).

Source support:

Source Status Notes
Tableau (Cloud + self-hosted Server) Battle-tested Proven on a production migration
Looker (Looker-hosted + customer-hosted) Documented equivalent Easier in one way: the API returns the exact warehouse SQL behind every tile
Power BI (Fabric / Premium / PPU best) Documented equivalent, hardest source Extraction is clean (PBIR + TMDL via APIs), but DAX measures must be translated to warehouse SQL and proven equivalent; import-mode models without a reachable upstream warehouse can’t be migrated at all

What it does, step by step

Phase What happens Your involvement
0. Setup Installs/verifies the Hex CLI and a warehouse CLI, checks source BI access, asks the fidelity policy, suggests command allowlisting, front-loads the one-time logins, creates a resumable run manifest Provide source credentials (Tableau PAT / Looker API key / Entra login) if not configured; answer one policy question; do the logins
1. Extract Pulls the ground truth from the source — Tableau: downloads the workbook (.twbx) and parses its XML for custom SQL, calculated fields, parameters, filters, layout, colors; Looker: fetches the dashboard, per-tile generated SQL, table calcs, filters, and vis config via the API; Power BI: fetches the report definition (PBIR) and semantic model (TMDL: DAX measures, relationships, M sources) via the Fabric APIs — and grabs rendered PNGs Send screenshots of hover tooltips (they’re invisible to every API); confirm the scope — which dashboards/pages to migrate, and whether tabbed siblings become one Hex app with tabs (default) or separate apps
2. Validate Re-runs every section’s logic against the warehouse and reconciles with the source’s numbers before building anything (for Power BI this includes the DAX-to-SQL translation) None (agent asks only if the source is ambiguous)
3. Build Sends one comprehensive prompt to the Hex agent (hex thread create --new-project) with the validated SQL and exact styling spec, targeting a Generative app (not a classic notebook app, with tab navigation when the scope covers multiple dashboards) and verifying Hex complied None — takes ~10–15 min
4. Self-check loop Screenshots the Hex app headlessly, diffs it panel-by-panel against the source PNG, re-verifies numbers and that every filter actually changes results, sends fix batches to the Hex agent; repeats until parity One-time browser login for screenshots; expect 3+ rounds
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add humphrey4data/tableau-to-hex-skill
新手?先看 mcpskill.org 教程 →