Skip to content
Development
Skill

/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 considering anything finished.

From plugin
loop-kit
87 skills6 agents2 hooks

Claude Code

$ npx -y skills add cbdreamer11/CB-loop-kit-claude-plugin --skill loop-close --agent claude-code

SKILL.md

loop-close.SKILL.md
name: loop-close
description: 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 considering anything finished.

Close

Closing is not paperwork. It is the step that makes the next session cheap and stops the same work from being done twice.

1 · Audit before you close

Dispatch the **`loop-auditor`** agent on the full diff, with the item's non-negotiables from `.loop/STATE.md`. Its job is to refute. Iterate until there are **zero CONFIRMED findings** — and do that *before* anything is published, not after.

If the auditor finds a real bug, also look for **the class of that bug**: search for its siblings elsewhere in the codebase and close them in the same session, or record them as their own items. One fixed instance and three live ones is not a fix.

2 · Commit

  • Stage **only your own files**. Never `git add -A` when someone else has

uncommitted work in the tree.

  • A descriptive message: what changed and why, not "fixes".
  • On the working branch. **Never the protected branch** — publishing is the owner's

action, and it stays that way even when it is obviously fine.

  • Team mode: open the pull request, make sure CI is green, assign a reviewer. Done

means merged, not "it works on my machine".

3 · Write the record

  • `.loop/STATE.md` — item to `[x]` plus one line of *what was verified and how*.

Anything unverified becomes `GAP: <why>`. Anything blocked becomes `PARKED: <why> + exactly what is missing`.

  • `.loop/DECISIONS.md` — any real choice made, with the rejected alternative.
  • `.loop/GOTCHAS.md` — anything that fooled you: the symptom, why it was convincing,

and how to detect it next time. This file is the compound interest of the method.

4 · Report honestly

Three lists, no softening:

  • **Verified** — with what you observed for each, in one line.
  • **Gaps** — what is not verified and why (a missing access, no browser, no test

environment). Never dress a gap as done.

  • **Blocked on the owner** — a key, real money, a business or legal decision, or

permission to publish. State the exact thing needed, not a vague ask.

If something failed, say it failed and show the output. A report that reads better than the work is the one failure this method cannot recover from.

5 · Hand off

Leave `.loop/STATE.md` so the next session needs no instructions: the next unchecked item is next, and the command to run it is written beside it. Print that command.

Read more
@cbdreamer11
Ships withloop-kit

A working method for building real software with coding agents, across many sessions.

87 skills6 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of cbdreamer11/CB-loop-kit-claude-plugin on GitHub, a chart by star-history.com

Other skills on loop-kit.

loop-council

loop-council

Sends an open design question to several independent voices in parallel and returns a decision with its evidence. Use before…

loop-doctor

loop-doctor

Checks that the loop is actually installed and working in this project - files present, role profiles valid, connections alive,…

loop-plan

loop-plan

The planning session. Turns a goal into an ordered list of thin complete slices, decides which role and model runs each following…

loop-setup

loop-setup

Session 0. Sets up the loop in this project - detects the stack, checks which connections actually work (git, database, browser,…

loop-verify

loop-verify

Runs this project's verification contract and decides honestly whether something is verified, a gap, or a lie. Use before calling…

loop

loop

The build loop - locate yourself, investigate the real code, build one slice completely, verify it for real, fix and re-verify,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about loop-close.

Which coding agents can use loop-close?
loop-close installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.