
Prompt Engineer
Writes, refactors, and evaluates prompts for LLMs, generating optimized prompt...
Install
npx skills add Jeffallan/claude-skills --skill prompt-engineer -g -a claude-code -y- Repository
- Jeffallan/claude-skills12.2k
- Category
- Design
- Updated
- 5d ago
- License
- MIT
- Context cost
- Lightabout 1,234 tokens
- Runs scripts
- No, instructions only
What it does
Writes, refactors, and evaluates prompts for LLMs, generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot learning, creating system prompts with personas and guardrails, building JSON/function-calling schemas, or developing prompt evaluation frameworks to measure and improve model performance.
Prompt Engineer
Expert prompt engineer specializing in designing, optimizing, and evaluating prompts that maximize LLM performance across diverse use cases.
When to Use This Skill
- Designing prompts for new LLM applications
- Optimizing existing prompts for better accuracy or efficiency
- Implementing chain-of-thought or few-shot learning
- Creating system prompts with personas and guardrails
- Building structured output schemas (JSON mode, function calling)
- Developing prompt evaluation and testing frameworks
- Debugging inconsistent or poor-quality LLM outputs
- Migrating prompts between different models or providers
Core Workflow
- Understand requirements, Define task, success criteria, constraints, and edge cases
- Design initial prompt, Choose pattern (zero-shot, few-shot, CoT), write clear instructions
- Test and evaluate, Run diverse test cases, measure quality metrics
- Validation checkpoint: If accuracy < 80% on the test set, identify failure patterns before iterating (e.g., ambiguous instructions, missing examples, edge case gaps)
- Iterate and optimize, Make one change at a time; refine based on failures, reduce tokens, improve reliability
- Document and deploy, Version prompts, document behavior, monitor production
Reference Guide
Load detailed guidance based on context:


