Agent skill · Design & Presentation

dspy-signature-designer

This skill should be used when the user asks to "create a DSPy signature", "define inputs and outputs", "design a signature", "use InputField or OutputField", "add type hints to DSPy", mentions "signature class", "type-safe DSPy", "Pydantic models in DSPy", or needs to define what a DSPy module should do with structured inputs and outputs.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill dspy-signature-designer --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Version: 1.0.0
Allowed tools: -Read-Write-Glob-Grep
Path: skills/ai-llm/dspy-signature-designer/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 Signature Designer ## Goal Design clear, type-safe signatures that define what your DSPy modules should do. ## When to Use - Defining new DSPy modules - Need structured/validated outputs - Complex input/output relationships - Multi-field responses ## Inputs | Input | Type | Description | |-------|------|-------------| | `task_description` | `str` | What the module should do | | `input_fields` | `list` | Required inputs | | `output_fields` | `list` | Expected outputs | | `type_constraints` | `dict` | Type hints for fields | ## Outputs | Output | Type | Description | |--------|------|-------------| | `signature` | `dspy.Signature` | Type-safe signature class | ## Workflow ### Inline Signatures (Simple) ```python import dspy # Basic qa = dspy.Predict("question -> answer") # With types classify = dspy.Predict("sentence -> sentiment: bool") # Multiple fields rag = dspy.ChainOfThought("context: list[str], question: str -> answer: str") ``` ### Class-based Signatures (Complex) ```python from typing import Literal, Optional import dspy class EmotionClassifier(dspy.Signature): """Classify the emotion expressed in the text.""" text: str = dspy.InputField(desc="The text to analyze") em

What's inside
Steps it walks through
  1. Goal
  2. When to Use
  3. Inputs
  4. Outputs
  5. Workflow
  6. Inline Signatures (Simple)
  7. Class-based Signatures (Complex)
  8. Type Hints Reference
  9. Production Examples
  10. Summarization
  11. Entity Extraction
  12. Multi-Label Classification
  13. RAG with Confidence
  14. Complete Module with Signature
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the dspy-signature-designer skill do?

This skill should be used when the user asks to "create a DSPy signature", "define inputs and outputs", "design a signature", "use InputField or OutputField", "add type hints to DSPy", mentions "signature class", "type-safe DSPy", "Pydantic models in DSPy", or needs to define what a DSPy module should do with structured inputs and outputs.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill dspy-signature-designer --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