← Back to HAQQ Blog

AI Prompts for Lawyers: 631-Prompt Library + 2026 Guide

By Nicolas Dawalibi · · Updated · 15 min read · Guides

Copy-ready AI prompts for lawyers, the five-part legal prompt formula, UAE, Saudi, Egypt and EU templates, three before/after rewrites, and a free 631-prompt library.

Key facts

A prompt is the brief you give the model. Write it the way you would brief a capable junior who has never seen the file: who you act for, which law applies, what happened, what you need, and what the deliverable should look like. Each element removes a guess the model would otherwise make for you.

Why does the wording of a prompt change the answer?

A large language model generates text by predicting what comes next from its training and from everything in your prompt. It does not look up a stored answer. Three practical consequences follow for lawyers.

A shorter version of the same structure, used in several vendor training guides, is intent, context, instruction and format: say what you are trying to decide, give the background, then give the instruction and the shape of the answer.

Which prompting techniques work best for lawyers?

These seven techniques show up in every prompt we ship in the library. None of them needs technical knowledge.

1. Assign a role

Telling the model to act as a specific kind of lawyer narrows its answer to that specialist's frame. 'Act as a senior employment lawyer in Dubai reviewing this offer letter for the employee' produces a different, more useful review than 'review this offer letter'.

2. Give the context the model cannot know

Case type, jurisdiction, parties, governing law, deadlines and commercial constraints. 'A cross-border supply agreement between a US manufacturer and a German distributor, governed by German law, with a renewal date in 60 days.' The less the model has to assume, the less it invents.

3. Break complex work into steps

Instead of 'draft a full board resolution', ask first for the outline, then the recitals, then the operative clauses. You review each stage before the next one builds on it.

4. Specify the output format

Table, memo, numbered list, redline or plain-language summary. Show the pattern you expect, for example '[dd/mm/yyyy]: [event] ([source document, page])' for a chronology. A defined format is often the difference between text you reformat for an hour and a deliverable you can send.

5. Set positive guardrails

Say what the model should do. 'Only analyse the indemnity and limitation of liability clauses under English law' works better than 'ignore irrelevant clauses'. Tell it what to do when unsure: 'If a clause is ambiguous, flag it for human review and do not interpret it.'

6. Iterate

Treat the first answer as a draft. Follow up: 'Expand the data protection section.' 'Rewrite paragraph 3 for a CFO.' 'Which of these points depends on a fact I have not given you?' Each round costs seconds.

7. Repeat the instruction that matters most

Models pay less attention to the middle of long prompts. Put the critical instruction at the start and again at the end, for example 'cite the article for every statement of law'.

Our earlier guide on prompt architecture, now merged into this page, listed seven principles. Two of them (role and iteration) are covered above. These five add something the techniques do not.

A prompt that names the statute gets a narrower, more checkable answer than one that says 'under local law'. The four templates below follow the structure the library uses: who you act for, the facts as fill-in fields, numbered deliverables, and mandatory rules. Each one points to the matching entry in the HAQQ Prompt Library by its library ID; filter by jurisdiction to find it.

UAE: non-compete validity under the Labour Law

I act for [the employer / the employee]. Assess whether this non-compete is enforceable under Article 10 of UAE Federal Decree-Law No. 33 of 2021 on the Regulation of Labour Relations.

Facts: role [Role]; restriction period [Period]; geographic scope [Scope]; activities covered [Activities]; how employment ended [resignation / termination / expiry]; mainland or free zone [Mainland / DIFC / ADGM / other free zone].

Deliverables:
1. Whether the clause meets the statutory limits on duration (no more than two years after the contract ends), place and type of work.
2. Whether the role gave access to clients or confidential information, and what the employer must prove.
3. Whether the way employment ended makes the restriction fall away.
4. If the employer is in the DIFC or ADGM, say that their own employment rules apply and do not apply the mainland analysis.

Rules: cite the article for every statement of law. If a fact I have not given changes the answer, say which fact.

Library entry: AE-02, Non-Compete Validity Under UAE Labour Law. The UAE bucket holds 17 prompts, from liability caps under UAE law (AE-01) to commercial agency termination (AE-07).

Saudi Arabia: transferring personal data outside the Kingdom

I act for [the Saudi controller]. We want to host [type of personal data] for [number] data subjects with a provider in [country]. Advise under Article 29 of the Saudi Personal Data Protection Law and SDAIA's Regulation on Personal Data Transfer Outside the Kingdom (updated September 2024).

