The playbook

Prompt engineering for lawyers

How these models actually work, where they fail, and the nine skills that change what you get back. Then the full tune menu: every technique Prompt Pilot can inject, and why.

Adapted from Chapter 13 of Level Up Your Legal Writing by Joe Regalia14 sections

Part one/1 of 3

Know the machine

You cannot fly what you do not understand. Before the skills, two short lessons on what is actually happening inside these tools.

Ground school

How these models actually think

Ask a tool like ChatGPT a question and the answer feels like magic. It is not. Under the hood, the model does one thing over and over: it predicts the next word. Modern generative AI runs on transformer architecture, and the innovation that changed everything is called self-attention. It lets the model weigh how every word in your prompt relates to every other word, much the way you do when you read.

Walk through what happens when you type "What are the consequences of copyright infringement?" First the model chops your question into tokens, small chunks of text it can work with. Those tokens pass through layers that size up what matters: one layer flags "consequences" as the payload, another ties it to "copyright infringement." Then the model writes back one token at a time, choosing each next word by probability. "The" wins the opening slot. In this context, words like "penalties," "fines," and "damages" rank high. Token by token, out comes a complete answer: fines, damages, injunctions, maybe criminal charges.

Why should a lawyer care? Because a prediction engine has no built-in commitment to the truth. It commits to the plausible. Every skill on this page exists to close that gap. You are learning to shape the probabilities. That is all prompting is.

A few distinctions worth keeping straight. General chatbots (ChatGPT, Gemini, Copilot) draw on broad knowledge: versatile, but not specialized. Tools like Westlaw AI work from structured legal data and are more reliable inside their lane. And a tool is either cloud-based, meaning your prompts travel to someone else’s servers, or local, meaning they stay on hardware you control. That difference matters every time client information is involved.

Ground school

What it is good at, and where it fails

These tools sometimes get legal questions wrong, and the reason is usually a mismatch: they do not think the way we think. Left alone, a model does not always understand that you want the truth, or that "I do not know" beats an invented answer. Creativity is its default setting. Accuracy takes guidance.

So play to the strengths. AI is terrific at improving writing style, because style asks for options, not facts: it has processed more sentences than any writer alive, so let it brainstorm ten ways to recast yours. It summarizes defined text fast and well: the cases, briefs, and statutes you paste in. It generates themes, storylines, and headlines. It drafts starter text that beats a blank page. It extracts and organizes information into clean tables. And it explains and translates complex material for any audience you name.

Now the weak spots. It can misstate the law and cite cases that do not exist, in prose that sounds completely sure of itself. It handles jurisdiction-specific nuance badly. And it has no client instincts: no empathy, no judgment, no feel for what this judge, on this record, needs to hear. It is a tool, not a wand.

Part two/2 of 3

Preflight: the three pitfalls

The warnings come before the skills for a reason. Get these three wrong and no prompting technique will save you.

Pitfall 01

Overreliance: stay the pilot

Generative AI works so well at first glance that it tempts you to put your pen down. Resist. You cannot use this tool, or any tool, well if you do not know what the final product should look like. Some call this the pilot era of lawyering: technology handles more of the small details while the lawyer sits at the controls, adjusting, steering, correcting. That only works if you can still fly the plane yourself.

I like a homelier picture: the bread machine. I make a lot of bread, and the machine does the heavy lifting. No kneading by hand, no waiting on the rise. But loaves still come out bad, and when they do, I know how to adjust, because I know how to make bread. If I did not, I would get the same loaf every time, good or bad, and I would be taking orders from an appliance. So decide now: do you want to be a bread machine assistant, or do you want the bread machine to assist you?

That question is the reason this product exists. Every tune in the menu below keeps the judgment calls on your desk: the AI drafts and suggests; you direct and decide.

Pitfall 02

Competence and confidentiality

You owe clients competence and diligence, and you owe courts candor. Use AI to draft a paragraph and you are responsible for that paragraph as if you wrote it yourself. Competence now includes knowing how your tools work and staying reasonably current as they change. Check the rules that govern you, too: California bar guidance says lawyers should get client approval before using generative AI on a matter, and some courts require you to disclose AI use in your briefing.

Confidentiality has two exposure paths, and you need to check both. First, transmission and storage: like any cloud tool, an AI service streams your data out, holds it while working, and streams a response back, and it can be compromised at any point along that path. Second, and unique to AI: training data. Your prompts are gold to AI companies, which pay people to do all day what you do for free. Confirm your inputs will not be folded into a model’s training in a way others could extract.

