Load Test Builder
Automatically generates load test scripts from API specifications, streamlining performance testing workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add load-test-builder npx -- -y @trustedskills/load-test-builder
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"load-test-builder": {
"command": "npx",
"args": [
"-y",
"@trustedskills/load-test-builder"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automatically generates load test scripts using k6, a popular open-source load testing tool. It streamlines performance testing workflows by allowing users to define scenarios, set thresholds, configure load patterns (ramp-up, peak duration), run tests, analyze results for bottlenecks and integrate these tests into CI/CD pipelines. The generated scripts include checks for response times and error rates.
When to use it
- Validate system performance under realistic user loads.
- Identify potential bottlenecks before releasing new features or updates.
- Automate performance testing as part of a continuous integration (CI) pipeline.
- Simulate stress conditions to determine the breaking point of an application.
- Ensure that performance requirements are met and consistently maintained.
Key capabilities
- Generates k6 load test scripts automatically.
- Supports defining user scenarios and load patterns.
- Allows setting performance thresholds for response times and error rates.
- Configurable load profiles (ramp-up, peak, duration).
- Integrates with CI/CD pipelines for automated testing.
- Includes checks for HTTP status codes and response body content.
Example prompts
While this skill doesn't directly respond to natural language prompts, it generates scripts based on configuration parameters defined within the k6 script itself (e.g., defining stages, thresholds). A user would configure these parameters rather than providing a direct prompt.
Tips & gotchas
- Requires
k6to be installed either viabrew install k6or using Docker (docker pull grafana/k6). - The skill generates scripts; users need to understand and modify the generated k6 code for complex scenarios.
- Environment variables (e.g.,
BASE_URL) can be used to configure test parameters within the generated script.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.