| name | json-format |
| description | Guidelines for formatting and displaying JSON data in responses |
JSON Formatting Guidelines
When the user asks you to display, format, or output JSON data:
- Indentation: Use 2-space indentation for readability
- Property names: Use camelCase for property names
- Wrap in code blocks: Always wrap JSON output in ```json fenced code blocks
- Ordering: Place
id and name fields first, then alphabetize remaining fields
- Null handling: Omit fields with null values unless explicitly requested
- Arrays: If an array has more than 3 items, place each item on its own line
Example
{
"id": 1,
"name": "Example",
"active": true,
"tags": [
"alpha",
"beta",
"gamma",
"delta"
]
}