Agent skill · operations · yonatangross

testing-perf

Load and performance tests with k6 and Locust, plus pytest speed (xdist). Use when writing load tests or speeding up a test suite.

Why this skill is useful

Provides specific performance testing patterns and executable scripts for k6 and Locust that the AI wouldn't reliably generate on its own.

What it needs

Requires k6, locust installed locally. About 3k tokens when loaded. Last updated 2026-08-06. 215 stars on the source repository.

What this skill does

Performance & Load Testing Patterns Focused skill for performance testing, load testing, and pytest execution optimization. Covers k6, Locust, pytest-xdist parallel execution, custom plugins, and test type classification. Quick Reference Area File Purpose ------ ------ --------- k6 Load Testing rules/perf-k6.md Thresholds, stages, custom metrics, CI integration Locust Testing rules/perf-locust.md Python load tests, task weighting, auth flows Test Types rules/perf-types.md Load, stress, spike, soak test patterns Execution rules/execution.md Coverage reporting, parallel execution, failure analysis Pytest Markers rules/pytest-execution.md Custom markers, xdist parallel, worker isolation Pytest Plugins rules/pytest-plugins.md Factory fixtures, plugin hooks, anti-patterns k6 Patterns references/k6-patterns.md Staged ramp-up, authenticated requests, test types xdist Parallel references/xdist-parallel.md Distribution modes, worker isolation, CI config Custom Plugins references/custom-plugins.md conftest plugins, installable plugins, hook reference Perf Checklist checklists/performance-checklist.md Planning, setup, metrics, load patterns, analysis Pytest Checklist checklists/pytest-production-checklist.md Config, markers, parallel, fixtures, CI/CD Test Template scripts/test-case-template.md Full test case documentation template k6 Quick Start Set up a load test with thresholds and staged ramp-up: Run: k6 run --out json=results.json tests/load/api.js k6 v1.0+ (May 2025) — what changed Native TypeScript: k6 run tests/load/api.ts — no compilation step needed. Auto extension provisioning: k6 run pulls required extensions automatically; manual xk6 build is superseded for most workflows. Browser module import: import browser from 'k6/browser' — the old k6/experimental/browser path was removed in v0.52+. Any generated code using /experimental/ will fail. OTLP output built in: k6 run --out experimental-opentelemetry=... — stream results straight to your tracing backend. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills yonatangross/testing-perf

View the source on GitHub

Browse the @skills marketplace