Migration advisor
Skill aborroy/aiup-alfresco/.cursor/skills/migration-advisor
Detects deprecated Alfresco API usage and suggests modern equivalents. Trigger when analysing existing Alfresco extension code.From its SKILL.md
npx -y skills add aborroy/aiup-alfresco --skill migration-advisorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 252 tokens by cl100k_base, as published. Nobody here has run it
Migration Advisor
Scan Alfresco extension code for deprecated API usage and suggest modern replacements.
Deprecated Patterns
| 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+ |
Output
For each deprecated usage found, report: file, line, deprecated API, suggested replacement, and migration effort estimate (trivial/moderate/significant).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.