Purpose

Prompt engineering — the skill of crafting inputs that produce reliable, accurate AI outputs — is a core competency for legal professionals in 2026. This playbook provides practical techniques calibrated for legal use cases, where precision, completeness, and defensibility are non-negotiable.

The Five Principles of Legal Prompt Engineering

Principle 1: Specify the Role and Context

AI models produce better outputs when given explicit context about who they are, who the audience is, and what standard applies.

Weak prompt: “Summarise this contract.”

Strong prompt: “You are a senior commercial lawyer reviewing a SaaS subscription agreement for a mid-market Australian technology company. Summarise the key commercial terms, identify any non-standard provisions that deviate from market norms, and flag any clauses that require further negotiation. The audience for this summary is the company’s Head of Procurement, who is not legally trained.”

The strong prompt specifies: the reviewer’s role (senior commercial lawyer), the document type (SaaS subscription), the jurisdiction context (Australian), the task (summarise, identify, flag), and the audience (non-legal procurement lead). Each specification constrains the AI’s output toward relevance and accuracy.

Principle 2: Define the Output Structure

Legal work product follows predictable structures. Specify the structure explicitly rather than relying on the AI’s default formatting.

Weak prompt: “Review this NDA and tell me what you think.”

Strong prompt: “Review this mutual NDA against the following framework and provide your analysis in the specified structure:

Structure:

  1. Classification: Green (standard, no issues), Amber (minor deviations, review recommended), or Red (material issues, senior counsel required)
  2. Key Terms Summary: Table format — Term, Our Standard, Counterparty Position, Assessment
  3. Risk Items: Numbered list of specific deviations from our standard position, with risk rating (Low/Medium/High) and recommended response for each
  4. Recommended Actions: Specific next steps, in priority order”

Principle 3: Provide Reference Material

For tasks that require comparison against a standard (playbook review, compliance assessment, clause analysis), provide the reference material in the prompt. Don’t rely on the AI’s general knowledge of “market standard” or “best practice” — these are vague and jurisdiction-dependent.

Weak prompt: “Does this indemnity clause meet market standards?”