jq-transforms is a schema-driven JSON transformation library built specifically for AI agents. It provides 60+ composable transformations for JSON manipulation, each with clear input/output contracts, comprehensive tests, and minimal implementations. The library emphasizes discoverability through schemas and composability through Unix pipes.
Path-based object manipulation for getting, setting, deleting, checking existence, merging, and querying nested JSON structures.
Array transformations including filtering, mapping, reducing, flattening, chunking, and deduplication.
Da utilizzare quando si eseguono trasformazioni JSON, si manipolano strutture JSON nidificate, si filtrano array, si estraggono valori, si convalidano schemi JSON o si compongono operazioni JSON a più passaggi. Questa competenza fornisce oltre 60 trasformazioni jq guidate da schema ottimizzate per la rilevabilità dell'agente AI. Fonte: skogai/lore.