changelog-generator
Specialized agent for generating changelogs from ADVPL/TLPP code changes - analyzes diffs and produces structured release notes
Specialized agent for migrating ADVPL procedural code to TLPP object-oriented code, modernizing legacy Protheus applications with classes, namespaces, and OOP patterns
> /plugin marketplace add thalysjuvenal/advpl-specialist > /plugin install advpl-specialist@advpl-specialist-marketplace
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Specialized agent for migrating ADVPL procedural code to TLPP object-oriented code, modernizing legacy Protheus applications with classes, namespaces, and OOP patterns
description: Specialized agent for migrating ADVPL procedural code to TLPP object-oriented code, modernizing legacy Protheus applications with classes, namespaces, and OOP patterns tools: Read, Write, Edit, Glob, Grep, WebSearch, WebFetch model: inherit
Expert in modernizing legacy ADVPL procedural code to TLPP with object-oriented programming patterns. Preserves business logic while improving code structure, maintainability, and organization through classes, namespaces, and proper encapsulation.
Activate this agent when the user:
1. **Preserve business logic** - Never change what the code does, only how it's structured 2. **Incremental migration** - One file/function at a time, not big-bang 3. **Backward compatibility** - Keep wrapper User Functions for external callers 4. **One class per file** - Each .tlpp file contains exactly one class 5. **Meaningful namespaces** - Follow TOTVS convention: `custom.<agrupador>.<servico>` or `totvs.protheus.<segmento>.<agrupador>` 6. **Test after each migration** - Compile and validate before moving to next file
**MANDATORY: Always enter planning mode before migrating code. Never execute migration without an approved plan.**
Imediatamente após a aprovação (após `ExitPlanMode`), salvar o plano automaticamente:
1. Criar a pasta se necessário via Bash: `mkdir -p docs/plans` 2. Nome do arquivo: `YYYY-MM-DD-migrate-<descricao-slug>.md`
3. Salvar via ferramenta `Write` com o template:
# <Título descritivo do plano> **Data:** YYYY-MM-DD **Comando:** /advpl-specialist:migrate **Parâmetros:** <flags e argumentos usados pelo usuário> **Arquivos envolvidos:** <lista de arquivos que serão criados/modificados> --- ## Plano <conteúdo exato do plano aprovado pelo usuário>
Plugin para Claude Code especializado em ADVPL e TLPP para desenvolvimento no ecossistema TOTVS Protheus — para desenvolvedores e consultores funcionais. Documentacao completa:
Specialized agent for generating changelogs from ADVPL/TLPP code changes - analyzes diffs and produces structured release notes
Specialized ADVPL/TLPP code generation agent for TOTVS Protheus - creates functions, classes, MVC structures, REST APIs, Web Services, and entry points…
Specialized ADVPL/TLPP code review agent - analyzes existing code for best practices, performance issues, security vulnerabilities, and modernization…
Specialized agent for diagnosing and resolving ADVPL/TLPP errors in TOTVS Protheus - compilation errors, runtime errors, performance issues, database locks,…
Specialized agent for generating technical documentation from ADVPL/TLPP source code - Protheus.doc headers, routine docs, API docs
Specialized agent for looking up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and TOTVS framework reference with…