What problem does it solve? Manual prompt engineering is brittle, hard to maintain, and difficult to port across language models. This Skill replaces hand-tuned prompts with declarative signatures and modules, then uses data-driven optimizers to systematically improve prompts and pipelines. ## Core Features & Use Cases - Declarative Signatures & Modules: Define tasks as input-output signatures and compose them with Predict, ChainOfThought, ReAct, and ProgramOfThought modules. - Automatic Optimization: Use BootstrapFewShot, MIPRO, and BootstrapFinetune to generate few-shot examples, tune instructions, and export fine-tuning data from training examples. - Complex Pipelines: Build multi-stage RAG systems, tool-using agents, classifiers, and structured extraction with Pydantic-typed outputs. - Use Case: Build a multi-hop RAG question-answering system, then optimize it with BootstrapFewShot on 50 labeled examples to measurably improve answer accuracy without rewriting prompts. ## Quick Start Use the dspy skill to build a chain-of-thought question answering module and optimize it with BootstrapFewShot on my training examples.