What problem does it solve? LLM prompts often produce inconsistent, unparseable, or low-quality outputs in production. This Skill provides proven patterns and tooling to design, test, and iteratively optimize prompts for reliability and performance. ## Core Features & Use Cases - Prompting Patterns: Implement few-shot learning with dynamic example selection, chain-of-thought reasoning with self-consistency, and structured JSON outputs enforced with Pydantic schemas. - Prompt Optimization: Run A/B tests and iterative refinement with the included optimization script, tracking accuracy, latency, token usage, and success rate metrics. - Template Systems: Build reusable prompt templates with variable interpolation, conditional sections, and role-based system prompts. - Use Case: You are building a sentiment analysis feature and outputs are inconsistent. Use this Skill to apply structured output with a Pydantic schema, add few-shot examples from the assets library, and A/B test prompt variations until accuracy exceeds your target. ## Quick Start Ask the AI to convert your existing prompt into a structured-output prompt with a Pydantic schema and then optimize it against a small test suite.