kmaruthi2002/universal-llm-skills/dashboard-building
Claude Code and agent skill by kmaruthi2002/universal-llm-skills
- community
Checking that the SKILL.md file is still in the repository.
Design and build dashboards that people actually use: start from the audience and the decisions they make, define every metric precisely, lay out by priority, choose filters and drill-downs deliberately, show freshness and data quality, keep it fast, and pick the tool (BI platform, notebook app, custom code, spreadsheet) by constraint. Use when someone asks for a dashboard, KPI view, metrics page, monitoring or reporting screen, executive scorecard, an admin analytics page in an app, or wants an existing dashboard fixed because it is slow, ignored, cluttered or untrusted — in Looker, Power BI, Tableau, Metabase, Superset, Grafana, Streamlit, a web framework or a spreadsheet. For single charts see data-visualization; for a one-off answer see data-analysis.
Install
npx vskill@latest install kmaruthi2002/universal-llm-skills/dashboard-buildingSKILL.md
The same SKILL.md was published earlier as kmaruthi2002/universal-llm-skills/dashboard-building.
Dashboard Building
A dashboard is a standing answer to recurring questions. Its value is measured by how often it changes what someone does, not by how many charts it contains. Most dashboards fail quietly: they are built from a list of available metrics rather than a list of decisions, nobody trusts the numbers because definitions differ from finance's, they are slow, and within months they are ignored and replaced by another one. Building a good one is mostly about scoping, definitions and maintenance; visual polish is the last 20%.
Scope
This skill covers dashboards for business metrics, product analytics, operations and executive reporting, built in BI tools or code. Neighbours:
data-visualization— choosing and styling each chart on the dashboard.data-analysis— answering a one-time question; many dashboard requests are really analysis requests.observability— system monitoring dashboards and alerting for software services (this skill's principles apply, but that skill covers metrics, logs, traces and SLOs).sql-and-queriesandetl-pipelines— building the data models and pipelines underneath.frontend-development— when the dashboard is a custom web application.information-architecture— organising many dashboards and navigation between them.
Core principles
1. Design for decisions, not data
Start with who uses the dashboard and what they decide with it: "the support lead decides each morning whether to pull agents onto the backlog queue", "the regional manager decides weekly which stores need a visit". Each element should support one of those decisions. Why: a dashboard built from "what data do we have" becomes a data dump; one built from decisions stays small, focused and used.
2. A dashboard is only as good as its metric definitions
Every number must have a single, written, agreed definition: the formula, the filters, the grain, the timezone, the source, and the owner. If the dashboard's "active users" differs from the board deck's, people stop trusting both. Why: trust is the scarcest resource a dashboard has, and it is lost on the first unexplained discrepancy.
3. Hierarchy: the most important thing is the most visible thing
Readers scan top-left first (in left-to-right languages), and many look at only the top of the page. Put the few numbers that answer the primary question there, with context; put diagnostic detail below; put reference tables last or on separate pages. Why: a flat grid of equally sized tiles gives no guidance on what matters.
4. Numbers need context to mean anything
A tile reading "4,312" is useless. Compared with what? Show a comparison (previous period, same period last year, target, forecast) and direction. Make clear whether up is good. Why: context turns a number into a signal the reader can act on.
5. Freshness and trust are features
Show when the data was last updated, what period it covers, and any known issues. Fail visibly when the data is stale rather than showing old numbers as current. Why: an outdated dashboard that looks current causes worse decisions than no dashboard.
6. Fewer, better dashboards
Every dashboard has a maintenance cost: queries break, definitions drift, owners leave. Prefer extending a trusted dashboard to creating a new one, and retire dashboards that nobody opens. Why: dashboard sprawl produces contradictory numbers and wastes everyone's time finding the "right" one.
Process
Step 1 — Understand audience, decisions and cadence
Interview (or reason about) the users:
- Who will use it? Executives, managers, operators, analysts, customers (embedded analytics)? Their data fluency differs widely.
- What decisions or actions does it support? What would they do if a number moved?
- How often do they look — continuously (operations wall display), daily, weekly, monthly? This sets refresh frequency and the default time window.
- Where do they look — desktop, laptop, phone, TV wall, emailed snapshot, embedded in an app?
- What do they use today? Spreadsheets, existing reports, asking an analyst? The new dashboard must be better than that, and must reconcile with it.
Classify the dashboard type, because it sets the design:
| Type | Purpose | Design implications | |
|---|---|---|---|
| Strategic / executive | Track a few top metrics against targets over weeks and months | Few KPIs, trends and targets, minimal interaction, very high trust bar | |
| Operational | Monitor current state and act now (queues, incidents, inventory) | Real-time or near-real-time, thresholds and alerts, large readable numbers, exception highlighting | |
| Analytical / exploratory | Let analysts or managers investigate drivers | Rich filters, drill-downs, segment breakdowns, tolerance for complexity | |
| Tactical / team | Track a team's or initiative's metrics weekly | Funnel or process views, comparisons to plan, owner-specific |
Trying to serve all four in one dashboard produces something that serves none. Split by audience when necessary.
Step 2 — Write the questions and metric list
List the specific questions the dashboard answers, in priority order. For each, the metric(s) that answer it. Then cut: if a metric does not support a listed decision, leave it out (it can go in an analytical drill-down or a separate reference page).
A useful pattern for the primary metrics: one or a few headline metrics (outcomes the audience owns), a handful of driver metrics that explain movements in the headline (inputs, funnel steps, segments), and health / guardrail metrics that warn when something is breaking (error rates, data quality, costs).
Step 3 — Define every metric
For each metric, write down:
- Name as users will see it, and plain-language description.
- Formula, including numerator and denominator for ratios.
- Grain and aggregation (sum, distinct count, average of what).
- Filters and exclusions (test accounts, refunds, internal users, cancelled orders).
- Time semantics — by event date or processing date, timezone, how partial periods are shown, attribution windows.
- Source — table/model and owner.
- Direction — is up good, bad, or neither?
- Targets or thresholds, and where they come from.
Reuse existing definitions from the organisation's metric layer, semantic model or data dictionary wherever they exist. If you must create a new one, put it in the shared layer (semantic model, metrics store, dbt metric, documented view), not inside a single chart's query, so every consumer uses the same logic.
Reconcile each headline metric to the system of record (finance, billing, CRM) before launch and document any intended differences.
Step 4 — Model the data underneath
- Build dashboards on curated, documented models (views, tables, semantic layer) rather than raw tables queried ad hoc in each chart. This keeps definitions consistent and queries fast.
- Pre-aggregate to the grain the dashboard needs (daily by region by product, for example) when raw data is large; aggregate tables or materialised views make dashboards fast and cheap.
- Decide the refresh strategy: scheduled extracts, incremental refresh, live queries, streaming. Match it to the cadence — a weekly executive dashboard does not need live queries against production.
- Add data-quality checks upstream (see
data-cleaning-and-validation) so the dashboard can surface failures.
Step 5 — Sketch the layout before building
Sketch on paper or a wireframe tool (see wireframing-and-prototyping). A layout that tends to work:
- Top band: title, date range and key filters, freshness indicator; then headline KPIs with comparison and trend (e.g., a number, change vs comparison period, small sparkline).
- Middle: the main explanatory charts — trends of headline metrics, breakdowns by the most important dimension, funnel or process view.
- Lower: diagnostic breakdowns, segment comparisons, lists of exceptions needing action (e.g., the stores below target).
- Bottom or separate page: detailed tables, definitions, notes.
Group related items visually and label groups. Align to a grid. Keep a consistent time window across tiles unless clearly labelled otherwise. Make "what needs attention" pop out: highlight exceptions rather than everything.
Get the sketch reviewed by real users before building; changing a sketch costs minutes, changing a built dashboard costs days.
Step 6 — Build
- Use the chart form that fits each question (see
data-visualization). Common dashboard elements: KPI tiles with comparisons, time series lines, sorted bars for breakdowns, tables with conditional formatting for lists, bullet charts for actual vs target, heatmaps for hour × day patterns. - Consistent color semantics across the whole dashboard: one meaning per color. Reserve alert colors (often red/amber) for genuine exceptions; if everything is red, nothing is.
- Consistent number formats, units and time zones across tiles.
- Titles that say what the chart shows, including the time window if not global.
- Tooltips for precise values and definitions, but never hide essential information in them.
Step 7 — Filters, interactivity and drill-down
- Few global filters, placed consistently (usually top). Typical: date range, a primary dimension (region, product, team). More than ~5 filters suggests the dashboard is serving too many audiences.
- Sensible defaults. The default view should answer the main question with no clicks. Default to the period matching the cadence (last 7 complete days, last full month).
- Make filter state obvious. Users misread dashboards because a filter was set by someone else or persisted from last time. Show active filters clearly and offer a reset.
- Drill-down paths should follow the questions users ask next: from a KPI to its trend, to its breakdown by segment, to the list of underlying records. Each level should keep the context (filters) of the previous one.
- Cross-filtering (clicking one chart filters others) is powerful for analysts and confusing for casual users; enable it deliberately.
- Links out to the detailed analysis, the runbook, the ticket queue — dashboards should lead to action.
Step 8 — Performance
Slow dashboards are abandoned. Rules of thumb: initial load within a few seconds; filter changes within a couple of seconds. Techniques:
- Pre-aggregate; query summary tables, not event-level data.
- Limit the number of tiles per page (each is usually at least one query).
- Cache results; align cache expiry with data refresh.
- Avoid high-cardinality filters on raw data and unbounded date ranges by default.
- Push computation to the database; avoid pulling raw rows into the BI layer to compute there.
- Index or partition by the common filter columns (date, tenant).
- Measure: most BI tools and web profilers show per-query timings; fix the slowest first.
Step 9 — Validate, launch and maintain
- Validate numbers against the system of record and against the previous report it replaces. Document known, intended differences.
- Test with users: can they answer their questions without help? Watch them use it (see
usability-evaluation). - Document each metric's definition in or linked from the dashboard, plus owner and contact.
- Monitor usage (most BI tools report views per dashboard) and data freshness; alert the owner when refreshes fail.
- Review periodically: remove unused tiles, update targets, retire dashboards with no viewers.
Element-level guidance
KPI tiles
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dashboard-building/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmaruthi2002/universal-llm-skills/dashboard-building)