sdk-version-detector
Skill14 starsChanged 5 months agoApache-2.0View on GitHub
Reads pom.xml, detects which Alfresco SDK is in use (In-Process Maven SDK or Out-of-Process Spring Boot SDK), and adjusts generated code accordingly. Trigger when generating Java code for Alfresco extensions.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/aiup-alfresco.mdcCursor rule
- aca-extensionSkill
- actionsSkill
- aikauSkill
- aiup-alfrescoSkill
- alfresco-architect-agentSkill
- alfresco-debugger-agentSkill
- alfresco-migrator-agentSkill
- audit-config-validatorSkill
- auditSkill
- behavioursSkill
- bootstrap-loaderSkill
- content-modelSkill
- content-model-validatorSkill
- content-storeSkill
- docker-compose-healthcheck-injectorSkill
- docker-composeSkill
- event-api-topology-checkerSkill
- eventsSkill
- metadata-extractorSkill
- migration-advisorSkill
- permission-aware-query-builderSkill
- permission-model-validatorSkill
- permissionsSkill
- repository-patchSkill
- requirementsSkill
- rest-apiSkill
- rest-api-validatorSkill
- rule-conditionsSkill
- scaffoldSkill
- scheduled-jobsSkill
- sdk-version-detectorSkill
- share-configSkill
- subsystemSkill
- surfSkill
- testSkill
- transformsSkill
- web-scriptsSkill
- workflow-bpmn-validatorSkill
- workflowSkill
- audit-config-validatorSkill
- content-model-validatorSkill
- docker-compose-healthcheck-injectorSkill
- event-api-topology-checkerSkill
- migration-advisorSkill
- permission-aware-query-builderSkill
- permission-model-validatorSkill
- rest-api-validatorSkill
- workflow-bpmn-validatorSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Search for pom.xml in the project root and submodules
- Very specific: line 17
If neither parent is found, check for alfresco-java-event-api-spring-boot-starter dependency → Out-of-Process
- Very specific: line 18
If still unclear, check for alfresco.platform.version or acs.version properties → In-Process
- Distinctive: line 30
Use for: behaviours, web scripts, actions, content model bootstrap — anything that must run inside the Alfresco JVM.
- Distinctive: line 39
Use for: event listeners, external integrations, async processing — anything that reacts to repository events over ActiveMQ.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDK Version Detector
Detect which Alfresco SDK the project uses and report which code generation patterns apply.
Detection Logic
- Search for
pom.xmlin the project root and submodules - Check
<parent><artifactId>:alfresco-sdk-aggregator→ In-Process SDK (Maven)alfresco-java-sdk→ Out-of-Process SDK (Spring Boot)
- If neither parent is found, check for
alfresco-java-event-api-spring-boot-starterdependency → Out-of-Process - If still unclear, check for
alfresco.platform.versionoracs.versionproperties → In-Process
SDK Types
In-Process SDK (Maven SDK alfresco-sdk-aggregator)
Deploys as a Platform JAR or AMP inside the ACS JVM.
| SDK Version | ACS Version | Java | Spring | Patterns |
| 4.x (≤4.11) | 6.x–7.x | 11 | 5.x | Legacy ServiceRegistry, XML-only config |
| 4.x (4.12+) | 25.x–26.1 | 17+ | 6.x/Boot 3.x | Web Scripts, XML for integration points, Java config for internal wiring |
Use for: behaviours, web scripts, actions, content model bootstrap — anything that must run inside the Alfresco JVM.
Out-of-Process SDK (Spring Boot SDK alfresco-java-sdk)
Runs as a separate Spring Boot application outside ACS, connected via ActiveMQ and REST.
| SDK Version | ACS Version | Java | Spring Boot | Patterns |
| 7.x | 25.x–26.1 | 17+ | 3.x | @AlfrescoEventListener, standard Spring Boot @Configuration |
Use for: event listeners, external integrations, async processing — anything that reacts to repository events over ActiveMQ.
Output
Report:
- Extension type: In-Process or Out-of-Process
- Detected SDK and version
- Detected ACS version
- Java version requirement
- For In-Process: whether to use XML or Java-based Spring configuration
- For Out-of-Process: confirm event API and ActiveMQ configuration patterns
- Any version-specific warnings
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

