botdigit-official/agent-blueprint/15-autonomous-loop-and-simplification
Claude Code and agent skill by botdigit-official/agent-blueprint
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install botdigit-official/agent-blueprint/15-autonomous-loop-and-simplificationSKILL.md
The same SKILL.md was published earlier as botdigit-official/agent-blueprint/15-autonomous-loop-and-simplification.
15 — Autonomous Execution Loop & Anti-Overengineering Review
Version: 1.0.0 Compatible: agent_blueprint >= 1.0 Requires: orchestrator, context-engineering, phase-loop-delivery, testing Outputs: plan.md, review-report.md, simplification-audit.md
Purpose
Inspired by the autonomous Ralph Loop in Ralphex (umputun/ralphex), this skill provides the autonomous execution loop for AI coding agents and introduces a strict Anti-Overengineering & Simplification Review Pipeline.
It guarantees two non-negotiable outcomes:
- Unattended Execution Reliability: Agents iteratively process plans task-by-task with fresh session bounds, run validation commands after every step, and commit atomically without token fatigue.
- Zero Over-Engineering: Every pull request and feature diff is audited by a dedicated simplification gatekeeper to strip away speculative abstractions, bloated factories, and premature generalizations.
The Autonomous Execution Loop (Ralph Loop)
The 5-Agent Review Pipeline
Once all plan tasks pass their validation commands, the changes undergo an automated 5-agent review before declaring completion:
| Review Agent | Core Mandate | Failure Trigger | |
|---|---|---|---|
| `quality` | Memory safety, race conditions, OWASP Top 10, error handling | Uncaught promises, unwrap(), missing auth | |
| `implementation` | Validates code fulfills the plan specifications | Scope creep, missing acceptance criteria | |
| `testing` | Verifies automated unit & regression coverage | Missing tests for new logic, weak assertions | |
| `simplification` | Guards against over-engineering and premature generalization | Unnecessary layers, generic factories, YAGNI violations | |
| `documentation` | Confirms living docs, API contracts, and changelog sync | Outdated docs/, missing [Unreleased] changelog entry |
The Anti-Overengineering Standard (simplification)
AI coding agents have a notorious tendency to over-engineer: generating generic interfaces for single implementations, complex event buses for simple function calls, and multi-tier abstractions where a 10-line helper suffices.
The `simplification` review rule must evaluate every modified file against these 6 Anti-Bloat Laws:
1. The YAGNI Law (You Aren't Gonna Need It)
- Do not build extensibility hooks for hypothetical future features.
- Build strictly for the stated requirement today.
2. Concrete Over Abstract
- If an interface or trait has only one implementation, remove the interface and use the concrete struct/function directly.
- Avoid abstract factory patterns, strategy objects, and generic middleware unless at least 3 distinct consumers exist right now.
3. Fewer Lines, Zero Cleverness
- Prefer 20 lines of clear, standard sequential code over 5 lines of dense functional metaprogramming or complex reflection.
- Code should be immediately readable by a junior engineer without external documentation.
4. Zero Unnecessary Dependencies
- Do not add a new npm package, crate, or Python package for utilities that take 5 lines of native standard library code (e.g.
left-pad, trivial string manipulations, basic HTTP clients).
5. Net Deletion is a Feature
- When refactoring, if the code size increased by 50% without new functional capabilities, the refactor is considered a failure.
- Actively delete dead code, unused parameters, obsolete comments, and redundant wrappers.
6. Minimal Sufficient Architecture
Loop Guardrails & Stalemate Prevention
To prevent infinite execution loops or circular AI debates:
- Max Task Iterations:
- Any single plan task is limited to 3 execution attempts. If validation commands still fail after 3 attempts, pause and prompt the developer.
- Review Patience Limit (`review-patience`):
- If 2 consecutive review cycles produce zero file modifications or zero git commits, terminate the review loop immediately.
- Graceful Pause & Plan Editing:
- Developers can edit
TASK.mdor the plan file between iterations. When resumed, the loop re-reads the plan with fresh context.
- Plan Archiving:
- Once all tasks and reviews pass, move or tag the plan under
docs/plans/completed/or mark complete inTASK.md.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/15-autonomous-loop-and-simplification/SKILL.md
Popularity
- 7-day trend score
- 5
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/botdigit-official/agent-blueprint/15-autonomous-loop-and-simplification)