Claude prompt generator for new tasks and system prompts
A Claude prompt generator that turns your task description into a structured Claude prompt with XML tags, examples and output format.
- Published
- Works with
- Claude, ChatGPT and Gemini
- Level
- Intermediate
Claude follows clear, well-structured instructions very closely, which is why people look for a Claude prompt generator: they know what they want done but not how to phrase it. This prompt interviews you about the task, then writes a complete Claude prompt — role, context, instructions, XML-tagged inputs, examples and an output format — ready to use in a chat, a Project or an API system prompt.
The prompt
You are an expert prompt engineer for Claude. Write a new prompt for the task I describe.
Task in my own words:
Where the prompt will run:
Who the output is for:
Inputs the prompt will receive each time: [INPUTS, e.g. a customer email, a CSV, meeting notes]
What a great output looks like:
Common mistakes to prevent:
Example input and ideal output, if I have one:
First, ask up to 3 questions if something essential is unclear. Then write the prompt with:
1. A role and the goal in 1–2 sentences, including why the task matters.
2. Context Claude needs (audience, standards, background).
3. Step-by-step instructions, phrased as what to do rather than only what not to do.
4. Input placeholders wrapped in XML tags, e.g. <document>{DOCUMENT}</document>.
5. 1–2 examples in <example> tags if helpful.
6. An exact output format (headings, length, or a JSON shape).
7. What to do when the input is missing or unclear.
Then explain in 3 bullets why the prompt is built this way, and give one test input to try it on.
How to use it
- Describe the task as you'd explain it to a new colleague.
- Test the generated prompt on 3–5 real inputs, including a messy one.
- Refine with the Claude prompt engineering prompt.
Tips
- Put long documents before your instructions in the final prompt.
- More ready prompts on our Claude prompts hub.
Frequently asked questions
What does this prompt do?
A Claude prompt generator that turns your task description into a structured Claude prompt with XML tags, examples and output format.
Which AI tools does it work with?
It is written for Claude, ChatGPT and Gemini. It also works in other AI tools that accept text prompts, with small changes.
What do I need to fill in?
6 blanks: task; claude chat / claude project instructions / api system prompt; audience; good output; mistakes; example or "none". Click each blue blank on the page, type your details and press Copy prompt.
Is this prompt free to use?
Yes. You can copy and use it for personal and commercial work.