About protheus-business
A reference skill for TOTVS Protheus business processes across eight modules, including key tables, routines, process flows, and integrations. It is intended for questions about how operations work and how modules connect, with local references and TDN search as fallback.
Key features
- 01Coverage of eight Protheus modules
- 02Key tables, fields, and routines
- 03Step-by-step process flows
- 04Cross-module integration references
- 05Local lookup with TDN fallback
Use cases
- 01Understanding a module's business process
- 02Finding tables and fields used by a routine
- 03Tracing links between two modules
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ thalysjuvenal/ advpl-specialist --skill protheus-businessAfter installing, type/protheus-businessin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
modulo-compras.mdmodulo-contabilidade.mdmodulo-estoque.mdmodulo-faturamento.mdmodulo-financeiro.mdmodulo-fiscal.mdmodulo-manutencao.mdmodulo-pcp.mdreference.mdDetails
From the project READMEProtheus Business Processes
This skill is a reference guide for TOTVS Protheus ERP business processes across eight modules: Compras, Estoque, Faturamento, Financeiro, Contabilidade, Fiscal, PCP, and Manutencao de Ativos. For each module it documents the main tables and fields, the key routines (e.g. MATA110, MATA460, MATA103), step-by-step business flows, and how the module integrates with others.
Activate this skill when the user asks how a business process works, which tables/fields a routine touches, or how two modules integrate (e.g. Compras feeding Estoque and Financeiro). Look up the module first in the local reference files; if the answer isn't found locally, fall back to a TDN web search as described in the lookup strategy.
It does not cover native function syntax (see protheus-reference), writing the SQL to query these tables (see embedded-sql), or generating/reviewing code that implements these processes (see advpl-code-generation, advpl-code-review).
| Reference file | Read when |
|---|---|
| reference.md | Always -- module index, lookup strategy (local first, then TDN), and response format per query type |
| modulo-compras.md | Questions about Compras (COM): solicitacoes, cotacoes, pedidos de compra, liberacao, entrada de NF |
| modulo-estoque.md | Questions about Estoque (EST): movimentacoes, saldos, armazens, inventario |
| modulo-faturamento.md | Questions about Faturamento (FAT): pedidos de venda, notas fiscais de saida, faturamento |
| modulo-financeiro.md | Questions about Financeiro (FIN): titulos a pagar/receber, baixas, fluxo de caixa |
| modulo-contabilidade.md | Questions about Contabilidade (CTB): lancamentos contabeis, plano de contas, integracao contabil |
| modulo-fiscal.md | Questions about Fiscal (FIS): apuracao de impostos, SPED, documentos fiscais |
| modulo-pcp.md | Questions about PCP: ordens de producao, estrutura de produtos, MRP |
| modulo-manutencao.md | Questions about Manutencao de Ativos (MNT): ordens de manutencao, ativos, planos de manutencao |