rominirani/antigravity-skills/json-to-pydantic
Claude Code and agent skill by rominirani/antigravity-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Converts JSON data snippets into Python Pydantic data models.
Install
npx vskill@latest install rominirani/antigravity-skills/json-to-pydanticSKILL.md
JSON to Pydantic Skill
This skill helps convert raw JSON data or API responses into structured, strongly-typed Python classes using Pydantic.
Instructions
- Analyze the Input: Look at the JSON object provided by the user.
- Infer Types:
string->strnumber->intorfloatboolean->boolarray->List[Type]null->Optional[Type]- Nested Objects -> Create a separate sub-class.
- Follow the Example:
Review examples/ to see how to structure the output code. notice how nested dictionaries like preferences are extracted into their own class.
- Input:
examples/input_data.json - Output:
examples/output_model.py
Style Guidelines
- Use
PascalCasefor class names. - Use type hints (
List,Optional) fromtypingmodule. - If a field can be missing or null, default it to
None.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills_tutorial/json-to-pydantic/SKILL.md
Popularity
- Repository stars
- 173
- Repository forks
- 30
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rominirani/antigravity-skills/json-to-pydantic)