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)
Use this skill with your AI agent:
Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.