From aiup-alfresco
Validates Alfresco content model XML files for namespace URI format, structure, types/aspects, property data types, reserved prefixes, unsafe mandatory enforced properties, and Spring context beans. Auto-triggers on *-model.xml or *-context.xml.
npx claudepluginhub aborroy/aiup-alfrescoThis skill is limited to using the following tools:
Validate the given Alfresco content model XML against these rules:
Validates Alfresco Activiti BPMN 2.0 process definitions and workflow model XML for namespaces, task assignees, variable naming conventions, formKey alignment, and forbidden Flowable patterns. Auto-triggers on *.bpmn or *-workflow-model.xml.
Audits content schemas in YAML/JSON, C# models, and migrations for naming conventions, field usage, relationships, and best practices. Reports issues by severity with fix suggestions.
Assesses CQA P2-P7 modularization in Red Hat AsciiDoc docs: assembly structure without rendered text between includes, module prefixes, templates, required elements, nesting depth.
Share bugs, ideas, or general feedback.
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.*-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.