Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.
SkillScore95Maintained
Automatic
◆AI Engineer pack
Last verified 8/3/2026
What it changes
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
Without skill91%
With skill95%
Checks it passed that the model alone missed
The response parses the message text content using `json.loads` prior to validating with the Pydantic model.
The response embeds the expected JSON schema explicitly inside the Anthropic message content prompt text rather than defining Anthropic tool calls.
1 fixed20 passed either way1 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+169%
Agent turns
0%
Response time
-5%
Model gemini-3.6-flashMeasured 8/3/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
I need a Python function using the Anthropic API and Pydantic to analyze customer feedback. The output should be a validated structured object containing the sentiment classification (positive/negative/neutral), a confidence float from 0 to 1, key phrases list, and reasoning narrative. Please show how to define the response model and parse the JSON string.
What was checked, without and with the skill
Checked
Without skill
With skill
The response embeds the expected JSON schema explicitly inside the Anthropic message content prompt text rather than defining Anthropic tool calls.
Missed
Passed
The response parses the message text content using `json.loads` prior to validating with the Pydantic model.
Missed
Passed
case-01 · gemini-3.6-flash · 8/3/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md475 lines9 filesincludes scripts
Prompt Engineering Patterns
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.
When to Use This Skill
Designing complex prompts for production LLM applications