AI Learning Hub › Learn AI › Self-Paced Courses › Codex Without the Code › Plan → Build → Check

Module 4 · Beginner

Plan → Build → Check

Ask for a plan before any change, approve it with boundaries, then ask for evidence the result works and judge it yourself.

By the end

  • Ask Codex to plan before making changes
  • Review and approve an implementation plan
  • Let Codex carry out a bounded multi-step task
  • Ask for evidence that the result works
  • Distinguish technical checks from your own judgment

Do not start every task by editing

Small edits are easy to inspect as they happen. Larger tasks benefit from a different rhythm:

Plan → approve → build → check.

Before Codex changes multiple parts of a project, ask it to inspect what already exists and propose the simplest reasonable plan, and read that plan before authorizing the work. This gives you a chance to catch unnecessary complexity, unexpected files, or assumptions before they become changes.

Plan

A proposed sequence of changes Codex intends to make before it starts.

Test

A check used to determine whether part of the project behaves as expected.

Verification

Evidence that the finished result meets the requirements you gave Codex.

Step 1 — Ask Codex to plan before acting

Prompt to try

I want to add a simple search field to this practice page.

A visitor should be able to type a word and see only the resource cards whose visible title or description contains that word.

Before making any changes:

- inspect the existing project;
- propose the simplest implementation plan;
- identify which files you expect to change or create;
- explain how you would check that the feature works; and
- identify any decisions or uncertainties you need me to resolve.

Do not make any changes yet.
Part of a Codex plan produced before any changes: the two files it expects to edit, a statement that it expects to create no new files, the searches it would try as checks, and the one decision it wants resolved first
A plan names the files it expects to touch, how it would check the result, and what it still needs you to decide. Open full-size image: the proposed implementation plan (opens in a new tab)

Codex should respond with a plan rather than an implementation, so read it before continuing. You are looking for a plan that is small, understandable, and proportional to the task.

For this practice project, the feature should not require a framework, external library, API, database, account, or deployment service. If Codex proposes unnecessary infrastructure, ask it to simplify the plan before approving it.

Before you approve the plan

Ask yourself:

  • Does the plan change only what this feature requires?
  • Does it preserve the existing three resource cards and their text?
  • Does it avoid external services and unnecessary dependencies?
  • Does it explain how the finished feature will be checked?
  • Do I understand what files Codex intends to change or create?

You do not need to understand every line of code. You should understand the shape of the work.

Step 2 — Approve the plan with boundaries

Prompt to try

Proceed with the simplest version of the plan.

Requirements:

- Add one search field above the resource cards.
- Filter the existing three cards using their visible title and description text.
- Matching should not depend on capitalization.
- If the search field is empty, show all three cards.
- If nothing matches, show a short message telling the visitor that no resources match the search.
- Keep the existing page heading, resource-card titles, descriptions, and fictional content unchanged.
- Preserve the existing visual style.
- Make the search field keyboard accessible and give it a clear visible label.
- Do not add external libraries, frameworks, APIs, analytics, accounts, or network requests.

When finished:

- tell me exactly which files changed or were created;
- explain how you checked the search behavior;
- report the results of those checks; and
- identify anything you were unable to verify.

Do not publish or deploy anything.

You may see Codex create or edit files containing HTML, CSS, or JavaScript, and you do not need to understand that code yet. At this stage, focus on three questions:

Technical vocabulary about the files and tools comes later in the tutorial.

When a task changes more than one file, Codex may summarize them together. In the current desktop app, you may see an Edited 2 files card with Review and Undo controls. Open Review to inspect the changes before moving on.

Codex desktop showing an Edited 2 files summary with Review and Undo controls after a multi-file task
The summary names every file that changed. Two files here, both of them the files the plan named. Open full-size image: the Edited 2 files card (opens in a new tab)

Step 3 — Ask for evidence

Open the updated page and try the search field yourself.

Test at least these examples:

Check your work

Review the finished feature against my requirements.

Report:

- whether each required search behavior works;
- which files changed or were created;
- whether any original resource-card text changed;
- whether the page heading changed;
- whether any external library, service, API, or network request was introduced;
- what technical checks you performed; and
- anything you could not verify.

Do not make additional changes unless I ask.

Codex may use technical checks you do not recognize yet. You do not need to understand every command at this stage; focus on what was checked, what the result showed, and what Codex says it could not verify.

Technical success is not the same as a good result

Codex can provide evidence that the search field responds to input and filters the cards correctly, and you still need to look at the page. Ask yourself:

A test can show that something works. Human review helps determine whether it works well.

Checkpoint

You are ready to continue if you can:

Codex saying “Done” is not the end of the review.