← ClaudeAtlas

loop-engineerlisted

Run a coding task as a closed maker→checker loop with an explicit done-condition and rubric, iterating until the goal is verifiably met instead of stopping after one pass. Use when the user wants an agent loop, "loop engineering", a self-verifying build, maker-checker, "keep going until it's done/passes", autonomous iteration on a feature or bug, or asks to drive a task to a measurable finish line.
vraj-ai/skills · ★ 3 · Code & Development · score 79
Install: claude install-skill vraj-ai/skills
# Loop Engineer Turn a coding task into a **closed loop** that runs until a goal is verifiably met, instead of a single best-effort pass. Based on the four-loop stack from LangChain's *The Art of Loop Engineering* (agent → verification → event-driven → hill-climbing). The leverage is not the model — it's the loop you wrap around it. The single rule: **never declare done without the checker passing the done-condition.** ## Session topology For the four-stage fleet, run the maker and checker in separate top-level stage-parent sessions when possible. The current default parents are Opus 5/Claude Code for planning, Kimi K3/Pi for coding, GPT-5.6 Luna/Codex at max effort for debugging, and Grok 4.5/Pi for reviewing. A native child may not spawn nested children; use the GitHub Project item, GitHub issue, git/PR artifacts, and handoffs to bridge sessions. ## Workflow Run these in order. Loops 1–2 are the core; 3–4 are escalations. ### 1. Lock the goal (do this before any code) Write a short **loop contract** at the top of your working notes: - **Goal** — one sentence, the user-visible outcome. - **Done-condition** — a *machine-checkable* gate. Prefer a command: `npm test`, `pytest -k feature`, `tsc --noEmit`, a curl returning 200, a screenshot diff. If it can't be checked by running something, rewrite it until it can. - **Rubric** — 3–6 bullets the checker reviews against (correctness, edge cases, no regressions, matches existing patterns, no debug cruft). See [REFERENCE.md