Consults TOTVS Protheus ERP business processes, module workflows, routines, tables, and integrations for modules like Compras, Estoque, Faturamento using local references and TDN web searches with Playwright fallback.
From advpl-specialistnpx claudepluginhub thalysjuvenal/advpl-specialist --plugin advpl-specialistThis skill uses the workspace's default tool permissions.
modulo-compras.mdmodulo-contabilidade.mdmodulo-estoque.mdmodulo-faturamento.mdmodulo-financeiro.mdmodulo-fiscal.mdmodulo-manutencao.mdmodulo-pcp.mdProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Reference guide for TOTVS Protheus ERP business processes. Provides understanding of how each module works, its routines, tables, business rules, and how modules integrate with each other.
| Module | Prefix | Reference File |
|---|---|---|
| Compras | COM | modulo-compras.md |
| Estoque | EST | modulo-estoque.md |
| Faturamento | FAT | modulo-faturamento.md |
| Financeiro | FIN | modulo-financeiro.md |
| Contabilidade | CTB | modulo-contabilidade.md |
| Fiscal | FIS | modulo-fiscal.md |
| PCP | PCP | modulo-pcp.md |
| Manutencao de Ativos | MNT | modulo-manutencao.md |
digraph lookup {
"Business process query?" [shape=diamond];
"Identify module(s)" [shape=box];
"Check module reference file" [shape=box];
"Found?" [shape=diamond];
"Return result" [shape=box];
"Search TDN online" [shape=box];
"WebSearch: site:tdn.totvs.com <term>" [shape=box];
"Fetch failed?" [shape=diamond];
"Playwright fallback" [shape=box];
"Business process query?" -> "Identify module(s)";
"Identify module(s)" -> "Check module reference file";
"Check module reference file" -> "Found?";
"Found?" -> "Return result" [label="yes"];
"Found?" -> "Search TDN online" [label="no"];
"Search TDN online" -> "WebSearch: site:tdn.totvs.com <term>";
"WebSearch: site:tdn.totvs.com <term>" -> "Fetch failed?";
"Fetch failed?" -> "Return result" [label="no"];
"Fetch failed?" -> "Playwright fallback" [label="yes"];
"Playwright fallback" -> "Return result";
}
WebSearch using query: site:tdn.totvs.com <module> <process> protheusWebFetch to extract detailsWebSearch ou WebFetch falhar, use Playwright MCP:
browser_navigate para a URL do TDN (se disponivel) ou buscar em https://tdn.totvs.combrowser_snapshot para extrair texto; se insuficiente, browser_take_screenshot para captura visualbrowser_close ao finalizar para liberar recursosAdaptive based on query type:
| Query Type | Response Structure |
|---|---|
| Process | Description -> Routines -> Tables/Fields -> Step-by-step flow -> Integrations -> Entry points |
| Routine | What it does -> Tables it moves -> Parameters -> Process it belongs to |
| Module | Overview -> Main tables -> Main routines -> Key processes -> Integrations |
| Integration | Flow between modules -> Linking tables -> Routines involved |
When searching TDN (TOTVS Developer Network):
WebSearch with query: site:tdn.totvs.com <module> <process> protheussite:tdn.totvs.com <routine_name> advpl protheussite:tdn.totvs.com integracao <module_a> <module_b> protheushttps://tdn.totvs.com