Grafana Dashboards

Use when designing Grafana dashboards for Prometheus metrics, service health, infrastructure, SLOs, or business KPIs.

9 stars 3 forksData & Analytics

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sandbaseai/workbuddy-skill --skill grafana-dashboards
Manual install
git clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/grafana-dashboards ~/.claude/skills/grafana-dashboards

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Grafana Dashboards

设计能帮助值班人员快速判断状态、趋势和行动的 Grafana 仪表盘。先明确受众、决策、数据源、时间范围和指标语义,再组织面板;仪表盘是观测入口,不应替代 runbook、告警路由或未经授权的生产操作。

## 使用边界

- 开始前确认 Grafana/数据源版本、目标受众、服务与环境范围、时区、刷新频率、数据保留、owner、SLO 和 runbook。
- 默认只读检查现有仪表盘、查询、变量、权限、告警和 provisioning;只在隔离环境导入或验证 JSON/YAML,不向未授权数据源查询或写入。
- 不擅自修改生产仪表盘、数据源、告警规则、通知联系人、文件 provisioning、Terraform state 或删除面板;变更需要授权、评审、备份和回滚方案。
- 查询、面板标题、变量值、标签和截图不得泄露 secret、token、完整请求、个人标识或租户隔离信息。

## 信息层级与信号

按从“是否需要行动”到“如何定位”的顺序布局:顶部放关键状态和 SLO/错误预算,随后是趋势,再放表格、分布和诊断细节。服务面板优先使用 RED:请求速率(Rate)、错误率(Errors)、延迟分位数(Duration);资源面板使用 USE:利用率(Utilization)、饱和度(Saturation)、错误(Errors)。每个面板说明单位、聚合、时间窗口、数据缺失含义和行动链接。

API 示例查询(指标名必须与实际契约一致):

```promql
sum(rate(http_requests_total{environment=~"$environment",service=~"$service"}[5m])) by (service)
sum(rate(http_requests_total{status_class="5xx",service=~"$service"}[5m]))
  / clamp_min(sum(rate(http_requests_total{service=~"$service"}[5m])), 1)
histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{service=~"$service"}[5m])) by (le, service))
```

不要把 `user_id`、request ID、原始 URL、任意错误文本等高基数或敏感值作为 dashboard 变量或 series 维度。零流量、缺失数据、counter reset、NaN 和低采样量必须有明确的显示语义,不能用“绿色”掩盖未知状态。

## 面板、变量与阈值

- Stat 适合单值状态,但同时展示时间范围、计算方式和 `lastNotNull` 等 reduce 语义;不要把单点值误当趋势。
- Time series 展示速率、错误率和 P50/P95/P99;统一单位、legend、颜色、排序和对数/线性轴选择。
- Table 适合实例、服务、版本和健康状态;Heatmap 适合延迟或大小分布,确认 Prometheus bucket 与 Grafana 数据格式匹配。
- 变量只提供有限 allowlist;查询变量要绑定授权的数据源和范围,依赖变量按 namespace/environment 等安全顺序刷新,多选时使用正确的正则匹配。
Read the full skill on GitHub

Details

Skill name
grafana-dashboards
Path
skills/grafana-dashboards/SKILL.md
License
MIT
Repo updated
8 September 2026

FAQ

What does the Grafana Dashboards skill do?

Use when designing Grafana dashboards for Prometheus metrics, service health, infrastructure, SLOs, or business KPIs.

How do I install the Grafana Dashboards skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill grafana-dashboards. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Grafana Dashboards popular?

It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.

Related skills

Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.