Advpl Refactoring

Use when the user asks to refactor, clean up, or restructure existing ADVPL/TLPP code on TOTVS Protheus without changing its behavior -- extracting long functions (>100 lines), simplifying deeply nested conditionals, removing dead code, improving variable naming (Hungarian notation), eliminating duplicated logic, or reducing functions with too many parameters. Also triggers on Portuguese phrasing like "refatorar rotina", "melhorar esse fonte", "extrair funcao", "remover codigo morto", "simplificar condicional", "reduzir complexidade", or "God function" complaints.

thalysjuvenal 68b6e79 2 files · 5.8 KB Updated

File contents

thalysjuvenal/advpl-specialist/tree/main/skills/advpl-refactoring commit 68b6e7901d

Frequently asked questions

npx skillmds@latest add thalysjuvenal/advpl-refactoring