loop-constructor
CommunityDesign autonomous agent loops for complex tasks
System Documentation
What problem does it solve?
Medium and large AI-coding tasks often fail because they lack structured verification, clear role separation, and machine-checkable completion criteria. Without these, agents loop endlessly, produce slop, or require constant human intervention. This skill solves that by providing a rigorous selection procedure and deterministic linter to design closed-loop workflows that run autonomously.
Core Features & Use Cases
- D0-D6 Selection Procedure: A rigorous decision tree that derives loop shape from runnable checks, not vibes—covering decomposition, pattern selection, autonomy level, parallelism, guards, and iteration profile.
- Staged Loop Design: Decomposes tasks into gated sub-loops with machine-verifiable definitions of done, contract negotiation, and adversarial evaluator roles to prevent sycophancy.
- Deterministic Validation: A linter that rejects hollow checks, missing contracts, or cyclic dependencies, and a renderer that produces a runbook only for passing designs.
- Use Case: A developer needs to implement a medium-complexity feature with rate limiting and load verification. They use this skill to design a three-stage loop with a negotiated contract, separate evaluator context, and restart logic for broken builds.
Quick Start
Use the loop-constructor skill to design a gated sub-loop runbook for your medium or large autonomous coding task, emitted as a .loop/ runbook with machine-verifiable checks and an adversarial evaluator role.
Dependency Matrix
Required Modules
None requiredComponents
đź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: loop-constructor Download link: https://github.com/VincentJiang06/skills/archive/main.zip#loop-constructor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.