How to Write Better AI Prompts: A Simple 5-Part Framework

By DigiCools Team ·

AI assistants are only as useful as the instructions you give them. "Write a marketing email" gives the model almost nothing to work with, so it fills the gaps with guesses. A few extra sentences usually make the difference between a generic draft and something you can actually use.

Here is a simple framework you can apply to almost any prompt.

The 5 parts of a good prompt

1. Role

Tell the AI what perspective to take. This sets the vocabulary and level of detail.

You are an experienced HR manager at a mid-sized company.

2. Task

State exactly what you want, with one clear verb.

Write a job description for a junior accountant.

3. Context

Give the facts the AI cannot know: your audience, your goal, the situation, any details that must be included.

The role is in Pune, hybrid (3 days in office), reporting to the finance controller. We use Tally and Excel. We want applicants with 0–2 years of experience.

4. Format

Say how the answer should look: length, structure, headings, bullet points, table, tone.

Use headings for Responsibilities, Requirements and Benefits. Keep it under 300 words. Friendly but professional tone.

5. Constraints

List what to avoid or what rules to follow.

Do not invent a salary figure. Avoid jargon. Use inclusive language.

Putting it together

Combined, the prompt reads naturally:

You are an experienced HR manager at a mid-sized company. Write a job description for a junior accountant. The role is in Pune, hybrid (3 days in office), reporting to the finance controller. We use Tally and Excel and want applicants with 0–2 years of experience. Use headings for Responsibilities, Requirements and Benefits, keep it under 300 words, and use a friendly but professional tone. Do not invent a salary figure and avoid jargon.

Tips for better results

  • Iterate. Treat the first answer as a draft. Ask for changes: "Make it shorter", "Add a section on growth opportunities".
  • Give an example. If you have a sample you like, paste it in and say "match this style".
  • Ask it to ask you. End with "Ask me any questions you need before you start" when the task is complex.
  • Check the facts. AI tools can state wrong information confidently. Verify names, numbers, laws and dates before you use the output.
  • Protect private data. Do not paste confidential company or customer information into public AI tools.

Ready-made prompts

Writing every prompt from scratch takes time. Our AI prompt packs give you tested starting points for common tasks in HR, legal drafting, design, marketing and more — each one written with a clear role, task and format that you can adapt to your own context.

Related products

← All articles