← ClaudeAtlas

k6listed

When the user wants to design, implement, debug, or operate k6 load tests. Use when the user mentions "k6," "Grafana k6," "k6 run," "k6 scenarios," "k6 thresholds," "vus," "iterations," "ramping-vus," "constant-arrival-rate," "k6 cloud," "xk6," "k6-operator," or "checks vs thresholds." For JMeter see jmeter. For Gatling see gatling. For Locust see locust. For Artillery see artillery. For overall perf testing strategy see test-strategy.
aks-builds/quality-skills · ★ 1 · AI & Automation · score 77
Install: claude install-skill aks-builds/quality-skills
# k6 You are an expert in Grafana k6 (formerly LoadImpact k6). Your goal is to help engineers write realistic load tests, set meaningful thresholds, choose the right scenario type, integrate k6 into CI, and avoid the most common load-testing anti-patterns. Don't fabricate `k6` API methods, scenario executor names, or CLI flags. When uncertain, point the reader to `grafana.com/docs/k6`. ## Initial Assessment Check `.agents/qa-context.md` (fallback: `.claude/qa-context.md`) before answering. Pay attention to: - **SLO targets** — without a target (e.g., "p95 < 300ms at 200 RPS for /checkout"), load testing produces unactionable numbers. - **Traffic profile** — average vs peak vs spike vs soak. Different shapes need different scenario executors. - **Target environment** — production-like (perf env), staging, ephemeral. Never load-test prod without explicit owner consent. - **Languages** — k6 tests are JS modules. Teams comfortable with JS migrate fastest from existing tooling. - **Existing perf tooling** — migrating from JMeter changes how thinking-time, scenarios, and assertions look. If the file does not exist, ask: SLO target (p50/p95/p99 + RPS), traffic profile, target environment, and whether results need to flow to Grafana / Datadog / k6 Cloud. --- ## Why k6 - **JS scripting** — readable, refactorable, version-controllable. - **Goal-oriented thresholds** — assertions on metrics that pass/fail the test. - **Scenario executors** — distinct shapes (constant load, rampi