/antigravity-awesome-skills:pydantic-models-pyfrom antigravity-awesome-skills
Creates Pydantic models following the multi-model pattern (Base, Create, Update, Response, InDB) for clean API contracts. Includes camelCase aliases and optional update fields.
Ships in antigravity-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create Pydantic models following the multi-model pattern for clean API contracts.
Copy the template from assets/template.py and replace placeholders:
{{ResourceName}} → PascalCase name (e.g., Project){{resource_name}} → snake_case name (e.g., project)| Model | Purpose |
|---|---|
Base | Common fields shared across models |
Create | Request body for creation (required fields) |
Update | Request body for updates (all optional) |
Response | API response with all fields |
InDB | Database document with doc_type |
class MyModel(BaseModel):
workspace_id: str = Field(..., alias="workspaceId")
created_at: datetime = Field(..., alias="createdAt")
class Config:
populate_by_name = True # Accept both snake_case and camelCase
class MyUpdate(BaseModel):
"""All fields optional for PATCH requests."""
name: Optional[str] = Field(None, min_length=1)
description: Optional[str] = None
class MyInDB(MyResponse):
"""Adds doc_type for Cosmos DB queries."""
doc_type: str = "my_resource"
src/backend/app/models/src/backend/app/models/__init__.pyThis skill is applicable to execute the workflow or actions described in the overview.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pydantic-models, multi-model-pattern, api-contracts, data-models, python
npx claudepluginhub tapanshah/antigravity-aswsome-skills --plugin antigravity-awesome-skills1,315 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantArquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español./10-andruia-skill-smithIngeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.Other plugins' skills for the same job
6 plugins in 4 repositories ship this exact skill · first indexed Jun 3, 2026