m13-domain-error

Design domain error handling strategies with classification and recovery pathways.

1|2|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/dojoengine/torii-core --skill m13-domain-error-dojoengine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m13-domain-error
Source: https://github.com/dojoengine/torii-core/tree/main/.agents/skills/m13-domain-error
Command: npx skills add https://github.com/dojoengine/torii-core --skill m13-domain-error-dojoengine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Domain error handling design to improve reliability and resilience by structuring errors and recovery.

Core Features & Use Cases

  • Error categorization: classify errors by audience and recovery needs (user-facing, internal, transient, permanent).
  • Recovery strategies: define retry policies, fallbacks, and circuit breakers for robust systems.
  • Traceability: establish guidance for tracing errors up and down across layer boundaries and business rules.

Quick Start

Outline a domain error strategy for a new feature by classifying potential errors and proposing recovery paths.

Frequently Asked Questions about m13-domain-error

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

FAQPage Schema
How do I structure domain error handling for a software system?

Domain error handling improves software reliability by classifying errors by audience and recovery needs, designing structured error vocabularies across service boundaries, and defining recovery pathways like retry policies and fallbacks.

How do I classify domain errors by audience and recovery needs?

You classify domain errors by separating them into user-facing versus internal categories, and transient versus permanent types, which directly determines the appropriate recovery strategy, tracing path, and alerting behavior across layers.

What is the best way to design retry policies and fallbacks for robust systems?

Designing retry policies and fallbacks requires mapping them to your error categorizations, applying recovery strategies like circuit breakers and retry with backoff specifically to transient errors to maintain system robustness.

How do I trace domain errors across service boundaries and layers?

Tracing domain errors across service boundaries requires establishing a structured error vocabulary that propagates context up and down layer boundaries, linking business rules to specific error categories and their recovery pathways.

When should I use circuit breakers for error recovery?

Circuit breakers should be used when defining recovery strategies for transient errors crossing service boundaries, preventing cascading failures by blocking repeated calls to failing downstream services and maintaining overall system robustness.

Can I outline a domain error strategy for a new software feature?

Yes, you outline a domain error strategy for a new feature by classifying potential errors and proposing recovery paths, which involves designing an error hierarchy and defining alerting and fallback behaviors.