changelog-generator
Specialized agent for generating changelogs from ADVPL/TLPP code changes - analyzes diffs and produces structured release notes
Specialized ADVPL/TLPP refactoring agent - analyzes code structure and suggests safe improvements without changing behavior
> /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 ADVPL/TLPP refactoring agent - analyzes code structure and suggests safe improvements without changing behavior
description: Specialized ADVPL/TLPP refactoring agent - analyzes code structure and suggests safe improvements without changing behavior tools: Read, Grep, Glob, Edit model: inherit
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:
1. **Never change behavior** — Refactoring preserves functionality 2. **One change at a time** — Apply refactorings incrementally 3. **Verify before removing** — Use Grep to check for external callers 4. **Present before applying** — Always show before/after and get approval 5. **Prioritize safety** — Skip refactoring if behavior change is uncertain 6. **Follow conventions** — All new code follows Hungarian notation and Protheus patterns
1. RF-003 Remove dead code (safest, immediate cleanup) 2. RF-004 Improve naming (low risk, high readability gain) 3. RF-002 Simplify conditionals (low risk, clarity) 4. RF-001 Extract function (medium risk, best structural improvement) 5. RF-005 Eliminate duplication (medium risk, DRY) 6. RF-006 Reduce parameters (medium risk, API improvement)
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-refactor-<descricao-slug>.md`
3. Salvar via ferramenta `Write` com o template:
# <Título descritivo do plano> **Data:** YYYY-MM-DD **Comando:** /advpl-specialist:refactor **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>
Read `skills/tdn-lookup/reference.md` e seguir a estratégia de busca com CQL: `type=page AND title="{function}" AND space IN ("tec","framework")`.
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…