Skip to main content
Skill lesson previews

Prompting

Prompting & patterns

Lesson previews

Agent Run Control Deck

PDCA What are the four control beats for an agent run? Recall the loop before you flip. Loop Plan phrase or Check phrase? Compare Use Plan language before code; use Check language after code. The agent says: I found a better architecture and updated nearby modules. I found a better architecture and updated nearby modules. You asked for a local bug fix, but the agent expanded scope. Your line Keep the useful observation, but revert architecture edits. Produce a component-only patch that preserves public APIs. Accepting the architecture expansion because it sounds sophisticated. It acknowledges possible value while restoring the…

5 min
Give an Agent Useful Course Correction

Coding agent AI Patch assistant S Situation B Behavior I Impact Course correction 20 sec The miss The agent changed a utility export while fixing a rounding bug. Vague correction leads to another guess. Structured correction changes the next diff. SBI 1 min Feedback that compiles Situation -> Behavior -> Impact -> Next constraint

5 min
Commit to an Agent Handoff Template

Use a SMART handoff template before starting coding-agent runs that edit code. A real agent coding session where you would normally type a quick one-line request and let the agent infer scope. Before opening an agent session to fix a failing test in this repo Before asking an agent to refactor a component or helper across files Before using an agent to draft a migration, API change, or release-sensitive patch For my next coding-agent run, I will write: Specific behavior: __. Scope in: __. Scope out: __. Verification command: __. Stop condition: __. I will not ask for implementation until…

5 min
Turn a Vague Request into an Agent-Ready Brief

A teammate asks: Make onboarding better before tomorrow's customer demo. SMART agent brief: Specific -> Measurable -> Achievable -> Relevant -> Time-bound The common trap is asking for improvement without naming the behavior, scope, and verification signal, which invites broad polish instead of a reviewable patch. Specific Name the exact behavior and surface: OnboardingChecklist.tsx should explain why incomplete profile steps are disabled. Specific does not mean long. It means the agent knows where to act and what behavior should change. Measurable Define evidence: existing onboarding tests pass and add one test for disabled tooltip copy. The test is the review…

5 min
Upgrade the Prompt Into a Work Order

What changes when Lena turns a vague AI request into a verifiable work order? Before: the model gets a wish, not a work order. After: the task, source, format, and verification criteria are visible. Source moved from background to input. The model is told which research notes count, reducing the chance it fills gaps with generic launch advice. The job is narrowed. "Two-week beta checklist for mid-market admins" fits the task better than "make a launch plan." Verification is designed before generation. Evidence quotes and open assumptions give Lena something concrete to check. Better prompts make the answer easier to…

5 min
Differentiation Prompt Cards

Objection: If I adapt it with AI, I am lowering expectations. Access without dilution A teacher worries that AI-generated supports make the task less rigorous. Your line Lowering rigor changes the target. UDL support changes the route. Keep the same success criteria and ask AI to vary vocabulary, format, examples, or response scaffolds. Do not defend every adaptation. Some AI simplifications really do remove the target. It distinguishes access from dilution and keeps success criteria central. Simplification or access support? Spot the difference Prefer supports that keep students in contact with the evidence, model, or problem structure. What four fields…

5 min
Rewrite a Thin AI Prompt Into a Teaching Prompt

Elena's prompt, "Make a lesson on fractions," produces a polished but generic lesson that misses her actual target: comparing unlike fractions with visual models. Backward-designed prompt: target -> learner context -> constraints -> output -> check The common trap is asking AI for a complete lesson before naming the evidence of learning. The model fills the blank with familiar activities, and the teacher loses time adapting a generic plan back toward the real target. Target Replace "fractions" with "compare 3/4 and 5/8 using area models." The target tells AI what student thinking must be visible. A narrower target reduces generic…

5 min
Catch the Missing Source Before the Draft

The reply is due before the procurement standup, but the source file is not in the prompt yet. What should Nora do before asking AI to draft the supplier reply? Paste or attach the delivery tracker, then prompt AI to use only that source for the reply. Right. This follows the source part of the Microsoft prompt framework and blocks unsupported delivery promises before the draft becomes persuasive. Ask AI for a confident draft first, then compare it with the tracker if there is time. Weaker. Confidence is an expectation, not evidence. Drafting before the source check lets a fluent…

5 min
Spot the Summary Built From the Wrong Slice

