Codex

Codex for development

Bring Codex into your development workflow: prepare the environment and context, implement and debug, review changes and coordinate tasks with Git and worktrees.

Intermediate12 h · 6 × 2 hSpanish & English

Trainer

Borja Martínez

Borja Martínez

The Optimal Flow consultant

Over two years of experience developing projects for companies across industries and sizes.

Borja is the planned trainer for this programme. Dates, language and his availability are confirmed when the edition is agreed.

Find your starting point

A good fit when you already work with code and Git and want to use Codex to explore, implement, debug and coordinate tasks in a reviewable development workflow.

Hours and sessions
12 hours live · 6 sessions of 2 h.
Group size
Up to 12 participants per trainer as a reference, adjusted to the practice and feedback.

What you will learn

  1. 01

    Choose a Codex environment and prepare context and AGENTS.md instructions for a development task.

  2. 02

    Implement and debug changes with Git/GitHub, reviewing the diff and tests against acceptance criteria.

  3. 03

    Isolate tasks with worktrees, coordinate parallel work and solve a new challenge with reproducible checks.

A proposed programme

Explore ways of working with Codex and practise mainly in an environment prepared by The Optimal Flow. Use the Faro repository as shared context to explore code, add a feature, fix a bug and coordinate independent work. Learn to provide instructions through AGENTS.md, review changes with Git/GitHub and organise tasks in worktrees before solving a new challenge.

We adapt the selection and depth of the modules to the group's starting point and goals.

3 modules
01

Environment and context

App, IDE and CLI; configuration, controls, AGENTS.md and selecting useful context.

You will work on

  • Compare the app, IDE and CLI, choose a main environment and recognise its execution controls.
  • Prepare AGENTS.md with conventions, commands and criteria; select files and context for each task.
  • Explore the repository with Codex and check that instructions apply to a second task.
Practice
Prepare Faro’s environment and instructions; request a project map and a plan for a focused task.
How you will check it
A ready environment, a brief AGENTS.md and a task with context and verifiable criteria.
02

Develop and review

Exploration, implementation, debugging, tests and change review with Git/GitHub.

You will work on

  • Implement a status filter and diagnose the bug that accepts subjects made only of spaces.
  • Prepare a regression that fails before the fix and review relevant cases with Vitest and Playwright.
  • Read the diff, organise branches and commits and prepare a practice PR with results and limits.
Practice
Add the filter and fix validation; review the proposal in Git/GitHub and explain the behaviour demonstrated by each test.
How you will check it
Focused changes and a review linking criteria, code and checks.
03

Coordinate and hand over

Worktrees, independent parallel tasks, integration and a new challenge to hand over.

You will work on

  • Separate two tasks that do not share files and assign them to different worktrees with focused instructions.
  • Compare handovers, integrate sequentially and rerun checks on the combined result.
  • Individually solve a new challenge, choosing the environment, context and way of organising the work.
Practice
Rehearse independent documentation and test improvements in parallel, then add a visible-request counter as the final challenge.
How you will check it
A reviewed integration and an individual handover with diff, commands, results and explained decisions.

One repository, several ways to work with Codex

Teaching example

Practise across several challenges in a prepared repository: a feature, a bug fix and independent tasks in worktrees. Finish by solving a new task and explaining the changes and their checks.

Fictional classroom case. Faro is a request manager with prepared code and tests. The team wants to filter its list, improve validation and leave useful instructions for continuing the work.

Starting point
Tasks arrive without shared guidance. Reviewers need the change criteria, how to check it and which pieces of work can be separated.
First attempt
The group prepares AGENTS.md, explores the files and works on the filter and whitespace fix. It then separates a documentation improvement and a test improvement into different worktrees.
What we review
The trainer reviews whether each task has context and bounded files, whether parallel work avoids overlap and whether integration keeps All as the initial filter. The group also checks regression and the combined result.
Result
The handover brings together reusable instructions, reviewed changes and repeatable checks. Each person then builds a visible-request counter and explains why they chose that workflow.

From context to your own handover

  1. Prepare

    • Chosen environment

      App, IDE or CLI; practise in one

    • AGENTS.md

      Project conventions and commands

  2. Develop

    • Feature and fix

      Filter and validation with tests

    • Git and GitHub

      Diff, commits and review

  3. Coordinate

    • Worktrees

      Independent tasks and integration

    • New challenge

      Counter, tests and explanation

Teaching illustration of exercises in a prepared repository; each change is reviewed and checked in the classroom environment.

Before calling it complete

  • AGENTS.md records useful conventions and commands, while the task provides specific criteria.
  • Parallel tasks are isolated and their integration passes checks on the combined result.
  • The individual challenge works and its handover makes tests and decisions understandable and repeatable.

Sessions to put it into practice.

Reference edition: 12 live hours in 6 sessions of 2 hours. Includes environment and context, development and debugging, Git/GitHub, worktrees and a final challenge. Practice and review take place during the sessions.

  1. Session 12 h

    Choose and prepare the environment

    Explore the app, IDE and CLI; practise configuration, controls and an initial repository walkthrough in one main environment.

    By the end

    A ready practice environment and a short repository map.

  2. Session 22 h

    Provide context and instructions

    Prepare AGENTS.md, select files and define criteria; compare responses with insufficient and useful context.

    By the end

    Reusable instructions and a well-scoped task.

  3. Session 32 h

    Implement and debug

    Add a small feature and fix a bug with its regression test; use Faro as the shared setting for both exercises.

    By the end

    A filter and a fix linked to behaviour tests.

  4. Session 42 h

    Review with Git and GitHub

    Work with branches, diffs, commits and practice PRs; check the change and address review findings.

    By the end

    A change proposal with reproducible checks.

  5. Session 52 h

    Coordinate tasks in worktrees

    Separate independent documentation and test tasks, run them in parallel and review integration; recognise when to work sequentially.

    By the end

    Two isolated tasks and a checked combined result.

  6. Session 62 h

    Solve a new challenge and hand over

    Add a visible-request counter, choose the workflow and review code and checks with feedback.

    By the end

    A reviewable individual handover with diff, tests and explained decisions.

Advanced blocks to take things further.

We can include these blocks in your training when your team needs more depth.

  • Connect tools with MCP and hooks

    Include sources and automate repeated team steps within the Codex workflow.

  • Broader delivery workflows

    Go deeper into backend work, migrations or continuous integration with specific goals and checks.

We agree the selection, depth and time when preparing your proposal.

With guidance, practice and support.

Each delivery includes working materials, feedback on practical work and assessment against the agreed objectives.

Materials you can keep

Downloadable, versioned guides, exercises and review criteria for internal use.

To prepare and complete the delivery

A short recommendation, an editable communications kit and a group learning report.

The Optimal Flow certificate

A certificate of achievement after the agreed assessment.

A month of email support

On the content covered, up to two accumulated hours for the whole group.

What does your team need to learn?

Tell us what you want to work on, how many people would take part and where you are based. We will prepare a proposal with scope, sessions and a budget.

Would you like to ask about FUNDAE?

We check eligibility for each company and edition, subject to requirements and available training credit in Spain. Funding is neither automatic nor guaranteed. Official FUNDAE information ↗

Discuss eligibility

Download the onepager

Codex for development

We’ll use your email to handle this request and, only if you choose, send you marketing communications.