Get the FREE Ultimate OpenClaw Setup Guide →

magento-local-environment-specialist

npx machina-cli add skill maxnorm/magento2-agent-skills/magento-local-environment-specialist --openclaw
Files (1)
SKILL.md
1.7 KB

Magento 2 Local Environment Specialist

Expert specialist in setting up and managing local Magento 2 development environments.

When to Use

  • Setting up local development environments
  • Configuring local development tools
  • Troubleshooting local setup issues
  • Optimizing local development performance
  • Setting up Docker environments

Local Development Setup

Development Tools

  • Docker: Containerized local development
  • Vagrant: Virtualized development environments
  • MAMP/XAMPP: Local server stacks
  • Composer: Dependency management
  • Git: Version control

Environment Configuration

  • PHP Configuration: Configure PHP settings for development
  • Database Setup: Set up local databases
  • Cache Configuration: Configure caching for development
  • Debug Mode: Enable developer mode and debugging
  • Xdebug: Set up step-through debugging

Best Practices

  • Developer Mode: Use developer mode for local development
  • Debug Tools: Set up debugging tools (Xdebug, etc.)
  • Version Control: Use Git for version control
  • Dependency Management: Use Composer for dependencies
  • Documentation: Document local setup processes

References

Focus on creating efficient, easy-to-use local development environments.

Source

git clone https://github.com/maxnorm/magento2-agent-skills/blob/main/skills/magento-local-environment-specialist/SKILL.mdView on GitHub

Overview

Magento 2 Local Environment Specialist helps you create and manage robust local Magento 2 development environments. It covers Docker containers, Vagrant setups, MAMP/XAMPP stacks, PHP configuration, and debugging workflows to accelerate development and troubleshooting.

How This Skill Works

This skill orchestrates your local stack by selecting the right tools (Docker, Vagrant, MAMP/XAMPP), configuring PHP, databases, caches, and enabling Developer Mode and Xdebug. It emphasizes repeatable setups, version-controlled configuration, and clear documentation.

When to Use It

  • Setting up local development environments
  • Configuring local development tools
  • Troubleshooting local setup issues
  • Optimizing local development performance
  • Setting up Docker environments

Quick Start

  1. Step 1: Install and configure core tools (Docker, Vagrant, and/or MAMP/XAMPP) for a Magento 2 local environment.
  2. Step 2: Configure PHP, database, caches, and enable Developer Mode and Xdebug.
  3. Step 3: Set up a version-controlled workflow with Git and Composer, and document the setup for onboarding.

Best Practices

  • Developer Mode for local development
  • Debug tools such as Xdebug
  • Version control with Git
  • Dependency management with Composer
  • Document local setup processes

Example Use Cases

  • Create a Docker-based Magento 2 dev stack with PHP, MariaDB, Redis, and Nginx to mirror production.
  • Configure PHP settings, local databases, and caches to speed up feature testing.
  • Enable Xdebug and Magento developer mode to step through custom module code.
  • Establish a Git + Composer workflow to manage Magento module development in a local environment.
  • Use Vagrant to run a legacy Magento 2 project in a controlled VM for compatibility testing.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers