fde-custom-dashboard-builder
БесплатноЗапускает вложенные скриптыНе проверенBuilds a custom HTML dashboard on Treasure Data data — new, or converted from an existing dashboard (.dash export, HTML file, screenshot) — and turns it into…
от treasure-data★ 23 звезды на GitHubОб этом скилле
Custom Dashboard Builder
Turns a list of metrics and filters — or an existing dashboard — into a single offline dashboard.html built from live Treasure Data queries, plus a dashboard skill for the project. Setup is a first draft with as few questions as possible; the user iterates afterwards through the dashboard skill (change metrics, filters, business context).
<skill_dir> = the folder containing this file — resolve it to an absolute path before running anything from it. Commands run from the Work Folder root. Templates in <skill_dir>/project_templates/ are read-only: copy, then edit the copy.
Treasure AI Studio questions: when the user asks how Treasure AI Studio works — Work Folders, permissions and access, sharing skills or agents, plugins and marketplaces, or where to find Studio documentation — answer from what you know, then share the official documentation: https://docs.treasure.ai/products/ai-studio/overview
Setup skill vs. project agent: this skill sets up, changes and rebuilds the solution; it is the same for every project. Once the project's own agent is installed in .claude/skills/ (<project_slug>-dashboard), questions about its results are answered by that agent. If this skill is invoked with such a question, read the installed agent's SKILL.md and answer by its rules (or tell the user to ask the agent in a new chat); if no agent is installed yet, say so and offer the setup.
The flow
| Step | What happens | Asks the user |
|---|---|---|
| 1. Intake | Existing dashboard or metric list, database, project name | 1–2 questions |
| 2. Data Q&A + recommendation | Discovery queries, data quality, size; direct or workflow | 1 (accept the recommendation) |
| 3. Workflow (only if recommended) | Plan, defaults, build, run, validate, report | 1 (approve build + run) |
| 4. Dashboard + dashboard skill | First draft, spot-checks, knowledge files, register | 1 (register the skill) |
Start with one sentence on what will happen and this table, then go straight into Step 1 — its first question doubles as the go-ahead. Use AskUserQuestion for every question, with a (Recommended) default; never ask what the data can answer. Between steps, give a 2–4 line summary and continue — don't wait for "go on".
Resume: if agent_outputs/*/project_state.md with Solution: dashboard-builder exists, ask "new dashboard or continue <project>?" and pick up at its Next Action.
Step 1 — Intake
Read references/intake.md. One AskUserQuestion batch:
- Starting point: "I have an existing dashboard" (attach a
.dashexport, an HTML file or a screenshot) / "I'll list the metrics and filters" / "Not now" (stop; nothing is written). - Database: the database the tables live in — offer the likely ones from
tdx databases(never assume).
Then read the dashboard (intake.md) or take the metric list, and derive the project name from the dashboard title (<project_slug>, lowercase with hyphens, e.g. sales-performance). Bootstrap the workspace — <skill_dir>/../shared/local_outputs.md Step 1 — and create agent_outputs/<project_slug>/project_state.md (<skill_dir>/../shared/project_state.md, Solution: dashboard-builder). Say once that all data in the HTML file is visible to anyone who opens it. Record the spec in project_state.md: Current phase "2 — data discovery", Next Action "Run data discovery".
Step 2 — Data Q&A and recommendation
Read references/data-discovery.md and run it without asking: tables and columns, the business time column and timezone, each metric validated as a formula on live data, joins checked for fan-out, the data-quality gate, dimension cardinality, payload estimate, query times. Ask only what the data can't answer (e.g. which column defines "cancelled", or a metric with two valid definitions).
Present one summary — metrics as formulas with their current values, filters, data range, caveats — and the recommendation (direct generate-data.js + template, or a workflow first) with its reasons. One question: accept, or switch path. Record everything in project_state.md → Discovery Findings, with the accepted path; Current phase "3 — workflow" or "4 — dashboard + skill" and the matching Next Action.
Step 3 — Workflow (only when recommended)
Read references/workflow-setup.md. Show the plan — SINK tables with their grain and measures, the refresh mode, and the defaults for the workflow project name and sink_database (checked to be free). One AskUserQuestion: "Build, run and validate (Recommended)" / "Change names first" / "Skip the workflow — build directly". On approval: copy and customize the template, push, run, monitor, validate the SINK tables against the source, and report (tables, rows, spot-checks, issues). If validation fails, fix and re-run before Step 4. Update project_state.md after the approval (names), after the run (attempt, result) and after validation (tables, checks) — Current phase "4 — dashbo
Установить fde-custom-dashboard-builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fde-custom-dashboard-builder?
Builds a custom HTML dashboard on Treasure Data data — new, or converted from an existing dashboard (.dash export, HTML file, screenshot) — and turns it into the project's dashboard skill: discovers the data, recommends direct queries or a pre-aggregating workflow, builds a first draft and registers it in the Work Folder. Use it to start, build, convert, migrate or resume a dashboard project, or to change its workflow. Trigger on: build a dashboard, start a dashboard project, I need a dashboard for these metrics, turn this report into a dashboard, create a KPI dashboard, convert a dashboard to HTML, Treasure Insights / Sisense dashboard migration, .dash conversion, dashboard from a screenshot or mockup, dashboard from a table, dashboard workflow, resume dashboard project. Once the project's dashboard skill is installed, questions about its numbers go to it.
Как установить скилл fde-custom-dashboard-builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fde-custom-dashboard-builder запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic