agentsclimarketplace

Loop engineering

Skill roronoazoroshao369/vibe-coding-os/skills/core/loop-engineering

Vibe Coding OS — Claude/Codex/Cursor skill framework with 139 skills, 111 commands, 95 templates, 22 tracked sources, 28/28 validation gates PASS. Quality Shield, Engineering Discipline Pack, plugin marketplace.From the repository description

Install
npx -y skills add roronoazoroshao369/vibe-coding-os --skill loop-engineering

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.1 KB, 935 tokens by cl100k_base, as published. Nobody here has run it

Skill: Loop Engineering

Purpose

Operate as a loop engineer: drive an autonomous implement → verify → fix cycle that ends only when completion is proven by objective gates, or stops itself with a clear reason. Replace "prompt, read, re-prompt" babysitting with a bounded, self-correcting loop that never sacrifices code quality for speed.

When to use

Use when a task has verifiable success criteria and you want hands-off iteration: fixing a failing test suite, implementing an accepted spec, or closing a bug to green. Pair it with /vibe-loop.

Do NOT use for open-ended exploration with no pass/fail signal yet — define a spec and acceptance criteria first.

The pain this removes

Pain in AI-assisted codingHow a loop engineer removes it
Babysitting ("continue", "fix that", "run it again")The loop self-iterates without re-prompting.
AI claims done while tests failDone = gates pass, never the assistant's word.
Scope creep / unrequested refactorsEach round is checked against the spec scope.
Drift on long sessionsThe spec is re-injected every round.
Infinite loops / token burnNo-progress, iteration, and budget stops.
Dangerous autonomous actionsPolicy gates high-risk actions for approval.

Inputs

Spec or narrow intent, acceptance criteria, a verification command set (tests / typecheck / scope-match), iteration cap, and optional cost budget.

Workflow

  1. Anchor: read the spec and acceptance criteria; restate them as the round's goal.
  2. Implement one step: make the smallest correct change toward the goal.
  3. Verify objectively: run the gate set; capture concrete pass/fail evidence.
  4. Decide:
    • all gates pass → DONE, summarize.
    • failing, improving → diagnose the specific failures, fix, next round.
    • failing, not improving (×2) → ESCALATE with the open failures; do not guess.
    • iteration / budget limit → STOP with the reason.
  5. Record: emit a per-round event (round, step, gate results, diff size) for audit/rollback.

Invariants

  • Completion is asserted only from gate results.
  • One small unit of work per round; verify before continuing.
  • Never widen scope beyond the spec.
  • High-risk actions always require approval, even when auto-approve is on.
  • Stop instead of looping when progress stalls.

Stop conditions

DONE (gates pass) · max-iterations · budget · no-progress (×2) · policy-blocked · scope-violation.

Runtime

runtime/autopilot/vibe-loop.mjs orchestrates the loop, reusing loop.mjs (bounded loop), policy.mjs (action gating), and verifier.mjs (objective Done gates). Criteria: schemas/done-criteria.schema.json.

Outputs

A per-round event log (round, step, gate results, diff size) and a final completion summary: all gates passed + evidence, or the stop reason with open failures.

Failure modes

  • Claiming done while tests fail — gate evidence is the only proof of completion.
  • Escalating fixable failures instead of diagnosing the specific cause.
  • Widening scope by fixing unrelated tidy-ups between rounds.
  • Infinite token burn — relying on the loop to eventually succeed rather than stopping on no-progress.
  • Trusting the model's assertion over objective verification.

Verification checklist

  • Spec/accepted intent is re-read at round start.
  • Each round makes one minimal correct change.
  • Verification gates run every round; results are captured.
  • Progress check: compare current vs. previous round failures.
  • Stop conditions (done, max-iterations, budget, no-progress) are respected.
  • High-risk actions are gated for approval.
  • Final state is either all gates pass ✅ or a clear stop reason.

Related skills/templates

  • skills/core/verification-before-done/SKILL.md
  • skills/core/plan-driven-execution/SKILL.md
  • skills/core/systematic-debugging/SKILL.md
  • skills/prompts/anti-overengineering/SKILL.md
  • commands/vibe-loop.md

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.