ai-building-pipelines
Installation
SKILL.md
Build a Multi-Step AI Pipeline
Guide the user through breaking a complex AI task into multiple steps that feed into each other. One prompt can't do everything — compound AI systems dramatically outperform single calls by decomposing problems.
Step 1: Understand the pipeline
Ask the user:
- What's the end-to-end task? (e.g., "read a support ticket, classify it, draft a response")
- What are the natural stages? (classification, retrieval, generation, verification?)
- Does any step need special tools? (search, database, calculator?)
- Does data flow linearly, or do steps branch/loop?
Step 2: Design the stages
The core pattern — compose DSPy modules
Every stage is a DSPy module. Wire them together in forward():