Skip to content
Back to skills

Load Test Generator

ASecurity

Generate load test scripts for k6, Locust, and Gatling from OpenAPI specs

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 2, 2026
ai-agentsjavascriptjavabashtestingapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill load-test-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Load Test Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Load Test Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-load-test-generator-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-load-test-generator-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: load-test-generator
description: Generate load test scripts for k6, Locust, and Gatling from OpenAPI specs
allowed-tools:
  - Bash
  - Read
  - Write
  - Glob
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:software-architecture]
  skillAreas: [skill-area:performance-testing, skill-area:scalability-testing]
  roles: [role:sre, role:qa-engineer]
  workflows: [workflow:feature-development]
  topics: [topic:chaos-engineering]

---

# Load Test Generator Skill

## Overview

Generates load test scripts for k6, Locust, and Gatling including test scenarios from OpenAPI specifications and performance validation patterns.

## Capabilities

- Generate k6 load test scripts
- Locust test generation
- Gatling scenario creation
- Test scenario from OpenAPI spec
- Ramp-up/ramp-down patterns
- Think time configuration
- Virtual user modeling
- Threshold configuration

## Target Processes

- performance-optimization
- resilience-patterns
- migration-strategy

## Input Schema

```json
{
  "type": "object",
  "required": ["scenarios"],
  "properties": {
    "scenarios": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "endpoints": { "type": "array" },
          "load": {
            "type": "object",
            "properties": {
              "vus": { "type": "number" },
              "duration": { "type": "string" },
              "rampUp": { "type": "string" }
            }
          }
        }
      }
    },
    "framework": {
      "type": "string",
      "enum": ["k6", "locust", "gatling", "artillery"],
      "default": "k6"
    },
    "openapiSpec": {
      "type": "string",
      "description": "Path to OpenAPI spec for auto-generation"
    },
    "options": {
      "type": "object",
      "properties": {
        "thresholds": {
          "type": "object",
          "properties": {
            "p95ResponseTime": { "type": "number" },
            "errorRate": { "type": "number" }
          }
        },
        "thinkTime": {
          "type": "object",
          "properties": {
            "min": { "type": "number" },
            "max": { "type": "number" }
          }
        },
        "dataFile": {
          "type": "string",
          "description": "Path to test data CSV"
        }
      }
    }
  }
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "scripts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "path": { "type": "string" },
          "framework": { "type": "string" }
        }
      }
    },
    "configFile": {
      "type": "string"
    },
    "runCommand": {
      "type": "string"
    },
    "thresholds": {
      "type": "object"
    }
  }
}
```

## Usage Example

```javascript
{
  kind: 'skill',
  skill: {
    name: 'load-test-generator',
    context: {
      scenarios: [
        {
          name: 'smoke-test',
          endpoints: ['/api/health', '/api/users'],
          load: { vus: 10, duration: '1m', rampUp: '10s' }
        }
      ],
      framework: 'k6',
      options: {
        thresholds: {
          p95ResponseTime: 500,
          errorRate: 0.01
        }
      }
    }
  }
}
```

Files in this skill

  • README.md377 B
  • SKILL.md3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.