ADVPL Source Reindexer

•
13
•

Forces the re-indexing of specific ADVPL or TLPP files to provide Claude with updated Protheus metadata without consuming excessive tokens.

The reindex skill is a specialized utility for Protheus developers using Claude Code. It allows for the manual synchronization of ADVPL and TLPP source files into a local SQLite + FTS5 index. By forcing an update regardless of file hash or modification time, it ensures that Claude always has access to the most accurate architectural metadata and symbol definitions. This prevents the need for the model to read entire source files repeatedly, significantly reducing token usage and improving the speed of AI-assisted coding in complex ERP environments.

Key Features

01Integrates with SQLite and FTS5 for high-speed local search
02Bypass file hash and mtime checks for immediate indexing
0313 GitHub stars
04Supports header files (.ch) for include-path synchronization
05Enables validation of parser and linting output for specific sources
06Force metadata updates for specific .prw and .tlpp files

Use Cases

01Updating the metadata index immediately after complex source code edits
02Fixing stale index entries when local file changes are not automatically detected
03Debugging parser output for specific ADVPL files before running architectural analysis