yonatangross/orchestkit/testing-perf
Claude Code and agent skill by yonatangross/orchestkit
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Load and performance tests with k6 and Locust, plus pytest speed (xdist). Use when writing load tests or speeding up a test suite.
Install
npx vskill@latest install yonatangross/orchestkit/testing-perfSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as yonatangross/orchestkit/testing-perf.
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 runpulls required extensions automatically; manualxk6 buildis 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.
Performance Test Types
| Type | Duration | VUs | Purpose | When to Use | |
|---|---|---|---|---|---|
| Load | 5-10 min | Expected traffic | Validate normal conditions | Every release | |
| Stress | 10-20 min | 2-3x expected | Find breaking point | Pre-launch | |
| Spike | 5 min | Sudden 10x surge | Test auto-scaling | Before events | |
| Soak | 4-12 hours | Normal load | Detect memory leaks | Weekly/nightly |
pytest Parallel Execution
Speed up test suites with pytest-xdist:
Worker Database Isolation
When running parallel tests with databases, isolate per worker:
Key Thresholds
| Metric | Target | Tool | |
|---|---|---|---|
| p95 response time | < 500ms | k6 | |
| p99 response time | < 1000ms | k6 | |
| Error rate | < 1% | k6 / Locust | |
| Business logic coverage | 90% | pytest-cov | |
| Critical path coverage | 100% | pytest-cov |
Decision Guide
| Scenario | Recommendation | |
|---|---|---|
| JavaScript/TypeScript team | k6 for load testing | |
| Python team | Locust for load testing | |
| Need CI thresholds | k6 (built-in threshold support) | |
| Need distributed testing | Locust (built-in distributed mode) | |
| Slow test suite | pytest-xdist with -n auto | |
| Flaky parallel tests | --dist loadscope for fixture grouping | |
| DB-heavy tests | Worker-isolated databases with worker_id |
Related Skills
ork:testing-unit— Unit testing patterns, pytest fixturesork:testing-e2e— End-to-end performance testing with Playwrightork:performance— Core Web Vitals and optimization patterns
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/testing-perf/SKILL.md
Popularity
- Repository stars
- 305
- Repository forks
- 40
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yonatangross/orchestkit/testing-perf)