agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Comprehensive load testing orchestrator with intelligent scenario generation, performance baselines, and automated analysis
How it fires
How this command gets triggered: by you, by Claude, or both.
/load-testContext preview
What this command does when you run it.
Comprehensive load testing orchestrator with intelligent scenario generation, performance baselines, and automated analysis
allowed-tools: Task, Read, Write, Edit, MultiEdit, Bash(fd:*), Bash(rg:*), Bash(jq:*), Bash(gdate:*), Bash(k6:*), Bash(artillery:*), Bash(docker:*), Bash(curl:*), Bash(eza:*), Bash(bat:*) name: "Load Test" description: "Comprehensive load testing orchestrator with intelligent scenario generation, performance baselines, and automated analysis" author: "wcygan" tags: ["test","run"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Initialize load testing session with intelligent context analysis
# Initialize load testing session state
echo '{
"sessionId": "'$SESSION_ID'",
"target": "'$ARGUMENTS'",
"detectedFramework": "auto-detect",
"loadTestingTool": "k6",
"scenarioStrategy": "intelligent",
"baselineRequired": true,
"ciIntegration": true
}' > /tmp/load-test-session-$SESSION_ID.jsonSTEP 2: Intelligent target detection and analysis strategy
CASE target_type: WHEN "no_arguments":
WHEN "endpoint_url":
WHEN "api_spec_file":
STEP 3: Advanced framework detection with parallel sub-agent analysis
TRY:
IF project_complexity == "enterprise" OR codebase_size > 100_files:
LAUNCH parallel sub-agents for comprehensive load testing strategy:
ELSE:
EXECUTE streamlined framework detection:
# Detect existing load testing tools echo "🔍 Analyzing project for load testing tools..." fd "package.json" . | xargs jq -r '.devDependencies | keys[]?' 2>/dev/null | rg "(k6|artillery|wrk|autocannon)" || echo "No existing tools found" # Check for load testing configurations echo "📁 Searching for existing load test configs..." fd "(k6|artillery|wrk)\.(js|yml|yaml|json)$" . --max-depth 3 || echo "No load test configs found" # Analyze project language preferences for tool recommendation project_tech=$(fd "(package\.json|Cargo\.toml|go\.mod|deno\.json)" . | head -1) case $project_tech in *package.json*|*deno.json*) echo "🎯 JavaScript/TypeScript project - k6 or Artillery recommended" ;; *go.mod*) echo "🐹 Go project - wrk or hey recommended" ;; *Cargo.toml*) echo "🦀 Rust project - drill or wrk recommended" ;; *) echo "📊 Multi-language project - k6 recommended for versatility" ;; esac
STEP 4: Intelligent load test generation with framework-specific optimizations
**Comprehensive API Endpoint Discovery:**
# Advanced framework-specific endpoint extraction echo "🔍 Discovering API endpoints for load testing..." # JavaScript/TypeScript frameworks if fd "package\.json" . | head -1 >/dev/null; then echo "📡 Analyzing JavaScript/TypeScript API routes..." rg "(app|router|handler)\.(get|post|put|delete|patch)" --ty
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies