Toolverse
All skills

dspy-ruby

by EveryInc

This skill should be used when working with DSPy.rb, a Ruby framework for building type-safe, composable LLM applications. Use this when implementing predictable AI features, creating LLM signatures and modules, configuring language model providers (OpenAI, Anthropic, Gemini,

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
EveryInc
Category
Testing
Views
1

About this skill

This skill should be used when working with DSPy.rb, a Ruby framework for building type-safe, composable LLM applications. Use this when implementing predictable AI features, creating LLM signatures and modules, configuring language model providers (OpenAI, Anthropic, Gemini, Ollama), building agent systems with tools, optimizing prompts, or testing LLM-powered functionality in Ruby applications.

How to use

  1. Zainstaluj gem dspy-ruby w swoim projekcie Ruby, dodając go do Gemfile lub instalując bezpośrednio. 2. Zdefiniuj sygnatury — klasy dziedziczące po DSPy::Signature, w których opisujesz wejścia i wyjścia za pomocą typów Sorbet. Każda sygnatura to kontrakt między Twoją aplikacją a modelem językowym. 3. Skonfiguruj dostawcę modelu — połącz się z OpenAI, Anthropic, Gemini lub Ollama, podając klucz API i wybrany model. 4. Utwórz moduł — wybierz odpowiedni typ (Predict dla prostych wywołań, ChainOfThought dla rozumowania krok po kroku, ReAct dla agentów z narzędziami) i przekaż mu sygnatury. 5. Wywołaj moduł z danymi wejściowymi — framework automatycznie sformatuje prompt, wywoła LLM i zwróci wynik typobezpiecznie. 6. Testuj i optymalizuj — używaj danych rzeczywistych do automatycznej poprawy promptów zamiast ręcznego dostrajania.

Related skills

dependency-upgrade

by wshobson

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

Testing
17138

pair-trade-screener

by tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair

Testing
994

python-testing-patterns

by wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

Testing
46146

ad-creative

by alirezarezvani

When the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or

Testing
2863

testing-workflow

by amo-tech-ai

Comprehensive testing workflow for E2E, integration, and unit tests. Use when testing applications layer-by-layer, validating user journeys, or running test suites.

Testing
1076

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105