dspy-fleet-rlm
SKILL.md
DSPy fleet-rlm Integration
Patterns, debugging techniques, and integration guidance for using DSPy within the qredence/fleet-rlm-dspy codebase.
Environment Setup
This skill requires uv as the Python package manager.
uv venv
source .venv/bin/activate
uv pip install dspy
Rule: Never use raw
pip. Always useuv pipfor installs anduv runfor script execution.
When to Use This Skill
Use this skill when:
- Working on DSPy modules inside the
fleet-rlmcodebase - Debugging fleet-rlm DSPy issues
- Following fleet-rlm architecture conventions for DSPy
- Integrating new DSPy signatures or programs into fleet-rlm
- Understanding the fleet-rlm DSPy module layout
fleet-rlm Module Layout
The qredence/fleet-rlm-dspy codebase organizes DSPy code as:
src/fleet_rlm/
├── signatures.py # Re-export shim (imports from _prod and _demo)
├── signatures_prod.py # Production signatures (runtime)
├── signatures_demo.py # Demo/example signatures
├── core/
│ ├── interpreter.py # Core reasoning / DSPy program execution
│ ├── llm_tools.py # LLM tool integration
│ └── config.py # DSPy configuration
└── ...
Import Conventions
# Production signatures
from fleet_rlm.signatures import AnalyzeLongDocument, CodeChangePlan
# Core interpreter
from fleet_rlm.core.interpreter import ...
# Configuration
from fleet_rlm.core.config import ...
Core Concepts
Patterns & Debugging
See patterns.md for:
- fleet-rlm DSPy architecture overview
- Common issues and solutions
- Performance optimization
- Testing strategies
Examples
The assets/examples/ directory contains real examples from fleet-rlm:
- fleet-rlm-signatures.py: Production signatures from fleet-rlm
Critical Rules
- Always use
uv:uv pipfor installs,uv runfor scripts - Use absolute imports: Always use
from fleet_rlm.signatures import ... - Set require_compiled: true: Enable in production to fail-fast on missing artifacts
- JSON logging is default: Set
LOG_JSON=0for human-readable logs during development - Compilation is offline-only: Never compile at runtime in production
- Clear cache after changes: Run
clear-cache.pyafter modifying DSPy modules
Related Skills
- dspy-core: Signatures, modules, programs, and compilation fundamentals
- dspy-optimization: Optimization, metrics, evaluation, and teleprompters
Progressive Disclosure
- SKILL.md (this file): Quick reference and navigation
- references/: Detailed fleet-rlm patterns and debugging docs
- assets/: Real examples from the fleet-rlm codebase
Weekly Installs
7
Repository
qredence/skillsGitHub Stars
1
First Seen
Feb 24, 2026
Security Audits
Installed on
opencode7
gemini-cli7
github-copilot7
codex7
kimi-cli7
amp7