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
npx -y skills add roronoazoroshao369/vibe-coding-os --skill loop-engineeringAssembled 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 coding | How a loop engineer removes it |
|---|---|
| Babysitting ("continue", "fix that", "run it again") | The loop self-iterates without re-prompting. |
| AI claims done while tests fail | Done = gates pass, never the assistant's word. |
| Scope creep / unrequested refactors | Each round is checked against the spec scope. |
| Drift on long sessions | The spec is re-injected every round. |
| Infinite loops / token burn | No-progress, iteration, and budget stops. |
| Dangerous autonomous actions | Policy 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
- Anchor: read the spec and acceptance criteria; restate them as the round's goal.
- Implement one step: make the smallest correct change toward the goal.
- Verify objectively: run the gate set; capture concrete pass/fail evidence.
- 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.
- 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.mdskills/core/plan-driven-execution/SKILL.mdskills/core/systematic-debugging/SKILL.mdskills/prompts/anti-overengineering/SKILL.mdcommands/vibe-loop.md
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.