skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / AI Agents & MCP / Prompt Engineering Patterns Skill by @wshobson
The skill is the plugins/llm-application-dev/skills/prompt-engineering-patterns folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
A reference of prompt design techniques for production LLM apps: few-shot examples, step-by-step reasoning, structured output and templating.
Collects the main levers for steadier model behaviour and shows how to combine them: example selection, reasoning scaffolds, schema-constrained answers, reusable templates and system prompt design. It is a catalogue to draw from rather than a single recipe.
The original SKILL.md is organised into these sections:
Written and maintained by @wshobson. It is published under the MIT license, which allows reuse with attribution. See the author profile. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
# 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 - Optimizing prompt performance and consistency - Implementing structured reasoning patterns (chain-of-thought, tree-of-thought) - Building few-shot learning systems with dynamic example selection - Creating reusable prompt templates with variable interpolation - Debugging and refining prompts that produce inconsistent outputs - Implementing system prompts for specialized AI assistants - Using structured outputs (JSON mode) for reliable parsing ## Core Capabilities ### 1. Few-Shot Learning - Example selection strategies (semantic similarity, diversity sampling) - Balancing example count with context window constraints - Constructing effective demonstrations with input-output pairs - Dynamic example retrieval from knowledge bases …
Excerpt only, quoted from the author's repository. Open the repository for the complete file.