Claude Prompt Library
100+ free, tested prompt templates built for Claude AI. Optimized with XML tags, system prompts, and extended thinking — copy any template and start getting better results immediately.
Claude Prompt Templates by Category
Copy any template instantly. Replace the {{variables}} with your content.
Code Review
<context>
You are a senior software engineer conducting a thorough code review.
</context>
<instructions>
Review the following code for bugs, security vulnerabilities, performance issues, and readability. Provide specific line-by-line feedback with suggested fixes.
</instructions>
<code>
{{paste your code here}}
</code>
<output_format>
Organize feedback by severity: critical, warning, suggestion.
</output_format>Debug Assistant
<context>
You are a debugging expert. The user has an error they cannot resolve.
</context>
<instructions>
1. Analyze the error message and code below
2. Identify the root cause
3. Provide a working fix with explanation
4. Suggest how to prevent this class of bug
</instructions>
<error>
{{paste error message}}
</error>
<code>
{{paste relevant code}}
</code>Blog Post Outline
<context>
You are a content strategist creating SEO-optimized blog outlines.
</context>
<instructions>
Create a detailed blog post outline for the topic below. Include:
- A compelling H1 title with the primary keyword
- 5-7 H2 sections with 2-3 H3 subsections each
- Key points to cover in each section
- A suggested meta description (under 160 characters)
</instructions>
<topic>{{your topic}}</topic>
<target_keyword>{{primary keyword}}</target_keyword>Email Rewriter
<context>
You are a professional communications editor.
</context>
<instructions>
Rewrite the email below to be {{tone: professional/friendly/persuasive/concise}}. Keep the core message but improve clarity, remove filler, and strengthen the call to action.
</instructions>
<email>
{{paste your draft email}}
</email>Data Analysis
<context>
You are a data analyst interpreting results for a non-technical audience.
</context>
<instructions>
Analyze the data below and provide:
1. Key findings (top 3-5 insights)
2. Trends or patterns
3. Anomalies worth investigating
4. Recommended next steps
</instructions>
<data>
{{paste your data or describe the dataset}}
</data>
<output_format>JSON with sections: findings, trends, anomalies, recommendations</output_format>Competitive Analysis
<context>
You are a market research analyst.
</context>
<instructions>
Conduct a competitive analysis comparing {{your product}} against the competitors listed below. Cover:
- Feature comparison (table format)
- Pricing positioning
- Strengths and weaknesses of each
- Opportunities for differentiation
</instructions>
<competitors>
{{list competitor names}}
</competitors>Meeting Notes to Actions
<context>
You are a project manager extracting actionable outcomes from meeting notes.
</context>
<instructions>
Parse the meeting notes below and extract:
1. Decisions made
2. Action items with owner and deadline
3. Open questions requiring follow-up
4. Key discussion points summary
</instructions>
<meeting_notes>
{{paste meeting notes}}
</meeting_notes>
<output_format>JSON</output_format>PRD Generator
<context>
You are a product manager writing a lean product requirements document.
</context>
<instructions>
Create a PRD for the feature described below. Include:
- Problem statement
- User stories (3-5)
- Acceptance criteria for each story
- Out of scope
- Success metrics
</instructions>
<feature>
{{describe the feature}}
</feature>Why Use Structured Prompts with Claude
Wrap instructions in <context>, <instructions>, and <output_format> tags. Claude parses structured prompts more reliably than plain text.
Set persona, constraints, and tone in a system message. Claude follows role-based instructions consistently across long conversations.
Use thinking tags for complex reasoning. Claude shows its work step-by-step, catching errors before delivering the final answer.
Claude Prompt Guides
Go deeper with long-form guides, industry-specific templates, and advanced techniques.
The definitive collection — coding, writing, analysis, and research templates.
Read guide →Step-by-step guide to XML tags, thinking mode, and system prompts.
Read guide →Marketing, finance, healthcare, education, and legal templates.
Read guide →Unlock extended thinking for complex reasoning and multi-step analysis.
Read guide →50+ examples adapted from Anthropic’s official prompt library.
Read guide →100+ copy-paste templates — no signup required.
Read guide →Frequently Asked Questions
What is a Claude prompt library?+
A curated collection of ready-to-use prompt templates optimized for Anthropic’s Claude AI. Each template uses XML tags, system prompts, and structured output formatting so Claude delivers consistent, high-quality results.
Are these Claude prompt templates free?+
Yes. Every prompt on this page is free to copy and use. No signup required. Create a free account to save, organize, and share your own prompt collections.
What makes Claude prompts different from ChatGPT prompts?+
Claude responds best to XML-structured instructions, explicit system prompts, and thinking tags for complex reasoning. These templates are formatted specifically for Claude’s strengths — though most work well with other LLMs too.
How do I use XML tags in Claude prompts?+
Wrap sections of your prompt in descriptive XML tags like <context>, <instructions>, and <output_format>. This helps Claude parse your intent clearly and follow multi-step instructions more reliably.
Can I use these prompts with Claude Code and Claude API?+
Absolutely. These templates work with Claude.ai, the Claude API, and Claude Code. Copy the prompt text directly or adapt the XML structure for API system messages.
Start Using Better Claude Prompts Today
Save your favorites, organize by project, optimize with one click, and share with your team. Free forever.
Get Started Free