
Build Loop Codex
- 1.1k installs
- 194 repo stars
- Updated July 7, 2026
- buildgreatproducts/builder-os
Run a disciplined build, review, test, and fix loop in OpenAI Codex CLI, working plan tasks in order and fixing every review finding before reporting done.
About
Drives feature work in Codex CLI through a build to review to test to fix loop, running Codex's /review on uncommitted changes and fixing findings before advancing. A developer uses it to work a plan file or prompted feature under a quality gate.
- Runs Codex /review on uncommitted changes and fixes every issue
- Works plan checkboxes in order, testing each task end to end
Build Loop Codex by the numbers
- 1,142 all-time installs (skills.sh)
- +115 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #431 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/buildgreatproducts/builder-os --skill build-loop-codexAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.1k |
|---|---|
| repo stars | ★ 194 |
| Last updated | July 7, 2026 |
| Repository | buildgreatproducts/builder-os ↗ |
What it does
Run a disciplined build, review, test, and fix loop in OpenAI Codex CLI, working plan tasks in order and fixing every review finding before reporting done.
Files
Codex Build Loop
Quality-gated feature work: nothing ships on "it compiles" — every increment is built, reviewed, tested end to end, and fixed before the user hears "done."
Source of work
- A plan file exists (roadmap, refactor plan, or task list with
- [ ]checkboxes — search the repo): work the first unchecked task. Tasks are ordered intentionally — never skip ahead. If the plan references spec docs, read only the sections relevant to the current task. - No plan (or the request is outside it): build from the user's prompt. Restate it as a verifiable goal with 2–4 success criteria and confirm scope in one message before building.
The loop
Run per task (or per prompted feature). Do not advance until every step passes.
1. Build. Implement exactly what the task specifies. Simplest implementation that satisfies it, surgical changes, no speculative scope. Match existing project conventions.
2. Review. Run `/review` and select "Review uncommitted changes". If the change touches auth, payments, user input, or data access, run a second pass via "Custom review instructions" (e.g. "Focus on security vulnerabilities and unvalidated input"). Fix all findings in scope — bugs, security issues, edge cases, performance, style in files you touched. If the project has a design system spec (design tokens file, DESIGN.md, theme config), check UI changes against it — no hardcoded colors, type, or spacing that bypass tokens. Note pre-existing issues in untouched code for the report instead of fixing silently. Re-run /review until clean. If a finding contradicts the task or spec, the spec wins — flag the disagreement.
3. Test end to end. Run the task's verification step (or the success criteria). Run the full test suite — everything that passed before must still pass. Add tests for new logic. Then exercise the feature as a user would: run the app, walk the real flow including empty, loading, and error states.
4. Fix. Anything testing finds goes back through the loop: fix → /review → re-test. Never mark a failing task complete; never start the next task with the app broken.
5. Continue. Mark the task - [x], update any progress/status line in the plan, and loop to the next task until the requested scope is complete.
6. Report. When done, tell the user: what was built and plan progress, review findings fixed and anything deferred, how it was verified (tests + flow walked), and what needs their attention next. Be honest about anything flaky or partially verified.
Rules
- Skipped review or untested work = unfinished work.
- Don't relitigate plan decisions; if a task seems wrong, ask one specific question rather than guessing.
- Discovered work no task covers? Surface it and propose a task — never silently expand scope.