🐛 Magento Diagnostic

This skill performs a comprehensive Magento 2 diagnostic to reveal system health, performance metrics, and actionable remediation guidance.

QUICK INSTALL
npx playbooks add skill proxiblue/claude-skills --skill magento-diagnostic

Magento Diagnostic instructions

This skill automates comprehensive Magento 2 system diagnostics for troubleshooting and performance analysis.

What This Skill Does

  1. System Status Check
  • Deploy mode (developer/production/default)
  • Magento version information
  • PHP version and extensions
  • Database connection and version
  • File system permissions
  1. Cache Analysis
  • Cache type status (enabled/disabled)
  • Cache backend configuration (Redis/File/Database)
  • Full Page Cache (FPC) status and backend
  • Cache hit/miss rates (if available)
  • Cache invalidation history
  1. Index Status
  • All indexer status and mode (Update on Save/Schedule)
  • Index backlog and last update times
  • Index lock status
  • Changelog table sizes
  • Indexer performance metrics
  1. Module Information
  • Enabled/disabled modules list
  • Module version information
  • Module dependencies and conflicts
  • Custom vs vendor modules
  • Recently updated modules
  1. Configuration Analysis
  • Critical system configurations
  • Performance-related settings
  • Security configurations
  • Multi-store setup details
  • Third-party integration status
  1. Log Analysis
  • Recent error log entries (var/log/system.log)
  • Exception log review (var/log/exception.log)
  • Debug log analysis (if enabled)
  • Web server error logs
  • Database slow query logs
  1. Performance Metrics
  • Current system resource usage
  • Queue status and backlog
  • Cron job status and schedule
  • Recent cron execution logs
  • Database table sizes

Bash Commands Used

bin/magento deploy:mode:show
bin/magento cache:status
bin/magento indexer:status
bin/magento module:status
bin/magento config:show
bin/magento cron:list
bin/magento queue:consumers:list
tail -n 100 var/log/system.log
tail -n 100 var/log/exception.log

MCP Integration

Leverages:

  • magento2-dev MCP: Magento-specific commands
  • database MCP: Database query analysis
  • filesystem: Log file reading

Output

The skill provides:

  • Executive Summary: High-level system health status
  • Critical Issues: Immediate problems requiring attention
  • Warnings: Potential issues to monitor
  • Performance Report: System performance metrics
  • Recommendations: Prioritized action items

Report Format

  1. Health Score: Overall system health (0-100)
  2. Issue Classification:
  • 🔴 Critical: Immediate action required
  • 🟡 Warning: Monitor and plan resolution
  • 🟢 Info: System operating normally
  1. Detailed Findings: Per-category analysis
  2. Action Plan: Prioritized remediation steps

When to Use

  • Initial issue investigation
  • Performance troubleshooting
  • Before/after deployment validation
  • Regular health check monitoring
  • Customer-reported issues
  • Proactive system maintenance
  • Pre-upgrade assessment

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.