Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
The English summary is being prepared. Showing the original description.
Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.
When: Transient failures — API timeouts, rate limits, network errors, temporary service unavailability.
Pattern:
Example: API call returns 429 Too Many Requests → wait 2s → retry → wait 4s → retry → wait 8s → retry → escalate if still failing.
When: Primary tool or approach fails and an alternative exists.
Pattern:
Example: Primary CLI tool fails → fall back to direct API call for the same operation.
When: Build failures, test failures, linting errors — structured errors with actionable output.
Pattern:
Example: Build fails with a type error → check for missing import → add it → rebuild.
When: Recovery attempts have been exhausted, or the failure requires human judgment.
Pattern:
Example: After 3 failed build attempts → "Build fails on line 42 with null reference. Tried X, Y, Z. Likely a design issue in the Foo module. Recommend the code owner review."
When: A non-critical step fails but the overall task can still deliver value.
Pattern:
Example: Generating a report with 5 sections — section 3 data source is unavailable → produce the report with 4 sections, note that section 3 was skipped and why.
Each agent should reference these patterns in their charter's ## Error Recovery section, tailored to their domain. The charter should list the agent's most common failure modes and map each to the appropriate pattern above.
Selection guide:
| Failure Type | Primary Pattern | Fallback Pattern |
|---|---|---|
| Network/API transient | Retry with Backoff | Escalate with Context |
| Tool/dependency missing | Fallback Alternatives | Escalate with Context |
| Build/test error | Diagnose-and-Fix | Escalate with Context |
| Auth/permissions | Retry with Backoff | Escalate with Context |
| Non-critical data missing | Graceful Degradation | — |
| Unknown/novel error | Escalate with Context | — |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
The English summary is being prepared. Showing the original description.
Shared hard rules enforced across all squad agents
The English summary is being prepared. Showing the original description.
Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content.
The English summary is being prepared. Showing the original description.
Migrate API controller scope checks to framework-enforced authorization policies while preserving ownership checks.
The English summary is being prepared. Showing the original description.
Review API DTO implementations for contract/domain separation, mapping patterns, and REST compliance
The English summary is being prepared. Showing the original description.
Register shared claims transformation and hierarchical role policies in the API without breaking existing scope enforcement.
The English summary is being prepared. Showing the original description.