advpr
Gera scripts de automação de testes ADVPR (Advanced Protheus Robot) - TestSuite, TestGroup, TestCase para rotinas MVC, ExecAuto, relatórios, processamento,…
Consult Protheus ERP business processes, module workflows, routines and integrations
> /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.
/processContext preview
What this command does when you run it.
Consult Protheus ERP business processes, module workflows, routines and integrations
description: Consult Protheus ERP business processes, module workflows, routines and integrations allowed-tools: Read, Glob, Grep, WebSearch, WebFetch, Bash, mcp__playwright__browser_navigate, mcp__playwright__browser_snapshot, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_fill_form, mcp__playwright__browser_click, mcp__playwright__browser_close argument-hint: "<process|routine|module> [--type process|routine|module|integration]" agent: process-consultant
**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, process descriptions, and references to the user's language.
Consult Protheus ERP business processes, module workflows, routines, and integrations.
/advpl-specialist:process <query> [options]
| Flag | Description | Default | |------|------------|---------| | `--type` | Query type: `process`, `routine`, `module`, `integration` | auto-detect |
1. **Load reference** - Read `skills/protheus-business/reference.md` 2. **Parse query** - Extract search term and options 3. **Classify query type** - If `--type` not specified, auto-detect:
4. **Search local reference** - Check `skills/protheus-business/` module files (modulo-compras.md, modulo-estoque.md, etc.) 5. **Search TDN** - If not found locally, search TDN online:
6. **Playwright fallback** - If WebSearch/WebFetch fail:
7. **Deliver answer** - Format response based on query type
Adaptive based on query type:
**Process query:**
**Routine query:**
**Module query:**
**Integration query:**
When the user needs more detail, read additional references:
# Understand a business process /advpl-specialist:process fluxo de compras # Look up a specific routine /advpl-specialist:process MATA410 # Understand a module /advpl-specialist:process modulo Faturamento --type module # Understand integration between modules /advpl-specialist:process integracao Compras Estoque --type integration # Ask in natural language /advpl-specialist:process como funciona o processo de faturamento no Protheus? # Look up financial process /advpl-specialist:process contas a pagar
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
Look up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and framework reference
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