Facts: purpose of the transfer [Purpose]; whether the data includes sensitive data [Yes/No]; safeguards available [standard contractual clauses / binding common rules / certification / none].

Deliverables:
1. The legal basis that permits this transfer, or why none does.
2. Whether a transfer risk assessment is required before the transfer, and what it must cover.
3. The contract terms the provider must accept.
4. A one-paragraph answer the CEO can read.

Rules: distinguish what the Law says from what the Regulation adds. Flag any point where SDAIA guidance is pending or unclear.

Related library entries: P44-30, Saudi AI Services Agreement Negotiation Memo, and P47-08, Saudi Company Ongoing Compliance Checklist. The KSA bucket holds 11 prompts.

Egypt: asking the court to appoint an arbitrator

I act for the claimant. The respondent has not appointed its arbitrator. Set out how to obtain a court appointment under Article 17 of Egyptian Law No. 27 of 1994 on Arbitration in Civil and Commercial Matters.

Facts: arbitration clause [quote it]; number of arbitrators [Number]; international or domestic arbitration [International / Domestic]; date of our request to appoint [Date].

Deliverables:
1. The competent court under Article 9 (for international commercial arbitration, the Cairo Court of Appeal unless the parties chose another appellate court).
2. The 30-day period that must run before we apply, and how to count it.
3. The form of the application and the documents to attach.
4. Whether the court's appointment decision can be challenged.

Rules: work from the clause I quoted. If the clause names an institution such as CRCICA, say whether its rules displace the court route.

Library entry: EG-03, Appointing an Arbitrator by Petition. The Egypt bucket holds 9 prompts, including a Court of Cassation research prompt on medical damages (EG-02).

EU: reviewing a processor agreement under the GDPR

I act for [the controller]. Review the attached data processing agreement against Article 28(3) of Regulation (EU) 2016/679 (GDPR).

Facts: the processor is [Vendor]; the service is [Service]; sub-processors are [listed / not listed]; data leaves the EEA [Yes/No, to which country].

Deliverables:
1. A table with one row per Article 28(3) requirement: present / missing / weak, the clause number, and the exact wording.
2. Proposed wording for every missing or weak term.
3. If data leaves the EEA, the transfer mechanism the agreement relies on and whether it is documented.

Rules: quote the clause behind every finding. Do not treat a reference to 'applicable law' as satisfying a specific requirement.

Related library entries: P02-02, Data Processing Agreement, and P43-25, EU Data Access Claim Strategy Playbook for Court. The EU bucket is small (4 prompts) because most GDPR prompts in the library are tagged jurisdiction-neutral.

What does a weak prompt look like after a rewrite?

Three rewrites we use in training sessions. The 'what changes' notes describe the typical difference in output we see when lawyers run both versions; your model and documents will vary.

Rewrite 1: contract review

BEFORE
Review this contract and tell me if it's OK.

AFTER
I act for the customer, a mid-size retailer. Review the attached SaaS agreement, governed by English law. List every clause that limits the vendor's liability, lets the vendor change price or service, or restricts our exit. For each: quote the clause, rate the risk high / medium / low for us, and propose replacement wording. End with the three points I should raise first in negotiation. If something depends on a fact not in the document, say so.

What changes: the first version returns a general summary that says the agreement 'appears standard' and lists headings. The second returns a clause-by-clause table anchored to quoted text, which you can check against the contract in minutes, and a negotiation order you can disagree with.

BEFORE
Is a non-compete enforceable in Dubai?

AFTER
I act for a Dubai mainland employer. A sales manager with access to our client list resigned and joined a competitor in the same emirate four months later. His contract has a 12-month, UAE-wide non-compete. Under Article 10 of Federal Decree-Law No. 33 of 2021, is the clause enforceable as drafted, what must we prove, and what is the deadline to bring a claim? Cite the article for each point and flag anything that differs if the employer were in the DIFC.

What changes: the short question gets a survey of UAE non-compete law that mixes mainland and free-zone rules. The rewrite gets an answer to this employee's case, organised around the statutory conditions, with the points that turn on evidence flagged for you to check.

Rewrite 3: client update

BEFORE
Summarize this judgment for the client.

