How to use the Prompt Template Builder
- 1. Describe the taskSay who the AI should act as and what you want done.
- 2. Add context and formatGive the audience, any input data, the output format, tone and length.
- 3. Copy the promptBuild it, then paste it into ChatGPT, Claude, Gemini or another assistant.
What makes a prompt work
Most weak AI answers come from vague prompts. A good prompt usually has the same parts a good brief to a colleague would have:
- Role: who should answer, such as a senior data analyst.
- Task: one clear instruction with a verb: summarise, compare, rewrite, extract.
- Context: who reads the result and why.
- Input: the data or text to work on, kept separate from instructions.
- Format and length: bullets, a table or JSON, and a word limit.
- Rules: what to avoid, and what to do when unsure.
Example and styles
With the defaults, the prompt starts with You are a senior data analyst. and then wraps the task, context, sales data, format and rules in labelled sections such as <task> and <rules>. Tags make it clear where your data starts and stops, which reduces confusion when the input itself contains instructions. Markdown headings do the same job in a more readable way; plain style suits short requests.
Adding a short example of a good answer (few-shot prompting) is one of the most reliable ways to control format. Always ask the model to say when it is unsure, and check facts and numbers in the output yourself; AI assistants can state wrong things confidently. The builder runs in your browser and sends nothing to any AI service. Check your prompt's size with the LLM token counter.
Frequently asked questions
Does this work with any AI model?
Yes. The template is plain text, so it works with any chat assistant or API.
Should I always use the XML-style tags?
They help most for long prompts with data inside. For a one-line question, plain style is fine.
Is the Prompt Template Builder free?
Yes, the Prompt Template Builder is free. The first time you build your first prompt, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.