Agent skill
magento-setup
Set up a Magento 2 Open Source project — installation, Composer setup, system requirements verification, and initial configuration. Use when starting a new Magento project or setting up a development environment.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/magento-setup
SKILL.md
Magento 2 Project Setup
Before writing code
- Fetch system requirements: Fetch
https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/system-requirementsfor current PHP, MySQL, OpenSearch, Redis, and Varnish versions - Fetch installation guide: Web-search
site:experienceleague.adobe.com commerce installation guidefor step-by-step setup - Check latest version: Web-search
magento open source latest version releasefor the current GA release
What This Skill Does
Guides through complete Magento 2 environment setup:
- Verify system requirements — PHP version, required extensions, MySQL/MariaDB, OpenSearch, Redis, Composer
- Install via Composer —
composer create-projectfromrepo.magento.com - Configure services — database, search engine, cache backend, session storage
- Run installer —
bin/magento setup:installwith all required parameters - Post-install — cron setup, developer mode, sample data (optional)
Supported Stack (Conceptual)
- PHP: 8.2+ (check docs for exact supported versions)
- Database: MySQL 8.0+ or MariaDB 10.6+
- Search: OpenSearch 2.12+ (Elasticsearch deprecated)
- Cache/Session: Redis 7.x or Valkey 8.x
- HTTP Cache: Varnish 7.x
- Message Queue: RabbitMQ 3.13+ (optional)
- Web Server: Nginx 1.24+ or Apache 2.4
- Composer: 2.x
Required PHP Extensions
memory_limit >= 2GB, and extensions: bcmath, ctype, curl, dom, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, simplexml, soap, spl, xsl, zip, sodium, sockets.
Installation Pattern
# 1. Create project
composer create-project --repository-url=https://repo.magento.com/ \
magento/project-community-edition <install-dir>
# 2. Install (with all services configured)
bin/magento setup:install \
--base-url=<url> \
--db-host=<host> --db-name=<name> --db-user=<user> --db-password=<pass> \
--search-engine=opensearch --opensearch-host=<host> --opensearch-port=9200 \
--session-save=redis --session-save-redis-host=<host> \
--cache-backend=redis --cache-backend-redis-server=<host> \
--admin-firstname=<first> --admin-lastname=<last> \
--admin-email=<email> --admin-user=<user> --admin-password=<pass>
# 3. Post-install
bin/magento deploy:mode:set developer
bin/magento cron:install
bin/magento setup:upgrade
bin/magento cache:flush
Development Environment Options
- Docker: Warden, Mark Shust's Docker Config, DDEV
- Local: Native PHP/MySQL/Nginx stack
- Cloud: Adobe Commerce Cloud (paid), custom cloud setup
Fetch the installation guide for exact CLI flags, service configuration, and file permission setup before proceeding.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?