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-pydantic

SKILL.md

JSON to Pydantic Skill

This skill helps convert raw JSON data or API responses into structured, strongly-typed Python classes using Pydantic.

Instructions

  1. Analyze the Input: Look at the JSON object provided by the user.
  2. Infer Types:
  • string -> str
  • number -> int or float
  • boolean -> bool
  • array -> List[Type]
  • null -> Optional[Type]
  • Nested Objects -> Create a separate sub-class.
  1. 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 PascalCase for class names.
  • Use type hints (List, Optional) from typing module.
  • 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rominirani/antigravity-skills/json-to-pydantic/badge)](https://verified-skill.com/skills/rominirani/antigravity-skills/json-to-pydantic)

Something wrong with this skill or its page? Tell us.