Dspy Rb
Build type-safe LLM applications with DSPy.rb - Ruby's programmatic prompt framework with signatures, modules, agents, and optimization
Install
npx skills add vicentereig/dspy-rb-skill --skill dspy-rbgit clone --depth 1 https://github.com/vicentereig/dspy-rb-skill.git /tmp/dspy-rb-skill
mkdir -p ~/.claude/skills
cp -r /tmp/dspy-rb-skill/. ~/.claude/skills/dspy-rbPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# DSPy.rb
> Build LLM apps like you build software. Type-safe, modular, testable.
DSPy.rb brings software engineering best practices to LLM development. Instead of tweaking prompts, you define what you want with Ruby types and let DSPy handle the rest.
## Overview
DSPy.rb is a Ruby framework for building language model applications with programmatic prompts. It provides:
- **Type-safe signatures** - Define inputs/outputs with Sorbet types
- **Modular components** - Compose and reuse LLM logic
- **Automatic optimization** - Use data to improve prompts, not guesswork
- **Production-ready** - Built-in observability, testing, and error handling
## Core Concepts
### 1. Signatures
Define interfaces between your app and LLMs using Ruby types:
```ruby
class EmailClassifier < DSPy::Signature
description "Classify customer support emails by category and priority"
class Priority < T::Enum
enums do
Low = new('low')
Medium = new('medium')
High = new('high')
Urgent = new('urgent')
end
end
input do
const :email_content, String
const :sender, String
end
output do
const :category, String
const :priority, Priority # Type-safe enum with defined values
const :confidence, Float
end
end
```
### 2. Modules
Build complex workflows from simple building blocks:
- **Predict** - Basic LLM calls with signatures
- **ChainOfThought** - Step-by-step reasoning
- **ReAct** - Tool-using agentsDetails
- Skill name
dspy-rb- Repository
- vicentereig/dspy-rb-skill
- License
- MIT
- Repo updated
- 30 December 2025
FAQ
What does the Dspy Rb skill do?
Build type-safe LLM applications with DSPy.rb - Ruby's programmatic prompt framework with signatures, modules, agents, and optimization
How do I install the Dspy Rb skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add vicentereig/dspy-rb-skill --skill dspy-rb. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Dspy Rb popular?
It lives in vicentereig/dspy-rb-skill, which has 5 GitHub stars and 0 forks.
Related skills
Game Architect
5rhino-ty/game-architect
End-to-end indie game design AI skill — system mechanics, numeric balancing, GDD writing, narrative design, platform fit analysis, engine selection (Unity/ Godot/Unreal), audio strategy, indie marketing, post-launch operations, procedural generation, and Claude Code project document scaffolding. Acts as "The Architect": a 15-year senior game system designer persona tuned for solo and small indie teams targeting Steam, console, and mobile. ALWAYS use this skill when the user mentions making, designing, balancing, shipping, or operating a game — even if they don't say "game design" explicitly. T
Dingtalk Bridge
5mguozhen/dingtalk-bridge
DingTalk group chat bridge for Claude Code. Send markdown/text messages to DingTalk groups, receive @mentions and auto-execute via Claude CLI, run a 24/7 Stream bot. Triggers: dingtalk, send dingtalk, dingtalk bot, dingtalk message, send group message, 钉钉, 发群消息, 钉钉机器人
Goodcode
5SpinaBuilds/goodcode
Host-agnostic exhaustive multi-agent orchestration for any coding agent that can spawn subagents (Claude Code, Codex, Cursor, OpenCode, OpenHands, …). Pipeline: recon → cheap baseline → a-priori specialist roles cast by routing → parallel fan-out → adversarial verification → loop-until-dry → dedup/score/synthesize. Optimizes for the most exhaustive, correct answer — not the fastest or cheapest. Use for audits, deep reviews, multi-source research, design exploration, large migrations, or any substantial task where completeness beats latency. Triggers: '/goodcode', 'goodcode', 'orchestrate exhau
Comprehensive Engineering Cybernetics
5sjysjysjy728/comprehensive-engineering-cybernetics-skill
把合同或需求驱动的项目交付,以及 AI 科研的 idea、实现和实验,转化为可测量、可纠偏、资源受限且不静默降级的反馈闭环。用于需要逐项达到验收指标、把能力有限的现有资源组织成更强系统、保持 claim-to-code 保真、在不确定性下迭代或控制算力/时间/成本的复杂任务;不自动用于一步即可完成的低风险小改动、纯历史介绍或单纯控制理论推导。
Human Maintainability
5hmr-BH/HMAP
Assess a programming project's HUMAN maintainability (HMAP): 0-100 score, nine-tier verdict, per-dimension scores, and file:line evidence — built to catch vibe-coding / AI-generated slop, including semantic incoherence (name/contract/concept/vocabulary drift). Triggers: assess maintainability / rate this project / code quality score / readability score / AI slop detection / vibe coding check / semantic consistency check / HMAP / human maintainability / 评估项目可维护性 / 给项目打分 / 代码质量评估 / 可读性评分 / AI屎山检测 / vibe coding 体检 / 是否适合人类维护 / 语义一致性. Anti-trigger: the user asks to fix, refactor, optimize, or writ
Chatgpt MCP Connect
5yoruuuchan/chatgpt-mcp-connect
Connect custom MCP servers or an MCP runtime to ChatGPT. Use when the user asks whether an MCP can be used by ChatGPT, or asks to expose, deploy, authenticate, configure, aggregate, or connect MCP capabilities for ChatGPT. Covers direct leaf servers, MCPX runtime aggregation, hosted and local Streamable HTTP, stdio bridging, OAuth 2.1, Cloudflare Workers/Tunnel, Tailscale Funnel, and real verification inside ChatGPT.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.