What problem does it solve? Building agents with DSPy is risky because its public API (Signatures, Modules, Optimizers/Teleprompters) changes frequently and breaks backward compatibility across versions. This Skill enforces a research-first, spike-first workflow so DSPy code is validated against the currently installed version before being wired into a project. ## Core Features & Use Cases - Research-first workflow: Requires fetching DSPy's current official docs before writing any code, since the bundled reference is a starting sketch, not ground truth. - Reference implementation: Adapts a minimal Signature + Module + optimizer (BootstrapFewShot-style) example from references/basic_dspy_program.py. - Real-provider enforcement: Routes LM calls through DSPy's LM configuration backed by a verified API key — no mock mode, since require-api-key has already validated a working key. - Use Case: When a project brief explicitly names DSPy for programmatic prompting or prompt optimization, use this Skill to build a run_program(input) -> output entrypoint that is spike-tested standalone before integration. ## Quick Start Use the agent-dspy skill to build a DSPy question-answering program with a Signature, ChainOfThought module, and a verified Anthropic API key.