What problem does it solve?
This Skill addresses the challenge of error recovery for squad agents, ensuring that failures are not just reported but effectively managed and recovered from.
Core Features & Use Cases
- Retry with Backoff: Handles transient failures like API timeouts and network errors by retrying with exponential backoff.
- Fallback Alternatives: Provides strategies for using alternative tools or methods when the primary option fails.
- Diagnose-and-Fix: Guides through structured error analysis and targeted fixes for build, test, and linting issues.
- Escalate with Context: Ensures that when all recovery attempts fail, the issue is escalated with sufficient information for human intervention.
- Graceful Degradation: Manages non-critical failures, allowing the overall task to continue while noting the issue.
- Use Case: A software developer uses this Skill to manage a series of build failures by applying the "Retry with Backoff" pattern, which eventually resolves the issue without manual intervention.
Quick Start
To apply the "Retry with Backoff" pattern to an API call, use the command: 'error-recovery retry-api --url <api-url> --max-retries 3 --backoff 2s'.