Communitygithub.com

儀表板建置器

為 Grafana、SigNoz 等平台建置能回答實際運維問題的監控儀表板。當需要將指標轉換為可運作的儀表板,而非華而不實的展示板時使用。

儀表板建置器 是什麼?

此技能旨在引導使用者建置真正有助於維運的監控儀表板,而非單純陳列所有指標。它從運維人員的實際問題出發(例如系統是否健康、瓶頸在哪裡、有什麼變化、該採取什麼行動),並提供一套結構化的流程:定義運維問題、研究目標平台的 JSON 結構與查詢語言,然後建置最小可用儀表板。最後還建議刪除任何無法回答實際問題的「虛榮面板」。支援 Grafana、SigNoz 等主流監控平台,並提供 Elasticsearch、Kafka 及 API 閘道器等多種範例面板組。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/dashboard-builder

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

儀表板建置器 是做什麼的?

當任務是建置一個可供運維人員操作的儀表板時使用。

目標不是「顯示每個指標」,目標是回答:

  • 系統健康嗎?
  • 瓶頸在哪裡?
  • 什麼變了?
  • 應該採取什麼行動?

使用時機

  • "建置 Kafka 監控儀表板"
  • "為 Elasticsearch 建立 Grafana 儀表板"
  • "為此服務建立 SigNoz 儀表板"
  • "將這個指標清單轉換為真正的運維儀表板"

準則

  • 不要從視覺佈局開始;要從運維問題開始
  • 不要因為某個指標存在就包含它
  • 不要將健康、吞吐量和資源面板混雜在一起而不加結構
  • 不要發送沒有標題、單位和合理閾值的面板

工作流程

1. 定義運維問題

圍繞以下方面組織:

  • 健康 / 可用性
  • 延遲 / 效能
  • 吞吐量 / 體積
  • 飽和度 / 資源
  • 服務特定的風險

2. 研究目標平台架構

首先檢查現有儀表板:

  • JSON 結構
  • 查詢語言
  • 變數
  • 閾值樣式
  • 區段佈局

3. 建置最小可用儀表板

推薦結構:

  1. 概述
  2. 效能
  3. 資源
  4. 服務特定區段

4. 刪除虛榮面板

每個面板都應該回答一個實際問題。如果不能,就刪除它。

範例面板組

Elasticsearch

  • 叢集健康狀態
  • 分片分配
  • 搜尋延遲
  • 索引速率
  • JVM 堆疊 / GC

Kafka

  • 代理程式數量
  • 副本不足的分區
  • 訊息進 / 出
  • 消費者滯後
  • 磁碟與網路壓力

API 閘道器 / 入口

  • 請求速率
  • p50 / p95 / p99 延遲
  • 錯誤率
  • 上游健康狀態
  • 活躍連線數

品質檢查清單

  • 有效的儀表板 JSON
  • 清晰的區段分組
  • 標題和單位已存在
  • 閾值 / 狀態顏色有意義
  • 存在常見篩選條件的變數
  • 預設時間範圍和重新整理間隔合理
  • 沒有對運維無價值的虛榮面板

相關技能

  • research-ops
  • backend-patterns
  • terminal-ops

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相關技能