prompt-engineering-patterns
Advanced prompt engineering patterns for LLMs, including few-shot learning, chain-of-thought, and structured outputs.
Install
npx skills add https://github.com/wshobson/agents --skill prompt-engineering-patternsStats
| Total installs | 8,725 |
| Weekly installs | 8.7K |
| GitHub stars | 32.4K |
| First seen | Jan 20, 2026 |
| Source | @wshobson/agents |
Summary
- Covers six core capability areas: few-shot learning with dynamic example selection, chain-of-thought reasoning with self-consistency, structured outputs via JSON and Pydantic schemas, iterative prompt optimization, reusable template systems, and role-based system prompt design
- Includes practical patterns for semantic example selection, self-verification workflows, progressive disclosure, error recovery with fallbacks, and integration with RAG systems
- Provides token efficiency strategies, prompt caching for repeated prefixes, and performance monitoring metrics (accuracy, consistency, latency, success rate)
- Emphasizes testing on diverse inputs, versioning prompts as code, and avoiding common pitfalls like over-engineering, context overflow, and ambiguous instructions
Tags
Related skills
| Skill | Installs | vs prompt-engineering-patterns |
|---|---|---|
| firebase-ai-logic | 10,384 | +1,659 |
| agent-evaluation | 10,066 | +1,341 |
| prompt-repetition | 10,488 | +1,763 |
| microsoft-docs | 8,318 | -407 |
| create-specification | 7,958 | -767 |
FAQ
- How many installs does prompt-engineering-patterns have?
- prompt-engineering-patterns has 8,725 total installs and 8.7K installs this week.
- Where is prompt-engineering-patterns hosted?
- prompt-engineering-patterns is published by @wshobson/agents at https://github.com/wshobson/agents.
- How many GitHub stars does prompt-engineering-patterns have?
- prompt-engineering-patterns has 32.4K GitHub stars.
- When was prompt-engineering-patterns first indexed?
- OrangeBot.AI first indexed prompt-engineering-patterns on Jan 20, 2026.
- How do I install prompt-engineering-patterns?
- Run: npx skills add https://github.com/wshobson/agents --skill prompt-engineering-patterns