Skip to content
Back to skills

Prompt Engineering Patterns

ASecurity

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.

  • 508 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
ai-agentsgodebuggingperformance

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill prompt-engineering-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Engineering Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Engineering Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-prompt-engineering-patterns/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-prompt-engineering-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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)

Files in this skill

  • SKILL.md2.1 KB
  • assets/few-shot-examples.json4.1 KB
  • assets/prompt-template-library.md3.2 KB
  • references/chain-of-thought.md9.2 KB
  • references/few-shot-learning.md10.9 KB
  • references/prompt-optimization.md12.5 KB
  • references/prompt-templates.md11.1 KB
  • references/system-prompts.md5.3 KB
  • scripts/optimize-prompt.py8.9 KB
  • sub-skills/1-few-shot-learning.md325 B
  • sub-skills/2-chain-of-thought-prompting.md256 B
  • sub-skills/3-prompt-optimization.md251 B
  • sub-skills/4-template-systems.md188 B
  • sub-skills/5-system-prompt-design.md1013 B
  • sub-skills/error-recovery.md1.1 KB
  • sub-skills/instruction-hierarchy.md124 B
  • sub-skills/latency-reduction.md1.4 KB
  • sub-skills/progressive-disclosure.md467 B
  • sub-skills/token-efficiency.md187 B
  • sub-skills/with-rag-systems.md344 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.