evgeniy-mikhailove/rlm-claude-code-os/loop-build
Claude Code and agent skill by evgeniy-mikhailove/rlm-claude-code-os
- community
Checking that the SKILL.md file is still in the repository.
Self-correcting build loop: spec -> build -> adversarial review -> fix -> repeat until review passes clean. Combines spec-driven-development with adversarial verification in an automated cycle. Threshold: 95%.
Install
npx vskill@latest install evgeniy-mikhailove/rlm-claude-code-os/loop-buildSKILL.md
The same SKILL.md was published earlier as evgeniy-mikhailove/rlm-claude-code-os/loop-build.
Loop Build - Self-Correcting Build Cycle
Inspired by: MAMA MOZG "Petlya" methodology, adapted for adversarial multi-agent architecture.
Core Idea
Build from spec, review against spec with a SEPARATE agent (blind review), fix failures, repeat. Stop when review passes clean or diminishing returns detected.
When to Use
- Building features from a spec (spec-driven-development output)
- Any build task with >3 requirements to verify
- Multi-file implementations where drift is likely
- When you want to "fire and forget" - launch and get clean result
Skip for: single-file fixes, typos, config changes, tasks under 10 min.
Prerequisites
A spec file must exist at specs/<name>.md (created by spec-driven-development or manually). If no spec exists, prompt user to run /spec-driven-development first or provide requirements inline.
The Loop Protocol
Implementation
Step 1: Read Spec
Step 2: Build
Step 3: Adversarial Review (SEPARATE AGENT)
Step 4: Fix or Finish
Output Format
After loop completion, always report:
Integration Points
| Skill | How it connects | |
|---|---|---|
spec-driven-development | Produces the spec that loop-build consumes | |
code-review | Review agent uses code-review checklist as additional layer | |
doubt-driven-development | Applied inside review agent for architectural decisions | |
verification-before-completion | Final check after loop exits | |
test-driven-development | Tests serve as additional PASS/FAIL signal in the loop |
Anti-Patterns
- Don't self-review: always use a SEPARATE agent for review. Self-review has confirmation bias.
- Don't exceed spec: if build adds features not in spec, that's a FAIL even if the feature is good.
- Don't skip diminishing returns check: if score goes 92% -> 93% -> 93%, stop. The last 2% isn't worth another iteration.
- Don't run on trivial tasks: the overhead of 2-5 iterations is only justified for substantial builds.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/loop-build/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/evgeniy-mikhailove/rlm-claude-code-os/loop-build)