loop-driven-engineering

Coordinate four nested loops for engineering work within a five-iteration budget.

2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/veegee82/loss-driven-development --skill loop-driven-engineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loop-driven-engineering
Source: https://github.com/veegee82/loss-driven-development/tree/main/skills/loop-driven-engineering
Command: npx skills add https://github.com/veegee82/loss-driven-development --skill loop-driven-engineering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates four nested loops to coordinate complex engineering work across code, deliverables, methods, and reasoning chains, ensuring disciplined progress and a synced mental model.

Core Features & Use Cases

  • Coordinates inner (code), refinement (deliverable), outer (method), and CoT (reasoning chain) loops with individual budgets.
  • Dispatches specialist sub-skills at the right moments to maintain alignment and momentum.
  • Enforces a hard five-iteration budget (K_MAX = 5) with escalation rules to handle non-convergence.
  • Ideal for non-trivial tasks such as multi-file feature work, cross-cutting bugfixes, refactors with observable behavior change, or incident response.

Quick Start

Start a non-trivial task and allow this skill to coordinate the four loops within a five-iteration budget.

Frequently Asked Questions about loop-driven-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage complex multi-file refactors without losing track of progress?

Managing complex multi-file refactors requires coordinating nested loops across code, deliverables, methods, and reasoning. This skill dispatches specialist sub-skills at the right moments, enforcing a fixed five-iteration budget with escalation rules to handle non-convergence and ensure disciplined progress.

What is the best way to coordinate incident response across multiple code files?

Coordinating incident response across multiple code files is handled by orchestrating four nested loops that manage code, deliverables, methods, and reasoning chains. It enforces governance rules and ensures a current doc-level mental model for traceable closure.

How do you handle non-convergence when iterating on risky engineering tasks?

Handling non-convergence when iterating on risky engineering tasks is managed by a hard five-iteration budget (K_MAX = 5). When iterations exhaust this budget, the system applies specific escalation rules to prevent endless loops and ensure task completion.

When do I need nested loop coordination for cross-file bugfixes?

Nested loop coordination for cross-file bugfixes is needed for non-trivial tasks requiring synchronized progress across code, deliverables, methods, and reasoning. It maintains a synced mental model and dispatches sub-skills to manage complexity that simple linear execution cannot handle.

Does loop-driven engineering work for tasks requiring strict audit trails?

Loop-driven engineering works for tasks requiring strict audit trails by enforcing governance rules and generating traceable closure artifacts. These artifacts document the nested loop iterations across code and reasoning, providing clear handoff materials for audit purposes.