本文へスキップ
Skillpedia
分析とスプレッドシート16k · #10842

build-a-dashboard

できること

このスキルは、繰り返される本番の問いを、自動で更新されるダッシュボードに変えます。デプロイのたびに同じ数値を確認しているチーム向けです。

使う場面

  • ✓エラー率やサインアップ数など、本番の同じ数値を何度も確認しているとき。
  • ✓一回限りの問いではなく、繰り返し見るビューやレポートがほしいとき。
  • ✓デプロイがうまくいったかを示すダッシュボードがほしいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/build-a-dashboard/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“サービスごとのエラーのログ行と、最も遅いルートを示すダッシュボードを作って、ログを手作業で確認しなくて済むようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、まず既存のダッシュボードがないかを確認し、必要なログのフィールドが存在するかを確かめます。各パネルを、数値を返す問いとして下書きし、保存する前にダッシュボードを検証して、各パネルがデータを返すか確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.
よくある質問

一回限りの問いではなく、ダッシュボードを使うべきなのはいつですか?

毎日、またはデプロイごとに繰り返される問いにはダッシュボードを、それ以外は一回限りの問いを使うべきです。

既存のダッシュボードと重複しますか?

いいえ。新しく追加する前に、近いものを編集するかコピーするよう勧めます。

パネルに数値が表示されるかを確認しますか?

はい。完了前に、各パネルがデータを返すかを確認します。

詳細

作者による元の説明

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

人気

GitHubのスター
16k
ランキング
#10842
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル