Kembali ke skill
skill-3
oleh claudiodrusus
PDF & Documents—Belum ada penilaian
Penilaian Anda
Ringkasan
Swiss-army knife for JSON files.
Deskripsi
Apa yang Dilakukan Skill Ini
A Python command-line utility for inspecting and transforming JSON data using only the standard library. Supports pretty-printing, minification, validation, key sorting, and dot-notation queries. Works with files or stdin for pipeline use.
Zero dependencies means it runs anywhere Python is installed without a virtual environment or package manager.
Kapan Menggunakannya
- Formatting an API response before reading it
- Validating a config file before deploying
- Extracting a nested value from a large JSON blob
- Minifying a JSON file for a production build
- Sorting package.json keys for a clean diff
Contoh Alur Kerja
INPUT
User asks: extract the email of the first user from users.json
AGENT
- 1
Read the file path from the user
- 2
Run python main.py users.json --query data.users.0.email
- 3
Capture stdout output
- 4
Return the extracted value to the user
OUTPUT
"alice@example.com"
Instalasi
clawhub install claudiodrusus/skill-3Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.