Protheus ADVPL Unified Trace
Aggregates cross-universe references for Protheus entities, providing a comprehensive view of impacts across code, system tables, and workflows.
The Unified Trace skill is the definitive impact analysis tool for Protheus developers using Claude Code. It streamlines the investigation process by consolidating five legacy commands into a single call, mapping relationships across source code (Universo 1), system metadata like SX3 and SX7 (Universo 2), and execution triggers such as MsExecAuto and workflows (Universo 3). Whether you are modifying a database field or refactoring a function, this skill provides a low-token, high-context summary of all dependencies, preventing regressions and reducing manual correlation effort.
Key Features
01Unified cross-universe tracing (Sources, Metadata, and Workflows)
02Multi-depth relationship mapping for transitive triggers and callers
03Intelligent token optimization compared to manual diagnostic workflows
0413 GitHub stars
05Automatic entity type detection for fields, tables, functions, and parameters
06Deep integration with Protheus system tables including SX1, SX3, SX7, and SIX
Use Cases
01Performing comprehensive impact analysis when modifying standard or custom database fields.
02Identifying dead code by checking for callers, triggers, and execution points of specific functions.
03Mapping data flow by discovering which sources or ExecAutos write to specific database tables.