AGENT SKILL
jsonlint
Use this skill when the user wants to validate JSON files, check JSON syntax, format JSON, or sort JSON keys.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- jsonlint
- description
- Use this skill when the user wants to validate JSON files, check JSON syntax, format JSON, or sort JSON keys.
03 SKILL.md 正文
jsonlint Plugin
A JSON parser and validator with a CLI. Validate JSON files, sort keys, and format JSON.
Commands
JSON Validation
jsonlint validate file— Validate JSON file
Utility
jsonlint _ _— Passthrough to jsonlint CLI
Usage Examples
- "Validate this JSON file"
- "Check JSON syntax"
- "Format this JSON"
- "Sort JSON object keys"
Installation
npm install -g jsonlint
Examples
# Validate file
jsonlint validate file data.json
# Validate from stdin
echo '{"name": "test"}' | jsonlint
# Sort object keys
jsonlint validate file data.json -s
# Format in place
jsonlint validate file data.json -i
# Sort and format in place
jsonlint validate file data.json -s -i
# Validate from pipe
cat data.json | jsonlint
# Any jsonlint command with passthrough
jsonlint _ _ data.json
jsonlint _ _ -s -i data.json
Key Features
- Validation - Check JSON syntax
- Error reporting - Clear error messages
- Sort keys - Alphabetically sort object keys
- In-place editing - Modify files directly
- Stdin support - Process from pipe
- Pure JavaScript - No native dependencies
- Cross-platform - Works everywhere
- Fast - Efficient parsing
Notes
- Reports line and column of errors
- Use -s to sort object keys
- Use -i to edit files in place
- Can be used in CI/CD pipelines
- Great for pre-commit hooks
- Validates JSON RFC 8259 compliance
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57