magento-deploy

Plan Magento 2 / Mage-OS deployments with a safe command sequence.

32|3|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/furan917/magento-ai-toolkit --skill magento-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: magento-deploy
Source: https://github.com/furan917/magento-ai-toolkit/tree/main/skills/magento-deploy
Command: npx skills add https://github.com/furan917/magento-ai-toolkit --skill magento-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deployments for Magento 2 / Mage-OS can incur significant downtime and risky outages if steps are performed in the wrong order. This guide provides a safe, auditable deployment sequence that reduces downtime and protects data integrity.

Core Features & Use Cases

  • Two-Phase Deployment: Separates build-time artifact creation from live deployment to minimize production impact.
  • Downtime Mitigation: Maintains service during upgrades with maintenance mode, atomic swaps, and careful ordering of steps.
  • Guidance for Real Scenarios: Applies to production, staging, and rollback workflows with clear checklists and best-practice steps.

Quick Start

Describe a Magento deployment scenario and ask for a safe, low-downtime deployment plan.

Frequently Asked Questions about magento-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Magento 2 with zero downtime?

Zero-downtime Magento deployment separates build-time artifact creation from live deployment, utilizing maintenance mode during upgrades, atomic symlink swaps, and careful command ordering to maintain service availability.

What's the best way to run setup:upgrade on Magento production without downtime?

Run setup:upgrade with the --keep-generated flag during a Magento production deployment to skip static content generation, and always enable maintenance mode beforehand to protect data integrity.

Why should I avoid setup:di:compile and setup:static-content:deploy on production?

Running setup:di:compile and setup:static-content:deploy directly on a production Magento instance causes significant downtime; these commands should be executed during the build phase to generate artifacts before deployment.

Does the Magento deployment guide work for Mage-OS staging environments?

Yes, the deployment sequence applies to both Magento 2 and Mage-OS, covering production, staging, and rollback workflows with clear checklists and best-practice steps for safe artifact handling.

When should I use maintenance mode during a Magento deployment?

Enable maintenance mode immediately before running database upgrades like setup:upgrade in Magento, then clear OPcache and perform atomic symlink swaps to safely route traffic to the new release.

What is a two-phase Magento deployment and why does it reduce downtime?

A two-phase Magento deployment isolates build-time artifact creation from the live deploy phase, ensuring heavy compilation happens off-server and only atomic symlink swaps and database upgrades touch production.