Alice: Hi, I'm Alice, here with Dan. Welcome back to AI for lawyers. Today we're going to teach you something you've probably been told you need to learn. Prompt engineering.
Dan: This is the first of three episodes we're calling Prompt Engineering 101. By the end of this one, you'll know a framework called GCES — Goal, Context, Expectations, Source — and you'll have seen it applied to three real legal scenarios.
Alice: GCES comes from the Prompt Engineering Guide from Microsoft and the Singapore Academy of Law. If you've been to any AI training course for lawyers in Singapore, you've probably heard the name. We're going to teach you how to use it today.
Dan: Four letters. Let's walk through each one.
Alice: Goal is your instruction. What do you want the model to do? Be specific. Use action verbs. "Draft", "Summarise", "Analyse", "Compare". If your goal is complex, break it down. Don't ask the model to do five things at once — prioritise.
Dan: Context is everything the model needs to understand the situation. Who you are. Who the audience is. The jurisdiction. The parties involved. The legal issue. Any constraints. and here's one people miss — examples. If you can show the model what good output looks like, include that in Context. The SAL guide calls this few-shot learning.
Alice: Expectations is how you want the output shaped. The format — a table, bullet points, a memo, a letter. The tone — formal, practical, authoritative. The depth — a one-sentence answer or a ten-page analysis. You can also ask for step-by-step reasoning here. The phrase "think through this step-by-step" genuinely improves output quality for complex tasks.
Dan: And Source. This is the one that's specific to legal work. You're telling the model: here are the documents I want you to work from. Not your general training data. These specific clauses, these specific reports, this specific statute. Attach them or paste the relevant sections into your prompt.
Alice: Source is arguably the most important box for lawyers. we said back in episode three that models hallucinate when they don't have source material to ground their output. Source is how you fix that. You give the model a library. A small, curated, specific library.
Dan: So that's GCES. Goal, Context, Expectations, Source. Let's see it in action.
Alice: A quick note before we begin — these examples assume the use of a generative AI tool that complies with your organisation's data classification and security policies. Example one. You're a junior corporate associate. Your client holds fifteen percent of a tech startup. The majority shareholder is a PE fund with sixty percent. You need to review the shareholders' agreement for drag-along rights — provisions that could force your minority client to sell their shares even if they don't want to.
Dan: Here's what someone new to prompting might type. "What are the drag-along rights in this shareholders' agreement?" That's it. One sentence. No context. No direction.
Alice: And the model will give you a generic summary. It'll pull out the drag-along clause, paraphrase it, and you'll think — okay, that's useful, but I could have just read the clause myself. You haven't actually gained anything.
Dan: Now let's apply GCES. Goal: identify all drag-along provisions that could force a minority shareholder to sell below fair market value. Context: I am a lawyer acting for a fifteen-percent minority shareholder in a Singapore-incorporated technology startup. The co-investor is a PE fund holding sixty percent. I need to advise my client on their exposure. Expectations: present the analysis in a table with four columns — clause reference, trigger conditions, price mechanism, and risk rating for the minority shareholder, rated high, medium, or low. Formal tone suitable for a client advisory. Source: clauses twelve through eighteen of the attached shareholders' agreement.
Alice: The difference in output could be night and day. The first prompt gives you a summary. The second prompt gives you a risk assessment. It flags that the drag-along can be triggered at a price set by the majority — not fair market value — and rates that as high risk. It identifies that the tag-along right in clause fourteen doesn't apply when drag-along is invoked. that's the kind of gap that matters in a negotiation.
Dan: And notice — the structured prompt didn't require any special skill. You just told the model what you know. Your role, your client's position, what you need, and where to look.
Alice: Example two. You're in-house counsel at a fintech — a licensed payment institution in Singapore. Your company onboards SME customers entirely online. No face-to-face verification. The compliance team wants to know whether the current KYC process meets anti-money-laundering requirements.
Dan: The naive prompt. "Does our KYC process comply with Singapore AML rules?" what do you think the model does with this?
Alice: Depending on how good the model is, it may give you a general overview of Singapore AML law. It might mention the Corruption, Drug Trafficking and Other Serious Crimes Act. It might reference MAS notices generally. But it has no idea what your actual KYC process looks like, so it can't tell you whether you comply. It's answering a different question — "what are Singapore's AML rules?" — because that's the only question it has enough context to answer.
Dan: GCES version. Goal: assess compliance gaps in our digital customer onboarding process against MAS Notice 626, specifically the requirements for non-face-to-face verification of business customers. Context: we are a licensed major payment institution under the Payment Services Act. Our onboarding is fully digital with no face-to-face verification. Customers are SMEs, not individuals. We currently verify UEN against ACRA records and collect directors' identification documents via document upload. Expectations: produce a gap analysis in table format with three columns — MAS Notice 626 requirement with clause reference, our current practice, and compliance status with remediation steps where gaps exist. Formal tone suitable for inclusion in a board paper to the Risk Committee. Source: the attached extract of MAS Notice 626, sections four through eight, and our onboarding standard operating procedure.
Alice: Now the model can actually do useful work. It maps your SOP against the regulation clause by clause. It flags that you're missing enhanced CDD for higher-risk business types. It notes that your document upload process doesn't include liveness detection, which MAS expects for non-face-to-face. These are specific, actionable compliance gaps — not a textbook summary.
Dan: Two examples down. Let's do one more.
Alice: Example three. This one is for public sector lawyers.
Dan: The scenario. You're legal counsel at a public sector organisation. You entered a three-year IT managed services contract. Eighteen months remain. The vendor has been missing SLA targets — response time and system uptime — in four of the last six months. None of the individual failures are bad enough to constitute material breach under clause fifteen point two of the contract. But cumulatively, performance has been poor, and the organisation wants to retender.
Alice: Naive prompt. "Can we terminate this IT contract?" the model doesn't even know which contract, which vendor, what the problem is, or what your options are. It's going to give you a generic answer about contract termination law.
Dan: GCES version. Goal: advise on four questions. One, whether the termination-for-convenience clause at clause eighteen point three is exercisable on its current terms. Two, the organisation's compensation exposure under that clause. Three, whether the cumulative SLA underperformance record could support a termination-for-default under clause fifteen instead. And four, whether procurement rules allow the contractor to be blacklisted from future tenders. Context: I am legal counsel at a public sector organisation. We have a three-year IT managed services contract with eighteen months remaining. The vendor has missed SLA targets in four of the last six months but no individual failure meets the material breach threshold in clause fifteen point two. The organisation wants to retender. Expectations: internal legal memo with a recommendation table — each option as a row, with columns for risk level, estimated cost exposure, and recommended path. Practical and direct tone — the CIO needs a clear yes or no with a risk rating. Source: clauses fifteen and eighteen and Schedule three of the IT managed services agreement, the vendor's SLA performance reports for the last six months, and the organisation's procurement policy extract on early termination and contractor debarment.
Alice: Now the model produces a proper options memo. It distinguishes between two exit paths with different risk profiles. It calculates the compensation exposure under the convenience clause. It flags that the debarment question depends on the procurement policy definition of "poor performance" — and tells you exactly which section to check. That's the difference between a search engine answer and a legal analysis.
Dan: Three examples. Three completely different practice areas — corporate, financial regulation, public sector procurement. Same four boxes every time. Goal, Context, Expectations, Source. it works because you're just telling the model what you already know. You're not learning a new skill. You're organising what's already in your head.
Alice: That's GCES. Next episode, we'll teach you the second major framework — COSTAR — and show you how the two relate. Same idea, different slicing.
Dan: See you there.
Alice: AI for Lawyers is designed by a practising lawyer. Alice and Dan are AI-generated voices — no legal advice here, just education.
The hosts on this podcast are AI-generated. Content is designed by a practising lawyer but is for educational purposes only — not legal advice. Visuals: FlashHead 1.3B.