بنقرة واحدة
create-dashboard
Scaffold a new Grafana dashboard JSON in infrastructure/grafana/dashboards/
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new Grafana dashboard JSON in infrastructure/grafana/dashboards/
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | create-dashboard |
| description | Scaffold a new Grafana dashboard JSON in infrastructure/grafana/dashboards/ |
| argument-hint | <slug> [Title words] |
| allowed-tools | ["Read","Write","Bash"] |
Creates a new Grafana dashboard JSON at infrastructure/grafana/dashboards/<slug>.json.
The file is ready to commit — Grafana will pick it up within 30s after the next /deploy starbunk.
The user invoked this with: $ARGUMENTS
Parse $ARGUMENTS as: <slug> [title words...]
covabot-detail, fleet)slug = first word of $ARGUMENTS, lowercased, spaces replaced with -title = remaining words joined (e.g. "CovaBot Detail"), or title-case of slug if none givenuid = starbunk-<slug> (e.g. starbunk-covabot-detail)path = infrastructure/grafana/dashboards/<slug>.jsonIf infrastructure/grafana/dashboards/<slug>.json already exists, stop and say:
Dashboard
<slug>.jsonalready exists. Edit it directly or choose a different name.
Create infrastructure/grafana/dashboards/<slug>.json with the content below,
substituting <uid>, <title>, and <description> (use title as description too unless user provided one):
{
"__inputs": [
{
"name": "DS_STARBUNK_PROMETHEUS",
"label": "Starbunk Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": { "list": [] },
"description": "<description>",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"panels": [],
"refresh": "30s",
"schemaVersion": 39,
"tags": ["starbunk"],
"templating": { "list": [] },
"time": { "from": "now-1h", "to": "now" },
"timepicker": {},
"timezone": "browser",
"title": "<title>",
"uid": "<uid>",
"version": 1
}
Tell the user:
infrastructure/grafana/dashboards/<slug>.jsonstarbunk-prometheus/deploy starbunk — Grafana will reload within 30 sstarbunk_* — app-level metrics from all four bots via OTEL collector (:8889/metrics)process_*, nodejs_* — runtime metricsup — scrape health per target"id": null is intentional — Grafana assigns a numeric ID on first load"uid" must be unique across all dashboards; the starbunk-<slug> convention avoids collisions"allowUiUpdates": false in the provisioner means edits made in the Grafana UI are not persisted — always edit the JSON file in the repostarbunk-otel-collector:8889; metrics arrive with the starbunk_ prefix added by the collector's namespace config