prompt-engineer

Featured

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 & Automation 11,089 stars 1052 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 1. **Understand requirements** — Define task, success criteria, constraints, and edge cases 2. **Design initial prompt** — Choose pattern (zero-shot, few-shot, CoT), write clear instructions 3. **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) 4. **Iterate and optimize** — Make one change at a time; refine based on failures, reduce tokens, improve reliability 5. **Document and deploy** — Version prompts, document behavior, monitor production ## Reference Guide Load detailed guidance based on context: | Topic | Reference | Load When | |-------|-----------|-----------| | Prompt Patterns | `references/prompt-patterns.md` | Zero-shot, few-s...

Details

Author
Jeffallan
Repository
Jeffallan/claude-skills
Created
10 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

prompt-engineer

Use when designing prompts for LLMs, optimizing model performance, building evaluation frameworks, or implementing advanced prompting techniques like chain-of-thought, few-shot learning, or structured outputs.

3 Updated yesterday
zacklecon
AI & Automation Solid

prompt-engineer

Design, optimize, test, and evaluate prompts for large language models. Use when: (1) crafting or refining system prompts, user prompts, or prompt templates, (2) optimizing token usage or cost of existing prompts, (3) designing few-shot examples or chain-of-thought reasoning, (4) setting up prompt evaluation, A/B testing, or regression testing, (5) building production prompt management systems (versioning, monitoring, safety), (6) debugging inconsistent or low-quality LLM outputs, (7) selecting prompt patterns (zero-shot, few-shot, CoT, ToT, ReAct, role-based). Triggers on: prompt engineering, optimize prompt, reduce tokens, prompt template, few-shot, chain-of-thought, prompt evaluation, A/B test prompts, prompt versioning.

39 Updated today
OpenCoven
AI & Automation Listed

prompt-engineer

Designs, refines, and systematically evaluates LLM prompts using structure, role framing, few-shot examples, explicit output contracts, and reasoning scaffolds. Use this skill when the user wants to write or improve a prompt, build a system prompt, craft few-shot examples, reduce hallucination or refusals, enforce a JSON/structured output, design an LLM-as-judge or eval rubric, debug inconsistent or low-quality model outputs, or compare prompt variants ("optimize this prompt", "why is the model ignoring my instructions", "make it return valid JSON", "write a prompt that...", "evaluate these prompts").

3 Updated 3 weeks ago
JayRHa