Individual skill
k6
Generate, validate, and review k6 test scripts — load, stress, spike, soak, smoke, breakpoint, functional, and protocol. Covers HTTP, WebSocket, gRPC, browser, all executors, thresholds, checks, custom metrics, the k6-testing library, k6 Cloud execution, and the xk6 extension ecosystem; uses the xk6-docs CLI (with grafana.com web fallback) for docs lookup and validates every script by running it. Use when writing, generating, validating, or debugging any k6 or load-test script (including plain-language asks like "load test this API" or "stress test my service"), choosing executors/scenarios, or setting thresholds. For end-to-end website performance suites use k6-perf-test-website; for documenting k6 itself use k6-docs; for a browser/UI test authored from a plain-language user journey (selectors discovered by exploring the live site) use k6-browser-test.
skills/grafana-k6/k6/SKILL.md
Source commit 8fb72a527961f05e708f53d2a0500709e12d7970
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 307
- Repository last updated
- Nov 9, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- testing Derived category
- design Derived category
- writing Derived category
- docs Derived category
- testing-browser Derived category
- design-interface Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SETUP.mddoc · 1,479 bytesSKILL.mdcore · 13,025 bytesSKILL.mdcore · 13,025 bytesSKILL.mdcore · 13,025 bytesSKILL.mdcore · 13,025 bytesSKILL.mdcore · 13,025 bytesbrowser-best-practices.mddoc · 6,775 bytesdocs-guidance.mddoc · 2,690 bytesexamples/browser.jsruns · 3,589 bytesexamples/cloud.jsruns · 2,178 bytesexamples/crypto-encoding.jsruns · 2,711 bytesexamples/executors.jsruns · 3,822 bytesexamples/ext-crawler.jsruns · 1,081 bytesexamples/ext-dns.jsruns · 1,368 bytesexamples/ext-exec.jsruns · 1,032 bytesexamples/ext-faker.jsruns · 1,301 bytesexamples/ext-redis.jsruns · 1,845 bytesexamples/ext-sql.jsruns · 2,184 bytesexamples/ext-tcp.jsruns · 1,600 bytesexamples/ext-tls.jsruns · 1,193 bytesexamples/functional.jsruns · 3,540 bytesexamples/grpc.jsruns · 2,422 bytesexamples/html.jsruns · 2,183 bytesexamples/http.jsruns · 3,737 bytesexamples/metrics.jsruns · 3,902 bytesexamples/websocket.jsruns · 1,963 bytes
Read excerpt
# k6 Script Generation
> **Efficiency note:** This is a short linear recipe (read example → adapt → save → validate → review). A todo list would just mirror the headings without adding value, so skip the planning overhead and execute the steps directly.
>
> **Agent-agnostic:** The steps below describe capabilities, not specific tools. Where a step says "fetch a URL" or "write a file", use whatever your agent provides for that capability (e.g. a web-fetch tool, a file-write tool, or shell `curl`/`tee`).
---
## Step 1: Pick the right example file
Read only the file that matches the user's request. Examples provide structural scaffolding — the correct scaffold, option shapes, and import patterns.
| User needs | Read this file |
|-----------|---------------|