perses-query-builder
Perses Query Builder
Build and optimize queries for Perses dashboard panels.
Overview
This skill constructs, validates, and optimizes queries embedded in Perses panel definitions. It handles PromQL (Prometheus), LogQL (Loki), and TraceQL (Tempo) with correct variable interpolation and datasource binding. The workflow progresses through three phases: identifying query requirements, building the query with proper templating, and optimizing for performance and correctness.
Instructions
Phase 1: IDENTIFY
Goal: Determine query type, datasource, and variable context.
Blockers: Do not proceed if any of these are unresolved (because Perses requires them for runtime resolution and query validation):
- Datasource unknown — The target datasource name and kind have not been confirmed. Perses resolves datasources at runtime using the
kindandnamepair; queries cannot be validated without this.
More from notque/claude-code-toolkit
generate-claudemd
Generate project-specific CLAUDE.md from repo analysis.
12fish-shell-config
Fish shell configuration and PATH management.
12pptx-generator
PPTX presentation generation with visual QA: slides, pitch decks.
12codebase-overview
Systematic codebase exploration and architecture mapping.
10image-to-video
FFmpeg-based video creation from image and audio.
9data-analysis
Decision-first data analysis with statistical rigor gates.
9