What problem does it solve? Manual prompt engineering is fragile, hard to maintain, and difficult to improve systematically. This Skill helps you build language model programs declaratively and optimize prompts automatically using training data instead of trial-and-error tuning. ## Core Features & Use Cases - Declarative LM Programming: Define tasks with Signatures (inputs → outputs) and compose Modules like Predict, ChainOfThought, ReAct, and ProgramOfThought into complex pipelines. - Automatic Prompt Optimization: Use optimizers such as BootstrapFewShot, MIPRO, and BootstrapFinetune to improve prompts and generate fine-tuning data from labeled examples. - Use Case: Build a RAG question-answering system, then compile it with BootstrapFewShot on 50 training examples to measurably improve answer accuracy without rewriting any prompts by hand. ## Quick Start Use the dspy skill to build a chain-of-thought question answering module and optimize it with BootstrapFewShot on my training examples.