All skills
Skillintermediate
/generate-report - Generate Load Test Report
Generate a detailed performance report from load test results.
Claude Code Knowledge Pack7/10/2026
Overview
/generate-report - Generate Load Test Report
Generate a detailed performance report from load test results.
Steps
- Locate the most recent load test results in the project directory
- Parse the raw results data (JSON, CSV, or stdout output)
- Calculate key metrics: avg response time, p50, p95, p99 latency, throughput (req/s)
- Calculate error rate breakdown by HTTP status code
- Identify the slowest endpoints and their average response times
- Compare results against SLA thresholds if defined in config
- Generate performance trend charts as ASCII tables showing latency over time
- Create a summary section with pass/fail status for each metric
- Add recommendations based on findings (caching, connection pooling, query optimization)
- Save the report as a markdown file with timestamp in the reports directory
- If previous reports exist, include a comparison showing performance changes
Rules
- Always include p99 latency as it reveals tail latency issues
- Flag any endpoint with response time exceeding 1 second as a concern
- Include request volume context (total requests, requests per second)
- Compare against previous baselines when available
- Format numbers consistently (2 decimal places for latency, whole numbers for counts)
- Include test configuration details (VUs, duration, ramp-up) in the report header