agentsclimarketplace

Protheus reference

Skill thalysjuvenal/advpl-specialist/skills/protheus-reference

Use when the user needs to look up a TOTVS Protheus native function's syntax/parameters/return value, the SX data dictionary structure (SX1-SX9, SIX), REST API endpoint patterns (FWRest, WsRestFul), MV_* system parameter behavior, SX3 field validation, or whether a function is restricted/internal-only. Also triggers on Portuguese phrasing like "funcao nativa", "dicionario de dados", "parametro MV_", "campo SX3", "API REST protheus", "essa funcao e restrita".From its SKILL.md

Install
npx -y skills add thalysjuvenal/advpl-specialist --skill protheus-reference

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.4 KB, as published. Nobody here has run it

Protheus Reference

This skill is a quick-lookup reference guide for the TOTVS Protheus ecosystem: native function syntax/parameters/return values across categories (String, Date/Time, Array, Database, Interface, Network, JsonObject, ExecAuto, etc.), the SX data dictionary (SX1 Perguntas through SXB/SIX), REST API patterns (FWRest annotations vs. legacy WsRestFul), and MV_* system parameters.

Activate this skill when the user needs to confirm how a native function works, validate a custom field against SX3, check REST endpoint conventions, or verify a function isn't on the restricted/internal-only list (checked first, always, before recommending any function). The lookup strategy is local-first (native-functions.md, sx-dictionary.md, sx3-common-fields.md, rest-api-reference.md), falling back to a tiered TDN online search (WebFetch API, then Playwright API JSON, then Playwright HTML) via the tdn-lookup skill when not found locally.

It does not cover business-process context for why a table/field is used (see protheus-business), writing the SQL to query these tables (see embedded-sql), or generating documentation that references these functions (see documentation-patterns).

Reference fileRead when
reference.mdAlways -- function category index, data dictionary overview, REST API pattern summary, and the local-first/TDN lookup strategy
native-functions.mdLooking up exact syntax, parameters, and return value of a specific native function
sx-dictionary.mdUnderstanding SX1-SX9/SIX table structure and programmatic usage of the data dictionary
sx3-common-fields.mdValidating whether a custom or standard field exists on a table before referencing it in code
restricted-functions.mdChecking whether a function/class is internal-only or blocked from compilation before recommending it
rest-api-reference.mdBuilding or documenting a REST endpoint (FWRest annotations or legacy WsRestFul)

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.