/faos-dev:pydantic-models-pyfrom faos-dev
Creates Pydantic models following the multi-model pattern (Base, Create, Update, Response, InDB) for API request/response schemas and data validation in Python applications using Pydantic v2.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /faos-dev:pydantic-models-py still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
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__.pyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Read when SKILL.md points to them.
13 skills in this plugin
/agent-tool-builderAgent Tool Builder<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/async-python-patternsAsync Python Patterns<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/context-optimizationContext Optimization Techniques<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/error-handling-patternsError Handling Patterns<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/fastapi-proUse this skill when<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/fastapi-router-pyFastAPI Router<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->npx claudepluginhub frank-luongt/faos-skills-marketplace --plugin faos-devOther plugins' skills for the same job