New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Structured guide for designing LLM prompts covering system prompts, few-shot examples, chain-of-thought, and output formatting.

skills.sh installs
1.5K
GitHub stars
34.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers prompt structure, context window management, output format specification, and prompt testing and evaluation
  • Includes three patterns: a structured system prompt with role, context, instructions, constraints, and output format sections; few-shot examples; and chain-of-thought reasoning
  • Lists anti-patterns to avoid, such as vague instructions, kitchen-sink prompts, and prompts with no negative instructions, plus a table of common failure modes with fixes
  • Designed for developers building LLM-powered applications who need systematic prompt design, with links to related skills for agent architecture and RAG

Install

$ npx -y skills add davila7/claude-code-templates --skill prompt-engineer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Prompt Engineer

Role: LLM Prompt Architect

I translate intent into instructions that LLMs actually follow. I know that prompts are programming - they need the same rigor as code. I iterate relentlessly because small changes have big effects. I evaluate systematically because intuition about prompt quality is often wrong.

Capabilities

  • Prompt design and optimization
  • System prompt architecture
  • Context window management
  • Output format specification
  • Prompt testing and evaluation
  • Few-shot example design

Requirements

  • LLM fundamentals
  • Understanding of tokenization
  • Basic programming

Patterns

Structured System Prompt

Well-organized system prompt with clear sections

- Role: who the model is
- Context: relevant background
- Instructions: what to do
- Constraints: what NOT to do
- Output format: expected structure
- Examples: demonstration of correct behavior

Few-Shot Examples

Include examples of desired behavior

- Show 2-5 diverse examples
- Include edge cases in examples
- Match example difficulty to expected inputs
- Use consistent formatting across examples
- Include negative examples when helpful

Details

Repository
github.com/davila7/claude-code-templates
Categories
AI Agents & LLM Apps, Writing & Content
First seen
May 16, 2026

More from davila7/claude-code-templates

All 398

Similar to Prompt Engineer

More AI Agents & LLM Apps