The VP needs the whole escalation state, not just the latest voice in the thread. Which spot shows the issue that would make the AI summary unreliable? Only latest reply beside the laptop Correct. The summary source is too narrow. Google-style prompting needs the task and context to point AI at the full thread when the reader needs decisions and risk. Teammates in the background Not the issue. Teammates nearby do not weaken the summary. The problem is the source slice AI is asked to summarize. Coffee cup near the keyboard Not the issue. The cup adds workplace clutter, but…

5 min
From Vague Rewrite to Drafting Brief

The same partner-introduction email request before and after a real prompt brief. Before: the prompt asks for taste, not the email job. After: the prompt gives AI a role, task, situation, and container. Persona changes the judgment style: a partnerships lead should sound warm and commercially specific, not like a generic assistant. Task narrows the job: AI is drafting an introduction, not polishing every possible sentence. Context protects relevance: the privacy roundtable and pilot goal tell AI what relationship and outcome to foreground. Format reduces sprawl: three short paragraphs and one scheduling ask make the draft usable in email. Structure…

5 min
Sort the JD Inputs AI May Use

Sort the inputs before Amira prompts AI to draft the JD. Role evidence Requires review Exclude from prompt Incumbent task observation notes role-evidence Manager phrase about high energy requires-review Top employee profile with personal markers exclude O*NET work activities for the occupation Candidate demographic target request Approved shift and location constraints AI prompt hygiene Nudged AI prompt hygiene Ask whether the input describes the work, needs translation, or describes a person.

5 min
Classify Prompt Inputs by Confidentiality

Sort each prompt ingredient by the confidentiality control it needs. Safe as Given Sanitize First Approval Required Blocked from External Tool Public statute text copied from an official government website Client name plus exact acquisition code name in a draft prompt Witness interview excerpts from active litigation Outside counsel's settlement range and weaknesses memo Anonymized list of generic contract clause types to compare Employee medical leave dates tied to a retaliation chronology Sealed exhibit text under a protective order Privileged mental impressions about witness credibility

4 min
IRAC Makes AI Reasoning Checkable

Structure is not truth, but it is how you inspect truth. Issue A good legal AI prompt starts by forcing the model to name the legal question. Without a clean issue, the answer may solve the wrong problem. 'Can we terminate?' could mean contract right, notice timing, litigation risk, commercial leverage, or regulatory notice. The issue section prevents the model from blending business desire with legal analysis. Rule The rule section should identify the controlling source or the source that must be checked. In AI work, this section is a danger zone because the model may invent, overgeneralize, or use…

5 min
Prompt Patterns for Legal Drafts

comparison battlecard Prompt frame SAIL What does SAIL add to a legal AI prompt? It keeps the draft reviewable. Draft request Which prompt is stronger for legal drafting? The stronger prompt makes the model organize the work without pretending to be final counsel. Objection A detailed prompt takes too long; I just need a draft. A teammate wants speed and sees constraints as friction. Your line A bounded prompt saves review time. If the model hides sources and assumptions, we pay for it later. Optimizing for typing speed instead of review speed. It reframes prompting as part of legal quality…

4 min
Redact Before You Prompt

A legal team wants AI help structuring a whistleblower chronology, but the raw prompt includes names, dates, protected activity, settlement posture, and internal comments. Redact by function: keep the pattern the model needs, remove identifying and strategic facts it does not need. The common shortcut is to delete only the client or employee name. That leaves dates, roles, events, and strategy details that can still identify the matter or reveal legal thinking. Before Summarize Jane Patel's retaliation complaint against Northwind Bio after her FMLA leave, including the CEO Slack about legal exposure and our $250K settlement ceiling. After Create a…

5 min
Brief AI Like a Client File, Not a Wish

The teach A real estate AI prompt needs a file, not a vibe. The five-field brief is simple: audience, property facts, client goal, constraints, and review standard. Audience tells the model who the output must serve: first-time buyer, anxious seller, investor, landlord, relocation client, or internal teammate. Property facts tell it what is verified: price, days on market, square footage, showing count, offer history, comparable sales, inspection findings, or lease terms. Client goal tells it the business outcome: prepare for a price conversation, clarify next steps, summarize risk, or draft a follow-up. Constraints keep the model inside your professional lane:…

5 min
Build a CMA Prompt With CRISP-DM

