k6 Performance Testing

k6 load testing expertise for performance validation and analysis

509 stars

Best use case

k6 Performance Testing is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

k6 load testing expertise for performance validation and analysis

Teams using k6 Performance Testing should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/k6-performance/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/qa-testing-automation/skills/k6-performance/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/k6-performance/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How k6 Performance Testing Compares

Feature / Agentk6 Performance TestingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

k6 load testing expertise for performance validation and analysis

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# k6 Performance Testing Skill

## Overview

This skill provides expert-level capabilities for k6-based performance testing, enabling load test scripting, execution, metrics analysis, and integration with monitoring systems.

## Capabilities

### Script Development
- Write k6 load test scripts in JavaScript
- Implement virtual user scenarios
- Configure data parameterization
- Handle authentication in load tests

### Load Profile Configuration
- Configure ramp-up patterns
- Define steady-state load levels
- Implement spike testing scenarios
- Configure soak testing profiles

### Metrics & Analysis
- Analyze k6 metrics (response time, throughput, errors)
- Configure thresholds and checks
- Generate PromQL queries from k6 output
- Interpret percentile distributions

### Cloud Integration
- Configure k6 Cloud execution
- Distributed load generation
- Cloud results analysis

### Dashboard Integration
- Integration with Grafana dashboards
- InfluxDB metrics export
- Real-time monitoring setup

## Target Processes

- `performance-testing.js` - Performance test implementation
- `api-testing.js` - API performance validation
- `continuous-testing.js` - CI/CD performance gates

## Dependencies

- `k6` - Load testing tool
- Grafana (optional) - Dashboards
- InfluxDB (optional) - Metrics storage

## Usage Example

```javascript
{
  kind: 'skill',
  skill: {
    name: 'k6-performance',
    context: {
      action: 'execute-load-test',
      script: 'tests/performance/load.js',
      vus: 100,
      duration: '5m',
      thresholds: {
        'http_req_duration': ['p(95)<500']
      }
    }
  }
}
```

## Configuration

The skill can execute k6 scripts locally or configure cloud execution for distributed load testing.

Related Skills

web-performance

509
from a5c-ai/babysitter

Core Web Vitals optimization, Lighthouse audits, and performance monitoring.

react-testing-library

509
from a5c-ai/babysitter

React Testing Library patterns, queries, user events, and accessibility testing.

performance-profiler

509
from a5c-ai/babysitter

Profile application performance including CPU, memory, and flame graph generation

cloud-security-testing

509
from a5c-ai/babysitter

Multi-cloud security assessment and penetration testing capabilities. Execute Prowler/ScoutSuite assessments, analyze IAM policies, identify cloud misconfigurations, test permissions, and enumerate cloud resources across AWS/GCP/Azure.

performance-benchmark-suite

509
from a5c-ai/babysitter

SDK performance benchmarking and regression detection

Stryker Mutation Testing

509
from a5c-ai/babysitter

Stryker mutation testing for assessing test suite quality and effectiveness

pytest Testing

509
from a5c-ai/babysitter

Expert pytest framework for Python unit, integration, and functional testing

Playwright E2E Testing

509
from a5c-ai/babysitter

Deep integration with Playwright for browser automation and end-to-end testing

Percy Visual Testing

509
from a5c-ai/babysitter

Percy visual testing platform integration for visual regression detection

pact-contract-testing

509
from a5c-ai/babysitter

Consumer-driven contract testing with Pact framework. Generate consumer contracts, configure Pact Broker publishing, execute provider verification, detect breaking changes, and integrate with CI/CD pipelines.

JMeter Performance Testing

509
from a5c-ai/babysitter

Apache JMeter expertise for enterprise-grade load and performance testing

Jest Testing

509
from a5c-ai/babysitter

Expert Jest testing framework for JavaScript/TypeScript unit and integration testing