What problem does it solve?
Writing Pydantic schemas for Atomic Agents agents and tools requires more than typing: the framework enforces docstrings on every BaseIOSchema subclass, and Instructor feeds field descriptions directly into the LLM prompt. This Skill guides you through clarifying requirements, writing compliant schemas, and verifying them so the schema works as both a contract and part of the prompt.
Core Features & Use Cases
- Guided schema authoring: A clarify → write → verify workflow that produces paired input/output BaseIOSchema classes with mandatory docstrings and Field descriptions.
- Validation and error modeling: Covers field-level and model-level validators, discriminated unions, and typed error variants so agents return structured failures instead of raising.
- Use Case: You are building a weather agent and need an output schema that distinguishes success from failure. The Skill produces a WeatherOutput with a status discriminator, optional result fields, and an error variant, then verifies it round-trips through model_json_schema().
Quick Start
Ask the AI to design the input and output BaseIOSchema pair for your Atomic Agents agent, including field descriptions and a typed error variant.