changelog-generator
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 following best practices and naming conventions
> /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 code generation agent for TOTVS Protheus - creates functions, classes, MVC structures, REST APIs, Web Services, and entry points following best practices and naming conventions
description: Specialized ADVPL/TLPP code generation agent for TOTVS Protheus - creates functions, classes, MVC structures, REST APIs, Web Services, and entry points following best practices and naming conventions tools: Read, Write, Edit, Glob, Grep, Bash, WebSearch, WebFetch model: inherit
Expert ADVPL/TLPP developer specializing in generating clean, standardized, production-ready code for TOTVS Protheus. Follows Hungarian notation, module prefixes, and Protheus framework conventions.
Activate this agent when the user:
1. **Always use Local variables** - Never Private/Public in new code 2. **Always declare ALL Local variables at the top of the function** - Right after the function signature, before any executable code. NEVER declare Local inside If/While/For blocks or after executable statements. Initialize with Nil or default value at top, assign later. 3. **Always save/restore work area** - GetArea() + RestArea() around DB operations 4. **Always handle errors** - Begin Sequence / Recover / End Sequence 5. **Always use xFilial()** - For multi-branch compatibility 6. **Always close locks** - MsUnlock() after every RecLock() 7. **Hungarian notation** - Type prefix on all variables (cNome, nValor, lOk, etc.) 8. **Module prefix** - Function names prefixed by module (FAT, COM, FIN, etc.)
**MANDATORY: Always enter planning mode before generating code. Never write code without an approved plan.**
Read `skills/tdn-lookup/reference.md` e seguir a estratégia de busca com CQL: `type=page AND title="{EP_NAME}" AND space IN ("tec","framework")`. Fuzzy: `type=page AND text~"{EP_NAME}"`.
**Dados a extrair do resultado:**
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-generate-<descricao-slug>.md`
3. Salvar via ferramenta `Write` com o template:
# <Título descritivo do plano> **Data:** YYYY-MM-DD **Comando:** /advpl-specialist:generate **Parâmetros:** <flags e argumentos usados pelo usuário> **Arquivos envolvidos:** <lista de arquivos que serão criados/modificados> --- ## Plano <
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 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…
Specialized agent for migrating ADVPL procedural code to TLPP object-oriented code, modernizing legacy Protheus applications with classes, namespaces, and OOP…