Keep bias on the radar as well. These models learn from enormous datasets that include discriminatory content, and garbage in means garbage out. Read outputs with a critical eye for stereotypes and slanted framing no careful lawyer would knowingly sign.

In the Cockpit:Confidentiality Reflex
Pitfall 03

Do not trust. Verify.

AI output can be wrong in ways that read as right. It can miss the depth of a novel issue, mangle a doctrine, and produce a citation that does not exist, all in confident, fluent prose. So build verification into your process instead of your intentions: every authority checked by a human, every quotation confirmed against the source, every legal statement traced to something you read yourself.

And make the AI help. Tell it to flag what it is unsure of. Give it standing permission to say "I do not know." Give it an exit so it never needs to invent one:

An escape path

If you cannot find a source to support my statement, respond "no source found."
Part three/3 of 3

Flight training: the nine skills

When you type instructions into an AI tool, you are prompting it. Prompt engineering is tuning those instructions until the response is what you actually needed. And it works: change how you ask and you change what you get. One warning first. There is no magic best prompt, whatever the clickbait promises. There are principles you adapt to the task, and here they are. When a prompt works, save it; the good ones are reusable assets.

Skill 01

Give organized, precise instructions

Specific and narrow beats broad and vague, every time. "Draft a contract" hands the model the whole world to parse. Start with a concrete verb (summarize, brainstorm, rewrite, extract), deliver one point at a time, and keep the task tight. You can always go deeper on the next turn.

Then wall your text off. Delimiters separate your instructions from the text you want worked on and from your examples, so the model never confuses the document with the directions. Anything works as a delimiter if it cannot be mistaken for a word, and per the research, *** works very well.

Instead of "draft a confidentiality agreement"

Let’s work on drafting a confidentiality agreement together. The agreement is between Acme and Widgets. Let’s start by drafting the headings for the contract. Craft each heading to summarize the key terms of that section. Include an exhaustive list of possible terms for now.

Delimiters at work

As a renowned legal writer, please edit the following text... *** For context, here is an example of excellent writing... *** Here is the text I’d like you to edit: ...
Skill 02

Give the AI a role

A role tells the model how to approach the task and how to shape the answer. A research-assistant role produces neutral summary. An advocate role produces persuasion. A judge role shows you the pushback your argument will draw before a real judge supplies it. Few tasks fail to benefit from one.

Open your prompt with a short phrase that sets the role, and add a quality adjective ("a well regarded lawyer," "a renowned legal writer") to point the model at its best material. For style work, mix favorite legal and non-legal writers until the blend sounds right.

One distinction. These roles are personas you hand the AI. Prompt Pilot’s practice and role lenses point the other direction: they tune the work to your field and your seat. Use both.

As a law professor, explain the concept of "res ipsa loquitur" in a clear and concise manner, providing a hypothetical example to illustrate the principle.
Skill 03

Trigger real reasoning

These models have two gears: a fast gear that pattern-matches an answer, and a slower reasoning gear that works in steps. Complex legal tasks need the second gear, and chain-of-thought prompting is how you shift into it. The simplest trigger is a magic phrase. "Let’s think step by step" measurably improves results, and one wording performs even better in the research: "Let’s work this out step by step to be sure we have the right answer."

You can also list the steps yourself: first find the relevant provisions, second analyze how they apply, third conclude. Or make the model design its own plan and follow it. And when you want your work checked, do not let the AI grade first. Make it solve the problem independently, then compare:

The solve-first pattern

Your task is to determine if a law student’s solution is correct or not. First, work out your own solution to the problem. Second, compare your solution to the student’s solution and evaluate whether it is correct. Don’t decide if the student’s solution is correct until you have done the problem yourself. Third, provide your feedback.
Skill 04

Set parameters and format

The model will follow nearly any structural guardrail you give it, so give it several. Control depth with numbers: not "improve this verb" but "give me 10 versions, each using a different verb." Confine length the same way when it rambles. Set ground truths that overwrite its instincts: "All text within quotation marks is accurate and should not be modified." Give it a reading grade or a named audience. And name the format you want back, because the model is exceptional at filling patterns:

A format skeleton

Provide a list of every citation in this brief. List each citation in Bluebook format. Organize the citations by court decisions, statutes, and other sources: Court Decisions: Statutes: Other Sources:
Skill 05

Show it examples

The AI world calls these few-shot prompts: you show the model a few exemplars of what you want, and it learns the pattern with startling speed. The research guidance: provide at least four examples when you can, make them diverse, randomize their order, structure them as prompt-and-answer pairs, and include wrong answers next to right ones so the model learns the difference.

