load-test

Generates and runs k6, Locust, or Artillery load tests with bottleneck analysis reports.

1|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/abdullah72005/skills --skill load-test-abdullah72005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-test
Source: https://github.com/abdullah72005/skills/tree/main/load-test/.claude/skills/load-test
Command: npx skills add https://github.com/abdullah72005/skills --skill load-test-abdullah72005

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It removes the manual effort of writing load test scripts and interpreting performance results by auto-detecting your API framework, generating realistic user behavior scenarios, executing ramp-up, sustained, spike, and stress test profiles, and producing a bottleneck analysis with optimization recommendations. ## Core Features & Use Cases - Automatic Framework and Tool Detection: Identifies Fastify, Express, NestJS, FastAPI, Flask, Django, Go, or Rails APIs and selects k6, Locust, or Artillery based on your stack. - Realistic Load Scenarios: Generates browsing, authenticated CRUD, search-heavy, and API consumer user flows with think times, test data, and pass/fail latency and error-rate thresholds. - Bottleneck Analysis Report: Runs four load profiles, finds the system breaking point, grades performance, and recommends fixes like caching, connection pooling, and query optimization. - Use Case: Before deploying a new FastAPI service, run this Skill to simulate peak traffic, discover that your search endpoint exceeds p95 latency under 5x load, and get concrete optimization recommendations. ## Quick Start Ask the AI to load test all critical API endpoints in this project and report any performance bottlenecks.

Frequently Asked Questions about load-test

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

FAQPage Schema
How do I load test my API with k6 or Locust?

Run this Skill against your project and it auto-detects your API framework, discovers endpoints, generates realistic user flows, and executes ramp-up, sustained, spike, and stress tests. It selects k6 for Node.js projects, Locust for Python, or Artillery as a general option.

k6 vs Locust vs Artillery for API load testing?

k6 uses JavaScript and offers strong performance for Node.js and TypeScript projects. Locust is Python-native and fits Python stacks. Artillery uses YAML configuration for quick setup on any project. The Skill picks based on your detected stack.

Does it work with FastAPI, Express, or Django APIs?

Yes, it detects Fastify, Express, NestJS, FastAPI, Flask, Django, Go frameworks, and Rails by scanning package.json, requirements.txt, go.mod, or Gemfile. It then discovers endpoints and classifies them by criticality before generating tests.

Can I run load tests against a production environment?

No, the Skill explicitly prohibits running load tests against production environments and requires confirming the target is a test or staging environment before stress tests. It also forbids using real user credentials or PII in test data.

What thresholds define a passing load test?

Default thresholds require HTTP error rate under 1%, p95 latency under 500ms, p99 under 2000ms, and median under 200ms. Thresholds adjust by endpoint type: reads are stricter at p95 under 200ms, writes allow 1000ms, and file uploads allow 5000ms.

What happens if the generated load tests fail?

The Skill runs a self-healing loop of up to 3 iterations, fixing test code bugs and re-running. If failures persist, it separates test bugs from genuine application bugs, fixes the former, and documents the latter in the report.