What problem does it solve?
This Skill automates the process of handling iterative tasks, allowing users to define a task and a completion criterion, and then letting the system repeatedly execute the task until the criterion is met.
Core Features & Use Cases
- Iterative Task Execution: Define a task and a condition for success, and the skill will loop until the condition is satisfied.
- Contextual Task Inference: Can infer tasks from conversation history when explicitly invoked with "ralph it".
- Automated Completion Criteria: Infers common completion criteria for tasks like fixing tests, linting, or building.
- Multi-Loop Support: Manages multiple concurrent loops with a defined limit and provides status and abort commands.
- Use Case: When a developer needs to refactor a module and ensure all tests pass afterward, they can use this skill to automate the process of making changes and running tests repeatedly until the tests are green.
Quick Start
Use the ralph-loop skill to fix all TypeScript errors until the build succeeds.