locust-best-practices

Installation
SKILL.md

Locust Scenario Builder

Enforces a consistent, production-ready pattern for Locust load test scripts in Python, covering HTTP/REST APIs with realistic user behavior, custom load shapes, and proper response validation.

Output Format

When producing or fixing a locustfile, always deliver three things:

  1. A complete, runnable locustfile — never a partial snippet.
  2. The exact run command with all flags needed (--headless, -u, -r, -t, --host).
  3. A one-line explanation of the wait_time strategy chosen and why it fits the load goal.

Step 1 — Gather Context

Ask only what is unknown:

Related skills
Installs
1
GitHub Stars
5
First Seen
Mar 29, 2026