advpr
Gera scripts de automação de testes ADVPR (Advanced Protheus Robot) - TestSuite, TestGroup, TestCase para rotinas MVC, ExecAuto, relatórios, processamento,…
Look up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and framework reference
> /plugin marketplace add thalysjuvenal/advpl-specialist > /plugin install advpl-specialist@advpl-specialist-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/docsContext preview
What this command does when you run it.
Look up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and framework reference
description: Look up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and framework reference allowed-tools: Read, Glob, Grep, Bash, Agent, WebSearch, WebFetch argument-hint: "<term> [--source tdn|local] [--type function|sx|api|param]"
**IMPORTANT:** Always respond in the same language the user is writing in. If the user writes in Portuguese, respond in Portuguese. If in English, respond in English. Adapt all explanations and suggestions to the user's language.
Look up documentation for Protheus functions, APIs, tables, and parameters.
/advpl-specialist:docs <term> [options]
| Flag | Description | Default | |------|------------|---------| | `--source` | Search source: `local`, `tdn`, or `both` | both (local first) | | `--type` | Filter by type: `function`, `sx`, `api`, `param` | auto-detect |
1. **Parse query** - Extract search term and options 2. **Auto-detect type** - If not specified:
3. **Search local** - Check `skills/protheus-reference/` supporting files 4. **Search TDN** - If not found locally or --source tdn, search online 5. **Present results** - Syntax, parameters, return type, example
# Look up a function /advpl-specialist:docs FWExecView # Look up a data dictionary table /advpl-specialist:docs SX2 --type sx # Look up a system parameter /advpl-specialist:docs MV_ESTADO --type param # Force TDN search /advpl-specialist:docs MsExecAuto --source tdn # Look up REST API pattern /advpl-specialist:docs FWRest --type api
For functions:
For SX tables:
For MV parameters:
For REST APIs:
Plugin para Claude Code especializado em ADVPL e TLPP para desenvolvimento no ecossistema TOTVS Protheus — para desenvolvedores e consultores funcionais. Documentacao completa:
Gera scripts de automação de testes ADVPR (Advanced Protheus Robot) - TestSuite, TestGroup, TestCase para rotinas MVC, ExecAuto, relatórios, processamento,…
Diagnose errors and problems in ADVPL/TLPP code - compilation errors, runtime errors, performance issues, and log analysis
Generate technical documentation from ADVPL/TLPP source code - Protheus.doc headers, routine docs, API docs
Explain ADVPL/TLPP code in plain language for developers and functional consultants
Generate ADVPL/TLPP code - functions, classes, MVC structures, REST APIs, Web Services, and entry points for TOTVS Protheus
Migrate ADVPL procedural code to TLPP object-oriented code with classes, namespaces, and modern patterns