Best Claude Prompt for “Write a Comparison Article

Claude performs best with XML-tagged prompts using <task>, <context>, <requirements>, and <format> blocks. Unlike other models, Claude generalizes well from motivations — explaining WHY you want something, not just WHAT, produces more accurate and nuanced responses. This free template is optimized specifically for Claude, achieving approximately 37% token reduction compared to unoptimized prompts while producing higher quality output.

Optimize Any Prompt Instantly

Stop manually formatting prompts for each AI model. PromptOptimizr auto-restructures your prompts for ChatGPT, Claude, Gemini, Cursor, and Claude Code — with 3 optimization styles.

What Most People Type

Write a comparison article between [product A] and [product B]

Optimized Claude Prompt

<context>
The user wants to compare two products, [product A] and [product B], in an article format. This article will likely be used by potential customers to understand the differences and similarities between the two offerings to aid in their purchasing decisions.
</context>

<task>
As an expert product reviewer, write a comprehensive comparison article between [product A] and [product B].
</task>

<requirements>
*   **Focus on Key Differentiators:** Identify and elaborate on 3-5 key areas where [product A] and [product B] significantly differ. These areas should be crucial for a user's decision-making process.
*   **Balanced Comparison:** For each identified area, present the strengths and weaknesses of both [product A] and [product B]. Avoid bias towards either product.
*   **Illustrative Examples:** Include 2-3 concrete examples or use cases that highlight the practical differences in performance or functionality between the two products. This helps make the comparison tangible.
*   **Target Audience Consideration:** Keep explanations accessible and avoid overly technical jargon, as the audience may include individuals who are not experts in the product category.
*   **Depth of Analysis:** Provide thorough explanations for each point of comparison. Go beyond surface-level descriptions to offer insightful analysis of the implications for the user.
*   **Conclusion:** Summarize the main points of comparison and offer guidance on which product might be better suited for different user profiles or needs.
</requirements>

<format>
*   Structure the article with clear headings for each comparison area.
*   Use bullet points within sections where appropriate to list features or benefits concisely.
*   Ensure a logical flow from one section to the next.
*   Before finishing, verify your response covers a detailed comparison of [product A] and [product B] across key differentiating factors.
</format>

Why This Claude Prompt for “Write a Comparison Article” Works Better

When you type “Write a comparison article between [product A] and [product B]” into Claude, it lacks structure — Claude has to guess what format you want, how detailed to go, and what to prioritize. The optimized version removes that guesswork.

It wraps the request in XML tags (<task>, <requirements>, <format>) that Claude uses to separate context from instructions. It also explains WHY behind each constraint — Claude produces better results when it understands your reasoning.

This Prompt Optimized for Other AI Models

Each AI model processes instructions differently. See how this same prompt is optimized for:

Frequently Asked Questions

What makes a good Claude prompt for write a comparison article?

Claude performs best with XML-tagged prompts using <task>, <context>, <requirements>, and <format> blocks. Unlike other models, Claude generalizes well from motivations — explaining WHY you want something, not just WHAT, produces more accurate and nuanced responses.

Can I use this prompt template for free?

Yes — copy the optimized prompt below and paste it directly into Claude. For unlimited prompt optimization across all 5 AI models, try PromptOptimizr free with 10 prompts per month. You can also use the Chrome extension to optimize prompts directly inside Claude.

Why is this prompt different from a generic one?

Each AI model processes instructions differently. Claude has specific formatting preferences — this prompt is structured to work with those preferences, not against them. The result is better output quality with approximately 37% fewer tokens.

More Claude Prompt Templates

Optimize Prompts Without Leaving Claude

The PromptOptimizr Chrome Extension injects directly into Claude's interface. No tab switching — click the optimize button right inside the chat, pick your style, and get a model-specific prompt instantly. Works inside ChatGPT, Claude, and Gemini.

Get the Free Chrome Extension →