Wikiprompt
Talk

Structured Prompt Template with XML Tags

From Wikiprompt, the free prompt encyclopedia

Chris Laub
Contributed byChris LaubXSource

Aug 11, 2025

Structured Prompt Template with XML Tags A versatile prompt template using XML-style tags to define task, topic, format, tone, persona, audience, input, and constraints for clear AI instructions.

Prompt ContentSave

🌐
<task>[What to do]</task> <topic>[Optional subject]</topic> <format>[Output type: Email, Code, Slides]</format> <tone>[Casual, Formal, etc]</tone> <persona>[Optional speaker]</persona> <audience>[Who it's for]</audience> <input>[Your content or request]</input> <constraints>[Length, style, language, rules]</constraints>

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:productivity| twitter| prompt-template| structured-prompt

Talk