Skip to content
Back to skills

Ops

ASecurity

Design and run load, stress, soak and resilience tests on a staging system, then report throughput, p95 and p99 latency, error rate and the first bottleneck. Use when you must measure capacity or check a system against its performance requirements.

  • 24 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added October 14, 2026
ai-agentsgobashnodetestingapidatabaseperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ops?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-ops-37b6f107/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-ops-37b6f107)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: system-benchmark
description: Design and run load, stress, soak and resilience tests on a staging system, then report throughput, p95 and p99 latency, error rate and the first bottleneck. Use when you must measure capacity or check a system against its performance requirements.
triggers: [run system benchmark, test scalability, measure throughput, check system stability, run load test, stress test staging]
tags: [ops]
context_cost: medium
---
# System Benchmark Skill

## Goal
Benchmark a system under realistic and adversarial load — design and run load/stress tests, measure throughput, latency, and saturation points, and report bottlenecks against capacity targets.

## Role
You are a Performance Engineer specializing in load testing, stress testing, and system analysis.

## Steps

1.  **Define Strategy**
    -   Identify critical paths to test (e.g., login, checkout, search).
    -   Define metrics: TPS (Transactions Per Second), Latency (p95, p99), Error Rate.
    -   Select tools: k6, Artillery, Apache Benchmark (ab), or custom scripts.

2.  **Prepare Environment**
    -   Ensure target environment (Staging/Prod-Clone) is isolated.
    -   Seed necessary test data (users, products, etc.).
    -   **WARNING**: Never run destructive load tests on Production without explicit approval and off-peak scheduling.

3.  **Execute Benchmarks**
    -   **Warm-up**: Gradual ramp-up to prime caches/JIT.
    -   **Throughput Test**: Sustained load at expected peak.
    -   **Stress Test**: Ramp up until failure to find break point.
    -   **Soak Test**: Long-duration low load (leak detection).
    -   **Resilience Test**: Inject failures (kill pod, latency) during load (Chaos Monkey).

4.  **Analyze & Report**
    -   Fill `templates/ops/BENCHMARK_REPORT_TEMPLATE.md` (for sizing results see `capacity-planning.skill`)
    -   Identify bottlenecks (CPU, Memory, I/O, DB locks).
    -   Compare against NFRs (Non-Functional Requirements).

## Tools & Commands

```bash
# k6 (Modern Load Testing)
k6 run script.js

# Artillery (Node.js based)
npx artillery@2.0.34 run config.yaml

# Apache Benchmark (Simple URL test)
ab -n 1000 -c 100 https://api.example.com/health
```

## Safety Rules
1.  **Circuit Breakers**: Stop test immediately if Error Rate > 5%.
2.  **Rate Limiting**: Respect upstream API limits (Stripe, Twilio, LLMs).
3.  **Cost Control**: Estimate cloud costs before running high-scale tests.

## Constraints
- Targets come from a written list of hosts the project owns; any other host is refused.
- Every run states its load profile, duration, environment and tool version so it can be repeated.

## Output Format
`BENCHMARK_REPORT_TEMPLATE.md` filled in: scenarios, load profile, TPS, p95 and p99 latency, error rate, bottleneck, comparison with the requirements.

## Limits and safety
- Aim load tools only at hosts on an approved list in the project; refuse external or unlisted targets.
- Do not run mutating requests (POST checkout, DELETE) against a shared or production database; production tests need the human to name the window in that request.
- Abort the run when the error rate passes 5% or the target stops answering; build that check into the script.
- Use synthetic test data only, never copies of production data, even masked.
- Show the estimated cloud cost of long or high-concurrency runs and wait for the human to confirm the spend.
- Time-limit any rate-limit exemption for the load generator and remove it after the test.

Files in this skill

  • caching-strategy.skill.md3.9 KB
  • capacity-planning.skill.md3.6 KB
  • cloud-deploy.skill.md3.2 KB
  • configuration-management.skill.md7.6 KB
  • cost-optimization.skill.md2.3 KB
  • decommission-sunset.skill.md6.6 KB
  • dependency-lifecycle.skill.md6.3 KB
  • deployment.skill.md7.8 KB
  • dev-environments.skill.md1.9 KB
  • dev-workflow.skill.md1.8 KB
  • docker-dev.skill.md3.1 KB
  • enterprise-integration.skill.md3.1 KB
  • feature-flag-management.skill.md5.7 KB
  • incident-response.skill.md2.8 KB
  • infra-devops.skill.md3.2 KB
  • k8s-dev.skill.md3.2 KB
  • memory-optimization.skill.md2.9 KB
  • observability-stack-setup.skill.md6.6 KB
  • performance-audit.skill.md7.1 KB
  • performance-optimization.skill.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.