zero2codex
OpenAI Codex workflow course

Course goal: ship your personal brand site

Build a personal brand site with Codex

Keep improving one project from an empty folder to a responsive one-page site with an introduction, projects, and contact details. Every lesson adds a visible result or a check toward that finish line.

Curriculum

Personal brand site build path

01

Start With Codex

Set up Codex and build the hero section of your personal brand site.

0/4
04

Ship Verified Changes

Test the site, check desktop and mobile views, and review the final diff.

0/3
Test The ChangeAdd focused checks for the site's theme and navigation without breaking earlier work.
10 minReady

Test The Change

Use tests as evidence instead of trusting that edited code is correct.

focused testsregression coveragetest output

Plain-language explanation

Tests turn a Codex change into evidence. A good test proves the behavior you asked for and protects it from breaking again later.

When practical, ask Codex to write or run a focused test before claiming success. The final report should include the exact command and result.

Why it matters

Without tests, you are mostly judging a diff by appearance. Tests give you repeatable proof that the requested behavior works.

Common beginner mistake

A common mistake is trusting a change because the code looks reasonable, even though no check showed the bug was fixed.

Step-by-step

  1. Name the behavior that should change.
  2. Ask Codex to add or run the smallest relevant test.
  3. If fixing a bug, ask for the test to fail before the fix when practical.
  4. Require the exact passing command in the final report.

Good prompt

Codex, reproduce this validation bug with a focused test first. Confirm the test fails, implement the smallest fix, then run npm test -- --run src/forms/validation.test.ts and report the output.

Try this

Write a request that asks Codex for a failing test, a fix, and the exact passing command.

Completion checklist

  • The test fails before the implementation when practical.
  • The final report includes the exact passing test command.

Sources

Browser VerificationOpen the real site and check content, navigation, and layout at desktop and mobile widths.Review Before AcceptingReview the site's full diff, test evidence, and any remaining visual or behavior risks.
08

Finish And Deliver The Site

Polish independent tasks in parallel, then complete one final acceptance review.

0/3

Practice lab

Copyable Codex prompts

Plan before coding

Codex, inspect the relevant files first, then propose a plan. Do not edit until the plan names tests and verification steps.

Verification checklist

  • Relevant files are named before edits begin.
  • The plan includes tests and verification commands.

Verify a UI change

Codex, start the dev server, open the route in the browser, check desktop and mobile layouts, then report the exact evidence.

Verification checklist

  • Desktop and mobile states are checked in the browser.
  • The final note includes exact evidence.

Review focused risk

Codex, review the uncommitted diff. Focus on behavioral regressions, missing tests, and accessibility issues. Do not modify files.

Verification checklist

  • Findings lead with severity and file references.
  • Unchanged files are left untouched.
Every good Codex request says what to change, what to preserve, and how to prove it worked.

Reference

Codex concepts to keep nearby