Design and apply Grafana dashboard variables and templating. Use when creating or debugging query, custom, text box, constant, data source, interval, ad hoc filter, or switch variables, wiring variables into PromQL, configuring chained variables, or setting up repeating panels or rows whose behavior depends on variable selection.
Use variables to make dashboards navigable and reusable without hiding what the query is doing. Keep the variable model explicit because it changes query semantics, panel titles, repeat behavior, and dashboard cost.
Use this skill when the dashboard problem is primarily about:
All, or time-aware lists.All, multi-value expansion, and dependency refresh behavior.references/variable-types.md -> variable types, chained variables, and when Grafana globals matter.references/variable-syntax-and-formatting.md -> interpolation forms and the formatter subset this skill should teach.references/promql-variable-patterns.md -> Prometheus-specific variable queries and PromQL interpolation rules.references/repeating-panels-and-rows.md -> prerequisites, layout constraints, and repeat caveats.references/variable-debugging.md -> preview values, dependencies, ad hoc filters, and repeat failures.Return the proposed variable design, the exact interpolation pattern to use, the query and title implications, and any repeat or performance tradeoff that materially affects the dashboard.