Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production. Use when optimizing prompts, improving LLM outputs, or designing production prompt templates.
58
41%
Does it follow best practices?
Impact
85%
1.16xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./tests/ext_conformance/artifacts/agents-wshobson/llm-application-dev/skills/prompt-engineering-patterns/SKILL.mdLangChain structured output with Pydantic schemas
ChatAnthropic import
100%
100%
Correct model name
0%
0%
with_structured_output usage
100%
100%
Pydantic BaseModel schema
100%
100%
Field descriptions
100%
100%
Literal or constrained type
0%
0%
ChatPromptTemplate usage
100%
100%
ValidationError fallback
50%
100%
Fallback confidence flag
100%
100%
LangChain chain composition
100%
100%
No hardcoded values in prompt
100%
100%
Dynamic few-shot selection with VoyageAI and Chroma
VoyageAI embeddings import
0%
50%
voyage-3-large model
0%
66%
Chroma vector store
0%
100%
SemanticSimilarityExampleSelector
100%
100%
k=2 selection count
0%
0%
Example format: User/Assistant
0%
100%
Different examples per query
100%
100%
Consistent example formatting
100%
100%
prompt_log.json output
100%
100%
No hardcoded example selection
100%
100%
Iterative prompt optimization with metrics and A/B testing
Baseline established first
100%
100%
Progressive disclosure in variants
100%
100%
Accuracy metric tracked
100%
100%
Token count metric tracked
100%
100%
Success rate metric tracked
100%
100%
Variants compared systematically
100%
100%
optimization_results.json exported
100%
100%
Parameterized prompts
100%
100%
prompt_design_notes.md
100%
100%
Next step documented
100%
100%
One-change-at-a-time principle
75%
50%
Winner identified with evidence
100%
100%
47823e3
Table of Contents
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.