/aiup-alfresco:surf [path to REQUIREMENTS.md or description]from aiup-alfresco
Generates Share Surf extension artefacts — pages, components, templates, and extension metadata — from a REQUIREMENTS.md file for legacy Alfresco Share addon projects.
Ships in aiup-alfresco. Installing the plugin adds it to Claude Code.
Share JAR only — deploys into the Share web tier, not into the ACS repository tier.
Generate classic Share Surf artefacts from requirements.
Read REQUIREMENTS.md and identify Share-tier UI requirements that need Surf pages, Surf components, extension modules, or Share web-tier web scripts.
Resolve:
Root path from Section 2 (Project Architecture)Root path, if one exists, so page/component logic can align with repository-side APIs or model namesIf Section 2 contains no Share JAR project, stop and explain that /surf only applies to Share-tier addon projects.
If the request is really for modern ACA/ADF/custom frontend work instead of Surf-based Share customization, stop and explain that /surf is the wrong generator.
{share-project-root}/src/main/resources/alfresco/web-extension/site-data/extensions/{extension-name}.xml
Use this file to register extension modules, evaluators, component overrides, or page wiring:
<extension>
<modules>
<module>
<id>{prefix}-{page-id}-module</id>
<version>1.0</version>
<auto-deploy>true</auto-deploy>
<components>
<component>
<region-id>{regionId}</region-id>
<source-id>{pageId}</source-id>
<scope>page</scope>
<url>/components/{extension-name}/{component-name}</url>
</component>
</components>
</module>
</modules>
</extension>
{share-project-root}/src/main/resources/alfresco/site-webscripts/{path}/{page-id}.get.desc.xml
<webscript>
<shortname>{Page Title}</shortname>
<description>{Page purpose}</description>
<url>/page/{page-id}</url>
<family>Share</family>
<authentication>user</authentication>
<transaction>none</transaction>
</webscript>
Generate as required by the requested Surf pattern:
{share-project-root}/src/main/resources/alfresco/site-webscripts/{path}/{page-id}.get.config.xml{share-project-root}/src/main/resources/alfresco/site-webscripts/{path}/{page-id}.get.html.ftl{share-project-root}/src/main/resources/alfresco/site-webscripts/components/{extension-name}/{component-name}.*{share-project-root}/src/main/resources/alfresco/web-extension/messages/{extension-name}.properties
Generate when the page/component references labels or titles by message key.
Generate only when the requested Surf customization requires custom Java-side visibility logic.
{share-project-root}/src/main/java/{java-package}/share/{Name}Evaluator.java
alfresco/module/.../surfsite-data/extensions/{extension-name}.xml already exists, merge relevant modules/components instead of discarding unrelated configuration{share-project-root} is . for Share-only mode, or {name}-share/ for mixed layoutssrc/main/resources/alfresco/web-extension/site-data/extensions/src/main/resources/alfresco/site-webscripts/{java-package}.shareAfter generating files, verify at least the following:
alfresco/module/...What the command file sets; muted values are Claude Code's defaults
share-surf, alfresco, extension-generator, legacy-share, web-scripts, freemarker
7-day visitors to each command page
Generated from the plugin's indexed repository (aborroy/aiup-alfresco) — no native marketplace selected
npx claudepluginhub p/aborroy-aiup-alfresco25 commands in this plugin
/aca-extension/aca-extension — ACA/ADW UI Extension GeneratorScaffold a full ACA/ADW UI extension: plugin.json descriptor, provideExtension() providers function, NgRx actions and effects, Angular standalone components for the requested extension points (page, sidebar, context menu, toolbar), HTTP service, and integration patch instructions for extensions.module.ts, project.json, and app.config.json./actions/actions — Action Executor GeneratorScaffold Alfresco ActionExecuter classes with Spring bean registration. In-Process SDK (Maven) only./aikau/aikau — Share Aikau GeneratorGenerate Share Aikau page and dashlet artefacts for legacy Share UI customizations./audit/audit — Custom Audit Application GeneratorGenerate a custom Alfresco audit application (audit XML + data extractors/generators + enable properties) and optional query Web Script. In-Process SDK (Maven) only./behaviours/behaviours — Behaviour/Policy GeneratorScaffold Alfresco behaviour/policy classes with Spring bean wiring. In-Process SDK (Maven) only./bootstrap-loader/bootstrap-loader — Bootstrap Data Loader GeneratorGenerate an AbstractModuleComponent data bootstrap loader that creates initial folders, categories, or reference data exactly once per module version. In-Process SDK (Maven) only.Other plugins' commands for the same job