thalysjuvenal/advpl-specialist
Agent
Specialized agent for looking up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and TOTVS framework reference with local + TDN online search.
thalysjuvenal/advpl-specialist
Agent
Specialized agent for looking up Protheus documentation - native functions, SX data dictionary, REST APIs, MV parameters, and TOTVS framework reference with local + TDN online search.
thalysjuvenal/advpl-specialist
Agent
Specialized agent for migrating ADVPL procedural code to TLPP object-oriented code, modernizing legacy Protheus applications with classes, namespaces, and OOP patterns.
thalysjuvenal/advpl-specialist
Agent
Specialized agent for consulting Protheus ERP business processes, module workflows, routines, integrations, and understanding how business operations work in TOTVS Protheus.
thalysjuvenal/advpl-specialist
Agent
Specialized ADVPL/TLPP refactoring agent - analyzes code structure and suggests safe improvements without changing behavior.
thalysjuvenal/advpl-specialist
Agent
Specialized agent for generating Protheus SX data dictionary configuration scripts - SX3 fields, SIX indexes, SX1 questions, SX5 generic tables, SX7 triggers.
thalysjuvenal/advpl-specialist
Hook
Runs when a session starts on startup and resume, running an inline shell check. From thalysjuvenal/advpl-specialist.
thalysjuvenal/advpl-specialist
Hook
Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, running an inline shell check. From thalysjuvenal/advpl-specialist.
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to generate, create, or scaffold ADVPL/TLPP code for TOTVS Protheus -- User Functions, Static Functions, TLPP classes, MVC (Model/View/Controller), REST APIs, SOAP web services, entry points (pontos de entrada), TReport/FWMsPrinter reports, jobs, or workflows. Also triggers on Portuguese…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to review, audit, or check the quality of ADVPL/TLPP code for TOTVS Protheus before merge or deploy -- covering best practices (RecLock/MsUnlock pairing, variable scope, area management, error handling), performance bottlenecks, security vulnerabilities (SQL injection, credential exposure), and…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to debug, diagnose, or fix an ADVPL/TLPP error on TOTVS Protheus -- compilation errors (syntax, missing includes, undeclared variables), runtime failures (NIL access, type mismatch, array bounds), performance issues (slow queries, memory leaks), database locks (RecLock timeouts, deadlocks), or…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to refactor, clean up, or restructure existing ADVPL/TLPP code on TOTVS Protheus without changing its behavior -- extracting long functions (>100 lines), simplifying deeply nested conditionals, removing dead code, improving variable naming (Hungarian notation), eliminating duplicated logic, or…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to migrate, convert, compatibilize, or modernize legacy ADVPL procedural code to TLPP object-oriented classes on TOTVS Protheus -- turning User Functions/Static Functions into namespaced classes with methods and data properties, replacing Private/Public scoping, and preserving…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user wants to write, run, or troubleshoot automated regression tests for Protheus routines with ADVPR (Advanced Protheus Robot) -- covering FWTestHelper API, TestSuite/GPS de Testes setup, headless execution via FwExecSuite, and per-pattern scripting (MVC, ExecAuto/MSExecAuto, reports, processing…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to generate a changelog, release notes, or delivery notes from ADVPL/TLPP code changes on TOTVS Protheus -- analyzing diffs or a list of changed files, classifying each change (NEW/FIX/CHANGE/REMOVE/REFACTOR), assessing business impact (ALTO/MEDIO/BAIXO), and detecting affected tables. Also…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user asks to explain what a piece of ADVPL/TLPP code does in plain language, adapting the explanation depth for a junior developer (line-by-line), a senior developer (business logic, design decisions, risks), or a functional consultant (no technical terms) -- e.g. understanding legacy code, filling in…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user wants to generate technical documentation for ADVPL/TLPP code on TOTVS Protheus -- Protheus.doc header blocks (@type, @param, @return, @author, @since, @history), complete routine documentation (tables read/written, MV parameters, entry points, execution flow, dependencies), or REST API endpoint…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user needs to write, review, or migrate SQL queries in ADVPL/TLPP using BeginSQL/EndSQL blocks and macro expressions (%table%, %xfilial%, %notDel%, %exp%, %Order%) instead of raw TCQuery string concatenation -- covering INNER/LEFT JOIN patterns, aggregations (SUM/COUNT/GROUP BY/HAVING), subqueries, column…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user needs to write or run unit, functional, or integration tests for TLPP code using ProBat (tlppCore's native testing engine) -- covering @TestFixture, @Test, @Setup/@TearDown, @OneTimeSetUp/@OneTimeTearDown, @Skip, @ErrorLog annotations, the full assertion library (assertEquals, assertTrue…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
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…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user needs to understand, diagnose, or prevent Protheus record locks and deadlocks -- covering RecLock/MsUnlock/SoftLock/LockByName semantics, BeginTran/EndTran transaction scoping, lock leak and deadlock diagnostics (TopMemoStatus, MonitorActiveLocks, DBAccess monitor, SQL Server/PostgreSQL/Oracle lock…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
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…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user needs to build, choose the pattern for, or optimize a SQL query against Protheus ERP tables -- covering Workarea (DbSelectArea/DbSeek) vs Embedded SQL vs TCSqlExec pattern choice, mandatory DELET/xFilial filters, SIX index-aligned WHERE ordering, FWPreparedStatement parameterization to prevent SQL…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user wants to build, migrate, or troubleshoot a Smart X routine -- TOTVS's metadata-driven UI framework that generates modern PO-UI screens from a data dictionary Object/Model/Interface/Launcher chain. Covers the model.tlpp/interface.tlpp/launcher artifacts, ADVPL function integration via…
thalysjuvenal/advpl-specialist
Skill Claude CodeCodex
Use when the user needs to generate or validate Protheus data dictionary configuration scripts -- covering SX2 (table headers), SX3 (fields), SIX (indexes), SXG (field groups), SXA (form folders/tabs), SX1 (report questions), SX5 (generic tables), SXB (F3 lookup queries), and SX7 (triggers). Also triggers on…