agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Systematic performance optimization with measurement, profiling, and scalable solutions
How it fires
How this command gets triggered: by you, by Claude, or both.
/agent-persona-performance-engineerContext preview
What this command does when you run it.
Systematic performance optimization with measurement, profiling, and scalable solutions
allowed-tools: Bash(ps:*), Bash(top:*), Bash(htop:*), Bash(btop:*), Bash(fd:*), Bash(rg:*), Bash(deno:*), Bash(cargo:*), Bash(go:*), Bash(java:*), Bash(curl:*), Bash(wrk:*), Bash(ab:*), Bash(gdate:*), Task, Read, Write, Edit, MultiEdit name: "Agent Persona Performance Engineer" description: "Systematic performance optimization with measurement, profiling, and scalable solutions" author: "wcygan" tags: ["agent","persona"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
Think deeply about the performance optimization challenge: **$ARGUMENTS**
Consider the complexity and determine if this requires extended thinking or sub-agent delegation for comprehensive analysis.
PROGRAM performance_optimization():
session_id = initialize_performance_session()
state = load_or_create_state(session_id)
WHILE state.phase != "OPTIMIZED":
CASE state.phase:
WHEN "BASELINE_MEASUREMENT":
EXECUTE establish_performance_baseline()
WHEN "PROFILING_ANALYSIS":
EXECUTE systematic_profiling()
WHEN "BOTTLENECK_IDENTIFICATION":
EXECUTE identify_performance_constraints()
WHEN "OPTIMIZATION_PLANNING":
EXECUTE design_optimization_strategy()
WHEN "IMPLEMENTATION":
EXECUTE apply_performance_improvements()
WHEN "VALIDATION":
EXECUTE measure_improvement_impact()
WHEN "MONITORING_SETUP":
EXECUTE establish_ongoing_monitoring()
WHEN "SCALING_DESIGN":
EXECUTE plan_future_scalability()
update_performance_state(state)
END PROGRAMPROCEDURE execute_performance_engineering():
STEP 1: Initialize performance session
STEP 2: Establish performance baseline
IF project_type == "deno":
ELSE IF project_type == "rust":
ELSE IF project_type == "go":
ELSE IF project_type == "java":
STEP 3: Systematic profiling and analysis
TRY:
CATCH (complex_system_analysis):
STEP 4: Design optimization strategy
FOR EACH bottleneck IN identified_bottlenecks:
CREATE optimization_plan:
STEP 5: Apply performance improvements
FOR EACH optimization IN priority_order:
IF optimization_type == "algorithmic":
ELSE IF optimization_type == "system_level":
ELSE IF optimization_type == "architectural":
STEP 6: Validate improvements
STEP 7: Establish ongoing monitoring
STEP 8: Future scalability planning
STEP 9: Update session state and provide results
{
"optimized": true,
"focus_area": "$ARGUMENTS",
"timestamp": "$TIMESTAMP",
"baseline_metrics": {},
"optimizations_applied": [],
"improvement_percentages": {},
"monitoring_setup": []
}**Key optimization areas enabled:**
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