AFTER
The client is the CFO of the defendant, not a lawyer. Using only the attached judgment, write a client update of no more than 250 words: what the court decided, what it means for the company's exposure in money terms, the deadline to appeal, and the two decisions the client must make this week. Plain English, no case citations in the body, and a one-line note of anything in the judgment you could not interpret.

What changes: the first version produces a legal summary written for another lawyer. The second produces something the CFO can act on, with the appeal deadline surfaced, and tells you where the model was unsure so you know what to check.

Short starting points you can paste and then extend with the five elements above. Each has a fuller, structured version in the library.

Contract review and drafting

Data privacy and compliance

Corporate governance and M&A

Can I paste client data into ChatGPT, Claude or Gemini?

Check the plan and the data terms first. Consumer tiers of general AI tools may store prompts and, depending on settings, use them to improve models. In United States v. Heppner (S.D.N.Y., 17 February 2026), Judge Rakoff held that documents a defendant generated with a consumer AI tool were not privileged, in part because the provider's privacy policy reserved the right to disclose user data. Commentators read the ruling as tied to consumer terms; enterprise agreements with confidentiality commitments put you in a stronger position, though no court has said they are enough.

In a general chatbot every session starts from zero, so you restate your role, jurisdiction and standards each time. A legal platform carries that context for you, so the prompt can be shorter and focus on the task. In HAQQ Legal AI Chat, the matter, its documents and your playbook stay attached to the conversation, answers come back as structured documents you can export, and data is hosted in the EU, the US or the Middle East, or on private cloud or on-premise. The interface runs in seven languages (English, Arabic with full right-to-left layout, French, Spanish, German, Italian and Portuguese).

The prompting discipline stays the same. A platform can supply context; it cannot decide which facts matter or check the result for you.

How do I build a prompt library for my team?

Save every prompt that produced work you used, with the matter type, the model and the date. Strip client details, turn the variables into [placeholders], and add the rules you had to add by hand on the second attempt. After a few weeks you have a set of tested prompts for your recurring work, and new joiners start from your standard instead of from a blank box.

To skip the first month, start from the HAQQ Prompt Library: 631 free prompts sorted by use case, practice area, jurisdiction, audience and style, each in English, Arabic, Spanish, French and Romanian. Copy one, adjust the facts, and keep your edited version as the firm's own.

Where should I start?

General legal information, not legal advice; the statutory references in the templates above should be checked against the current text before you rely on them.

Sources

FAQ

What should a good legal AI prompt include?

Five elements: who you act for, the jurisdiction (with the statute and article if you know them), the facts that change the answer, one clear task, and the output format and audience. Then attach the documents, tell the model to cite a source for every legal proposition, and check the result before relying on it.

What is the best prompt for contract review?

State which party you act for and the governing law, attach the contract, and name the clause types you care about (liability, indemnity, termination, price change, exit). Ask for a table that quotes each clause, rates the risk for your client and proposes replacement wording, and tell the model to flag anything that depends on facts outside the document. The HAQQ Prompt Library entry P11-01, Full Contract Risk Review, follows this structure.

Can I paste client data into ChatGPT, Claude or Gemini?

Not into a consumer plan whose data terms you have not checked. In United States v. Heppner (S.D.N.Y., 17 February 2026) the court held that documents generated with a consumer AI tool were not privileged, partly because the provider reserved the right to disclose user data. Anonymise with placeholders, or use an enterprise plan or legal platform with a data processing agreement and no training on your data.

How many prompts are in the HAQQ Prompt Library?

631 prompts as of 19 October 2026, across 11 use cases such as drafting, review, research, compliance and negotiation. 249 are tagged to a jurisdiction or region, including the UAE, Saudi Arabia, Egypt and the EU, and every prompt is available in English, Arabic, Spanish, French and Romanian. The library is free at haqq.ai/prompt-library.

Do jurisdiction-specific prompts give better legal answers?

They give narrower answers that are easier to check. A prompt that names, for example, Article 10 of UAE Federal Decree-Law No. 33 of 2021 or Article 17 of Egyptian Arbitration Law No. 27 of 1994 steers the model to the governing rule and lets you verify the output against one provision instead of a general survey.

Do lawyers still need to verify AI output if the prompt is good?

Yes. A good prompt reduces errors but does not remove them. ABA Formal Opinion 512 (29 July 2024) places review of AI output within the lawyer's duty of competence, with the depth of review depending on the tool and the task. The lawyer who signs the document is responsible for it.