/redaxo-core:rex-create-addonfrom redaxo-core
Scaffolds a complete REDAXO addon skeleton with package.yml, boot.php, install/uninstall scripts, language files, and optional backend pages. For users starting a new REDAXO addon project.
Ships in redaxo-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are scaffolding a complete REDAXO addon under redaxo/src/addons/.
Ask the user for:
team_directory)list, settings)^5.18) and PHP version (default >=8.1)Verify the path. Find the REDAXO root by looking for a redaxo/src/addons/ folder upwards from the current working directory. If not found, tell the user this command must run inside a REDAXO project.
Create the directory layout at redaxo/src/addons/<name>/:
package.yml
boot.php
install.php
uninstall.php
lang/de_de.lang
lang/en_gb.lang
lib/.gitkeep
fragments/.gitkeep
assets/.gitkeep
If backend pages were requested, also create pages/<subpage>.php for each.
Generate package.yml from the user's answers. Include a page: block with perm: <name>[] if backend pages are present.
Generate install.php with rex_sql_table::ensure(...) calls for each requested column. Use rex::getTable('<name>_<entity>') for table names and never hardcode the rex_ prefix.
Generate uninstall.php that drops the addon's tables and removes its config namespace via rex_config::removeNamespace('<name>').
Generate boot.php with:
rex_extension::register(...) callsGenerate lang/de_de.lang and lang/en_gb.lang with at minimum a <name>_title key matching the addon's display title.
For each backend page, generate a starter pages/<subpage>.php that uses rex_fragment with core/page/section.php to render a titled section, plus a placeholder content area.
Do not add the addon to redaxo/data/core/config.yml – installation happens through the REDAXO backend (System → Addons → install). Tell the user to install via the backend after the files are in place.
After generating, summarize what was created and the next steps:
Keep the generated code clean and commented in English. Use rex_i18n::msg('<name>_<key>') for any user-facing strings, even in the scaffolded backend pages.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/redaxo-addon-developmentBuilding and maintaining custom REDAXO addons – package.yml, boot.php, install/update/uninstall, lang files, fragments, backend pages, the assets pipeline (and the reinstall-to-sync rule), cache-busting on asset URLs, vendor dependencies, and the common-pitfalls checklist. Use when the user creates a new addon, edits package.yml, sets up backend pages, ships frontend assets from an addon, integrates Composer dependencies, or asks how to package functionality as a reusable addon./redaxo-api-functionsBuilding HTTP/AJAX endpoints in REDAXO using rex_api_function – the lib/ class location, naming convention, $published flag for frontend access, JSON responses, CORS for cross-domain widgets, and the rex-api-call URL. Use when the user adds an AJAX/HTTP endpoint to a custom addon, builds a JSON API for a frontend widget, or asks how to expose data via /index.php?rex-api-call=. Distinct from the FriendsOfRedaxo/api addon (covered by the redaxo-api-addon plugin)./redaxo-architectureREDAXO project structure, request lifecycle, and core classes. Use when the user works on a REDAXO codebase, mentions REDAXO directory layout, asks about rex_addon/rex_config/rex_path/rex_url/rex_clang/rex_request, or when files under redaxo/src/, redaxo/data/, or redaxo/cache/ appear in the conversation.npx claudepluginhub friendsofredaxo/claude-marketplace --plugin redaxo-coreOther plugins' skills for the same job