changelog-generator
AgentSpecialized 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
Claude Code
> /plugin marketplace add thalysjuvenal/advpl-specialist> /plugin install advpl-specialist@advpl-specialist-marketplace
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
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…
Specialized ADVPL/TLPP code review agent - analyzes existing code for best practices, performance issues, security…
Specialized agent for diagnosing and resolving ADVPL/TLPP errors in TOTVS Protheus - compilation errors, runtime errors,…
Specialized agent for generating technical documentation from ADVPL/TLPP source code - Protheus.doc headers, routine docs, API…
Specialized agent for looking up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…