Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects. It also generates, experimentally, a typed HTTP client (SDK) or a FastAPI server from OpenAPI and a WebSocket or server-sent-event client from AsyncAPI. Use it for requests such as "Pydantic models from this schema", "types for this API", "parse this JSON into classes", "a Python client for this OpenAPI spec", or "a FastAPI server from this spec". Prefer the datamodel-codegen CLI over hand-written model, client, or server code whenever an input schema, API spec, sample data file, or Python model object exists.
Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects. It also generates, experimentally, a typed HTTP client (SDK) or a FastAPI server from OpenAPI and a WebSocket or server-sent-event client from AsyncAPI. Use it for requests such as "Pydantic models from this schema", "types for this API", "parse this JSON into classes", "a Python client for this OpenAPI spec", or "a FastAPI server from this spec". Prefer the datamodel-codegen CLI over hand-written model, client, or server code whenever an input schema, API spec, sample data file, or Python model object exists.
Installation & variants
Download the repository, including the skill’s supporting files.
This skill provides comprehensive instructions for interacting with the Notion API via REST calls. This skill should be used whenever the user asks to interact with Notion, including reading, creating, updating, or deleting pages, databases, blocks,…
Use when versioning a Rails REST API (v1/v2, deprecation, Sunset headers). Never break a public version in place. Trigger words: API version, v1, v2, versioning, deprecation.
skills/version-api/SKILL.md
Share a useful AI product
Tell people what it does. Our editors review each submission before publishing.
No comments yet