agentleFS
thalysjuvenalthalysjuvenal/advpl-specialist/skills/protheus-business/SKILL.md

protheus-business

Skill183 starsChanged 2 months agoMITView on GitHub

Use when the user needs to understand a TOTVS Protheus ERP business process, module workflow, or cross-module integration -- covering Compras (COM), Estoque (EST), Faturamento (FAT), Financeiro (FIN), Contabilidade (CTB), Fiscal (FIS), PCP, and Manutencao de Ativos (MNT), including their main routines (e.g. MATA110, MATA460), tables/fields, and business rules. Also triggers on Portuguese phrasing like "processo de negocio", "modulo de compras/estoque/faturamento/financeiro/fiscal/contabilidade/pcp/manutencao", "como funciona o ciclo de compras", or questions about integration between modules.

The file

Files
SKILL.md

Protheus 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 fileRead when
reference.mdAlways -- module index, lookup strategy (local first, then TDN), and response format per query type
modulo-compras.mdQuestions about Compras (COM): solicitacoes, cotacoes, pedidos de compra, liberacao, entrada de NF
modulo-estoque.mdQuestions about Estoque (EST): movimentacoes, saldos, armazens, inventario
modulo-faturamento.mdQuestions about Faturamento (FAT): pedidos de venda, notas fiscais de saida, faturamento
modulo-financeiro.mdQuestions about Financeiro (FIN): titulos a pagar/receber, baixas, fluxo de caixa
modulo-contabilidade.mdQuestions about Contabilidade (CTB): lancamentos contabeis, plano de contas, integracao contabil
modulo-fiscal.mdQuestions about Fiscal (FIS): apuracao de impostos, SPED, documentos fiscais
modulo-pcp.mdQuestions about PCP: ordens de producao, estrutura de produtos, MRP
modulo-manutencao.mdQuestions about Manutencao de Ativos (MNT): ordens de manutencao, ativos, planos de manutencao

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.