CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dspy

Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents with DSPy - Stanford NLP's framework for systematic LM programming Also covers Outlines (guides in references/).

Quality

67%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

Fix and improve this skill with Tessl

tessl review fix ./skills/prompt-engineering/dspy/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-coded, highly actionable reference for DSPy with executable examples throughout, but it suffers from verbosity and duplication — much of the Core Concepts and optimizer material reappears in the reference files, and marketing elements (star counts, comparison table) pad the body. Workflow guidance lacks explicit sequencing/validation checkpoints, and the merged Outlines bundle introduces a second level of reference nesting.

Suggestions

Cut the duplicated Core Concepts module/optimizer sections from the body down to one-line pointers to references/modules.md and references/optimizers.md, keeping only a minimal quick-start example inline.

Remove marketing content (GitHub star counts, the LangChain comparison table) and make the build→optimize→evaluate path explicit with validation checkpoints (e.g., baseline evaluation before compiling, re-evaluate after).

Flatten the Outlines sub-bundle's nested references/ directory (references/outlines/references/*.md) to a single level, e.g., references/outlines/{backends,json-generation,examples}.md linked directly from overview.md.

DimensionReasoningScore

Conciseness

At ~590 lines the body is mostly useful DSPy-specific code, but it includes unnecessary padding: marketing fluff ("GitHub Stars: 22,000+ | Created By: Stanford NLP"), a promotional comparison table vs. LangChain, and substantial duplication — the Predict/ChainOfThought quick-start examples reappear in Core Concepts, and the module/optimizer sections duplicate content that exists in references/modules.md and references/optimizers.md. This matches the mostly-efficient-but-could-be-tightened anchor rather than anchor 4, since the duplication and fluff go beyond minor instances.

3 / 5

Actionability

Nearly all guidance is concrete, executable Python — installation commands, signatures, modules, optimizers, provider configs, and evaluation code — matching the mostly-executable anchor with minor gaps. Gaps keep it from 5: the ReAct example's search_tool returns an undefined `results` placeholder, the RAG-with-optimization snippet references undefined `validate_answer`/`trainset`/`qa` variables, and BootstrapFinetune's outcome is only described ("Exports training data for fine-tuning") rather than shown.

4 / 5

Workflow Clarity

The body follows a coherent topical progression (install → quick start → concepts → patterns → evaluation → best practices) and "Best Practices #1" sketches an iteration path (start with Predict → add ChainOfThought → optimize when you have data), but there is no explicit sequenced workflow with validation checkpoints for building and optimizing a DSPy pipeline — checkpoints like "evaluate a baseline before compiling, then re-evaluate" are only implicit. This lands on anchor 3 (sequence present but checkpoints missing or implicit); no destructive/batch-operation cap applies.

3 / 5

Progressive Disclosure

References are real and clearly signaled ("See Also" lists references/modules.md, optimizers.md, examples.md, and the related-tools table links references/outlines/overview.md, all of which exist), but two issues match anchor 3: substantial content that belongs in the reference files is inlined and duplicated in the body (Core Concepts modules/optimizers sections mirror the reference guides), and the Outlines sub-bundle nests references two levels deep (SKILL.md → references/outlines/overview.md → references/outlines/references/*.md). Not anchor 2 because the main DSPy references are one level deep and well signaled; not anchor 4 because of the duplication and the nested Outlines chain.

3 / 5

Total

13

/

20

Passed

Description

66%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A fairly strong description that names the framework and several concrete capabilities with good natural trigger terms, but it entirely lacks an explicit "Use when..." trigger clause, capping completeness. The tacked-on Outlines sentence ("Also covers Outlines (guides in references/).") broadens scope and reads as an afterthought with a missing period boundary.

Suggestions

Add an explicit trigger clause, e.g., "Use when the user mentions DSPy, prompt optimization, declarative LM programming, or building optimized RAG/agent pipelines."

Separate the Outlines coverage into its own sentence with clear trigger terms (e.g., "Use Outlines when you need guaranteed-valid JSON/XML output or grammar-constrained generation") rather than a parenthetical afterthought.

Include a few common synonyms such as "retrieval augmented generation" and "prompt optimization" to strengthen trigger-term coverage.

DimensionReasoningScore

Specificity

Lists several concrete actions — "Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents" — matching the several-specific-actions anchor with minor gaps. Not a 5 because phrases like "build complex AI systems" remain fairly abstract and no lower-level operations (e.g., compiling/optimizing pipelines, evaluation) are enumerated; not a 3 because multiple distinct concrete actions are named, not just 1-2.

4 / 5

Completeness

The "what" is clear (build/optimize/create RAG systems, agents, and pipelines with DSPy), but there is no "Use when..." clause or equivalent explicit trigger guidance — the judging guideline caps completeness at 3 in that case. It fits anchor 3 (clear what, when missing/only weakly implied via the named use cases) rather than 4, which requires an explicit when-clause.

3 / 5

Trigger Term Quality

Good natural keyword coverage: "DSPy", "RAG", "agents", "optimize prompts", "Outlines", "Stanford NLP", "declarative programming" — terms users would plausibly say. A few natural variants are missing (e.g., "retrieval augmented generation", "structured generation", "prompt optimization" as a noun phrase), keeping it below the comprehensive-synonyms anchor at 5; clearly above anchor 3 since multiple natural phrases are present rather than domain-only keywords.

4 / 5

Distinctiveness Conflict Risk

Named frameworks ("DSPy - Stanford NLP's framework for systematic LM programming", "Outlines") give it a clear niche with minimal mis-trigger risk. Minor overlap remains with generic agent-building and prompt-engineering skills ("build complex AI systems", "optimize prompts automatically"), and bundling Outlines broadens scope, so it sits just below the clear-niche-minimal-conflict anchor at 5 and above the some-overlap anchor at 3.

4 / 5

Total

15

/

20

Passed

Validation

75%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 12 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (598 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 1 deeper-than-1-level

Warning

referenced_paths_exist

Referenced path issues: 1 deeper-than-1-level

Warning

Total

12

/

16

Passed

Repository

OpenLAIR/dr-claw

Path

skills/prompt-engineering/dspy/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.