Teach the pattern, then hand over your sentence

Weak sentence: The court issued a ruling on the motion. Better sentence: The court ruled on the motion. Weak sentence: The deadline was not met by the lawyers. Better sentence: The lawyers missed the deadline. Weak sentence: The court’s ruling is not released.
Skill 06

Feed it context and hints

Background changes everything, so supply it and label it. State "The following information is context," wall it off with delimiters, and load in your jurisdiction, the key cases, the bullet points from your draft. (Every tool has a context window, a ceiling on how much text it can hold at once, so spend the space on what matters.)

Then add hints. In recent studies, a short "Hint:" list of keywords significantly improved response quality. Summarizing a case? Tell the model which concepts the summary must center on:

Summarize the Palsgraf v. Long Island Railroad Co. case. *** Hint: reasonably foreseeable, causation, negligence, proximate cause
Skill 07

Iterate with follow-ups

You will rarely get the best answer on the first try, and you do not need to. The model remembers the conversation, so treat it like a junior colleague: say what it got right, what it got wrong, and what to change. Quote its own response back to it. If it seems unsure, tell it to ask you clarifying questions.

A few research-backed moves for the follow-up game. Phrase instructions affirmatively: say what to do, not what to avoid. Repeat key instructions at the end of a long prompt, because models weight the ending most (recency bias). Have the model generate background knowledge first, then answer on top of it. For a prompt that really matters, run five versions and compare; five is the number the research suggests. And stack your prompt types. Role, task, parameter, hints, four short lines:

A feedback loop in two turns

Improve the two verbs in this sentence: "The garbage is removed by John, and Susie is taking a walk to the park." Then, after its answer: The first clause is great, but choose a better verb for Susie that describes walking quickly.

A stacked prompt

Act as a federal judge. Explain how defamation works. Provide two paragraphs or less. Hints: intent, defamatory, falsity.
Skill 08

Get creative

AI is a machine for producing averages: the average structure, the average motion, the average sentence. Averages are a fine start and a terrible finish. When average will not cut it, push. "Provide the contrarian view on this topic." "Come up with three unique angles most lawyers wouldn’t use." "Brainstorm the most unusual approach for the verb in this sentence." Creativity prompts rarely deliver a finished product. They deliver the spark you could not find alone.

How far can this go? I was consulting with an elite appellate team on a pro bono case, impact litigation where every word counted. They had run dozens of versions of one heading and none was right. We tried a couple of generic prompts. Still flat. The case involved parody, so just for fun, with the team watching on Zoom, I typed: "Try rewriting this heading in the form of a unique poem." Silly, right? The model started producing verses, and one line carried a turn of phrase we all recognized instantly as the seed of the perfect heading. A little massaging later, we had our winner. I am not telling you to commission poetry for every brief. I am telling you to experiment, because you never know which prompt shakes the right answer loose.

Skill 09

The everyday use cases

Where does AI earn its keep in a legal writing practice? Style, first and best: "Pick better verbs in this sentence to convey [the emotion you are aiming for]." Grammar and mechanics: "Correct the punctuation in this sentence." Summarizing and extracting: "Summarize the statute and keep it to one paragraph." Starter drafts for rote sections and templates. Brainstorming: "Write a theme for two people fighting over a retirement account." Classifying and formatting: "List these cases in alphabetical order." And collaboration: run a presentation past it, ask for the weaknesses in your oral argument, or have it turn your margin notes into feedback a colleague can actually use.

One favorite deserves its own box. A few follow-ups after this prompt, you will have a writing playbook for yourself or your whole team:

In the end, generative AI can be a fantastic legal writing partner. It brainstorms. It prods you to see a sentence differently. It organizes and extracts. But the results come from trial and error with you in the pilot seat: questioning, guiding, editing, verifying. Know what it is good at. Know what it needs help with. Know what it is not for at all. Then go fly.

The style-guide generator

Below is a sample of my writing. Create a style guide providing 20 items exemplified by my writing, with examples of each.
The tune menu

Every driver's-seat technique

The skills above, turned into injectable language: 120 tunes across 12 disciplines. Copy any of the 87 free tunes below, or let the Cockpit apply the right ones for your task in one click. The 33 practice and role lenses come with Write.law. You can read what each lens does here and in the Cockpit; the language it adds to your prompt comes with the course.

Three Distinct Approaches

Engaged

