hyva-themes avatar

Hyva Create Module

Creates Magento 2 module scaffolding in app/code/ with all the boilerplate you need: registration.php, composer.json, and module.xml with proper dependencies. Handles PascalCase to kebab-case conversion automatically and validates naming conventions before generating files. You give it a vendor name, module name, and optional dependencies, and it structures everything correctly including the sequence block for module load order. Designed to be called by other skills that need module scaffolding, though you can invoke it directly when starting a new custom module. Requires the hyva-exec-shell-cmd skill if you want it to run setup:upgrade afterward, otherwise it skips that step and tells you to run it manually.

skills.sh installs
1.3K
GitHub stars
85
last updated
Aug 21, 2026

Install

$ npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-create-module --agent claude-code

Installs into .claude/skills of the current project.

Files

Create Magento 2 Module

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.

Parameters

When invoking this skill, the calling skill should provide:

ParameterRequiredDescription
vendorYesVendor name in PascalCase (e.g., Acme)
moduleYesModule name in PascalCase (e.g., CustomFeature)
descriptionNoModule description for composer.json (default: "[Vendor] [Module] module")
dependenciesNoArray of module dependencies for <sequence> in module.xml
composer_requireNoObject of composer requirements (package: version)

Workflow

Step 1: Validate Input

  • Verify vendor name is PascalCase (starts with uppercase, alphanumeric only)
  • Verify module name is PascalCase
  • Check that app/code/{Vendor}/{Module} does not already exist

Sponsors

Details

Repository
github.com/hyva-themes/hyva-ai-tools
Categories
AI & Agent Building, Automation & Workflows, PHP & Laravel
First seen
Jun 3, 2026

More from hyva-themes/hyva-ai-tools

All 12
1tinybirdco avatartinybird-cli-guidelinestinybirdco/tinybird-agent-skillsTinybird CLI commands, workflows, and operations. Use when running tb commands, managing local development, deploying, or working with data operations.1.3Kskills.sh installs
2ai-native-camp avatarteam-assembleai-native-camp/camp-2This skill should be used when the user asks to "팀 구성해줘", "team assemble", "전문가 팀으로 해줘", "팀으로 해줘", "swarm", "병렬로 전문가 팀", or wants to decompose a complex task in1.3Kskills.sh installs
3orchestra-research avataracademic-plottingorchestra-research/ai-research-skillsGenerates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to1.3Kskills.sh installs
4ai-native-camp avatarcompoundai-native-camp/camp-2작업 중 발견한 인사이트를 구조화된 문서로 축적하여 나만의 지식 베이스를 복리로 성장시킨다1.3Kskills.sh installs
5github avatarfreecad-scriptsgithub/awesome-copilotExpert skill for writing FreeCAD Python scripts, macros, and automation. Use when asked to create FreeCAD models, parametric objects, Part/Mesh/Sketcher scripts1.3Kskills.sh installs
6jasonjgardner avatarblockbench-texturingjasonjgardner/blockbench-mcp-projectCreate and paint textures in Blockbench using MCP tools. Use when creating textures, painting on models, using brush tools, filling colors, drawing shapes, appl1.3Kskills.sh installs