ADVPL & TLPP Refactoring Pro
Optimizes legacy and modern ADVPL/TLPP code for Totvs Protheus by applying high-performance refactoring patterns and modern architectural standards.
This skill provides specialized intelligence for refactoring ADVPL and TLPP source code within the Totvs Protheus ecosystem. It targets the most common performance bottlenecks and technical debt found in legacy R10/R11 environments, such as N+1 query loops, inefficient string concatenation, and outdated procedural UI wrappers. By leveraging the plugadvpl CLI, it guides developers through complex transitions like migrating AxCadastro to the modern MVC framework and ensuring safe character encoding between CP1252 and UTF-8, significantly reducing technical debt and improving system responsiveness.