load-test-playbook

Execute k6 load tests for AI module endpoints and analyze latency, throughput, and error rates.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/roaming-rockenfels/ghostfolio --skill load-test-playbook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-test-playbook
Source: https://github.com/roaming-rockenfels/ghostfolio/tree/main/.claude/skills/load-test-playbook
Command: npx skills add https://github.com/roaming-rockenfels/ghostfolio --skill load-test-playbook

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the need to rigorously test and validate the performance of AI module endpoints under various load conditions, ensuring stability and responsiveness.

Core Features & Use Cases

  • Load Test Design: Create and execute k6 test scripts for AI module endpoints.
  • Performance Benchmarking: Establish baseline metrics for latency, throughput, and error rates.
  • Regression Detection: Identify performance degradations after code changes.
  • Use Case: Before deploying a new AI feature, use this Skill to simulate expected user traffic and confirm that the API response times remain within acceptable limits.

Quick Start

Execute the load test playbook to establish baseline performance metrics for the AI chat endpoint.

Frequently Asked Questions about load-test-playbook

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

FAQPage Schema
How do I load test AI module endpoints to measure latency and throughput?

Load testing AI module endpoints involves executing k6 test scripts to validate performance under expected and peak conditions. This process captures baseline metrics for latency, throughput, and error rates to ensure API stability.

When do I need performance testing and regression detection for my API?

Performance testing and regression detection are needed before deploying new AI features to simulate user traffic. They confirm API response times remain within acceptable limits and identify performance degradations after code changes.

How do I create k6 test scripts for performance benchmarking?

Creating k6 test scripts for performance benchmarking requires defining load scenarios that simulate expected user traffic against AI endpoints. The scripts establish baseline metrics for latency, throughput, and error rates during execution.

Can I use k6 to detect performance regressions in AI module endpoints?

Yes, you can use k6 to detect performance regressions in AI module endpoints by comparing newly captured metrics against established baselines. This identifies any latency or throughput degradations following code changes.

Does k6 load testing work for validating peak load conditions on AI APIs?

Yes, k6 load testing works for validating peak load conditions on AI APIs by simulating high traffic volumes. It analyzes captured metrics including error rates and response times to confirm stability under stress.

What are the limitations of load testing for performance benchmarking?

Limitations of performance benchmarking include the requirement to manually set up test scripts and define load scenarios. The accuracy of regression detection depends entirely on the validity of the initially collected baseline metrics.