From agents
Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agents:anthropic-prompt-engineerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Activate when user says:
Activate when user says:
Master the art and science of prompt engineering with Anthropic's proven techniques. Generate new prompts from scratch or improve existing ones using best practices for Claude AI models (Claude 4.x, Sonnet, Opus, Haiku).
Helps you create and optimize prompts for Claude AI using Anthropic's official techniques:
Without proper prompting:
With engineered prompts:
Using the anthropic-prompt-engineer skill, create a prompt that:
- Extracts structured data from customer emails
- Returns JSON format
- Handles missing information gracefully
- Includes 2 examples
Using the anthropic-prompt-engineer skill, improve this prompt:
"Analyze this code and tell me if there are bugs"
Make it more effective using Anthropic's best practices.
Provide explicit, unambiguous instructions. Claude 4.x excels with precise direction.
Organize prompts with semantic tags like <instructions>, <example>, <context>.
Ask Claude to think step-by-step for complex reasoning.
Start Claude's response to guide format and style.
Provide 2-5 diverse examples showing the pattern you want.
Give Claude a specific role or persona for appropriate context.
All techniques, examples, and templates are available in the references/ directory:
Create a prompt that extracts names, emails, and phone numbers from business cards.
Transform "Write about machine learning" into a structured, effective prompt.
Fix inconsistent outputs by adding structure, examples, and format specification.
Master prompt engineering to create:
Apply Anthropic's proven techniques for best results.
Remember: Good prompts are engineered, not guessed.
npx claudepluginhub zircote/agentsGenerates new prompts or improves existing ones for Anthropic Claude models using techniques like XML tags, Chain of Thought, prefilling, role assignment, and few-shot examples.
Prompt design techniques for LLMs: structure, examples, reasoning patterns, and optimization. Invoke whenever task involves any interaction with AI instructions — crafting, debugging, improving, or evaluating prompts for skills, agents, output styles, or system configurations.
Guides context engineering for Claude: designing prompts, system prompts, and context windows using Anthropic techniques like clear instructions, multishot examples, chain-of-thought, XML tags. For API calls, agents, complex inputs.