running-load-tests
について
このスキルは、開発者がk6、JMeter、Artilleryを使用して負荷テストを自動化し、ストレス下でのアプリケーション性能を検証してボトルネックを特定できるようにします。高トラフィック条件下でのシステムの挙動を評価する必要がある際に、テストスクリプトを作成・実行します。主な機能には、テストシナリオの定義、性能スクリプトの生成、そしてClaudeを通じた包括的な負荷テストの直接実行が含まれます。
クイックインストール
Claude Code
推奨/plugin add https://github.com/jeremylongshore/claude-code-plugins-plusgit clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/running-load-testsこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
Overview
This skill empowers Claude to automate the creation and execution of load tests, ensuring applications can handle expected traffic and identify potential performance bottlenecks. It streamlines the process of defining test scenarios, generating scripts, and executing tests for comprehensive performance validation.
How It Works
- Analyze Application: Claude analyzes the user's request to understand the application's endpoints and critical paths.
- Identify Test Scenarios: Claude identifies relevant test scenarios, such as baseline load, stress test, spike test, soak test, or scalability test, based on the user's requirements.
- Generate Load Test Scripts: Claude generates load test scripts (k6, JMeter, Artillery, etc.) based on the selected scenarios and application details.
- Define Performance Thresholds: Claude defines performance thresholds and provides execution instructions for the generated scripts.
When to Use This Skill
This skill activates when you need to:
- Create load tests for a web application or API.
- Validate the performance of an application under different load conditions.
- Identify performance bottlenecks and breaking points.
Examples
Example 1: Creating a Stress Test
User request: "Create a stress test for the /api/users endpoint to simulate 1000 concurrent users."
The skill will:
- Analyze the request and identify the need for a stress test on the /api/users endpoint.
- Generate a k6 script that simulates 1000 concurrent users hitting the /api/users endpoint.
Example 2: Validating Performance After a Code Change
User request: "Validate the performance of the application after the recent code changes with a baseline load test."
The skill will:
- Identify the need for a baseline load test to validate performance.
- Generate a JMeter script that simulates normal traffic patterns for the application.
Best Practices
- Realistic Scenarios: Define load test scenarios that accurately reflect real-world usage patterns.
- Threshold Definition: Establish clear performance thresholds to identify potential issues.
- Iterative Testing: Run load tests iteratively to identify and address performance bottlenecks early in the development cycle.
Integration
This skill can be integrated with CI/CD pipelines to automate performance testing as part of the deployment process. It can also be used in conjunction with monitoring tools to correlate performance metrics with application behavior.
Prerequisites
- Load testing tools installed (k6, JMeter, or Artillery)
- Access to target application endpoints
- Test scenario definitions and expected load patterns
- Results storage location at {baseDir}/load-tests/
Instructions
- Analyze application architecture and identify critical endpoints
- Define test scenarios (baseline, stress, spike, soak, scalability)
- Generate appropriate load test scripts using selected tool
- Configure performance thresholds and acceptance criteria
- Execute load tests and capture metrics
- Analyze results and identify performance bottlenecks
Output
- Load test scripts (k6, JMeter, or Artillery format)
- Test execution logs and metrics
- Performance reports with response times and throughput
- Threshold violation alerts
- Recommendations for performance improvements
Error Handling
If load test execution fails:
- Verify tool installation and configuration
- Check network connectivity to target endpoints
- Validate authentication and authorization
- Review test script syntax and parameters
- Ensure sufficient system resources for test execution
Resources
- k6 documentation and examples
- JMeter user manual and best practices
- Artillery load testing guides
- Performance testing methodology references
GitHub リポジトリ
関連スキル
content-collections
メタThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
evaluating-llms-harness
テストThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
cloudflare-turnstile
メタThis skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.
cloudflare-cron-triggers
テストThis skill provides comprehensive knowledge for implementing Cloudflare Cron Triggers to schedule Workers using cron expressions. It covers setting up periodic tasks, maintenance jobs, and automated workflows while handling common issues like invalid cron expressions and timezone problems. Developers can use it for configuring scheduled handlers, testing cron triggers, and integrating with Workflows and Green Compute.
