/advpl-specialist:sx-configurationfrom advpl-specialist
Generates and validates Protheus SX dictionary scripts (SX2, SX3, SIX, SXG, SXA, SX1, SX5, SXB, SX7) with templates, naming conventions, and ordering rules.
Ships in advpl-specialist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill provides templates and validation rules for generating Protheus data dictionary configuration scripts: SX2 table headers, SX3 field definitions, SIX indexes, SXG field groups, SXA form folders/tabs, SX1 report parameter questions, SX5 generic tables, SXB standard F3 lookup queries, and SX7 field triggers. It covers required field values, naming conventions (3-char aliases, Z-prefixed custom tables, XX_FIELD naming), share-mode semantics (C/E/M), and common pitfalls such as creation order (SX2 before SX3 before SIX) and hardcoded physical table names.
Activate this skill when the user is registering a new custom table, adding custom fields, defining indexes, grouping fields for cross-table validation, organizing MVC form tabs, setting up report parameter questions, creating a generic lookup table, or configuring an F3 query or field trigger. It does not cover programmatic READ access to the dictionary at runtime (Posicione, TamSx3, FW APIs) -- see protheus-reference/sx-dictionary.md for that.
| Reference file | Read when |
|---|---|
| reference.md | Always -- SX2/SX3/SIX/SXG/SXA/SX1/SX5/SXB/SX7 field templates, share modes, naming rules, and common pitfalls |
| patterns-sx6-sx9.md | Generating an SX6 system parameter (custom MV_X*) or an SX9 relationship between tables -- TDN-documented fields, example scripts, runtime read with SuperGetMV |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
protheus, sx-dictionary, custom-table, custom-field, index, trigger
19 skills in this plugin
/advpl-code-generationGenerate or scaffold ADVPL/TLPP code - User Functions, TLPP classes, MVC, REST, SOAP, entry points, reports, jobs. "gerar codigo", "criar rotina", "novo ponto de entrada", "criar classe tlpp", "gerar api rest"./advpl-code-reviewReview or audit ADVPL/TLPP code for best practices, performance, security and SonarQube rules (CA/BG/CS). "revisar codigo", "auditar rotina", "checar boas praticas", "code review advpl"./advpl-debuggingDebug ADVPL/TLPP errors - compilation, runtime (NIL, type mismatch), slow queries, locks, AppServer logs and stack traces. "erro de compilacao", "travou o lock", "performance lenta", "analisar log"./advpl-refactoringRefactor or clean up ADVPL/TLPP without changing behavior - extract functions, simplify conditionals, remove dead code. "refatorar rotina", "extrair funcao", "remover codigo morto", "God function"./advpl-to-tlpp-migrationMigrate or modernize procedural ADVPL (.prw) to TLPP classes with namespaces, keeping compatible wrappers. "migrar para tlpp", "converter prw para tlpp", "compatibilizar fonte", "transformar em classe"./advpr-test-automationWrite, run or troubleshoot ADVPR (Advanced Protheus Robot) automated tests - FWTestHelper, TestSuite, FwExecSuite. "teste automatizado", "robo de testes", "GPS de testes", "rodar suite de testes".npx claudepluginhub thalysjuvenal/advpl-specialist --plugin advpl-specialistOther plugins' skills for the same job