---
title: "How to write AI prompts as a lawyer: the five-part formula"
url: https://notionforlawyers.com/library/guide-ai-prompts
updated: 2026-10-17
author: Raghav Handa
---

# How to write AI prompts as a lawyer: the five-part formula

A reliable legal AI prompt has five parts: role, context, task, format and limits. Say who the assistant should act as, give anonymised context, state one clear task, specify the output shape, and set limits such as 'do not invent citations'. Then review the answer against sources.

## Key takeaways

- Role, context, task, format, limits: five parts cover most legal prompts.
- One task per prompt gives better results than a bundle.
- Specify what the assistant must not do, especially citing authority.
- Review with a checklist, not a glance.

## The five parts

General information, not legal advice. Check your own bar or regulator's guidance and your client engagement terms before putting any client information into an AI tool.

| Part | Question it answers | Example |
| --- | --- | --- |
| Role | Who is the assistant? | 'Act as a careful paralegal.' |
| Context | What does it need to know? | 'Anonymised facts: a commercial lease dispute in [jurisdiction].' |
| Task | What exactly do I want? | 'List the issues as questions.' |
| Format | What shape should the answer take? | 'A table with Issue, Facts needed, Source to check.' |
| Limits | What must it avoid? | 'Do not cite cases. Flag uncertainty.' |


## Before and after

#### Weak

'Tell me about notice periods for ending a lease.'

#### Stronger

'Act as a [jurisdiction] property paralegal. In a commercial lease, a tenant wants to end the lease early. List the questions I should check in the lease and in the governing rules, as a table with Question, Why it matters, Where to check. Do not state the law as settled; flag where I must verify.'

The second prompt narrows the scope, sets the audience and prevents the assistant from presenting guesses as law.


## Common mistakes

- Pasting a whole document and asking a vague question
- Not naming the jurisdiction
- Asking for authority and trusting what comes back
- Bundling five tasks in one prompt
- Including client names and facts that identify them
- Accepting the first answer without a challenge step


## Review checklist

1. Does each factual claim match the source text I provided?
2. Has any rule or case been mentioned? If so, find it independently.
3. Are there assumptions I did not give? Remove or confirm them.
4. Is the tone right for the reader?
5. Is anything missing that a careful lawyer would add?

- Prompt library: https://notionforlawyers.com/ai/prompts
- Prompt engineering: https://notionforlawyers.com/library/guide-prompt-engineering
- ChatGPT for lawyers: https://notionforlawyers.com/ai/chatgpt


## FAQ

### How long should a prompt be?

As long as needed to remove ambiguity, usually a few sentences. Longer is not always better.

### Do the same prompts work in every assistant?

Mostly, but outputs differ. Test your important prompts in the tool you use.

### Should I save my prompts?

Yes. A database of tested prompts with dates is easy to build in Notion.

### Can prompts guarantee accuracy?

No. They improve structure and reduce some errors, but verification is still necessary.
