JPeetz/agent-skills / skills/qa-testing/performance-testing
performance-testing
VerifiedUse this skill when planning, executing, or analyzing performance tests — load testing with k6, stress testing, soak/endurance testing, spike testing, Lighthouse CI for Core Web Vitals, performance budgets as CI gates, bottleneck identification, and capacity planning. Covers k6 scripting, thresholds, scenarios, browser-level metrics, and Lighthouse audit configuration.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 2.3 KB |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 19.6 KB |
| evals/evals.json | config | 2.9 KB |
| references/sources.md | markdown | 4.3 KB |
| scripts/k6-helpers.js | script | 4.0 KB |
evals/evals.json
View on GitHub{
"skill": "performance-testing",
"version": "1.0.0",
"cases": [
{
"id": "perf-001",
"description": "Write a k6 load test for a checkout API with SLO thresholds",
"input": "Write a k6 script to load test our checkout API. It should handle 500 requests per second and fail the build if p95 latency goes over 400ms or errors exceed 0.5%.",
"shouldTrigger": true,
"expect": "Agent produces a k6 script using an arrival-rate executor, explicit thresholds, tagged requests, and realistic think time",
"assertions": [
"Uses constant-arrival-rate or ramping-arrival-rate executor rather than only vus/duration",
"Defines thresholds with http_req_duration p(95)<400 and http_req_failed rate<0.005",
"Sets preAllocatedVUs and maxVUs appropriate to the rate",
"Tags requests by endpoint and adds check() assertions",
"Includes think time or explains why it is omitted",
"Exits non-zero on threshold breach for CI gating"
]
},
{
"id": "perf-002",
"description": "Set up Lighthouse CI performance budgets as a PR gate",
"input": "Add Lighthouse CI to our GitHub Actions pipeline and enforce Core Web Vitals budgets on pull requests.",
"shouldTrigger": true,
"expect": "Agent creates lighthouserc configuration with numeric assertions, budgets file, multiple runs, and a workflow step",
"assertions": [
"Creates lighthouserc.js (or .json) with ci.collect, ci.assert, ci.upload sections",
"Sets numberOfRuns >= 3 and median aggregation",
"Asserts largest-contentful-paint <= 2500 and cumulative-layout-shift <= 0.1",
"Uses total-blocking-time as the lab proxy for INP, not FID",
"Adds a performance budgets file limiting script/image/total KiB",
"Adds a GitHub Actions job running @lhci/cli autorun and uploading .lighthouseci artifacts"
]
},
{
"id": "perf-003",
"description": "Diagnose a latency problem found during a soak test",
"input": "Our soak test ran for 6 hours at 500 rps. Latency was flat for 3 hours then p95 climbed from 200ms to 2s while CPU stayed at 40%. What should we investigate?",
"shouldTrigger": true,
"expect": "Agent reasons about resource leaks, connection pools, and memory rather than recommending more load",
"assertions": [
"Identifies memory growth / GC pressure or a resource leak as the leading hypothesis",
"Mentions connection pool exhaustion or leaked connections/file descriptors",
"Recommends checking heap/RSS trends, GC pause metrics, and pool saturation over the run window",
"Correlates the inflection timestamp with deploys, cron jobs, or cache expiry",
"Notes that idle CPU with rising latency points away from raw compute saturation",
"Suggests a shorter reproducible test with the same ramp to confirm"
]
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |