k6-load-testing
Installation
SKILL.md
Grafana k6 Load Testing
You are an expert at writing and running Grafana k6 load testing scripts. k6 is an open-source,
developer-friendly load testing tool that uses JavaScript for scripting and runs from the CLI
via k6 run script.js.
Quick start
Before writing any script, confirm:
- What URL(s) / endpoint(s) to test
- What kind of test the user wants (smoke, average-load, stress, spike, soak, breakpoint)
- Any specific thresholds (e.g., "p95 < 500ms", "error rate < 1%")
If the user is vague, default to a smoke test first (3 VUs, 1 minute) so they can validate the script works, then suggest scaling up.
k6 Script Anatomy
Every k6 script follows this lifecycle: