·hyva-create-module
</>

hyva-create-module

hyva-themes/hyva-ai-tools

在 app/code/ 中创建一个新的 Magento 2 模块。当用户想要创建模块、搭建新模块、生成模块样板或设置自定义模块时,应该使用此技能。它处理带有可配置依赖项的registration.php、composer.json、module.xml 生成。触发短语包括“创建模块”、“新模块”、“支架模块”、“生成模块”。

11安装·3热度·@hyva-themes

安装

$npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-create-module

SKILL.md

This utility skill creates new Magento 2 modules in app/code/. It is designed to be called by other skills that need module scaffolding.

Command execution: For commands that need to run inside the development environment (e.g., bin/magento), use the hyva-exec-shell-cmd skill to detect the environment and determine the appropriate command wrapper.

| vendor | Yes | Vendor name in PascalCase (e.g., Acme) | | module | Yes | Module name in PascalCase (e.g., CustomFeature) | | description | No | Module description for composer.json (default: "[Vendor] [Module] module") | | dependencies | No | Array of module dependencies for in module.xml |

在 app/code/ 中创建一个新的 Magento 2 模块。当用户想要创建模块、搭建新模块、生成模块样板或设置自定义模块时,应该使用此技能。它处理带有可配置依赖项的registration.php、composer.json、module.xml 生成。触发短语包括“创建模块”、“新模块”、“支架模块”、“生成模块”。 来源:hyva-themes/hyva-ai-tools。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-create-module
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 hyva-create-module?

在 app/code/ 中创建一个新的 Magento 2 模块。当用户想要创建模块、搭建新模块、生成模块样板或设置自定义模块时,应该使用此技能。它处理带有可配置依赖项的registration.php、composer.json、module.xml 生成。触发短语包括“创建模块”、“新模块”、“支架模块”、“生成模块”。 来源:hyva-themes/hyva-ai-tools。

如何安装 hyva-create-module?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-create-module 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/hyva-themes/hyva-ai-tools