npx claudepluginhub versoxbt/claude-initial-setup --plugin claude-initial-setup# Performance Optimization Profile the application to identify bottlenecks, then apply targeted optimizations with before/after benchmarks. ## Steps 1. Establish a baseline: - Identify the slow operation or endpoint. - Measure current performance (response time, execution time, memory usage). - Record the baseline numbers for comparison. 2. Profile the application: - For frontend: Check bundle size, render performance, and network requests. - For backend: Profile API response times, database query times, and memory allocation. - For general code: Use profiling tools to...
/optimizeAnalyzes code performance and proposes three specific optimization improvements.
/optimizeAnalyzes code performance and proposes three specific optimization improvements.
/optimizeAnalyzes Next.js app for performance issues in components, data fetching, bundles, images, and caching; generates optimization report with recommendations.
/optimizeOptimizes project performance for a specified target/bottleneck via expert analysis, producing baseline metrics, strategy, code implementation plan, benchmarks, and monitoring setup.
/optimizeAnalyzes codebase and infrastructure for performance issues across frontend, backend, infra, and architecture, delivering prioritized recommendations, quick wins, and implementation roadmap with code examples.
/optimizeApplies targeted performance optimizations like caching, batching, algorithmic improvements, and async patterns to a file, function, or module. Auto-targets hotspots via profiling if unspecified.
Profile the application to identify bottlenecks, then apply targeted optimizations with before/after benchmarks.
Establish a baseline:
Profile the application:
Identify the top bottlenecks:
Apply optimizations one at a time:
Benchmark after each optimization:
Run the full test suite:
A performance report showing each optimization applied, with before/after measurements and percentage improvement.