# AI prompt generator

URL: https://shahid09.is-a.dev/tools/ai-prompt-generator/
Author: Muhammad Shahid (https://shahid09.is-a.dev/)
Free tool · runs in your browser

Turn a rough idea into a clear, structured prompt: say who the AI should be, what to do, what it needs to know and how to answer.

**Quick answer:** A good prompt states the task plainly, gives the context the model cannot guess, says who the answer is for and what format it should take, and lists any rules. This generator puts those parts into clearly labelled sections, with optional examples, which works well with Claude, ChatGPT and Gemini.

## How to use it

1. **Pick a template or start blank.** Templates include a customer support bot, document summary and code help.
2. **Fill in the fields.** Only the task is required; add context, audience, format, tone and rules where they help.
3. **Copy the prompt.** Paste it into your AI chat, or use it as the system prompt of your app or bot.

## Frequently asked questions

### What makes a good AI prompt?

A clear task, the context the model needs, who the answer is for, the format you want, and any rules or examples. Be specific rather than long.

### Does the same prompt work in ChatGPT, Claude and Gemini?

Mostly yes. Clear, specific prompts with labelled sections work across all major models; small wording changes may help on each.

### Should I give the AI a role?

A short role helps set expertise and tone, but the task, context and format matter more.

### Why add examples to a prompt?

One or two examples of the output you want are often the fastest way to get the right format and style.

### Can I use this for a customer support bot?

Yes. Use the customer support template as a starting system prompt, then add your business information. For a full WhatsApp or Telegram bot, see the bot service.

### What is a system prompt?

The instructions an app sends before the conversation to set the AI's role, rules and knowledge. Users do not see it. The prompt this tool builds can be used as one.

### Why does the prompt use tags like <task>?

Labelled sections help the model tell instructions, context and examples apart, especially in long prompts. Claude works particularly well with XML-style tags, and other models handle them fine.

### How long should a prompt be?

As long as it needs to be to give the context, and no longer. Remove instructions the model already follows and make the important ones specific.

### What is prompt engineering?

Designing and testing prompts so a model reliably gives the output you need. In production it also means versioning prompts and testing every change against real examples.

### Is my prompt saved or sent anywhere?

No. The prompt is built in your browser and nothing is stored.

## Related

- [WhatsApp & Telegram AI bot service](https://shahid09.is-a.dev/hire/whatsapp-telegram-ai-bot/)
- [LLM token counter](https://shahid09.is-a.dev/tools/llm-token-counter/)
- [Building AI agents that work in production](https://shahid09.is-a.dev/engineering/ai-agents-langgraph-n8n-production/)
