Skip to main content

jqschema

Infer JSON structure and types with jq-based schema discovery.

معلومات المصدر

المستودع
github/gh-aw
آخر نشاط في المصدر
٢٢ يونيو ٢٠٢٦ في ٢٢:٣٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٥٬٤٠٤
التفرعات
٥٨٨

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
3 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
jqschema
description
Infer JSON structure and types with jq-based schema discovery.
tools
{"bash":["jq *","./.github/skills/jqschema/jqschema.sh","git"]}
## jqschema - JSON Schema Discovery Use `./.github/skills/jqschema/jqschema.sh` to generate a compact structural schema (keys + types) from JSON input. Pipe any JSON source through it to discover structure before querying full data. ```bash # Analyze a file or command output cat data.json | ./.github/skills/jqschema/jqschema.sh gh api search/repositories?q=language:go | ./.github/skills/jqschema/jqschema.sh ``` The script replaces object values with type names (`"string"`, `"number"`, `"boolean"`, `"null"`), reduces arrays to first-element structure, and outputs compact JSON. Use `perPage: 1` to fetch minimal data when exploring unknown API shapes. **Example**: `{"total_count":1000,"items":[{"login":"user1","id":123}]}` → `{"total_count":"number","items":[{"login":"string","id":"number"}]}`
عرض على GitHub