Agent skill · Frontend

dspy-development

This skill should be used when the user asks to "build with DSPy", "create a DSPy module", "optimize prompts", "build a RAG system", "create an AI agent with DSPy", "use declarative LM programming", "build an LM pipeline", "optimize few-shot examples", "use teleprompters", "compile a DSPy program", "fine-tune prompts", "create a DSPy signature", or mentions any of: DSPy, dspy, import dspy, dspy.LM, dspy.configure, dspy.Predict, dspy.ChainOfThought, dspy.ReAct, dspy.Module, dspy.Signature, dspy.InputField, dspy.OutputField, dspy.Retrieve, dspy.TypedPredictor, dspy.ProgramOfThought, dspy.Refine,

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill dspy-development --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Version: 3.0.0
Path: skills/ai-llm/dspy-development/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# DSPy: Declarative Language Model Programming Framework for programming — not prompting — language models. Build modular AI systems with automatic prompt optimization, RL training, and reflective prompt evolution. **GitHub**: 22,000+ stars | **By**: Stanford NLP | **Current**: DSPy 3.1+ (Feb 2026) ## Installation ```bash pip install dspy # Stable release (3.1.3) pip install dspy[all] # All LM providers pip install git+https://github.com/stanfordnlp/dspy.git # Latest dev ``` **For RLM/ProgramOfThought/CodeAct** (sandboxed code execution): ```bash # Install Deno runtime (required for WASM sandbox) curl -fsSL https://deno.land/install.sh | sh ``` **Python**: 3.10+ required (3.9 dropped in 3.0) ## Quick Start ```python import dspy # Configure LM (unified API — works with any provider) lm = dspy.LM("anthropic/claude-sonnet-4-5-20250929", max_tokens=1000) dspy.configure(lm=lm) # Define a signature (input -> output contract) class QA(dspy.Signature): """Answer questions with short factual answers.""" question = dspy.InputField() answer = dspy.OutputField(desc="often between 1 and 5 words") # Create and use a module qa = dspy.Predict(QA) result = qa(question="What is the capital of France

What's inside
Steps it walks through
  1. Installation
  2. Quick Start
  3. Chain of Thought
  4. RLM — Recursive Language Model (3.1+)
  5. Core Concepts
  6. 1. LM Configuration
  7. 2. Signatures
  8. 3. Modules
  9. 4. Optimizers
  10. 5. Building Custom Modules
  11. Key Patterns
  12. Structured Output with Pydantic
  13. Async and Streaming
  14. Thread-Safe Batch Processing (3.0+)
Ships with 1 file
  • metadata.json
Commands it runs
pip install dspy                    # Stable release (3.1.3)
pip install dspy[all]               # All LM providers
pip install git+https://github.com/stanfordnlp/dspy.git  # Latest dev
Install Deno runtime (required for WASM sandbox)
curl -fsSL https://deno.land/install.sh | sh
More from claude-skill-registry
All skills →
About this skill
What does the dspy-development skill do?

This skill should be used when the user asks to "build with DSPy", "create a DSPy module", "optimize prompts", "build a RAG system", "create an AI agent with DSPy", "use declarative LM programming", "build an LM pipeline", "optimize few-shot examples", "use teleprompters", "compile a DSPy program", "fine-tune prompts", "create a DSPy signature", or mentions any of: DSPy, dspy, import dspy, dspy.LM, dspy.configure, dspy.Predict, dspy.ChainOfThought, dspy.ReAct, dspy.Module, dspy.Signature, dspy.InputField, dspy.OutputField, dspy.Retrieve, dspy.TypedPredictor, dspy.ProgramOfThought, dspy.Refine,

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill dspy-development --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going