What problem does it solve? LLM prompts often produce inconsistent, unparseable, or low-quality outputs in production. This Skill provides proven prompt engineering patterns and tooling to make LLM outputs reliable, structured, and measurable. ## Core Features & Use Cases - Prompt Pattern Library: Implement few-shot learning, chain-of-thought reasoning, tree-of-thought, self-consistency, and structured JSON outputs with Pydantic schema enforcement. - Prompt Optimization: Run A/B tests, measure accuracy/latency/token metrics, and iteratively refine prompts using the included optimization script. - Template Systems: Build reusable, composable prompt templates with variable interpolation, conditional sections, and role-based system prompts. - Use Case: You are building a sentiment analysis feature and getting inconsistent outputs. Use this Skill to apply structured output with a Pydantic schema, add dynamically selected few-shot examples, and A/B test prompt variations until accuracy exceeds your target. ## Quick Start Ask the AI to rewrite your prompt using chain-of-thought reasoning and structured JSON output with a Pydantic schema, then evaluate it against your test cases.