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
- 脚本json-format.js331 B
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
word-count
Counts the words, lines and characters of a text or a file.
slugify
Turns a title or a sentence into a URL slug, lowercase words joined by hyphens with accents removed.
commit-message
Writes a conventional commit message for the staged git changes.
skills-gateway
Gateway and router to a catalog of skills that are not registered directly. Use it before any task a specialized skill could handle, such as text, JSON or git chores. It finds the right skill and loads its instructions.
decision-log
Record, list, show and supersede architecture decisions that persist across sessions in the shared agent infra state store. Use when the user says "record this decision", "log an ADR", "what did we decide about", "list decisions", or "supersede decision".
answer-grader
Grade a written answer (release notes, summaries, commit messages, JSON payloads) against checks using the shared evaluators of the agent infra, store every run in the evals UI and track the score trend per suite. Use when the user says "grade this answer", "check this output", "does this meet the criteria", "score the release notes" or "show grading history".