
Promql Generator
This is a properly opinionated take on PromQL generation. Instead of just spitting out queries, it walks you through an interactive planning workflow: understand what you're monitoring, identify your metrics and labels, set parameters like time ranges and thresholds, then present a plain-English plan before writing any code. It's designed to catch the common mistakes (like using rate() on gauges or averaging quantiles) and ensure the query actually matches what you need. If you're building Grafana dashboards or Prometheus alerts and want to avoid the typical trial-and-error cycle of PromQL, this handles the thinking part before the syntax part. The workflow might feel slow if you just want a quick query, but that's the point.
- skills.sh installs
- 656
- GitHub stars
- 337
- last updated
- Aug 21, 2026
Install
$ npx -y skills add akin-ozer/cc-devops-skills --skill promql-generator --agent claude-codeInstalls into .claude/skills of the current project.
Files
PromQL Query Generator
Overview
This skill provides a comprehensive, interactive workflow for generating production-ready PromQL queries with best practices built-in. Generate queries for monitoring dashboards, alerting rules, and ad-hoc analysis with an emphasis on user collaboration and planning before code generation.
When to Use This Skill
Invoke this skill when:
- Creating new PromQL queries from scratch
- Building monitoring dashboards (Grafana, Prometheus UI, etc.)
- Implementing alerting rules for Prometheus Alertmanager
- Analyzing metrics for troubleshooting or capacity planning
- Converting monitoring requirements into PromQL expressions
- Learning PromQL or teaching others
- The user asks to "create", "generate", "build", or "write" PromQL queries
- Working with Prometheus metrics (counters, gauges, histograms, summaries)
- Implementing RED (Rate, Errors, Duration) or USE (Utilization, Saturation, Errors) metrics
Interactive Query Planning Workflow
CRITICAL: This skill emphasizes interactive planning before query generation. Always engage the user in a collaborative planning process to ensure the generated query matches their exact intentions.
Sponsors
Details
- Repository
- github.com/akin-ozer/cc-devops-skills
- Categories
- DevOps & CI/CD, Automation & Workflows, Video & Audio Editing
- First seen
- Jun 3, 2026
More from akin-ozer/cc-devops-skills
All 31- Promql Validator646
- Fluentbit Generator640
- Logql Generator640
- Fluentbit Validator637
- Loki Config Generator622
- Ansible Validator1.6K
- Terragrunt Generator1.2K
- Ansible Generator907
- K8s Debug887
- Jenkinsfile Generator862
- Dockerfile Validator786
- Dockerfile Generator741
- Bash Script Validator734
- Gitlab Ci Validator725
- K8s Yaml Validator715
- Helm Validator712
- Bash Script Generator710
- Jenkinsfile Validator706
- Terragrunt Validator703
- K8s Yaml Generator694
- Azure Pipelines Generator692
- Github Actions Validator686
- Gitlab Ci Generator686
- Github Actions Generator684