npx skills add smithery/diegopacheco --skill json-formatter
thomasholknielsen/claude-code-config · Archived
json-formatter
Formats and validates JSON data. Use when you need to pretty-print JSON, fix formatting issues, or validate JSON syntax. ALWAYS USE THIS when doing JSON Formatting
Installation
npx skills add thomasholknielsen/claude-code-config --skill json-formatter
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
ChatGPT-style deep research strategy with problem decomposition, multi-query generation (3-5 va…
129 installsStandard multi-source verification search strategy for moderate complexity research.
16 installsFast, targeted single-pass search strategy for simple factual lookups. 1-iteration workflow wit…
15 installsProvides expert guidance on Azure DevOps tasks including work item management, pipelines, repos…
7 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Ensure ATS-friendly formatting and create clean scannable layouts
7.7K installsTurn a topic into a ready-to-publish LinkedIn post using PAS, AIDA, BAB, STAR, or SLAY framewor…
9 installsFormat and draft compelling LinkedIn posts using Unicode bold/italic styling, visual separators…
406 installsConvert long text into Slack-optimized format with emojis, bullets, code blocks, and threading …
299 installsInstalls and configures Prettier, ESLint, EditorConfig, and other code quality tools to enforce…
235 installsFormats markdown files according to best practices and common style guidelines. Use when cleani…
234 installsAlso in this package
Other skills from thomasholknielsen/claude-code-config.
npx skills add thomasholknielsen/claude-code-config
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
master
Skill metadata
Parsed from SKILL.md frontmatter.
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,232 B -
docs
SUMMARY.md185 B
History
- First seen on skills.sh
- First recorded snapshot · 39 installs
SKILL.md
JSON Formatter
Instructions
When asked to format, validate, or prettify JSON:
- Identify the JSON data (raw, minified, or malformed)
- Parse and validate the structure
- Return properly formatted JSON with:
- Consistent 2-space indentation - Proper line breaks - Valid syntax
Examples
Example 1: Minified JSON
Input:
{"name":"John","age":30,"city":"New York","hobbies":["reading","gaming"]}
Output:
{
"name": "John",
"age": 30,
"city": "New York",
"hobbies": [
"reading",
"gaming"
]
}
Example 2: Validating JSON
If JSON is invalid, explain the issue and suggest a fix:
{"incomplete": "data",} // trailing comma
Response: "Invalid JSON: Trailing comma after last property. Remove the comma before the closing brace."
Best Practices
- Use 2-space indentation for consistency
- Sort object keys alphabetically when helpful
- Validate before formatting
- Preserve original data types (strings, numbers, booleans, null)