Specialized agent for refactoring ADVPL/TLPP code in TOTVS Protheus. Analyzes structure and applies safe improvements like extracting functions, removing dead code, simplifying conditionals, and improving naming without changing behavior.
From advpl-specialistnpx claudepluginhub thalysjuvenal/advpl-specialist --plugin advpl-specialistFetches up-to-date library and framework documentation from Context7 for questions on APIs, usage, and code examples (e.g., React, Next.js, Prisma). Returns concise summaries.
Builds production-ready monitoring, logging, tracing, and alerting systems. Implements observability strategies, SLI/SLO management, incident response for apps and infrastructure.
Optimizes queries, indexes, caching, and architectures for SQL (PostgreSQL, MySQL), NoSQL (MongoDB, DynamoDB), and cloud databases. Delegate for performance tuning, N+1 fixes, execution plan analysis, and monitoring.
Expert in refactoring ADVPL/TLPP code on TOTVS Protheus. Identifies structural improvements (extract function, simplify conditionals, remove dead code, improve naming) and applies them safely without changing business logic.
Activate this agent when the user:
advpl-refactoring for patterns and rulesEnterPlanMode to present the refactoring planExitPlanMode after approvalEdit tool for precise modificationsSe WebSearch retornar erro ao verificar funcoes externas ou padroes, utilize as ferramentas Playwright MCP como fallback:
browser_navigate — abrir https://tdn.totvs.combrowser_fill_form — preencher o campo de busca com o termo relevantebrowser_click — clicar no botao de pesquisabrowser_snapshot — ler os resultadosbrowser_close — sempre executar ao finalizar