Awesome Prompt Engineering Skill
The prompt engineering knowledge base that turns Claude Code into a prompt engineering expert — from Chain of Thought to production system prompt architecture.
Why •
What's Inside •
Quick Start •
Usage •
Resources
Why This Exists
Most prompt engineering guides teach you what to write. This skill teaches you how to architect prompts — the patterns behind production agentic systems that handle millions of requests.
We analyzed Claude Code's leaked system prompts and the Awesome Prompt Engineering research catalog into one actionable skill. The result goes beyond prompt content:
- Architecture — How Claude Code assembles 15+ modular sections into a single system prompt with static/dynamic caching boundaries
- Behavioral control — How one rule ("be concise") gets enforced from 4 different angles across the prompt
- Agent design — How 5 specialized agent types each get tailored prompts and tool subsets
- Security — How defense-in-depth layers protect against prompt injection in tool results
- Optimization — How A/B testing, automated prompt engineering, and compression work in production
This isn't another "add 'Let's think step by step'" guide. It's the engineering discipline behind prompts that actually ship.
What's Inside
Core Skill — 7 Capability Areas
| # | Capability | What You Get |
|---|
| 1 | Core Prompting Techniques | CoT, ToT, ReAct, few-shot, constraint injection, distributed reinforcement |
| 2 | System Prompt Architecture | Modular section-builders, static/dynamic boundaries, prompt caching, context injection |
| 3 | Agent & Tool Integration | Agent specialization (5 types), tool-aware prompts, tiered permissions, Think tool |
| 4 | Prompt Optimization | APE, DSPy, EvoPrompt, compression, A/B testing workflows |
| 5 | Security & Robustness | Injection defense layers, instruction hierarchy, Constitutional AI, red teaming |
| 6 | Evaluation & Benchmarking | Assertion-based, model-graded, human eval, regression testing |
| 7 | Production Best Practices | Prompt-as-code, versioning, monitoring, context management, anti-patterns |
Deep-Dive Reference Docs
| File | Content |
|---|
techniques-catalog.md | 58+ prompting techniques organized by category with templates |
architecture-patterns.md | System prompt architecture derived from Claude Code analysis |
agent-patterns.md | Multi-agent delegation, specialization, concurrency patterns |
security-guide.md | Defense in depth, injection defense, red team methodology |
optimization-tools.md | APE, DSPy, Promptfoo, manual optimization workflows |
evaluation-frameworks.md | Benchmarks (SWE-bench, MMLU-Pro), testing tools, CI/CD |
production-checklist.md | Deployment checklist, monitoring, anti-patterns |
Quick Start
Claude Code Plugin (Recommended)
Register this repo as a marketplace, then install the skill — two commands:
/plugin marketplace add hardness1020/awesome-prompt-skill
/plugin install prompt-engineering@awesome-prompt-skill
That's it. Claude Code automatically activates the skill when you ask about prompt engineering.
Manual Installation
# Copy the skill directly
cp -r skills/prompt-engineering /path/to/your/project/.claude/skills/
Usage
Ask Claude Code anything about prompts: