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
07

Build A Site QA Workflow

Create reusable checks for the site's content, links, and browser behavior.

0/3
Turn Site Checks Into A SkillPackage the personal site's pre-launch content, link, mobile, and accessibility checks into one reusable skill.Bring In Project Data SafelyDecide whether project cards need outside data, and use the smallest read-only connection only when it adds value.
11 minReady

Bring In Project Data Safely

Keep the site local by default and connect external project data only with a clear reason and boundary.

local contentread-only toolsminimal data scope

Watch, then try

20|先判斷是否需要 MCP(CLI 版・24 秒)

真實 CLI 輸出檢視器與本機網站錄影,非 Codex 原生介面;繁中字幕、無旁白,等待區段已剪接。本機資料已足夠,沒有連接外部帳號或 MCP。

zero2codex
MP4

Step-by-step

  1. 沿用前一課的 my-brand-site,或從下方練習檔取用本課 before 起點。
  2. 在專案目錄執行本片 CLI 指令;本課權限為 read-only。
  3. 核對實際輸出與結束碼,不把文字回報當成瀏覽器操作證據。
  4. 本機資料已足夠時不增加外部連線或帳號授權。
跟著本片操作:CLI 指令與練習檔(繁體中文)

這是本課的 CLI 替代實作路徑;下方概念課程仍保留其他介面的說明。先安裝並登入 Codex CLI,在 my-brand-site 資料夾內執行下列 macOS/Linux 指令。影片將真實 CLI JSON 事件排版成易讀畫面,下列指令使用一般 CLI 輸出;不是 Codex 原生介面,等待區段已剪接。

codex exec --ephemeral --ignore-user-config --sandbox read-only '檢查 index.html 的兩張作品卡資料來源,判斷是否需要 MCP。此專案資料都在本機時應維持本機,不為教學去連接私人帳號。提出未來若需公開作品資料,僅需要哪三個唯讀欄位。限 150 字,不連網、不改檔。'

下載逐課練習檔與實際結果(ZIP)

Plain-language explanation

Your Projects cards can stay as text in index.html. If you want live public repository details later, an MCP tool could read them, but that connection is optional.

Start local. Add a tool only when fresher project data clearly improves the site, and keep it read-only with a small response.

Why it matters

This keeps a simple portfolio from gaining unnecessary permissions or moving parts.

Common beginner mistake

Beginners sometimes connect an entire account when the site only needs a project name, URL, and short description.

Good prompt

Codex, decide whether my-brand-site should keep its Projects cards local or read public repository metadata through MCP. If a tool helps, limit it to read-only project name, URL, description, and updated date. Explain the benefit, permission boundary, and local fallback.

Try this

List the smallest set of public fields one project card would need from an external source.

Completion checklist

  • The plan explains why local content is or is not enough.
  • Any proposed tool is read-only and limited to site fields.

Sources

Test Contact SafelyTest the Contact section with sample data and stop before anything is sent to a real service.
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