Add mage ai: prepare a Magento root for AI assisted development - #1
Closed
allrude wants to merge 1 commit into
Closed
Add mage ai: prepare a Magento root for AI assisted development#1allrude wants to merge 1 commit into
allrude wants to merge 1 commit into
Conversation
Prepares a Magento project for working with an AI coding agent: - local only git repository with a Magento aware .gitignore, so that vendor/, generated/ and app/etc/env.php are never committed - CLAUDE.md describing the deploy mode, the package-source symlink setup, and the selected code stack - package-source/*/* composer path repository, for roots that did not come from mage install - magento2-lsp MCP server registered at user scope Magento is the base. The frontend stack (luma, hyva, nft or none) and the Nebula admin theme are asked separately and default to whatever is already installed, so nothing project specific is assumed. Every step is idempotent and reports what it skipped, so the command is safe to run on an existing project. Also available as an optional prompt at the end of mage create. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Member
Author
|
Opened against a branch the fork inherited, not against new work. The change it describes already exists upstream as GrimLink#47, in the src/ layout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the local
mage aiwork into the fork so it is versioned and installable, rather than living only in one machine's~/bin/mage.mage aiprepares a Magento root as a disposable test bed for the packages underpackage-source:.gitignorecovering runtime output,env.php,auth.jsonand the local packages.CONTEXT.mdso an agent uses the project's own vocabulary instead of re-deriving it.package-source/*/*as a Composerpathrepository.magento2-lsp-mcpat user scope, so one registration serves every project.No existing command changes behaviour. Everything is additive and each step checks its own state first, so re-running is safe.