Workflows (Codex)
Development usage patterns with Codex
This page gives end-to-end workflow examples for the Codex IDE extension, the Codex CLI, and Codex cloud.
Codex works best when you treat it like a teammate with explicit context and a clear definition of “done.”
Each workflow includes:
When to use it and which Codex surface fits best (IDE, CLI, or cloud).
Steps with example user prompts.
Context notes: what Codex automatically sees vs what you should attach.
Verification: how to check the output.
If you are new to Codex, read Prompting first, then come back here for concrete recipes.
Explain a codebase
Fix a bug
Write a test
Prototype from a screenshot
Iterate on UI with live updates
Delegate refactor to the cloud
Do a local code review
Review a GitHub pull request
Update documentation