loop-close
Closes a slice or a session - adversarial audit of the diff, ledger entry, selective commit, honest report, and the handoff for the next session. Use before…
The build loop - locate yourself, investigate the real code, build one slice completely, verify it for real, fix and re-verify, then close and hand off. Use for any session that is implementing something from the plan.
$ npx -y skills add cbdreamer11/CB-loop-kit-claude-plugin --skill loop --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/loopContext preview
The summary Claude sees to decide when to auto-load this skill.
The build loop - locate yourself, investigate the real code, build one slice completely, verify it for real, fix and re-verify, then close and hand off. Use for any session that is implementing something from the plan.
name: loop description: The build loop - locate yourself, investigate the real code, build one slice completely, verify it for real, fix and re-verify, then close and hand off. Use for any session that is implementing something from the plan.
**Nothing is done until it has been observed working.** A green build, "I read the code and it looks right", and "this should work" are not verification. The only valid signal is observed behaviour.
Run these six steps for every item. Do not skip 0 and do not skip 5.
`.loop/GOTCHAS.md` (traps this project has already sprung).
rebuilt.** A lot of what a document calls missing is already built and just not visible — confirm against the code before redoing it.
touch them, and do not reuse a shared counter they may have taken (see the shared resource in `.loop/VERIFY.md` — read its true state with the command declared there).
new instructions to continue.
Open the real files you are about to change. Map what exists, what is editable, what is missing. Never work from memory of an API or a schema. If a question is genuinely open — or the item touches money, permissions, auth, or schema — run the `loop-council` skill *before* writing code, not after.
One item at a time, finished. If completing it requires one more thing, that thing gets built too: it is not reported as a leftover and it is not offered as a question. An item is complete only if it would be **safe to leave exactly as it is, forever** — no dead end, no control that does not do what it says, no setting with no effect.
Run the slots in `.loop/VERIFY.md` that apply. The rule for each: it must produce an **artifact or an observation** — a rendered page, a row, a file, a screenshot, a log line that only exists if the new code ran. Forbidden as evidence: an exit code, an HTTP 200, and "the build passed". Those prove the code compiled, not that it works.
Repeat 2 → 3 → 4 until it actually works. This is the loop. Do not move on with something unverified, and do not describe a failure as a partial success.
when someone else has uncommitted work). Never push to the protected branch.
and how*. Record anything you could not verify as `GAP: <why>`.
the next item. **Park, never abandon, and never get stuck** on one item.
`.loop/GOTCHAS.md` if something fooled you — the next session should not fall for it.
owner. Then continue with the next item. Do not ask "am I done, shall I continue?".
Only for what only they can unblock: a key or an access you do not have, moving real money, a business/legal/pricing decision, or publishing. Everything technical you decide yourself. "Do you want me to test it?" is never a valid question — if it matters, you already tested it.
A working method for building real software with coding agents, across many sessions.
Closes a slice or a session - adversarial audit of the diff, ledger entry, selective commit, honest report, and the handoff for the next session. Use before…
Sends an open design question to several independent voices in parallel and returns a decision with its evidence. Use before building anything that touches…
Checks that the loop is actually installed and working in this project - files present, role profiles valid, connections alive, effort level real. Use after…
The planning session. Turns a goal into an ordered list of thin complete slices, decides which role and model runs each following session, and writes it all to…
Session 0. Sets up the loop in this project - detects the stack, checks which connections actually work (git, database, browser, payments sandbox), asks the…
Runs this project's verification contract and decides honestly whether something is verified, a gap, or a lie. Use before calling anything done, and whenever a…