Passes code between a builder and an independent reviewer subagent until the review has no blocking findings and tests pass.
npx claude-code-templates@latest --skill β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’Unlock this skill to run and inspect the interactive installation sequence.
Loop Engineering β separate the *builder* from the *reviewer* so the agent doesn't grade its own work. Code bounces between them until it genuinely passes.
Implement a change, then have an independent reviewer subagent critique it; iterate on the findings until the review is clean and tests are green.
Suggested interval: 15m (or run until done on a single feature).
/loop 15m "Implement the next slice of the feature. Then hand it to an independent reviewer subagent for an adversarial review. Address every blocking finding and re-run tests. Continue until the reviewer has no blocking findings and the suite passes."
architect-review agent inspects the diff for correctness, design and risk.test-runner./pr-review; if blocking findings remain, loop again.Reviewer reports zero blocking findings and all tests pass.
agent:expert-advisors/architect-review β the independent reviewer (no self-grading).agent:development-team/test-runner β runs the suite each pass.command:git-workflow/pr-review β structured review checklist.The builder ships a new caching layer; the reviewer flags a race condition and a missing eviction test. The loop fixes both, re-reviews, and exits clean.
# Step 1: Initialize skill agent setup
npx skills add Builder Reviewer Loop --install-production
python -m pip install -r requirements.txt
codex plugin install Builder Reviewer Loop@latest
export API_KEY=secret_token_key_here
Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.
Get instant access to complete setup guides, repository source code, and integration assets.
Builds the next item on the plan, then runs tests, typecheck and lint, feeding every failure back as the next instruction until the build is green.
Writes a contract of what "done" means and what evidence proves each requirement before any work starts, then refuses to claim success without that evidence.
Has a second, independent model review every change before merge so two different reviewers must agree - code only lands when both clear the bar.