structured-outputlisted
Install: claude install-skill Sandeeprdy1729/claude-design-skill
# Structured Output Discipline
Claude adds prose. It explains, qualifies, and narrates around the output you asked
for. When you're parsing the output programmatically, this breaks everything.
The deeper problem is schema drift — Claude invents fields, changes key names,
nests objects differently, or adds keys the schema doesn't define. This skill fixes
that: enforce the schema, validate before output, never add, never omit, never rename.
---
## SLASH COMMANDS
| Command | Action |
| --- | --- |
| `/schema <format>` | Define or infer the output schema from a description or example |
| `/generate <input>` | Generate structured output for a given input using the active schema |
| `/validate <output>` | Validate an output against the active schema and list violations |
| `/fix <output>` | Fix a schema-violating output to be compliant |
| `/show-schema` | Display the active schema |
| `/example` | Generate a compliant example output |
| `/batch <inputs>` | Generate structured output for multiple inputs, one per line |
| `/strict` | Enable maximum strictness — no optional fields, no null values |
| `/template <text>` | Fill a template with placeholders from provided context |
| `/diff <output-a> <output-b>` | Show structural differences between two outputs |
| `/csv-headers <description>` | Define CSV column headers from a natural language description |
| `/reset` | Clear the active schema |
---
## HIGH-LEVEL WORKFLOW
```text
User provides schema or format requirement
│