load-test-builder

Generate load, performance, and stress tests with k6, Artillery, or autocannon.

1|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/zinohome/CozyChat --skill load-test-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-test-builder
Source: https://github.com/zinohome/CozyChat/tree/main/.claude/skills/load-test-builder
Command: npx skills add https://github.com/zinohome/CozyChat --skill load-test-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you create and execute load, performance, and stress tests for your systems, ensuring they can handle expected user traffic and identify bottlenecks before they impact users.

Core Features & Use Cases

  • Multiple Testing Frameworks: Supports k6, Artillery, and autocannon for diverse testing needs.
  • Scenario Definition: Define realistic user journeys and load patterns.
  • Thresholds & Metrics: Set performance goals and track key metrics like latency and error rates.
  • CI Integration: Automate performance testing within your CI/CD pipeline.
  • Use Case: You need to ensure your new API endpoint can handle 1000 requests per second without exceeding a 500ms response time. This Skill can generate a k6 script to simulate this load and report on its performance.

Quick Start

Use the load-test-builder skill to create a basic k6 load test script for your API.

Frequently Asked Questions about load-test-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate k6 load testing scripts for API performance validation?

You can generate k6 load testing scripts to simulate normal, high, spike, and soak traffic scenarios. This allows you to validate API performance under expected user loads and identify system bottlenecks before they impact production users.

What's the best way to automate stress testing within a CI pipeline?

Automating stress testing within a CI pipeline involves defining custom metrics and thresholds to act as performance gating. By generating scripts with k6, Artillery, or autocannon, you can ensure system validation occurs automatically during deployment.

Can I simulate different load patterns like spike and soak testing with Artillery?

Yes, you can simulate different load patterns including spike and soak testing with Artillery. This facilitates system validation under various traffic conditions by defining realistic user journeys and setting performance thresholds for error rates and latency.

How do I set performance thresholds and custom metrics for stress testing?

Setting performance thresholds and custom metrics for stress testing involves defining specific performance goals within your testing scripts. You can track key metrics like latency and error rates to ensure your system handles target requests per second without exceeding response limits.

Does this load testing approach support autocannon for high traffic simulation?

Yes, this load testing approach supports autocannon for high traffic simulation. It enables you to define realistic user journeys and track key metrics, ensuring your system handles expected traffic and identifies bottlenecks under heavy load.

When do I need to run stress testing instead of normal load testing?

You need to run stress testing instead of normal load testing when validating system behavior under extreme or sustained high traffic conditions. Stress testing pushes your system beyond expected limits to identify breaking points and bottlenecks before they impact users.