dspy-core
Installation
SKILL.md
DSPy Core
Core guidance for working with the DSPy framework: signatures, modules, programs, compilation, and testing.
Environment Setup
This skill requires uv as the Python package manager. Always ensure a uv virtual environment is active before running any DSPy code.
# Create and activate a uv virtual environment
uv venv
source .venv/bin/activate
# Install dspy
uv pip install dspy
Rule: Never use raw
piporpython -m pip. Always useuv pipfor package installation anduv runfor script execution.