Download for MacApple silicon, macOS 14+
Skill

prompt-engineer

@jeffallan Updated 2026-10-30

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.

ai-agentsclaudeclaude-codeclaude-marketplaceclaude-skills

Install

With your agent

Install OMGSkills skill "jeffallan/claude-skills:prompt-engineer" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/Jeffallan/claude-skills /tmp/claude-skills && ln -s /tmp/claude-skills/skills/prompt-engineer ~/.claude/skills/prompt-engineer

From README

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...