g↗genai/ learner
Prompting and Working with AI / Lesson 06

Breaking complex tasks into steps

Split a multi-part task into small stages you can check one by one, instead of trusting one long reply.

Concept + interactive labBeginner friendly

Why one big prompt hides mistakes.

When you ask an AI assistant to gather facts, apply rules, and write a final message all at once, an early slip can hide inside a smooth reply. Here you will see how to split work into small stages, check each stage before moving on, and avoid mistaking a long explanation for proof.

A single-pass prompt asks an AI assistant to handle several jobs in one message. A checkable subtask is one small, focused step whose output you can verify against a clear rule or source. A stage gate is the quick check you do on one step’s output before passing it to the next step.

Our invented example: Priya’s Saturday Book Swap

Priya has 4 volunteers and 4 roles for a neighborhood Book Swap. Each volunteer takes one role and must be free during that shift.

  • Ben: Free morning only. Only volunteer cleared for heavy lifting (no car).
  • Lina: Free afternoon only. Available for the welcome table (no car, no heavy lifting).
  • Omar: Free all day. Only volunteer with a car for book pickup; cannot lift heavy boxes.
  • Tessa: Free morning only. Available for sorting books by age group (no car, no heavy lifting).
  • Rule 1: One role per volunteer; each person must be free during that shift.
  • Rule 2: Morning setup needs one person cleared for heavy boxes and one person to sort books by age group.
  • Rule 3: Afternoon shift needs one person at the welcome table and one person with a car for afternoon book pickup.
  • Rule 4: The final email must list each person’s exact shift and role, and stay under 80 words.

Split one big goal into checkable subtasks.

Think of cooking a new dish by prepping ingredients, tasting the sauce, and then plating—rather than tossing everything into one pan and hoping it turns out right. In the same way, a checkable subtask isolates one small job so you can verify it quickly.

Instead of one big prompt, Priya splits her Book Swap into three small stages: first extract each volunteer’s free shift and limits, second match the 4 roles against Rules 1–3, and third draft the short email from the checked schedule. Splitting does not guarantee a perfect answer on the first try, but it keeps each output short enough to inspect.

Three-stage workflow moving left to right: 1. Extract facts, then Check, then 2. Match roles, then Check, then 3. Draft email. Bottom strip: One job per step makes mistakes easy to spot.
Each stage has one clear job and a quick check before the next stage begins.

Outside this example, suppose you are planning a weekend train trip with a friend. First list the available train times, check them against your calendar, and only then draft the message proposing a train.

Check each stage before moving on.

Before a road trip, you check the street address on a map rather than driving for an hour to the wrong town. A stage gate works the same way: you check one stage’s output against your source notes or rules before passing it forward.

Suppose Stage 2 drafts a schedule that puts Lina on morning book sorting. Because Priya checks the 4-line schedule against her notes at the stage gate, she spots that Lina is free in the afternoon only and fixes the schedule before Stage 3 ever writes the email.

Left-to-right flow showing Stage 2 draft with Lina: Morning entering a Stage gate labeled Check notes, producing Fixed roles with Lina: Afternoon, and then feeding into Stage 3 email. Bottom strip: Fix a slip early to keep the next step clean.
Checking between stages stops a wrong shift from carrying into the final email.

In everyday cooking, if you halve a recipe, check the halved ingredient amounts first before writing your shopping list. Catching a mistake in the small step keeps the later step clean.

Why a long explanation does not prove correctness.

A long, polite voicemail with directions to the wrong street still sends you to the wrong street. An AI assistant generates fluent text word by word, so a long, confident explanation can still rest on a broken rule or a wrong shift.

In Priya’s single-pass prompt, the reply can spend a whole paragraph praising Lina’s “morning energy” even though Priya’s notes say Lina is free in the afternoon only. Detailed wording shows fluency, not verification against your notes.

Diagram titled Length Is Not Proof with subtitle Fluent words can still hide a slip. A Long reply card containing Smooth wording and Wrong shift: Lina Morning points right to a warning card labeled Still wrong. Bottom strip contrasts Check against notes with a checkmark against Trust because it is long with an X.
Smooth wording and extra length do not replace checking against your actual notes.

Outside this example, a detailed AI summary of a store return policy can read smoothly while still misstating the return window. Check key facts against the source rather than judging by length.

Quick questions

If I ask the assistant to “explain every step in detail,” does that guarantee the answer is right?
No. A longer explanation can make mistakes easier for you to spot if you check each part, but length alone does not prove accuracy.
Should every tiny task be split into multiple stages?
No. Simple one-part tasks rarely need staging; split work when several rules or facts must all hold at once.

Plan Priya’s Book Swap in stages.

Compare a single big prompt with a 3-stage plan on Priya’s Book Swap notes. Try it in this order:

  1. In Single big prompt mode, read the fluent reply, then click Reveal buried mistakes to see the broken rules.
  2. Switch to 3-stage plan and move from 1. Extract facts to 2. Match roles.
  3. Try Skip check → Stage 3 first to watch the wrong shifts carry into the email, then go back and choose Check & fix slips → Stage 3.

Simulated example: these prompts and replies are pre-written to show how staged checking works, not generated by a live AI model.

One-shot prompt

“Read my Book Swap volunteer notes, assign everyone to shifts, explain your reasoning, and write a friendly email under 80 words.”

Simulated reply (sounds smooth, breaks Rules 1–4)

Here is a balanced schedule built around your team’s strengths. Lina brings great energy to the morning sorting table, while Omar can handle the morning heavy boxes since he is free all day. Ben can greet afternoon visitors, and Tessa can cover afternoon pickup. Draft email (86 words): Hi everyone! Thank you so much for volunteering for Saturday’s neighborhood Book Swap—we truly could not run this wonderful community event without your generous help, enthusiasm, and dedication to local reading. Please arrive at least fifteen minutes before your shift starts so we can review the tables, signs, and book carts together before visitors begin arriving at the library lawn. Your assigned shifts are: Lina (morning book sorting), Omar (morning heavy boxes), Ben (afternoon welcome table), and Tessa (afternoon book pickup). Please reply today to confirm!

Showing the single big prompt view. Toggle mistakes or switch to the 3-stage plan.

✎ Try it yourselfKnowledge check · Practice only

Check your understanding.

Priya asks an AI assistant to plan a community dinner in one prompt using her volunteer notes and rules. The assistant returns a 400-word explanation that sounds clear and thorough. What should Priya do to make sure the schedule is right?

Take this with you.

  • Split multi-part work into small checkable subtasks—one focused job per step.
  • Use a stage gate: check each step’s output against your notes or rules before feeding it into the next step.
  • Do not mistake a long, smooth explanation for proof; verify the details against your source.