# Syn JSON Schema Gen

> Skill for inferring a schema from samples in the context of JSON data. Use when the user's task is specifically about inferring a schema from samples.

- Skill: `legendtkl/syn-json-schema-gen` (Agent Skill)
- Install (CLI): `npx skillmds@latest add legendtkl/syn-json-schema-gen`
- Raw SKILL.md: https://api.skillmd.com/api/skills/legendtkl/syn-json-schema-gen/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: legendtkl (https://skillmd.com/u/legendtkl)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/legendtkl/syn-json-schema-gen

---


# JSON data: inferring a schema from samples

## When to use

Use this skill for inferring a schema from samples in JSON data. This skill
specifically handles inferring a schema from samples and nothing else in the
JSON data family.

## Procedure

Infer a JSON Schema from one or more example documents.

## Notes

This is the JSON data skill dedicated to inferring a schema from samples.
Sibling skills cover other JSON data capabilities; this one
is the right choice only when the task is about inferring a schema from samples.

