Claude Prompt Templates
40+ Claude-optimized prompt templates using XML tags and Anthropic best practices. Copy, edit inline, and use.
44 templates
Document Analyzer
Analyze a document and answer specific questions with direct quotes.
Comparative Analysis
Compare two or more items with structured criteria.
Argument Analyzer
Break down an argument into claims, evidence, and logical structure.
SWOT Analysis
Generate a thorough SWOT analysis for any company, product, or idea.
Root Cause Analysis
Identify root causes of a problem using structured analysis.
Code Reviewer
Thorough code review checking bugs, performance, security, and best practices.
Code Explainer
Get a plain-English explanation of complex code.
Refactor Helper
Refactor code for better readability, performance, or maintainability.
Bug Debugger
Diagnose and fix bugs with explanations.
Unit Test Writer
Generate comprehensive unit tests for any function.
Research Synthesizer
Synthesize multiple sources into a structured summary.
Literature Review
Generate a structured literature review on any academic topic.
Fact Checker
Verify a set of claims with evidence and confidence ratings.
Pros & Cons Analysis
Balanced analysis of any topic, decision, or technology.
Interview Prep
Generate likely interview questions and model answers for any role.
Email Writer
Write professional emails for any context with the right tone.
Blog Post Writer
Generate SEO-friendly blog posts with proper structure.
Content Rewriter
Rewrite existing content to improve clarity, tone, or SEO.
Technical Writer
Write clear technical documentation, guides, or API docs.
Executive Summary
Condense long documents into executive-ready summaries.
Data Extractor
Extract structured data from unstructured text as JSON.
Data Analyzer
Analyze raw data and extract meaningful insights.
Survey Analyzer
Analyze survey responses and generate key themes.
Report Generator
Turn raw data or notes into a formatted business report.
SQL Query Builder
Build optimized SQL queries from natural language descriptions.
Business Plan Section
Write any section of a business plan with professional depth.
Competitive Analysis
Detailed competitive landscape analysis.
OKR Generator
Generate measurable OKRs for any team or company goal.
Customer Persona
Build detailed customer/user personas from descriptions.
Risk Register
Create a comprehensive risk register for any project.
Story Architect
Build a complete story structure with plot, characters, and themes.
Character Deep Dive
Create psychologically rich fictional characters.
Dialogue Writer
Write authentic dialogue that reveals character and advances plot.
World Builder
Build a rich fictional world with rules, history, and culture.
Brainstorm Assistant
Generate creative ideas with divergent and convergent thinking.
Concept Explainer
Explain any concept clearly with analogies for any level.
Socratic Tutor
Guide learning through questions rather than direct answers.
Quiz Generator
Create comprehensive quizzes with answer keys.
Study Plan
Create structured study plans for any subject or exam.
Feedback Writer
Write constructive, specific feedback on any work.
Lesson Plan Creator
Design complete lesson plans for any subject and level.
Article Summarizer
Extract the essential information from any article.
Meeting Notes Formatter
Transform raw meeting notes into structured action items.
Book Summarizer
Extract the key ideas and lessons from any book.
Claude Prompt Engineering Guide
Claude by Anthropic responds especially well to structured prompts that use XML tags, clear task descriptions, and explicit output format instructions. These templates incorporate all of Claude's documented best practices.
Why XML Tags Work So Well With Claude
Claude is trained to pay close attention to XML-style tags like <document>, <context>, <instructions>, and <output_format>. Using tags to separate different parts of your prompt helps Claude:
- Clearly distinguish between instructions and content to analyze
- Understand the structure and priority of your request
- Follow multi-part instructions more reliably
- Produce more consistent and structured outputs
Claude Prompt Best Practices
- Be explicit about format: "Format as a numbered list" or "Output as JSON" dramatically improves consistency.
- Specify audience: Claude adjusts vocabulary, depth, and tone based on who you say the output is for.
- Use system prompts: When using the Claude API, put role instructions in the system prompt rather than the human turn.
- Ask for reasoning: Adding "think step by step before answering" or asking Claude to show its work improves accuracy on complex tasks.
- Iterate: Claude responds well to follow-up instructions like "make it shorter," "use simpler language," or "add more examples."
Filling In the Placeholders
Every [PLACEHOLDER] in these templates is meant to be replaced with your specific content. The more specific you are, the better Claude's response will be. For example, instead of [AUDIENCE] being "business people," try "mid-level marketing managers at B2B SaaS companies."