Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính16k · #10842

build-a-dashboard

Skill này làm gì

Skill này biến một câu hỏi lặp lại về production thành dashboard tự làm mới. Dành cho nhóm liên tục kiểm tra cùng một chỉ số sau mỗi lần triển khai.

Khi nào nên dùng

  • ✓Khi bạn liên tục kiểm tra cùng một chỉ số production, như tỷ lệ lỗi hoặc số đăng ký.
  • ✓Khi bạn muốn một góc nhìn hoặc báo cáo định kỳ thay vì các câu hỏi một lần.
  • ✓Khi bạn muốn một dashboard cho thấy lần triển khai có ổn hay không.

Liên kết skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/build-a-dashboard/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/build-a-dashboard/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Xây một dashboard hiển thị các dòng lỗi theo dịch vụ và các route chậm nhất, để tôi không phải tự kiểm tra log bằng tay nữa.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra trước xem đã có dashboard nào chưa, xác nhận các trường log cần dùng đã tồn tại, rồi soạn mỗi bảng thành một câu hỏi có một con số. Nó kiểm tra dashboard trước khi lưu và xác nhận mỗi bảng trả về dữ liệu.

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.

A dashboard is a saved question

A Sazabi dashboard is a page of live panels, each running a log query when the dashboard opens. Build one for questions that come back every day or every deploy; answer one-off questions with sazabi/logs.ask instead.

0. How the tools work

The Sazabi MCP server lists only two tools, search and execute. Browse Sazabi's operations with search and namespace: "sazabi" (an empty query without a namespace lists connected connectors, not Sazabi operations). Before calling one, repeat search with namespace: "sazabi", the hit's full name as the query, and includeInputSchema: true to load its arguments. Then run it with execute as { name, arguments }, the name copied from the hit (for example sazabi/logs.ask). Dashboard operations: sazabi/dashboards.list, .get, .validate, .create, .update, .render, .delete.

1. Check what exists

Run sazabi/dashboards.list. Every project has built-in dashboards (issues and alerts, log health) that can't be edited but can be copied. If a close match exists, propose editing or copying it rather than adding another.

2. Find the real fields

Pin down each panel as a question with a number: "error lines by service per 15 minutes", "p95 request duration by route". Use sazabi/logs.ask to confirm the logs actually carry the fields each panel needs (service, route, duration, event name). If a signal isn't in the logs, leave that panel out and say what would provide it, for example the add-logging skill. Never invent a field.

3. Write, validate, save

A dashboard is one MDX document: a DashboardMeta block (title, description, default time range) and a grid of panels, each with an inline log query. A panel's query never names a time range; the dashboard supplies it. Copy the document shape from dashboards.validate and from an existing dashboard via dashboards.get.

Run sazabi/dashboards.validate and fix every diagnostic (each names its line and a repair hint), then sazabi/dashboards.create. Generate the dashboard id yourself and reuse it if you retry. To change a dashboard, dashboards.get it, edit the whole document, and dashboards.update with the edit base it returned. If the update is rejected because someone saved a newer revision, re-read and re-apply; don't overwrite.

4. Prove it renders

Run sazabi/dashboards.render over the default window and check every panel returns ok, not empty or rejected. Fix or drop panels that don't. Reply with the dashboard link and one line per panel.

Anti-patterns

  • Twenty panels. Five panels that answer the question beat twenty that don't.
  • Deleting shared dashboards. A delete removes it for the whole project and can't be undone; ask first.
  • Shipping an empty panel. A panel that renders "No data" on day one teaches people to ignore the dashboard.
Câu hỏi thường gặp

Khi nào nên dùng dashboard thay vì câu hỏi một lần?

Dùng dashboard cho các câu hỏi lặp lại mỗi ngày hoặc mỗi lần triển khai, còn lại thì dùng câu hỏi một lần.

Nó có tạo trùng với dashboard hiện có không?

Không. Nó gợi ý chỉnh sửa hoặc sao chép một dashboard gần giống trước khi thêm cái mới.

Nó có xác nhận các bảng hiển thị số liệu không?

Có. Nó xác nhận mỗi bảng trả về dữ liệu trước khi hoàn tất.

Chi tiết

Mô tả gốc của tác giả

Turn a question the user keeps asking about production (error rates, latency, signups, cost) into a saved Sazabi dashboard built from live log queries — check the fields exist, validate before saving, and confirm every panel returns data. Use when the user asks for a dashboard, a recurring view or report, or says they keep checking the same numbers.

repo: ParadevAI/Paradev

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10842
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự