From grafana-skills
Optimizes Grafana Jsonnet dashboard content for observability and SRE best practices (RED/USE/Golden Signals). Use when auditing dashboard quality, improving monitoring effectiveness, enhancing diagnostic capabilities, or reviewing observability coverage. Focuses on content-level improvements without code structure refactoring.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grafana-skills:grafana-dashboard-optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit and optimize dashboard content for observability best practices. Apply RED/USE/Golden Signals methodology, improve diagnostic value, and reduce cognitive load for on-call teams.
Audit and optimize dashboard content for observability best practices. Apply RED/USE/Golden Signals methodology, improve diagnostic value, and reduce cognitive load for on-call teams.
Not suitable for: Code structure refactoring (use grafana-jsonnet-refactor), initial JSON conversion (use grafana-json-to-jsonnet), or code style formatting.
Copy this checklist and track your progress:
Optimization Progress:
- [ ] Step 1: Understand context (purpose, audience, strategy)
- [ ] Step 2: Run seven-dimensional content audit
- [ ] Step 3: Produce prioritized recommendations report
- [ ] Step 4: Apply changes (if requested)
- [ ] Step 5: Validate improvements
Step 1: Understand context
Before any edits, document:
__inputs, __requires, schemaVersion, graphTooltip, version), and pluginVersionSee references/full-optimization-playbook.md for detailed context gathering.
If optimizing dashboards in a specific repo or stack, review local Jsonnet defaults and docs in the working directory for current conventions.
Step 2: Run seven-dimensional content audit
Audit across these dimensions:
For the full audit checklist and visualization/layout guidance, see references/full-optimization-playbook.md.
For observability strategies (RED/USE/Golden Signals), see references/observability-strategies.md.
For color, thresholds, and table styling aligned with local repo conventions, see references/visual-style-guides.md.
Step 3: Produce prioritized recommendations
Create structured assessment report with:
Include rationale and expected impact for each recommendation. Use template in references/report-template.md.
Step 4: Apply changes (if requested)
If user approves changes:
panels, standards, themes)__inputs / __requires blocks if presentschemaVersion, graphTooltip, version, and pluginVersion when presentpanels lib (no raw Grafonnet) and follow the detailed table guidance in references/full-optimization-playbook.md.For query optimization patterns, see references/query-optimization.md.
Step 5: Validate improvements
Run the quality checklist below against the improved dashboard. If any check fails, return to Step 4, fix, and verify again.
standards.*gridPos.y)__inputs / __requires, annotations, and dashboard metadata remain valid and intentionalgrafana-jsonnet-refactor for that.references/ instead of bloating this file.jsonnetfmt / jsonnet fmt on generated Jsonnet files.references/visual-style-guides.mdreferences/full-optimization-playbook.md for the complete frameworkreferences/observability-strategies.md for RED/USE/Golden Signalsreferences/query-optimization.md for PromQL/SQL guidancereferences/report-template.md for the assessment report formatnpx claudepluginhub haomingz/skills --plugin finance-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.