running-load-tests-with-k6
Installation
SKILL.md
Running Load Tests with k6
This skill is the single source of truth for k6 load tests in the lenne.tech stack. It exists so every consumer (command, agent, reviewer) produces comparable scenarios with the same thresholds, the same auth flow, and the same optimisation ladder.
Goal: Prove the API is stable for 10 concurrent users performing many actions in a short time window — and surface concrete optimisation steps when it is not.
When to Use This Skill
| Caller | Phase | Trigger |
|---|---|---|
/lt-dev:production-ready |
Phase 3 | Mandatory load-test gate before sign-off |
lt-dev:production-readiness-orchestrator |
Phase 3 | Runs the scenarios, owns the optimisation loop |
lt-dev:performance-reviewer |
Phase 7 (optional) | Regression check vs baseline JSON |
| Manual user invocation | Ad-hoc | Reproducing a customer-reported slowness |
Step 1 — Ensure k6 is available
Detect first, install only when missing.