From cms-cultivator
Audits performance and Core Web Vitals (LCP, INP, CLS) for Drupal and WordPress projects using quick/standard/comprehensive modes. Analyzes PHP, JS, CSS, SQL for bottlenecks like N+1 queries and caching.
npx claudepluginhub kanopi/claude-toolbox --plugin cms-cultivatorThis skill uses the workspace's default tool permissions.
Comprehensive performance analysis and Core Web Vitals optimization using the performance-specialist agent.
Analyzes performance issues in code, queries, components, APIs, and pages. Suggests fixes for bottlenecks like N+1 queries, caching, and Core Web Vitals when slowness or optimization is mentioned.
Conducts web performance audits with Core Web Vitals (LCP, FID, CLS, INP), Lighthouse automation, bottleneck identification, and optimization recommendations for page load times and UX issues.
Optimizes website and web app performance by measuring Core Web Vitals with Lighthouse, analyzing bundle sizes and bottlenecks, and implementing caching, code splitting, and asset optimizations.
Share bugs, ideas, or general feedback.
Comprehensive performance analysis and Core Web Vitals optimization using the performance-specialist agent.
/audit-perf — Full performance audit (standard depth)/audit-perf --quick --scope=current-pr — Pre-commit Core Web Vitals check/audit-perf --comprehensive --format=summary — Pre-release deep audit with executive summary/audit-perf --standard --format=json — CI/CD integration output/audit-perf queries — Legacy focus area (still supported)--quick — Core Web Vitals only (~5 min)--standard — CWV + major bottlenecks (default, ~15 min)--comprehensive — Full profiling + recommendations (~30 min)--scope=current-pr — Only files changed in current PR--scope=frontend — Only frontend files (CSS, JS, images)--scope=backend — Only backend files (PHP, SQL, caching)--scope=module=<name> — Specific module/directory--scope=file=<path> — Single file--scope=entire — Full codebase (default)--format=report — Detailed report with metrics (default)--format=json — Structured JSON for CI/CD--format=summary — Executive summary--format=metrics — Core Web Vitals metrics only--target=good — Report only if failing "good" thresholds (LCP > 2.5s, INP > 200ms, CLS > 0.1)--target=needs-improvement — Report if needing improvement (LCP > 4.0s, INP > 500ms, CLS > 0.25)queries, n+1, assets, bundles, caching, vitals, lcp, inp, cls
When Task() or bash tools are unavailable, perform performance analysis directly:
audit-perf-YYYY-MM-DD-HHMM.md and present path to userSupported checks in Tier 1: code-level query patterns, caching strategy, asset markup, CMS-specific anti-patterns.
When running in Claude Code with Task() available:
--scope=current-pr:
git diff --name-only origin/main...HEAD | grep -E '\.(php|tsx?|jsx?|css|scss|sql)$'
Task(cms-cultivator:performance-specialist:performance-specialist,
prompt="Analyze performance and optimize Core Web Vitals with:
- Depth mode: {depth}
- Scope: {scope}
- Format: {format}
- Target threshold: {target or 'none'}
- Focus area: {focus or 'complete analysis'}
- Files to analyze: {file_list}
Check database queries, caching strategies, asset optimization, and rendering for Drupal and WordPress. Save report to audit-perf-YYYY-MM-DD-HHMM.md and present the file path.")
| Metric | Good | Needs Improvement | Poor |
|---|---|---|---|
| LCP | < 2.5s | 2.5s–4.0s | > 4.0s |
| INP | < 200ms | 200ms–500ms | > 500ms |
| CLS | < 0.1 | 0.1–0.25 | > 0.25 |
Drupal: Cache tags/contexts/max-age, EntityQuery optimization, Views caching, BigPipe, CSS/JS aggregation
WordPress: Transient caching, WP_Query optimization (no_found_rows, update_post_term_cache), object cache (Redis/Memcached), conditional asset loading
| Metric | Target |
|---|---|
| Total JS | < 200KB |
| Total CSS | < 100KB |
| Images | < 1MB total |
| HTTP Requests | < 50 |