Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

slo-load-test-plan

БесплатноБез исполняемых скриптовНе проверен

Use when SLOs and an endpoint list exist but nobody has decided which load tests to run, what load each carries or what counts as failure. Turns each SLO into…

testlandот testland★ 18 звёзд на GitHub

Об этом скилле

slo-load-test-plan

Produces one artifact: a load-test plan in which every scenario has a name, a load shape, an injection model, and a pass/fail line traceable to a stated SLO.

What this skill owns, and what it does not

Owned here Owned elsewhere
Which scenarios exist, and why each one exists Nothing
The load shape each scenario applies (profile, ramp, plateau, injection model) Nothing
The pass/fail line each scenario carries, expressed as a threshold derived from an SLO Nothing
The error budget each threshold is sized against Nothing
Runner-specific configuration: executor blocks, protocol setup, feeders, distributed workers, result stores A per-tool wrapper for k6, Gatling, JMeter, or Locust
Aggregating verdicts from several runners into one CI go / no-go A multi-runner CI gate
Finding which commit caused a regression after the plan is already running A bisection workflow

The axis is time: this skill runs before a runner is chosen. Its output names metrics, shapes, and numbers in prose and tables, not in a runner's syntax. One short threshold snippet appears below purely to show what the numbers turn into; everything else stays declarative.

Step 1 - Derive named scenarios from SLOs

For every SLO in the input:

  1. Identify the target metric: a latency percentile, an availability ratio, an error rate, or a throughput floor.
  2. Map it to the endpoint or endpoint set it governs, weighted by the traffic mix (an endpoint carrying 60% of requests and one carrying 2% do not deserve equal scenario budget).
  3. Name the scenario after the failure mode it validates, not after the endpoint. checkout-p95-under-peak-load tells a reader what a red run means; checkout-test-2 does not.

One SLO can yield several scenarios. Split whenever the boundary conditions differ: the same p95 target at average traffic and at peak traffic are two scenarios, because they need different load shapes and can fail independently.

SLO Governs Scenario
p95 latency < 300 ms at peak load POST /api/checkout (20% of mix) checkout-latency-peak
p95 latency < 100 ms at average load GET /api/orders (60% of mix) orders-latency-average
Error rate < 0.1% under a 3x spike All endpoints, mix preserved spike-error-budget
Availability 99.9% over a four-week window All endpoints, mix preserved soak-availability

Preserve the traffic mix inside each scenario. A scenario that sends 100% of its requests to the endpoint under test measures that endpoint in isolation, not in the contention it actually experiences.

Step 2 - Assign a load profile

Six canonical profiles, per the Grafana k6 test types guide. Every scenario from Step 1 gets exactly one.

Profile Load level Duration What it answers Shape
Smoke Minimal load Seconds to a couple of minutes Does the script itself work at minimal load? Flat, one or two users
Average-load Average production load 5 to 60 min (k6 test types) Do we meet the SLO on a normal day? Ramp up, plateau, ramp down
Stress Above the expected average 5 to 60 min (k6 test types) How much headroom is there when load exceeds the average? Ramp above average, plateau
Soak Average production load Hours (k6 test types) Does it still meet the SLO after hours? Slow ramp, long plateau
Spike Very high, brief A few minutes (k6 test types) Do we survive a sudden, short, massive surge? Near-instant surge, short hold, drop
Breakpoint Increasing until failure Until the system breaks (k6 test types) Where is the capacity ceiling? Continuous ramp, no plateau

Selection rules that follow from the definitions:

  • A latency SLO stated "at normal traffic" takes average-load. Stated "at peak" or "with headroom", it takes stress.
  • Any service with an availability SLO gets a soak scenario. Short runs cannot observe the failure modes that need hours to appear (memory growth, connection-pool and file-descriptor exhaustion, log-volume and disk effects).
  • A stated spike event (sale day, campaign launch, cron fan-in) gets its own spike scenario at the stated multiple of peak, not a bigger stress run.
  • Breakpoint is not a pass/fail scenario. It has no threshold, because its purpose is to find the ceiling by reaching failure. Record its result as a capacity number and run it only in an isolated environment.
  • Every plan opens with a smoke scenario. It gates the rest: if smoke fa
Полный SKILL.md на GitHub

Установить slo-load-test-plan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.tessl-plugin/plugin.jsonreferences/runners.md

FAQ

Что делает скилл slo-load-test-plan?

Use when SLOs and an endpoint list exist but nobody has decided which load tests to run, what load each carries or what counts as failure. Turns each SLO into scenarios with a load profile, workload model, pass/fail threshold and error-budget allowance, before any tool is configured.

Как установить скилл slo-load-test-plan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл slo-load-test-plan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить slo-load-test-plan с