Help us improve
Share bugs, ideas, or general feedback.
From magento2-commerce
Deploys Magento 2 to production: modes, static content, DI compilation, CLI commands, zero-downtime strategies (blue-green, symlinks), CI/CD pipelines.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin magento2-commerceHow this skill is triggered — by the user, by Claude, or both
Slash command
/magento2-commerce:magento-deployThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Sets up Magento 2 Open Source: verifies system reqs (PHP/MySQL/OpenSearch/Redis), installs via Composer, configures services, runs installer, enables dev mode/cron. For new projects or dev envs.
Automates WooCommerce deployments with WP-CLI for updates, DB migrations, zero-downtime deploys, staging workflows, environment configs, and CI/CD pipelines.
Guides Medusa v2 production deployment: build process, server vs worker modes, PostgreSQL/Redis config, environment variables, and checklists.
Share bugs, ideas, or general feedback.
Fetch live docs:
https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/cli/set-mode for deployment modeshttps://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/cli/static-view/static-view-file-deployment for static content deploymagento 2 zero downtime deployment for zero-downtime strategies| Mode | Errors | Static Files | DI Compilation | Use Case |
|---|---|---|---|---|
| Developer | Displayed | Generated on demand | Automatic | Local development |
| Production | Logged only | Pre-deployed | Pre-compiled | Live site |
| Default | Not displayed | On demand | Not optimized | Initial install |
bin/magento deploy:mode:show
bin/magento deploy:mode:set production
bin/magento deploy:mode:set developer
# 1. Enable maintenance mode
bin/magento maintenance:enable
# 2. Pull latest code (git pull, composer install)
composer install --no-dev --optimize-autoloader
# 3. Run setup upgrade (applies db_schema changes and patches)
bin/magento setup:upgrade
# 4. Compile DI (generates interceptors, factories, proxies)
bin/magento setup:di:compile
# 5. Deploy static content (CSS, JS, images, templates)
bin/magento setup:static-content:deploy en_US --jobs=4
# 6. Flush cache
bin/magento cache:flush
# 7. Disable maintenance mode
bin/magento maintenance:disable
--exclude-theme, --no-html-minify, --jobs=N for parallelismBuild and deploy on separate systems:
setup:di:compile + setup:static-content:deploysetup:upgrade --keep-generated (no recompilation)Two identical environments with load balancer switching:
deployment/blue_green/enabled in app/etc/env.phpreleases/20260214/)current symlink to new releasevar/, pub/media/, app/etc/env.phpbin/magento module:enable VendorName_ModuleName
bin/magento module:disable VendorName_ModuleName
bin/magento module:status
bin/magento cache:clean # Clean invalidated cache types
bin/magento cache:flush # Flush all cache storage
bin/magento cache:status # Show cache type status
bin/magento cache:enable <type>
bin/magento cache:disable <type>
bin/magento indexer:reindex
bin/magento indexer:status
bin/magento indexer:set-mode schedule
bin/magento cron:run
bin/magento cron:install
bin/magento admin:user:create
bin/magento admin:user:unlock <username>
bin/magento dev:profiler:enable
bin/magento dev:template-hints:enable
bin/magento setup:config:set --<option>=<value>
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.distcomposer install --no-dev, setup:di:compile, setup:static-content:deploysetup:upgrade, cache flushsetup:di:compile or setup:static-content:deploy on production during traffic--jobs=N for parallel static content deploymentsetup:upgradeFetch the deployment documentation for exact CLI options, mode-switching requirements, and pipeline deployment configuration before deploying.