AGENT SKILL

json-format

Validates a JSON file and pretty prints it with two space indentation, or reports where the JSON is invalid.

License 许可
Unlicense
最近更新
2026-11-15
Stars
★ 21
Forks
9

01 前言 Front Matter

name
json-format
description
Validates a JSON file and pretty prints it with two space indentation, or reports where the JSON is invalid.

02 资源文件 1

03 SKILL.md 正文

Request: $ARGUMENTS

Run node ${SKILL_DIR}/json-format.js <path>. If it exits 0, show the formatted JSON. Write it back to the file only when the user asked for that. If it exits 1, answer with the error line it printed and do not touch the file.

04 同仓库更多 Skills