advpl-tlpp
TLPP (TOTVS Language Plus Productive) — sucessor moderno do ADVPL com OO completa, namespaces, annotations @Get/@Post/@Test, JSON nativo, try/catch, reflection.
Skill by replybr
Chalk Labs
Need help deploying advpl-tlpp?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/replybr-advpl-tlpp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/advpl-tlpp
What's inside
- Skill name
advpl-tlpp- Description
- TLPP (TOTVS Language Plus Productive) — sucessor moderno do ADVPL com OO completa, namespaces, annotations @Get/@Post/@Test, JSON nativo, try/catch, reflection. Use ao trabalhar com arquivos .tlpp/.th, código TLPP novo, REST moderno, classes com herança/interfaces, ou migração ADVPL→TLPP.
- License
- MIT
- Instructions
- 187 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
Files (2)
- SKILL.md
- reference.md
SKILL.md (first lines)
# advpl-tlpp — TLPP (TOTVS Language Plus Productive)
**TLPP** é a evolução moderna do ADVPL lançada pela TOTVS para suportar paradigmas atuais: orientação a objetos completa, namespaces, annotations, exceções estruturadas, JSON nativo, reflection. Coexiste com ADVPL no mesmo RPO/tlpp.rpo — código TLPP chama ADVPL e vice-versa.
## Quando usar
- Edit/criação de arquivos `.tlpp` ou `.th` (header TLPP).
- Endpoints REST com annotations (`@Get`, `@Post`, `@Put`, `@Delete`).
- Classes com herança, interfaces, modificadores de acesso (`public`/`protected`/`private`).
- Testes unitários com PROBAT (`@Test`, `@Before`, `@After`).
- Migração ADVPL → TLPP.
- Uso de `JsonObject`, `try`/`catch`/`finally`, `throw`.
## Extensões e includes
- `.tlpp` — fonte TLPP (compilado para `tlpp.rpo`).
- `.th` — header TLPP (substitui `.ch` do ADVPL).
- Includes essenciais:
- `#include "tlpp-core.th"` — features básicas (try/catch, JsonObject, annotations).
- `#include "tlpp-rest.th"` — annotations REST.
- `#include "tlpp-object.th"` — classes/interfaces.
## Tipagem opcional e parâmetros nomeados
```tlpp
function processOrder(string cNumero, numeric nValor := 0.00, boolean lEmite := .T.) as logical
return .T.
endfunction
```
Tipos: `string`, `numeric`, `boolean`, `date`, `array`, `object`, `codeblock`, `json`, `character`, `logical`.
## Namespaces
```tlpp
namespace custom.mvc.customer
class Customer
public data cCodigo as string
method New() constructor
method save() as logical
endclass
```
`using namespace custom.mvc.customer` no consumidor. Convenção: minúsculo, dot-separated, começa pelo cliente.
## Orientação a objetos completa
```tlpp
class Vehicle
public data cPlate as string
private data nMileage as numeric
protected data dService as date
public method New(cPlate) constructor
public method getInfo() as string
protected method updateService(dDate) as logical
endclass
method New(cPlate) class Vehicle
self:cPlate := cPlate
endmethod
method getInfo() class Vehicle
return "Vehicle: " + self::cPlate
```
- Herança: `class Car from Vehicle`.
- Interfaces: `interface IPrintable` + `class Foo implements IPrintable`.
- Métodos estáticos: `static method utility() class Foo`.
## Annotations
```tlpp
@Get(endpoint="/v1/customer/:id", description="Get customer by id")
@Auth(roles="admin,seller")
user function getCustomer()
local cId := oRest:GetUrlParam("id")
// ...
return .T.
```
Annotations customizadas via reflection:
```tlpp
@MyAnnotation(value="x")
function foo()
// descobrível via FwReflection
endfunction
```
## REST moderno (FWRest)
```tlpp
namespace custom.api.customer
using namespace tlpp.web
class CustomerApi from FWRest
@Get(endpoint="/v1/customers")
method list() as json
@Post(endpoint="/v1/customers")
method create() as json
endclass
```
Resposta JSON nativa, sem `oRest:SetResponse(cString)` manual.
## try/catch/finally + throw
```tlpp
try
if Empty(cId)
throw ErrorClass():New("400", "ID obrigatório")
endif
// ...
catch oErr
conout("Erro: " + oErr:getDescription())
oRest:SetStatusCode(500)From replybr/plugadvpl, MIT.
More from replybr/plugadvpl
- 0.470score
advpl-dicionario-sx
replybr
Dicionário SX do Protheus — SX1 (perguntas), SX2 (mapeamento de arquivos), SX3 (campos), SX5 (tabelas genéricas), SX6 (parâmetros MV_*), SX7 (gatilhos), SX8…
SkillCFreshness: CClaude Code +9 - 0.470score
advpl-mvc-avancado
replybr
MVC avançado via PE — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA460/etc), AddTrigger em cascata, validações preservando original…
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-embedded-sql
replybr
SQL embarcado em ADVPL — BeginSql/EndSql, TCQuery, macros obrigatórias %notDel%, %xfilial%, %table%, %exp%, %Order%, 6 restrições de performance e segurança.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-encoding
replybr
Política de encoding em fontes ADVPL/TLPP — cp1252 para .prw clássico, utf-8 para .tlpp moderno, preserve-by-default.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-fundamentals
replybr
Fundamentos ADVPL/TLPP — notação húngara (c/n/d/l/a/o/b/x), naming convention, prefixos de módulo, User Function precisa prefixo de cliente, 195 funções…
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-jobs-rpc
replybr
JOBs e RPC no Protheus — Main Function, RpcSetEnv(emp,fil,user,pwd,env,modulo), PREPARE/END ENVIRONMENT, StartJob, MsRunInThread.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-matxfis
replybr
Família MATXFIS (Faturamento/Fiscal Protheus) — geração de NF-e, SPED, ECF, REINF, integração SF2/SD2/SF3, PEs do módulo fiscal.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-mvc
replybr
Padrões MVC em ADVPL — MenuDef/ModelDef/ViewDef, aRotina, MODEL_OPERATION_*, hooks bCommit/bTudoOk/bLineOk/bPosVld/bPreVld, FWFormStruct1/2.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-advanced
replybr
Tópicos avançados ADVPL — transações com Begin Transaction, relatórios TReport, FWTemporaryTable, manipulação de arquivos texto, MsNewGetDados, TCBrowse, OOP…
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-web
replybr
Interfaces web no Protheus — ADVPL ASP (.APH), módulos web Webex/SmartClient HTML, métodos HTTP GET/POST/HTTPSESSION/COOKIE, portais multi-empresa…
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-webservice
replybr
Web Services em ADVPL — REST (WSRESTFUL, @Get/@Post) e SOAP (WSSERVICE/WSMETHOD/WSDATA).
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-pontos-entrada
replybr
Pontos de Entrada (PEs) no Protheus — User Function NOME(PARAMIXB[1..N]), naming patterns, retorno por PARAMIXB[última-posição].
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- May 11, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/replybr/plugadvpl
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from replybr
- 0.470score
advpl-dicionario-sx
replybr
Dicionário SX do Protheus — SX1 (perguntas), SX2 (mapeamento de arquivos), SX3 (campos), SX5 (tabelas genéricas), SX6 (parâmetros MV_*), SX7 (gatilhos), SX8…
SkillCFreshness: CClaude Code +9 - 0.470score
advpl-mvc-avancado
replybr
MVC avançado via PE — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA460/etc), AddTrigger em cascata, validações preservando original…
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-fundamentals
replybr
Fundamentos ADVPL/TLPP — notação húngara (c/n/d/l/a/o/b/x), naming convention, prefixos de módulo, User Function precisa prefixo de cliente, 195 funções…
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-encoding
replybr
Política de encoding em fontes ADVPL/TLPP — cp1252 para .prw clássico, utf-8 para .tlpp moderno, preserve-by-default.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-embedded-sql
replybr
SQL embarcado em ADVPL — BeginSql/EndSql, TCQuery, macros obrigatórias %notDel%, %xfilial%, %table%, %exp%, %Order%, 6 restrições de performance e segurança.
SkillCFreshness: CClaude Code +9 - 0.468score
advpl-code-review
replybr
24 regras de code review ADVPL (BP/SEC/PERF/MOD).
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get advpl-tlpp running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
advpl-tlpp skill. Agent Mart. https://agentmart.dev/skills/replybr-advpl-tlpp (last updated 2026-10-24)