Pular para o conteúdo
Kitbay
Enviar
Skill

jqschema

MITAtualizado em 11 de nov. de 20265.616Estrelas no GitHubInclui scripts

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

O que a skill ensina

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.

O que faz

  • 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