autonomous-loop

Orchestrate a phase-aware autonomous engineering loop with JSON state persistence.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/dha201/architecture-documentation-plugin --skill autonomous-loop-dha201
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autonomous-loop
Source: https://github.com/dha201/architecture-documentation-plugin/tree/main/plugins/autonomous-loop
Command: npx skills add https://github.com/dha201/architecture-documentation-plugin --skill autonomous-loop-dha201

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates complex, multi-phase engineering tasks by providing a persistent, phase-aware loop that can recover from context resets and errors, ensuring long-horizon feature development.

Core Features & Use Cases

  • Phase-Aware Workflow: Manages a structured engineering process from brainstorming to shipping, with defined transitions and recovery mechanisms.
  • Crash Recovery: Persists state in JSON format, allowing the loop to resume from where it left off after interruptions.
  • Use Case: Developing a new complex feature that requires multiple stages of planning, coding, testing, and review. The autonomous loop can manage this entire process, handling potential issues and ensuring progress even if the AI session is interrupted.

Quick Start

Start an autonomous loop for the feature "Implement user profile editing".

Frequently Asked Questions about autonomous-loop

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

FAQPage Schema
How do I automate long-horizon feature development without losing progress during crashes?

Automated engineering loops with crash recovery persist state in JSON files, allowing long-horizon feature development to resume from the exact phase where an interruption occurred without losing context.

What is a phase-aware autonomous engineering workflow?

A phase-aware autonomous engineering workflow uses a defined state machine to transition tasks through brainstorm, plan, deepen, work, review, fix, re_review, compound, test, and ship phases sequentially.

How do I prevent context drift when running autonomous loops for multi-stage coding tasks?

Preventing context drift in autonomous loops requires re-anchoring protocols that realign the session to the persisted state machine, ensuring deterministic task execution across multi-phase coding workflows.

Can I resume a multi-phase engineering loop after an AI session is interrupted?

Resuming a multi-phase engineering loop after an interruption is possible when the loop persists its phase state and execution context to JSON files for reliable crash recovery.

What do I need to set up before starting an autonomous loop for complex feature development?

Starting an autonomous loop for complex feature development requires specific workflow and compound engineering commands to ensure deterministic task execution and structured error resolution throughout the phase machine.