Transformation Examples

See how ordinary prompts become extraordinary with XML structure

Below are real examples of how Tovu transforms basic prompts into structured masterpieces that deliver exceptional results from AI models.

Content Creation
From vague to precise instructions

Basic Prompt:

Write a blog post about climate change

Enhanced Prompt:

<task>Write a comprehensive blog post</task>
<topic>Climate change and its global impacts</topic>
<audience>Environmentally conscious general readers</audience>
<tone>Informative, factual, and slightly urgent</tone>
<structure>
  <introduction>Start with a compelling fact about recent climate changes</introduction>
  <body>
    <section>Scientific consensus on climate change</section>
    <section>Major environmental impacts observed so far</section>
    <section>Potential future scenarios</section>
    <section>Individual and collective actions that can help</section>
  </body>
  <conclusion>Call to action with hopeful but realistic tone</conclusion>
</structure>
<length>800-1000 words</length>
<constraints>Use credible scientific sources, avoid political bias, include at least 3 specific data points</constraints>

Why it's better: The enhanced prompt specifies audience, tone, structure, and constraints, resulting in a focused, well-organized article rather than generic content.

Code Generation
From basic to comprehensive

Basic Prompt:

Create a React component for a contact form

Enhanced Prompt:

<task>Create a React component</task>
<component_type>Contact form</component_type>
<framework>React with TypeScript</framework>
<styling>Tailwind CSS</styling>
<features>
  <feature>Form validation</feature>
  <feature>Loading state during submission</feature>
  <feature>Success and error messages</feature>
  <feature>Responsive design</feature>
</features>
<form_fields>
  <field>Name (required)</field>
  <field>Email (required, with validation)</field>
  <field>Subject (required)</field>
  <field>Message (required, min 20 characters)</field>
</form_fields>
<accessibility>Ensure form is fully accessible with proper ARIA attributes</accessibility>
<code_style>Modern React with hooks, functional components</code_style>
<additional_requirements>Include comments explaining complex logic</additional_requirements>

Why it's better: The enhanced prompt specifies technologies, features, fields, and accessibility requirements, resulting in production-ready code rather than a basic example.

Creative Writing
From simple to richly detailed

Basic Prompt:

Write a short story about time travel

Enhanced Prompt:

<task>Write a short story</task>
<genre>Science fiction with elements of drama</genre>
<theme>Time travel and its consequences</theme>
<protagonist>
  <name>Dr. Eleanor Chen</name>
  <occupation>Quantum physicist</occupation>
  <motivation>To fix a personal tragedy from her past</motivation>
</protagonist>
<setting>
  <time_period>Near future (2040s) and past (1990s)</time_period>
  <location>Boston, Massachusetts</location>
</setting>
<plot_elements>
  <element>Discovery of time travel technology</element>
  <element>Ethical dilemma about changing the past</element>
  <element>Unexpected consequences of altering timeline</element>
  <element>Resolution that explores the nature of fate vs. free will</element>
</plot_elements>
<tone>Thoughtful, bittersweet</tone>
<length>1000-1500 words</length>
<narrative_perspective>Third person limited</narrative_perspective>
<writing_style>Descriptive with meaningful dialogue</writing_style>

Why it's better: The enhanced prompt provides character details, setting, plot elements, and stylistic guidance, resulting in a compelling narrative rather than a generic story.

Customer Support
From basic to professional

Basic Prompt:

Write a response to an angry customer about a late delivery

Enhanced Prompt:

<task>Write a customer service email response</task>
<scenario>
  <customer_issue>Late delivery of premium product</customer_issue>
  <customer_emotion>Angry, frustrated</customer_emotion>
  <order_details>
    <product>Premium wireless headphones</product>
    <expected_delivery>3 business days</expected_delivery>
    <actual_delivery>10 business days</actual_delivery>
    <reason_for_delay>Unexpected warehouse inventory issue</reason_for_delay>
  </order_details>
</scenario>
<response_elements>
  <element>Sincere apology acknowledging the inconvenience</element>
  <element>Brief explanation without making excuses</element>
  <element>Concrete solution or compensation (20% refund offer)</element>
  <element>Assurance of steps taken to prevent future issues</element>
  <element>Express appreciation for their business</element>
</response_elements>
<tone>Empathetic, professional, solution-oriented</tone>
<length>150-200 words</length>
<format>Email with appropriate greeting and sign-off</format>
<brand_voice>Premium, customer-first company</brand_voice>

Why it's better: The enhanced prompt specifies the scenario details, required response elements, and brand voice, resulting in a professional, effective communication rather than a generic response.

Ready to transform your own prompts?

Experience the difference structured prompts can make in your AI interactions. Try Tovu now and see how much better your results can be.

Try It Yourself

Chrome Extension Coming Soon!

Enhance your prompts directly in any text field with our upcoming browser extension.