Goal and prerequisites
A web project with an existing development script; browser.
Environment setup
Use the project’s current frontend stack. Start its documented dev server on an available port. Prepare a content outline and a mobile wireframe. Open only the intended project folder in Codex. Read applicable AGENTS.md and README instructions. Inspect git status before edits. Use sample data and keep secrets out of the repository.
Starter prompt
Build a responsive landing page using existing components with clear headings and keyboard-accessible links. First confirm the environment and relevant commands. Preserve unrelated changes. Report the files changed, checks actually run, and unresolved limitations.
Build in small steps
Ask for a short implementation plan. Resolve missing prerequisites, implement one bounded slice, and inspect its diff before expanding. Use the existing package manager and lockfile rather than copying commands from an unrelated stack.
Acceptance checks
Check 320px and desktop widths, keyboard focus, real navigation targets, and reduced motion.
Troubleshooting
If the preview is blank, inspect server output and browser errors before changing the layout.
Finish and hand off
Review the complete diff, record the verification evidence, and document remaining work. Publishing, production migrations, and paid API calls are separate actions requiring an appropriate scope and budget.
Official references
- https://learn.chatgpt.com/docs/codex/cli
- https://learn.chatgpt.com/docs/agent-configuration/agents-md
Suggested exercises, not official courses or certifications. Setup examples have not been executed in every environment. Confirm current product access and repository requirements before starting.