Protheus Dictionary Indexer

•
13
•

Indexes Protheus SX system dictionaries from CSV exports into a local SQLite database for efficient metadata querying.

The ingest-sx skill optimizes Protheus development workflows by allowing Claude to query environment metadata without consuming excessive tokens. It processes CSV exports from the Protheus Configurator (SX1 through SXG), automatically handling encoding detection (CP1252/UTF-8) and record deduplication. By populating 11 specialized SQLite tables, it provides the backbone for advanced features like field impact analysis, cross-file linting, and rapid parameter lookups, ensuring the AI has instant access to the client's custom dictionary structure.

主な機能

01Indexes 11 core Protheus tables including SX1, SX2, SX3, and SXG
02Auto-detects CP1252/UTF-8 encoding and CSV separators (, or ;)
03Smart deduplication using natural primary keys with collision reporting
04FTS5-powered SQLite indexing for high-speed metadata retrieval
05Idempotent data ingestion with 'INSERT OR REPLACE' logic
0613 GitHub stars

ユースケース

01Querying table structures and parameters without loading massive source files
02Performing automated dictionary linting based on custom business rules
03Analyzing field impacts and cross-references across SX3, SX7, and SX1