Zum Inhalt springen
Kitbay
Einreichen
Skill

jqschema

MITAktualisiert am 11. Nov. 20265.616GitHub-SterneEnthält Skripte

A small utility skill in the gh-aw repository that ships a shell script built on jq.

Was der Skill vermittelt

A small utility skill in the gh-aw repository that ships a shell script built on jq. Piping any JSON into the script prints a compact outline of its structure, with values replaced by their type names and arrays reduced to the shape of their first item, so the agent can learn the layout of a large API response before querying it in full. The examples use GitHub CLI API output, but the script works on any JSON. It needs jq installed.

Funktionen

  • Print the key and type structure of a JSON document
  • Reduce arrays to the shape of their first element
  • Inspect API responses before writing full queries