From aiup-alfresco
Scans Alfresco extension code for deprecated APIs like ServiceRegistry.getNodeService() and suggests replacements such as @Autowired NodeService or Spring Boot events with migration effort estimates.
npx claudepluginhub aborroy/aiup-alfrescoThis skill is limited to using the following tools:
Scan Alfresco extension code for deprecated API usage and suggest modern replacements.
Detects Alfresco SDK type from pom.xml (In-Process Maven or Out-of-Process Spring Boot), reports ACS/Java versions, config patterns, and code generation guidance for Java extensions.
Refactors legacy codebases, migrates outdated frameworks (e.g., jQuery to React, Python 2 to 3, Java 8 to 17), and implements gradual modernization. Handles technical debt, dependencies, backward compatibility for safe upgrades.
Refactors legacy codebases, migrates frameworks (jQuery→React, Java 8→17, Python 2→3), decomposes monoliths to microservices, updates dependencies, and ensures backward compatibility.
Share bugs, ideas, or general feedback.
Scan Alfresco extension code for deprecated API usage and suggest modern replacements.
| Deprecated | Replacement | Since |
|---|---|---|
ServiceRegistry.getNodeService() | @Autowired NodeService | SDK 4.x+ |
AuthenticationUtil.setFullyAuthenticatedUser() | AuthenticationUtil.runAs() | SDK 4.x+ |
| Direct Hibernate session access | NodeService / ContentService | Always |
| AMP packaging with no third-party library deps | JAR packaging | SDK 4.2+ |
AbstractLifecycleBean for bootstrap | @PostConstruct / ApplicationReadyEvent | Spring Boot 3.x |
| Alfresco Explorer (JSF) customizations | ACA/ADW extensions | ACS 6.0+ |
| CMIS 1.0 | CMIS 1.1 or REST API v1 | ACS 5.2+ |
| Lucene query syntax | AFTS or CMIS query | ACS 4.0+ |
For each deprecated usage found, report: file, line, deprecated API, suggested replacement, and migration effort estimate (trivial/moderate/significant).