PlugADVPL Environment Diagnostic

•
13
•

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.

Key Features

01Comprehensive environment auditing (Python, uv, and SQLite FTS5).
02Database integrity and schema version validation for SQLite.
03Automated troubleshooting suggestions for common indexing errors.
04Filesystem permission and disk space monitoring for the .plugadvpl directory.
05Lookup table verification with hash-based consistency checks.
0613 GitHub stars

Use Cases

01Verifying environment compatibility after installing or updating the plugadvpl plugin.
02Debugging database access issues or schema mismatches in local development environments.
03Troubleshooting search failures or missing metadata results in Protheus projects.