
magento-upgrade-specialist
Manages seamless Magento 2 version upgrades and migrations. Use when upgrading Magento versions, migrating from Magento 1, planning upgrade strategies, assessing compatibility, or handling breaking changes. Masters upgrade planning, compatibility assessment, and post-upgrade optimization.
- Installs
- 159
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-upgrade-specialist- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads magento-upgrade-specialist automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Magento 2 Upgrade Specialist
Expert specialist in ensuring smooth, risk-free transitions between Magento versions while maintaining business continuity and preserving custom functionality.
When to Use
- Upgrading Magento 2 versions (minor or major)
- Migrating from Magento 1.x to Magento 2.x
- Planning upgrade strategies and timelines
- Assessing extension compatibility
- Handling breaking changes
- Post-upgrade optimization
Upgrade Process Framework
1. Pre-Upgrade Assessment
- Current System Audit: Comprehensive analysis of existing Magento installation
- Custom Code Review: Evaluate all custom modules, themes, and modifications
- Extension Compatibility: Check third-party extension compatibility with target version
- Data Integrity Check: Verify database consistency and identify potential issues
- Performance Baseline: Establish current performance metrics for comparison
2. Compatibility Analysis
- Static Code Analysis: Use automated tools to identify compatibility issues
- API Change Review: Analyze breaking changes in core APIs and interfaces
- Deprecated Feature Assessment: Identify and plan replacement for deprecated functionality
- Database Schema Changes: Review required database modifications
- Configuration Changes: Identify system configuration updates needed
3. Migration Planning
- Upgrade Path Strategy: Choose optimal upgrade path (direct vs. incremental)
- Environment Setup: Plan development, staging, and production upgrade environments
- Downtime Minimization: Develop strategies to reduce production downtime
- Data Migration Strategy: Plan for large dataset migrations and optimizations
- Contingency Planning: Prepare for various failure scenarios and recovery procedures
4. Implementation Execution
- Code Migration: Update custom code to work with target Magento version
- Database Upgrade: Execute database schema and data migrations
- Configuration Migration: Transfer and update system configurations
- Extension Updates: Upgrade or replace third-party extensions
- Testing Validation: Comprehensive testing of all upgraded functionality
Upgrade Categories
Minor Version Upgrades (2.4.x to 2.4.y)
- Security Patches: Apply critical security updates
- Bug Fixes: Resolve known issues and stability improvements
- Feature Enhancements: Leverage minor feature additions
- Compatibility Updates: Maintain extension and custom code compatibility
- Performance Improvements: Benefit from performance optimizations
Major Version Upgrades (2.3.x to 2.4.x)
- PHP Version Updates: Handle PHP version compatibility requirements
- Composer Dependencies: Update package dependencies and constraints
- API Changes: Adapt to breaking changes in core APIs
- New Architecture: Leverage new architectural improvements
- Migration Tools: Utilize official migration utilities and scripts
Legacy Migrations (Magento 1.x to 2.x)
- Data Migration: Comprehensive data structure transformation
- Theme Migration: Complete frontend redesign and implementation
- Extension Replacement: Find and implement Magento 2 equivalents
- Custom Code Rewrite: Rebuild custom functionality for Magento 2
- Training Requirements: Team training on Magento 2 architecture
Upgrade Commands
Pre-Upgrade
# Check current version
bin/magento --version
# Check database status
bin/magento setup:db:status
# Backup database
mysqldump -u user -p database > backup.sql
# Check extension compatibility
composer show | grep magento
During Upgrade
# Update composer dependencies
composer require magento/product-community-edition:2.4.x --no-update
composer update
# Run upgrade
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
bin/magento indexer:reindex
Post-Upgrade
# Verify installation
bin/magento setup:db:status
bin/magento setup:upgrade
# Test functionality
# Run automated tests
# Manual testing checklist
Common Upgrade Challenges
Breaking Changes
- API Changes: Update code using deprecated APIs
- Class Changes: Update class references and namespaces
- Configuration Changes: Update XML configuration files
- Database Schema: Handle schema changes and migrations
- Frontend Changes: Update templates and layouts
Extension Compatibility
- Version Conflicts: Resolve composer dependency conflicts
- API Compatibility: Update extensions using deprecated APIs
- Replacement Extensions: Find Magento 2 equivalents for incompatible extensions
- Custom Patches: Create patches for minor compatibility issues
Data Migration
- Schema Changes: Handle database structure changes
- Data Transformation: Transform data to new formats
- Custom Attributes: Migrate custom EAV attributes
- Media Files: Migrate images and media files
Best Practices
Planning
- Timeline Planning: Create realistic upgrade schedules with proper testing phases
- Risk Analysis: Identify potential breaking changes and their business impact
- Resource Planning: Estimate effort, downtime, and team requirements
- Rollback Strategy: Plan comprehensive rollback procedures
Execution
- Environment Testing: Test thoroughly in development and staging
- Incremental Approach: Consider incremental upgrades for major version changes
- Documentation: Document all changes and customizations
- Communication: Keep stakeholders informed throughout the process
Post-Upgrade
- Performance Validation: Ensure performance meets or exceeds baseline
- Functionality Testing: Comprehensive testing of all features
- Security Review: Verify security improvements are properly implemented
- Monitoring: Monitor system health and performance post-upgrade
Testing Strategy
- Unit Tests: Run and update unit tests
- Integration Tests: Test module integration with core
- Functional Tests: End-to-end test scenarios
- Performance Tests: Validate performance under load
- Security Tests: Verify security compliance
References
Focus on smooth, risk-free upgrades that maintain business continuity while leveraging new Magento capabilities.
FAQ
What does the magento-upgrade-specialist skill do?
Manages seamless Magento 2 version upgrades and migrations. Use when upgrading Magento versions, migrating from Magento 1, planning upgrade strategies, assessing compatibility, or handling breaking changes. Masters upgrade planning, compatibility assessment, and post-upgrade optimization.
How do I install magento-upgrade-specialist?
Run npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-upgrade-specialist in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/magento-upgrade-specialist/ (personal) or .claude/skills/magento-upgrade-specialist/ (project).
Which AI agents can use magento-upgrade-specialist?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is magento-upgrade-specialist safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains magento-upgrade-specialist?
It is published by maxnorm in maxnorm/magento2-agent-skills. It has 159 recorded installs.
More from maxnorm/magento2-agent-skills
magento-hyva-specialist
maxnorm/magento2-agent-skills
Develops high-performance Magento 2 storefronts using Hyvä theme framework. Use when working with Hyvä themes, Alpine.js, Tailwind CSS, or modern frontend development. Masters Alpine.js architecture, Tailwind CSS styling, and performance optimization for blazing-fast e-commerce experiences.
magento-code-reviewer
maxnorm/magento2-agent-skills
Reviews Magento 2 code for quality, security, performance, and compliance with PSR-12 and Magento coding standards. Use proactively when reviewing code, before commits, during pull requests, or when ensuring code quality. Enforces strict type declarations, proper dependency injection, security best practices, and performance optimization.
magento-module-developer
maxnorm/magento2-agent-skills
Creates robust, maintainable, and extensible Magento 2 modules following enterprise architecture patterns. Use when developing custom modules, implementing new functionality, creating extensions, or building Magento 2 components. Masters dependency injection, service contracts, repository patterns, and module architecture.
magento-performance-analyst
maxnorm/magento2-agent-skills
Conducts comprehensive Magento 2 performance analysis and optimization. Use when analyzing performance bottlenecks, profiling applications, optimizing database queries, or improving system scalability. Masters profiling tools, database optimization, and enterprise-scale performance tuning.
magento-frontend-developer
maxnorm/magento2-agent-skills
Creates comprehensive Magento 2 frontend solutions. Use when developing frontend features, working with layout XML, templates, JavaScript, or responsive design. Masters layout XML, template development, JavaScript integration, and performance optimization across all Magento frontend technologies.
magento-xml-specialist
maxnorm/magento2-agent-skills
Creates XML configurations for Magento 2 including layout XML, dependency injection, system configuration, and module definition. Use when working with XML configuration files, layout XML, di.xml, or system.xml. Masters XML schema design, validation, and configuration management.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.