MageHub is a TypeScript CLI for packaging Magento 2 AI coding skills as reusable context files for tools like Claude Code, OpenCode, Cursor, Codex, Qoder, and Trae.
Project site: magehub.org
MageHub now supports a complete local v1.0 workflow:
- 10 bundled Magento 2 core skills
- skill listing, search, show, install, remove, and verification
- config init/show/validate
- context generation for multiple AI tool formats
- JSON Schema validation for skill YAML and project config
npm install
npm run build
node ./dist/index.js setup:init --format=claude
node ./dist/index.js skill:list
node ./dist/index.js skill:install module-plugin performance-caching
node ./dist/index.js generateGenerated output defaults by format:
claude→CLAUDE.mdopencode→.opencode/skills/magehub.mdcursor→.cursorrulescodex→AGENTS.mdqoder→.qoder/context.mdtrae→.trae/rules/magehub.mdmarkdown→MAGEHUB.md
module-scaffoldmodule-pluginmodule-dimodule-setupadmin-ui-gridapi-graphql-resolverhyva-module-compatibilitytesting-phpunitperformance-cachingstandards-coding
setup:initskill:listskill:searchskill:showskill:installskill:removeskill:verifyconfig:showconfig:validategenerate
npm install
npm run build
npm run test
npm run lintYou can point .magehub.yaml at a project-local custom skills directory with custom_skills_path.
Current local policy:
- the path is resolved relative to the project root
- the path must remain inside the project root
- duplicate skill IDs across bundled/custom skills are rejected
docs/PROPOSAL.mddocs/IMPLEMENTATION_CHECKLIST.mddocs/IMPLEMENTATION_BACKLOG.mddocs/cli-reference.mddocs/creating-skills.md