This skill converts JSON data into strongly-typed Python Pydantic models with automatic type inference and nested class generation.
npx playbooks add skill rominirani/antigravity-skills --skill json-to-pydantic
This skill helps convert raw JSON data or API responses into structured, strongly-typed Python classes using Pydantic.
string -> strnumber -> int or floatboolean -> boolarray -> List[Type]null -> Optional[Type]Review examples/ to see how to structure the output code. notice how nested dictionaries like preferences are extracted into their own class.
examples/input_data.jsonexamples/output_model.pyPascalCase for class names.List, Optional) from typing module.None.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.