Three genuinely different versions, tradeoffs explained, no recommendation until you ask.

Why it matters: Accepting the first output is how the AI ends up making your strategic choices. Three real alternatives put the decision back on your desk.

Give me three genuinely different approaches, not three variations on the same idea. For each, briefly explain its strengths, weaknesses, and when it would be the right choice. Do not recommend one unless I ask; the choice is mine.

The Risk Spectrum

Engaged

One conservative, one moderate, one aggressive version.

Why it matters: Risk tolerance is a client-counseling decision, not an AI default. Seeing the spectrum makes the risk choice explicit and yours.

Present a spectrum of versions: one conservative, one moderate, and one aggressive. Identify exactly what makes each more or less risky, so I can make the risk call myself.

Alternative Structures

Deep collaboration

Two or three different ways to organize the document before any drafting.

Why it matters: Structure is the most consequential, and least visible, choice the AI makes for you. Surface it before words get written.

Before drafting anything, show me 2–3 different ways this could be organized (for example: by issue, by chronology, by strength of argument). Explain what each structure emphasizes and de-emphasizes. I will pick one before you draft.

One Option That Challenges Me

Engaged

At least one alternative that questions your framing of the problem.

Why it matters: The most dangerous prompt is one built on a flawed premise the AI politely accepts. Make it earn its keep by pushing back once.

Include at least one option that challenges my framing of the problem: an approach I do not appear to have considered, or a reason the question I asked may not be the right question. Be direct about it.

Unranked Menu

Light touch

Options presented without ranking. You rank them.

Why it matters: Even the order of a list nudges your choice. An unranked menu keeps the evaluation muscle yours.

Present the options in no particular order and without signaling a favorite: no "best," no ordering by preference, no subtle steering. After I have reacted, you may tell me if you see something I missed.

Side-by-Side Tradeoffs

Light touch

A comparison table: each option against the criteria that matter.

Why it matters: Lawyers compare; they don’t just consume. A tradeoff table is the difference between being briefed and being sold.

Summarize the alternatives in a side-by-side comparison: for each option, list its key advantages, key risks, and what it requires from me or the client. Keep the comparison neutral.

Choices at the Sentence Level

Engaged

For key sentences, two or three phrasings to pick from.

Why it matters: Word choice is advocacy. Picking between phrasings keeps you writing, not just approving.

For the most consequential sentences (openings, thesis sentences, requests for relief, key characterizations), give me 2–3 alternative phrasings to choose from rather than settling on one.

The Contrarian Take

Light touch

Alongside the standard answer, the strongest version of the opposite view.

Why it matters: AI is built to produce the average answer, and the average answer is what opposing counsel expects. The contrarian view is where unbriefed arguments live, and even a wrong one sharpens your right one.

After the conventional answer, give me the contrarian view: the strongest version of the position most lawyers would not take here. Label it clearly, make it genuinely forceful rather than a token gesture, and let me decide what it is worth.

Three Unusual Angles

Light touch

Approaches most lawyers would never try, delivered unranked.

Why it matters: When a heading or theme has to be better than average, the prompt has to ask for better than average. Unusual angles are how you mine for the phrase you could not find on your own.

Give me three genuinely unusual angles for this, approaches most lawyers would not try: an unexpected framing, structure, image, or turn of phrase. Do not play it safe and do not rank them. I am hunting for a spark, not a finished product, and I will judge what is usable.

Change the Thinking Style

Engaged

Re-attack the task as an outline, a mind map, a story, even a poem.

Why it matters: An appellate team once found a winning heading in a poem the AI wrote about their case. Odd forms shake loose phrasings that ordinary drafting never surfaces.

If the straightforward versions feel flat, re-attack the task in two deliberately different thinking styles (for example: an outline, a mind map, a what-why-how structure, a story, or a short poem). Then translate anything promising back into usable prose, and show me both the odd form and the translation.

Five Versions of the Ask

Engaged

The AI rewrites your request five ways; the best version gets answered.

Why it matters: Diverse prompting, and five is the target number in the research: different versions of the same request produce meaningfully different results, and one of them usually beats your original.

Before answering, write five different versions of my request, each from a genuinely different perspective. Show me all five, tell me which you predict will get the best result and why, then answer that one. I may rerun any of the others.

87 free tunes: copy any one above, or apply it in one click inside the Cockpit. The 33 practice and role lenses come with Write.law.

Free, no sign-up

Don't memorize the menu.

Auto Pilot reads your prompt and applies the right tunes for the task. One click, healthier prompt.