Agent skill · AI & Agents

anthropic-prompt-engineer

Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill anthropic-prompt-engineer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/ai-llm/anthropic-prompt-engineer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Anthropic Prompt Engineer 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). ## What This Skill Does Helps you create and optimize prompts for Claude AI using Anthropic's official techniques: - **Generate new prompts** - Build effective prompts from requirements - **Improve existing prompts** - Optimize prompts for better results - **Apply best practices** - Use proven techniques from Anthropic - **Avoid common mistakes** - Prevent hallucinations and unclear outputs - **Optimize for Claude 4.x** - Leverage latest model capabilities - **Structure complex prompts** - Build multi-step, production-ready prompts ## Why Prompt Engineering Matters **Without proper prompting:** - Inconsistent or incorrect outputs - Hallucinations and made-up information - Unclear or verbose responses - Wasted tokens and API calls - Poor performance on complex tasks - Difficulty reproducing results **With engineered prompts:** - Precise, reliable outputs - Factual, grounded responses - Clear, formatted results - Efficient token usage - Ex

What's inside
Steps it walks through
  1. What This Skill Does
  2. Why Prompt Engineering Matters
  3. Quick Start
  4. Generate a New Prompt
  5. Improve an Existing Prompt
  6. Core Techniques Summary
  7. 1. Be Clear and Direct
  8. 2. Use XML Tags for Structure
  9. 3. Chain of Thought (CoT)
  10. 4. Prefilling
  11. 5. Few-Shot Examples
  12. 6. Role Assignment
  13. Reference Materials
  14. Usage Examples
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the anthropic-prompt-engineer skill do?

Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill anthropic-prompt-engineer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going