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.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Prompt Engineering Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dokhacgiakhoa-prompt-engineering-patterns)
---
version: 4.1.0-fractal
name: prompt-engineering-patterns
description: 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.
---
# Prompt Engineering Patterns
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.
## Do not use this skill when
- The task is unrelated to prompt engineering patterns
- You need a different domain or tool outside this scope
## Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.
## Use this skill when
- 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
## Core Capabilities
## 🧠 Knowledge Modules (Fractal Skills)
### 1. [1. Few-Shot Learning](./sub-skills/1-few-shot-learning.md)
### 2. [2. Chain-of-Thought Prompting](./sub-skills/2-chain-of-thought-prompting.md)
### 3. [3. Prompt Optimization](./sub-skills/3-prompt-optimization.md)
### 4. [4. Template Systems](./sub-skills/4-template-systems.md)
### 5. [5. System Prompt Design](./sub-skills/5-system-prompt-design.md)
### 6. [Progressive Disclosure](./sub-skills/progressive-disclosure.md)
### 7. [Instruction Hierarchy](./sub-skills/instruction-hierarchy.md)
### 8. [Error Recovery](./sub-skills/error-recovery.md)
### 9. [With RAG Systems](./sub-skills/with-rag-systems.md)
### 10. [With Validation](./sub-skills/with-validation.md)
### 11. [Token Efficiency](./sub-skills/token-efficiency.md)
### 12. [Latency Reduction](./sub-skills/latency-reduction.md)