magento2-performance-audit

Solid

Performs comprehensive performance and health audit for Magento 2 projects. Use when: - "Audit performance", "check Core Web Vitals", "run Lighthouse" - "Check server configuration", "verify Redis/Varnish setup" - "Analyze database queries", "find N+1 query issues" - "Review indexer configuration", "check cron health" - "Debug cache flush", "why does full_page cache keep flushing", "trace FPC invalidation" - "Too many ajax requests", "customer data section reload storm", "crawler overloading server" This skill runs automated checks against Adobe Commerce Best Practices. DEPENDENT on magento2-dev-core for code-level performance patterns.

API & Backend 2 stars 2 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Magento 2 Performance Audit This skill performs a comprehensive audit of Magento 2 performance, infrastructure, and code-level patterns. ## Related Skills **REQUIRED BACKGROUND:** Load `magento2-dev-core` first — code-level fixes for N+1 queries and heavy constructors follow the patterns it defines. Part of the QA trio with `magento2-linter` and `magento2-security-scan`. Async/queue findings often point back to `magento2-backend-dev`. ## Audit Categories ### 1. Infrastructure Configuration | Check | Expected | Command | |-------|----------|---------| | Application Mode | `production` | `bin/magento deploy:mode:show` | | PHP OPcache | >= 256MB | Check php.ini | | Redis (Session) | Enabled | Check `app/etc/env.php` | | Redis (Cache) | Enabled | Check `app/etc/env.php` | | Varnish | Running + terminating HTTPS/HTTP in front of the app | Check for a running Varnish container/process and its VCL config; the exact config file is project-specific (e.g. `nginx.conf`, a Docker/orchestrator config file, or a cloud provider's Varnish config) — there is no universal filename to grep for. | > On a **local dev environment** it's normal and expected to have no Redis/Varnish at all (file-based session/cache, FPC often disabled) — don't flag this as a bug unless the target is staging/production. Confirm which environment you're actually auditing before treating any of the above as a problem. ### 2. Cache Configuration ```bash # Verify all caches enabled govard sh -c "bin/magento c...

Details

Author
ddtcorex
Repository
ddtcorex/dev-skills-hub
Created
2 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category