Implement From Plan (step-by-step)
Input: a plan doc path (for example: plan/my-feature.md).
Preconditions (stop if missing)
- Confirm you are in the intended repo:
git rev-parse --show-toplevel - Confirm the plan doc exists:
test -f <plan-doc-path> - Confirm the working tree is clean:
git status --porcelainis empty - Ensure
codex-progress.logis gitignored and not tracked:- Add
codex-progress.logto.gitignoreif missing. - If it is tracked:
git rm --cached codex-progress.log(keep the file locally).
- Add
Workflow
- Record a base commit for later review:
BASE_SHA=$(git rev-parse HEAD) - When running this skill with Codex, use model
gpt-5.4unless the caller explicitly overrides the model. - Open
references/prompts/step-auto-mixed.mdand follow it using the plan doc path.- Important: it includes a one-time tooling discovery + dependency install + "Tooling config" phase; do that once and reuse it for every step.
- For C/C++ repositories, extend the prompt's tooling discovery to identify the repo-native build/test/lint path before Step 1. Check for
CMakeLists.txt,compile_commands.json,meson.build,BUILD/WORKSPACE,Makefile, and repo docs. Reuse the canonical configure/build/test/lint commands for each later step instead of rediscovering them.