Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 .dash export, 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

Полный SKILL.md на GitHub

Установить fde-custom-dashboard-builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignoreREADME.mdproject_templates/agent_template/SKILL.template.mdproject_templates/agent_template/references/business-context.template.mdproject_templates/agent_template/references/data-dictionary.template.mdproject_templates/agent_template/references/metrics-catalog.template.mdproject_templates/agent_template/references/sql-templates.template.mdproject_templates/dashboard_template/LICENSE.chartjsproject_templates/dashboard_template/LICENSE.kurkle-colorproject_templates/dashboard_template/chart.umd.min.jsproject_templates/dashboard_template/dashboard.template.htmlproject_templates/dashboard_template/generate-data.jsproject_templates/workflow_template/README.mdproject_templates/workflow_template/SLUG_data_prep.digproject_templates/workflow_template/SLUG_launch.digproject_templates/workflow_template/input_params.yamlproject_templates/workflow_template/sql/01_stage_events.sqlproject_templates/workflow_template/sql/02_check_staging.sqlproject_templates/workflow_template/sql/10_sink_daily_metrics.sqlproject_templates/workflow_template/sql/11_sink_daily_users.sqlreferences/agent-setup.mdreferences/dashboard-build.mdreferences/data-discovery.mdreferences/eval-setup.mdreferences/handoff-docs.mdreferences/intake.mdreferences/requirements_doc.mdreferences/workflow-setup.mdtools/dash_to_html.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить fde-custom-dashboard-builder с