Skip to content

About

Reusable template for Codex-based agentic engineering workflows.

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Agentic Engineering Workflow Template

Use this template to give Codex a repeatable way to work in your repository. You describe what someone should be able to do. Codex finds the relevant code, makes the change, and reports what happened when it tried that action. For work that spans sessions, a short ticket keeps the next step available to whoever picks it up.

The workflow fits in two Markdown files. AGENTS.md holds the project’s standing instructions. The optional ticket outline holds the goal, acceptance check, and result for one task. You can start using the instructions as soon as you open the project.

Start with a new repository

  1. On GitHub, choose Use this template → Create a new repository.

  2. Clone the new repository and open that project in Codex.

  3. Replace the text in angle brackets and send the prompt below.

    Read AGENTS.md. I’m building <project> for <people who will use it>. The first thing they should be able to do is <action and expected result>. Sketch the main milestones, then implement the smallest usable step toward that outcome. Add the start and check commands you actually used to the project README.

For example, a first step for an editor could be “I can save a document, close the editor, and reopen the document with my changes intact.” That gives Codex a way to decide how much to build and when to stop.

Adopt it in an existing repository

  1. Clone or unzip this template beside your project. Open your existing project in Codex.

  2. Give Codex the path to the template and ask it to adapt the instructions.

    This is the target project. The workflow template is at <template-directory>. Read our existing instructions and check how we start the project, test changes, and track work. Merge any useful guidance from the template into our project instructions. Preserve our conventions, ticket history, and release process. Show me what you changed and how I can give you the first task.

  3. Give Codex one real task. If the project already uses issues or a local ticket board, use the same place for this work.

Work on a task

Situation What to ask Codex to do
One bounded change Describe the observed behavior and the expected result. Ask Codex to make the change and try it through the usual entry point.
A feature with several steps Agree on the outcome, sketch the milestones, and write a ticket for the next independently verifiable step. Expand later tickets as their dependencies become clear.
A new session or contributor Point them to the active ticket. It should say where to start, which decisions have been made, what has been tried, and what remains open.
Several contributors working at once Where the project allows parallel work, give each contributor a separate scope. Integrate their changes in dependency order and repeat the acceptance check on the combined result.

Follow one change through verification

Suppose a user reports that an edited title disappears after reopening a document. You can give Codex the exact action to try.

Fix the lost title. Use a disposable document, change its title, save it, close the editor, and reopen it from the usual launcher. Tell me which title appears.

If Codex can run the editor, a useful completion report would be “I changed ‘Draft’ to ‘Ready’, saved, closed the editor, and reopened the file from the launcher. The title was ‘Ready’.” If only the file reader could be tested, the handoff could be “The reader returned ‘Ready’ from the saved fixture. The editor needs a display. The next step is to repeat the edit and reopen the document from the launcher.”

For a small fix, that report can go straight back to the requester. If another session will finish the check, record it in the same ticket. A continuation prompt can then be one line.

Read <ticket>. Check the current working tree, continue from the first open acceptance item, and update the ticket with what you observe.

Moving from 0.5

Version 0.6 replaces the fixed role profiles, lifecycle hooks, package runner, and generated reports with project instructions and an optional ticket. An existing project can switch one task at a time. Before retiring an installed hook or helper, find its callers and finish or hand off any active run. Keep project-specific rules and completed records. Edition 0.5 remains available in the original template repository at commit c64f5671dd791fc6a5732462c81efefb6ff6f96e.

About

Reusable template for Codex-based agentic engineering workflows.

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors