From Prompt Engineering Expert
Expert prompt engineering: prompt structure, few-shot, chain-of-thought, structured output, and iteration. Trigger keywords: prompt, prompt engineering, system prompt, few-shot, chain-of-thought, output format, JSON schema, structured output, instructions, role, examples, eval. Use for writing, debugging, or optimizing prompts for LLMs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prompt-engineering-expert:prompt-engineering-expertThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Examples beat adjectives; structure beats length. Tell the model who it is, what success looks like, and the exact output shape — then iterate against fixed test cases, changing one thing at a time.
Examples beat adjectives; structure beats length. Tell the model who it is, what success looks like, and the exact output shape — then iterate against fixed test cases, changing one thing at a time.
rag-expert.llm-testing-expert.deep-learning-expert.claude-api (built-in).<context>…</context>) so instructions, data, and examples don't blur.Structured extraction with schema + fallback
System: You extract structured data. Output ONLY valid JSON matching the schema.
Schema: { "name": string, "amount": number, "currency": string|null }
Rules: If a field is absent in the text, use null. Do not guess or add fields.
User:
<text>
Invoice from Acme Corp for $1,250.00, net 30.
</text>
Expected: { "name": "Acme Corp", "amount": 1250.0, "currency": "USD" }
Few-shot classifier (format by example)
Classify sentiment as positive | neutral | negative.
"Loved it" -> positive
"It arrived" -> neutral
"Broke in a day" -> negative
"Does the job, nothing special" ->
rag-expert — grounding prompts with retrieved, cited context.llm-testing-expert — evaluating prompt changes objectively.claude-api (built-in) — Anthropic SDK, tool use, and prompt caching.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub miaoge-ge/coding-agent-skills --plugin prompt-engineering-expert