What problem does it solve?
This Skill provides a robust framework for sequentially executing multiple tools or sub-agents, managing their state, defining clear stopping conditions, and handling errors with conditional branching.
Core Features & Use Cases
- Sequential Execution: Define and run a series of steps, each using a specific tool.
- State Management: Tracks progress, modified files, and errors throughout the workflow.
- Stopping Conditions: Implements logic to halt the workflow based on success, failure, or specific criteria (e.g., repeated errors, scope expansion).
- Error Handling & Branching: Defines actions to take upon step failure, including retries, alternative paths, or reporting failure.
- Parallel Execution Safety: Outlines rules to prevent conflicts when running independent steps in parallel.
- Use Case: Automate a complex software development task involving code exploration, implementation, validation, and testing, ensuring that each step is completed correctly before proceeding and that the entire process stops gracefully if issues arise.
Quick Start
Use the tool-loop-orchestrator skill to execute a workflow that first explores the codebase, then implements a feature, and finally validates the changes.