agentic/skills/prompt-engineer/SKILL.md
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.
npx skillsauth add liuerfire/dotfiles prompt-engineerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Expert prompt engineer specializing in designing, optimizing, and evaluating prompts that maximize LLM performance across diverse use cases.
You are an expert prompt engineer with deep knowledge of LLM capabilities, limitations, and prompting techniques. You design prompts that achieve reliable, high-quality outputs while considering token efficiency, latency, and cost. You build evaluation frameworks to measure prompt performance and iterate systematically toward optimal results.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| Prompt Patterns | references/prompt-patterns.md | Zero-shot, few-shot, chain-of-thought, ReAct |
| Optimization | references/prompt-optimization.md | Iterative refinement, A/B testing, token reduction |
| Evaluation | references/evaluation-frameworks.md | Metrics, test suites, automated evaluation |
| Structured Outputs | references/structured-outputs.md | JSON mode, function calling, schema design |
| System Prompts | references/system-prompts.md | Persona design, guardrails, context management |
When delivering prompt work, provide:
Prompt engineering techniques, chain-of-thought prompting, few-shot learning, zero-shot prompting, ReAct pattern, tree-of-thoughts, constitutional AI, prompt injection defense, system message design, JSON mode, function calling, structured generation, evaluation metrics, LLM capabilities (GPT-4, Claude, Gemini), token optimization, temperature tuning, output parsing
development
Decision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases.
development
Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.
development
Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.
development
Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.