From redaxo-core
Scaffolds complete REDAXO addon skeletons with package.yml, boot.php, install/uninstall, lang files, optional backend pages and DB tables. Creates files in redaxo/src/addons/.
npx claudepluginhub friendsofredaxo/claude-marketplace --plugin redaxo-coreThis skill uses the workspace's default tool permissions.
You are scaffolding a complete REDAXO addon under `redaxo/src/addons/`.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Guides code writing, review, and refactoring with Karpathy-inspired rules to avoid overcomplication, ensure simplicity, surgical changes, and verifiable success criteria.
Executes ctx7 CLI to fetch up-to-date library documentation, manage AI coding skills (install/search/generate/remove/suggest), and configure Context7 MCP. Useful for current API refs, skill handling, or agent setup.
Share bugs, ideas, or general feedback.
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.