PlugADVPL Environment Diagnostic
Diagnoses and validates the local Protheus indexing environment to ensure optimal metadata search performance.
The /plugadvpl:doctor skill is a comprehensive diagnostic utility designed to troubleshoot the PlugADVPL environment used for indexing Protheus (ADVPL/TLPP) source code. It performs rigorous checks on the local stack, including Python/uv environment stability, SQLite FTS5 support, and database schema integrity. By validating lookup tables, file permissions, and character encoding, it identifies the root cause of indexing failures or search inaccuracies. When issues are found, the skill provides actionable remediation steps, such as re-initializing the database or updating migrations, ensuring that Claude can efficiently query metadata without excessive token consumption.