跳到正文
Skillpedia
分析与电子表格14k · #11309

build-dashboard

它能做什么

这项技能构建一个可重复使用的仪表板,用于随时间跟踪业务或产品数字。适合需要共享关键指标视图、而不是一次性报告的团队。

适用场景

  • ✓当你需要一个会反复查看的仪表板的时候。
  • ✓当你希望指标具有清晰的定义、筛选器和数据新鲜度检查的时候。
  • ✓当你希望一个页面展示主要成果及其背后驱动因素的时候。

技能链接

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-dashboard/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-dashboard/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想要一个仪表板,跟踪每周收入、流失率和注册人数,并可以按地区筛选。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会定义每个指标、检查数据,并把页面从概览、驱动因素到细节依次组织起来。根据你的需求,它会构建独立的 HTML 页面或 Streamlit 应用。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Build a Dashboard

Use this workflow when the user needs a reusable monitoring or exploration surface rather than a one-time report. Read the relevant analysis and KPI workflows first when metric definitions or decision logic are not already settled.

Select a portable surface

Honor the user's destination. Otherwise choose the simplest surface supported by the harness:

  • Existing BI/product analytics platform when the user wants a governed shared dashboard there.
  • Streamlit when Python execution and local/server operation are appropriate; read specifications/streamlit-dashboard.md.
  • Self-contained plain HTML/CSS/vanilla JavaScript for a portable local dashboard; read specifications/html-dashboard.md.

Do not require React, Vite, Recharts, MCP Apps, or widget runtimes.

Workflow

  1. Define the audience, operating decision, monitoring cadence, and questions the dashboard must answer.
  2. Define each metric: formula, numerator/denominator, unit, grain, time window, filters, exclusions, owner, source, and freshness expectation.
  3. Validate joins, completeness, duplicates, missingness, comparability, and refresh status before presenting metrics as trustworthy.
  4. Design the information hierarchy:
    • Overview and primary outcomes.
    • Drivers and diagnostic cuts.
    • Guardrails and risks.
    • Detail tables or drill-down paths.
  5. Add only decision-relevant filters. Make default date ranges, segments, comparison periods, and filter state visible.
  6. Use ../visualize-data/SKILL.md for each chart and keep exact lookup values accessible in tables.
  7. Show data freshness, source context, definitions, and material caveats in the dashboard.
  8. Implement and test the real artifact with representative, empty, partial, and error states when feasible.

QA and handoff

  • Reconcile displayed totals and KPIs against reviewed source results.
  • Test filters, date boundaries, sorting, responsive layout, and refresh behavior.
  • Check chart labels, units, legends, accessibility, and table readability.
  • Ensure the artifact does not expose secrets, credentials, unnecessary personal data, or temporary local paths.
  • Deliver the dashboard artifact or governed platform link plus metric definitions, source/query files, refresh instructions, and known limitations.
常见问题

仪表板可以用什么构建?

可以使用现有的 BI 平台、使用 Python 的 Streamlit,或普通的 HTML 和 JavaScript。

它需要 React 吗?

不需要。这项技能说明仪表板不需要 React 或 Vite。

为什么要先定义每个指标?

这项技能要求写明公式、数据来源和时间范围,以便数字可以被信任。

详情

作者的原始描述

Build a source-backed dashboard or monitoring view with clear metrics, filters, visual hierarchy, definitions, refresh context, and QA.

repo: XiaomiMiMo/MiMo-Code

热度

GitHub 星标
14k
排名
#11309
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能