create-light-module
1
总安装量
1
周安装量
#44584
全站排名
安装命令
npx skills add https://github.com/khoa-nd/magnolia-cms-agent-skills --skill create-light-module
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
github-copilot
1
claude-code
1
Skill 文档
create-light-module
A skill for creating Magnolia CMS light modules
Description
This skill helps create Magnolia CMS light modules with the proper folder structure and configuration files.
When to Use
Use this skill when the user wants to:
- Create a new Magnolia light module
- Set up the folder structure for a light module
- Generate light module configuration files
Instructions
Prerequisites
- Magnolia CMS environment set up
- Access to the light-modules directory
Steps
- Determine the light module name
- Create the required folder structure
- Generate necessary configuration files
Folder Structure
<module-name>/
âââ decorations/
âââ dialogs/
âââ i18n/
âââ includes/
âââ templates/
â âââ components/
â âââ pages/
âââ webresources/
â âââ css/
â âââ js/
â âââ images/
âââ <module-name>.yaml
Examples
User prompt: “Create a new light module called my-website”
Expected behavior: Claude creates the complete folder structure with all necessary files for a Magnolia light module named “my-website”.
Notes
- Light modules must be placed in the
light-modulesdirectory of your Magnolia installation - Module names should be lowercase with hyphens (kebab-case)