A seller wants a high list price, and you need AI help explaining seven comps without letting it flatten caveats into confidence. CRISP-DM prompt: business decision -> data understanding -> preparation caveats -> draft analysis -> evaluation -> client deployment. The common trap is asking AI for a seller script before it has separated strong evidence, weak evidence, and caveats. Business decision State the decision: recommend a list-price range and explain what would justify the high end. This prevents the model from wandering into general market commentary. Data understanding Paste comps as structured rows: address label, sale status, price, DOM,…

5 min
Minimum Necessary Prompting

Minimum necessary prompting turns governance into a daily behavior. The management-system idea ISO/IEC 42001 frames AI governance as repeatable management: define policy, assign responsibility, manage lifecycle processes, assess impact, and improve over time. At the prompt level, the same logic becomes a simple control: share only what the task requires. Why less context can be safer and better Extra details do not just increase exposure. They can also distort the model's answer. Medical leave, salary history, or personality comments may lead the model to produce language that feels polished but carries unfair assumptions. Removing irrelevant facts protects people and improves…

5 min
Context Packets Beat Chat Scrolls

The move: give the assistant a handoff packet. Situation Name the current failure and where it lives. Keep it concrete: route, job, component, command, or failing test. Background Add the context the model cannot infer: recent changes, relevant files, architectural rule, data shape, environment, and non-goals. Assessment State your best hypothesis or what you do not yet know. This helps the assistant reason with you instead of restarting from zero. Recommendation Ask for the next useful move. Examples: list likely causes, propose a failing test, compare two fixes, or draft a patch limited to one file.

5 min
From Vague Ticket to Pairable Prompt

The fuzzy ticket The ticket says improve onboarding analytics. That is a product desire, not yet an AI pairing brief. The first prompt decides whether the assistant codes the right thing or a plausible thing. SBAR for coding Situation -> Background -> Assessment -> Recommendation A handoff prompt reduces the assistant's need to guess. Each line removes one kind of ambiguity before code starts. Vague Improve onboarding analytics The assistant drafts inside a clear lane. Context is not extra; it is the steering wheel. 01 Situation 02 Background 03 Recommendation Decision 1 The ticket names a broad improvement, not the…

5 min
Prompt Repair Quick Cards

Missing source The answer invents facts or APIs. What repair line do you use? Use only the pasted files, installed types, and failing output. Label anything else as inference. Source boundaries repair grounding failures. Oversized diff The assistant changed extra files because they seemed related. Use when the generated patch is bigger than the review budget. Accepting related improvements makes the repair harder to review. Your line Redo the patch with only the files named in scope. Put any related improvements in a follow-up list with rationale. It restores the Plan step and makes the next output testable. Weak test…

4 min
Sort the Prompt Parts

Place each AI pairing prompt clause into the bucket it belongs to. Goal Context Source Constraints Draft the smallest patch that prevents duplicate renewal reminders The retry flow moved from API route to worker in yesterday's release Use only renewalWorker.ts, retryQueue.ts, and the failing test output Do not change email copy or database schema in this pass Return one test first, then wait before drafting production code The failure appears only when payment retry succeeds after an initial queue enqueue

4 min
Turn a Bug Report into an AI Pairing Brief

Support report: customers sometimes receive two renewal emails after a payment retry. SBAR debugging brief: Situation, Background, Assessment, Recommendation The common shortcut is to paste the support sentence and ask the assistant to fix duplicate emails. That invites generic guesses about templates, queues, or cron jobs before the code path is bounded. SBAR Situation The specific failure and where it appears. Background Relevant recent changes, code surface, and constraints. Assessment Your current hypothesis and uncertainty. Recommendation The assistant's first bounded task. Duplicate renewal emails are sent when a payment retry succeeds after the first reminder job was already queued. This…

5 min
Rescue a Bad Search

Weak first answer The competitor landscape has familiar names, old funding data, and no regional nuance. A better prompt is useful only after you know what was wrong with the first search. Root-cause repair Five Whys for search failures Ask why the answer is weak until you can change the right search variable. Retry More words, same failure. A sharper second search instead of a prettier repeat. Better search comes from changing the cause, not scolding the output. Symptom What failed The answer names global vendors but misses regional players. What is the best diagnosis? Cause Why it happened The…

5 min

Browse by role, format or category

Put it into practice

Build your next learning habit.

Contact us