By kimdoubleb
Generate k6 load test scripts from OpenAPI specs, API codebases like Express/NestJS/FastAPI/Django, HTTP/gRPC/WebSocket endpoints; design smoke/stress/spike scenarios with executors/thresholds; analyze metrics like p95/p99 response times/errors; configure CI/CD pipelines, Kubernetes distributed execution, and fault injection for resilient performance validation.
npx claudepluginhub kimdoubleb/grafana-k6-skills --plugin k6Use when interpreting k6 test output, analyzing performance metrics, identifying bottlenecks, tuning thresholds, or optimizing k6 test scripts. Use when the user has k6 test results and needs to understand response times, error rates, percentiles (p95, p99), or performance degradation patterns.
Use when designing k6 load profiles, choosing executors, configuring VU patterns, setting thresholds, or planning test scenarios. Use when the user asks about stress test, spike test, soak test, breakpoint test, load model, executor selection, or pass/fail criteria.
Use when creating k6 load test scripts for HTTP REST APIs, gRPC services, or WebSocket connections. Use when the user mentions load testing, performance testing, stress testing, API testing, or k6 script generation for protocol-level endpoints.
Use when creating k6 browser-based performance tests, testing frontend performance, measuring Web Vitals (LCP, FCP, CLS, INP, TTFB), or automating browser interactions for load testing. Use when the user mentions browser testing, page load testing, E2E performance, or Chromium-based testing with k6.
Use when analyzing an existing API codebase to auto-generate k6 load test scripts. Use when the user wants to create k6 tests from source code, route definitions, controllers, or middleware in frameworks like Express, NestJS, Spring Boot, FastAPI, or Django.
Use when generating k6 load test scripts from OpenAPI specification files (YAML or JSON). Use when the user has an OpenAPI spec, API specification, or wants to create k6 tests from API documentation defined in OpenAPI 3.0 or 3.1 format.
Use when setting up k6 in CI/CD pipelines (GitHub Actions, GitLab CI, Jenkins), configuring distributed testing with k6-operator on Kubernetes, or managing k6 extensions (xk6). Use when the user wants to automate performance tests in a pipeline or run distributed load tests.
Use when creating chaos engineering or resilience tests with k6 and xk6-disruptor. Use when the user wants to inject faults (pod failures, network delays, HTTP errors) into Kubernetes services during load tests, validate circuit breakers, or test system recovery behavior.
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimLoad test APIs with k6, Gatling, or Artillery
Load and stress testing for APIs and web services
QA skills for performance-testing domain.
Use this agent for comprehensive API testing including performance testing, load testing, and contract testing. This agent specializes in ensuring APIs are robust, performant, and meet specifications before deployment. Examples:\n\n<example>\nContext: Testing API performance under load
Use this agent for comprehensive API testing including performance testing, load testing, and contract testing. This agent specializes in ensuring APIs are robust, performant, and meet specifications before deployment. Examples:\n\n<example>\nContext: Testing API performance under load
Senior AQA Engineer persona with test strategy, E2E automation (Playwright, Cypress), API testing, performance testing (k6, JMeter), security testing, mobile testing, and CI integration expertise.
A Claude Code plugin that provides comprehensive skills for Grafana k6 load testing. Generate test scripts, design load scenarios, analyze results, and operate k6 infrastructure — all through natural language conversations.
This plugin extends Claude Code with 8 specialized skills covering the full k6 load testing lifecycle. Each skill contains curated reference documentation synthesized from official k6 docs, enabling Claude to generate accurate, production-ready k6 test scripts and configurations.
What this plugin helps you do:
| Skill | Description |
|---|---|
| generating-api-load-tests | Generate k6 scripts for HTTP/REST, gRPC, and WebSocket. Covers authentication, data parameterization, CRUD patterns, batch requests, and streaming. |
| generating-browser-tests | Create browser-based E2E performance tests using k6's Chromium module. Measure Core Web Vitals (LCP, FCP, CLS, INP, TTFB) and simulate user interactions. |
| generating-tests-from-code | Analyze existing API codebases (Express, NestJS, Spring Boot, FastAPI, Django) to auto-generate k6 tests. Detects authentication middleware and protected endpoints. |
| generating-tests-from-openapi | Generate k6 tests from OpenAPI 3.0/3.1 specifications. Extracts endpoints, parameters, request schemas, and security schemes to produce complete test suites. |
| Skill | Description |
|---|---|
| designing-test-scenarios | Design load profiles with the right executor (ramping-vus, constant-arrival-rate, etc.), configure multi-scenario orchestration, and set pass/fail thresholds. |
| analyzing-test-results | Interpret k6 output, analyze HTTP timing breakdowns, identify bottleneck patterns, and provide optimization recommendations. |
| Skill | Description |
|---|---|
| operating-k6-in-ci-cd | Set up k6 in CI/CD pipelines (GitHub Actions, GitLab CI, Jenkins), run distributed tests with k6-operator on Kubernetes, and manage xk6 extensions. |
| testing-resilience | Create chaos engineering tests using xk6-disruptor. Inject faults (HTTP errors, network delays, pod termination) into Kubernetes services during load tests. |
Install via Claude Code's plugin marketplace for automatic updates:
/plugin marketplace add KimDoubleB/grafana-k6-skills
/plugin install k6@KimDoubleB-grafana-k6-skills
After installation, the skills are available in all your Claude Code sessions.
Extract the skill folders manually:
git clone --depth 1 https://github.com/KimDoubleB/grafana-k6-skills.git /tmp/k6-skills-temp && \
mkdir -p ~/.claude/skills && \
cp -r /tmp/k6-skills-temp/plugins/grafana-k6-skills/skills/* ~/.claude/skills/ && \
rm -rf /tmp/k6-skills-temp
After installation, you can verify the plugin is loaded by asking Claude Code:
What k6 skills do you have available?
Skills are automatically activated when Claude detects a relevant context. You can also invoke them explicitly using the /k6:<skill-name> syntax.
Create a k6 load test for my REST API at https://api.example.com/users
that tests GET, POST, and DELETE endpoints with Bearer token authentication.
Or explicitly:
/k6:generating-api-load-tests
Generate a gRPC load test for the UserService with streaming support.
/k6:designing-test-scenarios
I need a stress test that gradually increases from 50 to 500 virtual users
over 10 minutes, holds for 30 minutes, then ramps down.
/k6:generating-tests-from-code
Analyze the Spring Boot API in this project and generate k6 load tests
for all REST endpoints, including authentication setup.
/k6:generating-tests-from-openapi