build-dashboard
Skill này làm gì
Skill này xây một bảng điều khiển có thể tái sử dụng để theo dõi các con số kinh doanh hoặc sản phẩm theo thời gian. Skill dành cho các nhóm cần một góc nhìn chung về chỉ số chính thay vì các báo cáo một lần.
Khi nào nên dùng
- ✓Khi bạn cần một bảng điều khiển sẽ kiểm tra lại nhiều lần.
- ✓Khi bạn muốn các chỉ số có định nghĩa, bộ lọc và kiểm tra độ mới rõ ràng.
- ✓Khi bạn muốn một trang thể hiện kết quả chính và các yếu tố tác động đằng sau.
Liên kết skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-dashboard/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn một bảng điều khiển theo dõi doanh thu, tỷ lệ rời bỏ (churn) và số đăng ký hằng tuần, có bộ lọc theo khu vực.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent định nghĩa từng chỉ số, kiểm tra dữ liệu và sắp xếp trang từ tổng quan đến yếu tố tác động rồi đến chi tiết. Agent xây một trang HTML độc lập hoặc một ứng dụng Streamlit, tùy theo nhu cầu của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Define the audience, operating decision, monitoring cadence, and questions the dashboard must answer.
- Define each metric: formula, numerator/denominator, unit, grain, time window, filters, exclusions, owner, source, and freshness expectation.
- Validate joins, completeness, duplicates, missingness, comparability, and refresh status before presenting metrics as trustworthy.
- Design the information hierarchy:
- Overview and primary outcomes.
- Drivers and diagnostic cuts.
- Guardrails and risks.
- Detail tables or drill-down paths.
- Add only decision-relevant filters. Make default date ranges, segments, comparison periods, and filter state visible.
- Use
../visualize-data/SKILL.mdfor each chart and keep exact lookup values accessible in tables. - Show data freshness, source context, definitions, and material caveats in the dashboard.
- 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.
Câu hỏi thường gặp
Bảng điều khiển có thể được xây bằng gì?
Nó có thể dùng nền tảng BI có sẵn, Streamlit với Python, hoặc HTML và JavaScript thuần.
Có cần React không?
Không. Skill nói bảng điều khiển không cần React hay Vite.
Vì sao phải định nghĩa từng chỉ số trước?
Skill nói nên ghi lại công thức, nguồn và khoảng thời gian để các con số đáng tin.
Chi tiết
Mô tả gốc của tác giả
Build a source-backed dashboard or monitoring view with clear metrics, filters, visual hierarchy, definitions, refresh context, and QA.
repo: XiaomiMiMo/MiMo-Code
Độ phổ biến
- Sao GitHub
- 14k
- Vị trí xếp hạng
- #11309
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
effect
14kGiúp agent của bạn trả lời câu hỏi về framework TypeScript Effect bằng cách kiểm tra mã nguồn và tài liệu, thay vì dựa vào trí nhớ.
arxiv
14kGiúp agent của bạn tìm, đọc, trích dẫn và theo dõi các bài báo học thuật trên arXiv, gồm tóm tắt, trích dẫn BibTeX, tải PDF và liên kết trích dẫn.
claude-code
14kGiúp agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Claude Code, dưới dạng chạy một lần, phiên tương tác hoặc tác vụ nền.
codex
14kGiúp agent của bạn chạy công cụ dòng lệnh OpenAI Codex mà không cần cửa sổ chat, cho tác vụ lập trình, tập lệnh và quy trình tự động.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.