Skip to content
    HAQQ Legal AI Platform Logo
    • HAQQ per Enterprise
    • Prezzi
    AccediRegistrati gratis
    Registrati gratisPrenota Demo
    1. Home
    2. Blog
    3. Prompt engineering per avvocati: 7 principi che reggono
    Torna al BlogGuide & Tutorial

    Prompt engineering per avvocati: 7 principi che reggono

    Sette principi di prompt engineering per avvocati - contesto, assegnazione del ruolo, esempi few-shot, verifica - per output legali accurati e difendibili.

    May 19, 2026
    9 min di lettura
    |
    Issam Amro
    Prompt engineering per avvocati: 7 principi che reggono

    There is a new competency in legal practice, and it belongs alongside legal research, drafting, and advocacy: the ability to communicate precisely with AI. Prompt architecture — the art and science of crafting instructions that guide AI tools to useful, accurate, and defensible outputs — is fast becoming as important as knowing where to find the law.

    Key facts

    • "Uncritical reliance on AI output without independent verification may breach the duty of competence" (ABA position as summarized in the article).
    A lawyer must know what they want, before they can ask the AI for it, in order to get the best answer. Vague questions produce vague answers. Ambiguous instructions produce unreliable outputs.

    Why Prompt Architecture Matters in Law

    Legal work demands a level of precision that generic prompting cannot achieve. A prompt that produces an adequate response for a marketing team may produce a dangerously incomplete one for a litigator preparing submissions. Skilfully constructed prompts generate more accurate, efficient, and defensible results across research, drafting, document review, and discovery workflows.

    They also help manage compliance risk — because a well-constructed prompt tells the AI not just what to produce, but how to produce it, in what format, and with what caveats.

    Core Principles of Legal Prompt Architecture

    1. Establish Context First

    AI tools do not know your matter unless you tell them. Always open a prompt by establishing the relevant jurisdiction, area of law, type of matter, and the role you want the AI to play.

    text
    You are a legal research assistant. The jurisdiction is England and Wales.
    The area of law is employment law.
    I am representing a claimant in an unfair dismissal matter.

    2. Be Specific About the Output You Need

    Specify the format, length, and level of detail required. Do you need a structured memo? A list of key authorities? A draft clause? A risk summary? The more precisely you define the output, the more useful the response will be. Generic requests produce generic answers.

    3. Provide the Relevant Facts and Documents

    Do not ask an AI to analyse a situation it cannot see. Upload the relevant contract, judgment, or statutory provision. Tell the AI the material facts. AI performs best when it works from the actual documents in front of you, not from its general training data.

    4. Use Role Assignment

    Assigning the AI a specific expert role — "Act as a senior barrister reviewing this statement of case for procedural weaknesses" — significantly improves output quality. Role assignment activates relevant training patterns and encourages the AI to respond with appropriate domain-specific rigour.

    Prova HAQQ AI gratis

    Sperimenta la redazione e ricerca legale con IA

    5. Apply Iterative Refinement

    Do not expect perfection from a first prompt. Evaluate the initial response, identify what is missing or imprecise, and refine. Ask follow-up questions. Probe inconsistencies. This back-and-forth approach — known as iterative refinement — is one of the most powerful techniques available to legal AI users.

    6. Use Few-Shot Examples

    For complex or nuanced tasks, provide the AI with one or two examples of the type of output you want before asking it to produce its own. This few-shot learning technique is particularly effective for drafting specific clause types, identifying patterns in case law, or analysing contract language with a particular standard in mind.

    7. Always Verify the Output

    Prompt architecture is not about outsourcing judgment — it is about directing it. Every AI output must be reviewed and verified by a qualified lawyer before it is relied upon, filed, or communicated to a client. The ABA has made clear that uncritical reliance on AI output without independent verification may breach the duty of competence. The lawyer signs the document; the AI does not.

    Practical Tips for Everyday Legal Prompting

    • Specify jurisdiction and governing law in every research prompt
    • Define the audience — is the output for a client letter, internal memo, or court submission?
    • Ask for sources — instruct the AI to cite the authorities it relies on, then verify them independently
    • Break complex tasks into steps — rather than one long prompt, use a structured sequence of focused prompts
    • Develop prompt templates for your firm's most common tasks — contract review, research memos, due diligence checklists
    • Review the data-handling process of a tool before uploading privileged material
    At HAQQ, we believe that access to powerful legal AI is only half the equation. Knowing how to use it — precisely, ethically, and strategically — is what separates the firms that will lead the next era of legal practice from those that will be left behind.
    • how LLMs actually work (no CS degree required)
    • which LLM to point these prompts at
    • Try HAQQ Legal AI Chat
    • Explore the HAQQ Prompt Library
    • Read the Legal Prompting Guide
    I

    Issam Amro

    Legal Content

    Risorse correlate

    Prompt libraryLegal AI ChatLearn legal with AI

    Articoli correlati

    Prompt AI per avvocati: libreria di 168 prompt + guida 2026

    Prompt AI per avvocati: libreria di 168 prompt + guida 2026

    Large language model per avvocati: la guida 2026

    Large language model per avvocati: la guida 2026

    Context Engineering per avvocati: la guida 2026 per un'IA legale affidabile

    Context Engineering per avvocati: la guida 2026 per un'IA legale affidabile

    Domande frequenti

    What is prompt architecture for lawyers?

    Prompt architecture is the structured discipline of designing AI prompts so they produce accurate, consistent, defensible legal outputs. It goes beyond ad-hoc 'prompt engineering' tips: role assignment, context setting, structured output requirements, citation requirements, verification steps and iterative refinement.

    What are the seven principles of legal prompt architecture?

    The core seven are: 1) assign a precise legal role, 2) set jurisdiction and matter context up front, 3) provide the source material rather than asking the model to recall, 4) specify the output structure, 5) require explicit citations, 6) ask for the model's uncertainty, 7) refine iteratively rather than expecting the first answer to be final.

    Is prompt architecture different from prompt engineering?

    Yes. Prompt engineering is the tactical layer (the wording of a single prompt). Prompt architecture is the strategic layer (how prompts are designed across a workflow, with verification, source grounding and output structure baked in). Lawyers benefit more from architecture than from clever wording tricks.

    Can I use the same prompts across ChatGPT, Claude and Gemini?

    Mostly yes, with small adjustments. The seven principles transfer across models. Claude tends to be more literal with instructions, GPT more conversational, Gemini more concise. Test the same prompt on your target model before relying on it for client work.

    Do prompt architecture principles work for purpose-built legal AI like HAQQ?

    Yes - and they matter less because the platform handles much of the architecture for you. A purpose-built legal AI bakes role, jurisdiction, citation grounding and output structure into the product. The remaining lawyer skill is precise question framing and review of the output.

    How long does it take to learn legal prompt architecture?

    A focused lawyer can internalise the seven principles in an afternoon and reach professional fluency within a few weeks of daily use. The hardest part is not the techniques - it is the discipline of verifying every citation and never shipping AI output without lawyer review.

    Cosa c'è dopo?

    Prova HAQQ AI gratis

    Sperimenta la redazione e ricerca legale con IA

    Calcola il tuo ROI

    Scopri quanto tempo e denaro HAQQ risparmia al tuo studio

    Esplora 300+ prompt legali

    Prompt pronti per ogni compito legale

    Torna al Blog

    Articolo precedente

    Etica dell'IA nel diritto: Parere ABA 512, AI Act UE e cosa devono fare gli avvocati

    Articolo successivo

    IA legale agentica: perché i sistemi multi-agente battono i singoli LLM

    9 min di lettura

    Share this

    IA Legale per Tutti

    HAQQ permette a chiunque di redigere, ricercare, revisionare e gestire il lavoro legale.

    HAQQ across all devices
    ++++
    HAQQ Legal AI Platform Logo

    Il tuo Gemello AI Legale e Sistema di Gestione Studio per redigere, fatturare e vincere.

    Download on theApp StoreGet it onGoogle Play

    Prodotto

    • HAQQ Legal AI Chat
    • HAQQ eFirm
    • Justinian AI Engine
    • HAQQ per Enterprise
    • App Mobile
    • HAQQ eBar
    • HAQQ eWallet
    • Confrontaci
    • Prezzi
    • Calcolatore ROI
    • Sicurezza

    Strumenti Gratuiti

    • Strumenti Gratuiti
    • Calcolatore Onorari
    • Calcolatore Ore Fatturabili
    • Formattatore Citazioni
    • Glossario Legale
    • Generatore NDA
    • Verificatore Clausole
    • Generatore Privacy Policy
    • Checklist GDPR

    Risorse

    • Blog
    • Ontologia AI Legale
    • Legal AI Index
    • Impara il Diritto con AI
    • Libreria Prompt
    • Competenze AI Legali
    • The Litigation Game
    • Libreria delle Clausole
    • Biblioteca documenti
    • Studenti
    • Startup Program
    • Programma VC
    • Partnership
    • Press & Events
    • HAQQ Academy
    • Changelog
    • Stato
    • FAQ
    • Contatti
    • Supporto

    Azienda

    • Il Team
    • Carriere
    • Soluzioni
    • Risorse

    Directory Soluzioni

    • Tutte le soluzioni
    • Per ruolo
    • Per te
    • Per caso d'uso
    • Per funzionalità
    • Per dimensione dello studio
    • Per paese
    • Per città
    • Specializzate

    Dal blog

    • Claude per Word è stato lanciato. Ecco cosa gli avvocati devono sapere.
    • Docling Python: guida pratica per elaborare file nel 2026
    • Claude non ha ucciso la Legal Tech. Ha esposto lo strato debole.
    • Report benchmark: la migliore AI per il lavoro legale
    • Vedi tutti gli articoli

    Legale

    • Termini di Servizio
    • Privacy Policy
    • Cookie Policy
    • Trattamento Dati

    ├── locales/ ar en fr es it de pt

    ├── contact/ info@haqq.ai

    └── status/ operativo · fondato

                                                                          .
                                                             ..... .....  ..   .
                                                      .      ......:-:............    .
                                             .       ............    ..       ....    .
                                             .    ..............:.:::::.:...:...............    .
                                       .   ..............     ..:::::=-=-::::..       .......... .
                                     ............    ....:--::----------::::::------:.        . ..
                             .  ..................:::::::::-::-----::::...............:::::  ... ... ...
                    .   ..........................::--:::::.:::...:...................:::::......................
             .     ...........       .::...-==-::::::::.......  .   ... .  .       ... .. ...:-:-..:--..       .  .............  ..
    .     .....:-::....      .:::::::::--:::--........ .............                  ....        ........--:........    ......   .       .
    ....::..........:::...::.:::::::...-...........................                   ....    ..................::... ................   ...
    ..::::......   .:-====-::=::::::..................                                                    . ....:::...:::..... ..............
    .
    .....:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::.
     ....:::::::::::::::::::-::::=-::::-:::::-::::-:::::--:::-=-:::-=-:::-=-::::-=:::==::::=::::-=-:::-=-:::--::::--:::-=-::::-:::::::::::.
      .-:::::..::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::---=-:
         :::...              .        .                 .        ..    .   ..        .    .   .   .. ......... .     .....   ....:---=:
         .........................................................................................................................:-:-.
                .....  ............................  ................................................................     .... .   ..
                                                                                                      ...            .....    ......
         ..                                                                                            .             .....    .......
         ....                                                                                        .          ....               ..
        .  ..........................................................................................:..........::::...................
          .. .... ..... .::::::-----------::::::. .........  :---------------------:.  ......... .:--------------:::.  .........    .
           ...........:::::::::----------:::::::::........::::--------------------::::.........:::::-------------:::::.........:::::.
            ..........:::::::::::--------------=-:.......:::---------------------=::::.........::-=-------------=:::::.........:::::
                  . ...::::::::::-----------------.   . .:::---------------------:::::.      ...:---------------::::::.      ..:::.
                  .....:::::::::------------------.   .....:---------------------:::::.      ...:---------------::::::.      ...:::
                  .....::.:::::-=-:--------------:.   .....::--------------------:::::.      ...:--------------:=:::::.      ...:::
                  .....:...:::::::::-------:::::::.   .....:::------:::::::------::::..     ....:-----------:::::--::..      ...:::
                  .....:..:::::::::::::::-:::::::.     ....::----::::::::::-::----:::..      ...::::---::::-------:::..      ...:::
                  ..........::.::::::::::.........     ....::----::.........::----::...      ...::::....:::------::::..      ...:::
                  ..........::.::::::::::.             ....::-----=:        ::::::::...      ...::--   :=-=------::::..      ...::.
                  ..........::.::. ..::-               ....::::::            :-:.:::..       ...::.       ::::---:::..       ...:::-
                  ..........::.::...:::-.              ....::::::            ....:::..       ...::.       ::::---:::..       ...:::-
                 ...........::.::...:::-.              ....::::::            ....:::..       ...::.       ::::---:::..       ...:::-
                  ..........::.::...::::               . ..::::::            ....:::..       ...::.       ::::---:::..       ...:::-
                  ..........::.::...::::               .... :::::            ::..:....       ...::.       :::---::....       ...:::.
                  ..........:.......::::               ....::::::            .........      ....::.       ::::--:::...       ...:::.
                  ..........:.......:::=.             .....::::::            .........      ....::.       :::---:::...       ...:::.
                  ..........:.......:::-              .....::::::             ........       ...::--      .::::-:::...       ...::::
                  ..........:.......:::--.            .....::::::            .........       ...:::.      .::::-:::...       ...::::
                  ..................::::-.            .....::::::            .........      ....::..      ..:::-:::...       ...::::
                  ..................::::-.            .....::::::             ........      ....:::.      ..:::-:::...       ...::::
                  ..........-.......::::-.            ......:::::             ........       ...::..      ..:::-:::...       ...::::
                  ..................::::-.            ......:::::             ........       ...:::.      ..:::-:::...       ...::::
                  ..................:::::.             .....:::::             ........       ...::::      ..:::-:::...       ...::::
                  ..........:.......:::::.            ......:::::             ........      ....::::      .::::-:::...       ...::::
            .     ..........::......:::::.            ......:::::             ........       ...::::      ..:::-:.....       ...::::
            .    ...........::......:::::.            ......:::::             ........       ...::::     ...:::-:.....       ...::::
                 ...........::.::...:::::.            ......:::::             ........       ...::::    :=..:::-:.....       ...::::
                  ..........::.::...:::::.            ......:::::             ........       ....:::    .:..:::::.....       ...::::
                  ..........::.::...:::::.            ......:::::             ........       ....:::    .:..:::::.....       ...::::
                  ..........::.::...:::::.            ......:::::             .......        ....::.    .:..:::::.....       ...::::
                  ..........:::::...:::::.            ......:::::             .......        ....:::    .:..:::::.....       .....::
                  ..........:::::...:::::.            ......:::::             .......        ....:::     ...:::::.....       ....:::
                  ..........:::::....::::.      .     ......:::::.           ........        ....:::   .....:::::.....       ....:::
                  ..........:::::.....:::.            ......::::::          .........       .....::.   ::...:::::... .       ....:::
                   ..........::......  .               .....::....             .. ...        ........................         .....:-.
                   .......................             .............................         ........................         .......
                 ..................                   ................           ..        .........................       ...........
      ....                .                                                                                                             ..
      ....                                                                                                                              ..
      ....                                                                                                                              ....
        ......                  ........................................................              ......       .......   ..          .....
                       .       ..........................................................          .  .....         ......  ...          ..... .
                       ...................................................................         ........         ............................
    ............................................................................................................................................
                                                                                                  ...                      .............    ..
    ............................................................................................................................................
                                      ... ..
                                 ...   .........
                            ....  . ....:::--:::.....
                     .... .  ....:..::::::::............
              . ....   .....::.:::.......            .....:.....
        ...:........:::::::::.....                        .............  .
    ..:...   .::::.:.... .                                         .... ..          ..
       ..............................................................................
     .:::..::::::::::--:::::::::::::::--::-:::-:::-::-:::::-:::-::::::::::-:::::::::.
      .:.  ....................................................................:--:
                                                                                ..
    
       ..                                                                       .
         ...... .............. ...... ..................... ..:.....:::. ......  .
          .  ....::::-----:::::.. ....:------------:...  ...:--------::..   .....
             ..:::::.:---------:   .::------------:::.   ..:---------:::.    .::
              ..:::::-:--------.   ..::-----------:::.    .:--------::::.    ..:
              ....::::::---::::.   ..::---:::::---::.     .:------:::::..    ..:
              ....:..:::::.....    ..::-::.....::--:.     ..::..::---:::.    ..:
              ..........::         ..:::::     .:....     ..:. .:::--::.     ..:.
              ........ .::         ..:::.       .....     .:.    .::-::.     ..::
              ........ .:.          .:::.       .....     .:.    .::-::.      .::
              ........ .:.          ..::.       .....     .:.    .::-:..      .:.
              ........ .::         ..:::.        ...      ...    .::-:..      .:.
              ........ .::          .:::.        ...      ..:.   .::::..      .:.
              ........ .::.         .:::.         ..       :.    ..:::..      .:.
              ........ .::.         ..::.         ..      .:.    ..:::..      .:.
              ........ .::.         ..::.         ..      ..:.   ..:::..      .:.
              ........ .::.         ..::.         ..      ..:.   .::::..      .:.
              ........ .::.         ..::.         ..      .::.  ...:-...      .:.
              ........ .::.         ..::.         ..       .:.  :..::...      .:.
              ........ .::.         ..::.         .       ..:.  ...::...      .:.
              .....::. .::.         ..::.         .       ..:.  ...::...      ...
              .....::. .::.         ..::.         .        .:.  ...::..       .:.
              .....::......         ..:..       .         .... .........      ..:
              ........              ....                  .........   .       ....
                 .
    
    
    
                                                                              .
    ...     ...........................................................................
    © 2026 HAQQ Inc. Tutti i diritti riservati.Prodotto sviluppato internamente da HAQQ. Sito web costruito con strumenti web moderni.
    humans.txt·lawyers.txt·security.txt