No slash command · from aiup-alfresco
Validates Alfresco content model XML files for namespace format, type/aspect declarations, property data types, and reserved prefix usage. Flags mandatory properties with enforced=true on aspects to prevent IntegrityChecker errors.
Ships in aiup-alfresco. 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.
Validate the given Alfresco content model XML against these rules:
http://www.{company}.com/model/{prefix}/{version}sys, cm, app, usr, act, wcm, wca, lnk, fm, dl, ia, smf, imap, emailserver, bpm, wcmwf, trx, stcp<model> with name attribute in format {prefix}:modelName<namespaces> with at least one <namespace> declaration<types> element<aspects> element<type> must have a name attribute in format {prefix}:typeName<type> should declare a <parent> (default: cm:content or cm:folder){prefix}:propertyName<type> must be a valid Alfresco data type: d:text, d:mltext, d:int, d:long, d:float, d:double, d:date, d:datetime, d:boolean, d:noderef, d:content, d:any, d:category, d:qname, d:locale, d:period<mandatory enforced="true">true</mandatory>.
enforced="true" makes ACS fire the IntegrityChecker immediately
inside OnAddAspectPolicy, which runs before NodeServiceImpl.addAspect() has written
the properties map to the database. The result is a spurious IntegrityException: Mandatory property not set even when the caller passes a fully-populated properties map.<mandatory>true</mandatory> (no enforced attribute). The integrity check
is then deferred to beforeCommit, by which time addAspect() has written both the aspect
and its properties.enforced="true" is safe only on properties belonging to types (not
aspects), where the property must be supplied at node creation time via the REST API and
is never set programmatically after the fact.<constraint> must declare a name ({prefix}:{camelCaseConstraintName}) and a type.LIST — must have an allowedValues <list> parameter with at least one <value>.REGEX — must have an expression parameter; a requiresMatch parameter is recommended.LENGTH — must have minLength and/or maxLength parameters.MINMAX — must have minValue and/or maxValue parameters.type is a fully-qualified class name; it should resolve to a
class extending org.alfresco.repo.dictionary.constraint.AbstractConstraint. Flag a type
that is neither a built-in keyword (LIST, REGEX, LENGTH, MINMAX) nor a resolvable class.<constraints><constraint ref="{prefix}:..."/></constraints> reference must point
at a constraint defined in the same model (or an imported one).<child-association> and <association> must declare a name ({prefix}:...) and a
<source>/<target> with a <class>; cardinality is expressed via <mandatory> and <many>.<child-association> for composition (cascade delete) and <association> for peer
references — flag a child association used where a non-owning reference is intended.*-context.xml exists, verify it registers the model via <bean class="org.alfresco.repo.dictionary.DictionaryBootstrap"> or equivalentmodels property must reference the correct model XML pathReport all violations with file path, line number, rule violated, and suggested fix. If no violations found, confirm the model is valid.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (aborroy/aiup-alfresco) — no native marketplace selected
npx claudepluginhub p/aborroy-aiup-alfresco10 skills in this plugin
/audit-config-validatorAudit Config ValidatorValidates custom Alfresco audit application XML for well-formedness, correct audit model namespace, application key matching the enable property, and every RecordValue dataExtractor/dataGenerator referencing a declared and registered bean. Trigger automatically after generating or editing a *-audit.xml or an audit *DataExtractor.java / *DataGenerator.java file./docker-compose-healthcheck-injectorDocker Compose Healthcheck InjectorEnsures every service in a Docker Compose file has a healthcheck block and depends_on uses condition: service_healthy. Trigger when generating or editing compose.yaml./event-api-topology-checkerEvent API Topology CheckerValidates ActiveMQ topic names and consumer group patterns against Alfresco event API conventions. Applies to Out-of-Process SDK (Spring Boot) only. Trigger when generating event-driven code with /events./migration-advisorMigration AdvisorDetects deprecated Alfresco API usage and suggests modern equivalents. Trigger when analysing existing Alfresco extension code./permission-aware-query-builderPermission-Aware Query BuilderWarns when CMIS or Alfresco Query Language queries may bypass ACLs. Suggests SearchService with authority context instead. Trigger when generating search or query code./permission-model-validatorPermission Model ValidatorValidates custom Alfresco permission model XML for well-formedness, no collision with built-in permission group names, correct permissionSet binding, and that any dynamic authority is registered and implements DynamicAuthority. Trigger automatically after generating or editing a *permissionDefinitions.xml or a *DynamicAuthority.java file.Other plugins' skills for the same job