Agent skill
cache-diagnostic
Specialized Magento 2 cache diagnostic skill for analyzing cache configuration, performance, hit rates, and optimization opportunities across all cache layers (Full Page Cache, Application Cache, Redis, Varnish).
Install this agent skill to your Project
npx add-skill https://github.com/ProxiBlue/claude-skills/tree/main/cache-diagnostic
SKILL.md
This skill provides deep cache analysis and optimization recommendations for Magento 2.
What This Skill Does
-
Cache Configuration Analysis
- Cache type status for all 15+ Magento cache types
- Backend configuration (File, Redis, Memcached)
- Full Page Cache (FPC) backend (Varnish, Built-in, Redis)
- Cache prefix and tag configuration
- Cache lifetime settings
-
Redis Analysis (if applicable)
- Redis connection and version
- Memory usage and fragmentation
- Keyspace analysis and database usage
- Eviction policy and maxmemory settings
- Hit rate statistics
- Slow log analysis
-
Varnish Analysis (if applicable)
- Varnish version and configuration
- Hit rate and cache effectiveness
- Backend health and response times
- ESI hole configuration
- Cache invalidation (PURGE) functionality
- VCL configuration validation
-
Cache Performance Metrics
- Cache hit/miss ratios per cache type
- Cache size and growth trends
- Cache warming status
- Invalidation frequency and patterns
- Cache-related errors and warnings
-
Application Cache Analysis
- Config cache efficiency
- Layout cache effectiveness
- Block HTML cache usage
- Collections cache status
- EAV cache efficiency
Diagnostic Commands
# Cache Status
bin/magento cache:status
bin/magento config:show --scope=default | grep cache
# Redis Analysis
redis-cli INFO
redis-cli INFO stats
redis-cli --latency
redis-cli SLOWLOG GET 10
# Varnish Analysis
varnishstat -1
varnishlog -q "RespStatus >= 400" -n 100
varnishadm vcl.list
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
create-backend-controller
Creates a backend (adminhtml) controller action in Magento 2 with proper ACL, routing, authorization, and admin UI integration. Use when building admin pages, AJAX endpoints, form handlers, or mass actions.
agent-teams
page-banner-setup
hyva-module-compatibility
Identify and fix Magento 2 module compatibility issues with Hyvä Themes. Covers block plugin bypasses, RequireJS/Knockout replacements, ViewModels, and Alpine.js integration for modules that work in admin but fail on Hyvä frontend.
magento-diagnostic
Comprehensive Magento 2 system diagnostic skill that gathers cache status, index status, module information, configuration, logs, and performance metrics for rapid troubleshooting.
create-frontend-controller
Creates a frontend controller action in Magento 2 for the storefront. Use when building custom frontend pages, AJAX endpoints, form submission handlers, or API-like endpoints for JavaScript.
Didn't find tool you were looking for?