mds-snafu-error-design

Community

Rust error design with Snafu

Authoreboody
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance on designing robust and maintainable error handling in Rust projects, specifically focusing on leveraging the snafu crate for contextualized error management.

Core Features & Use Cases

  • Contextual Error Design: Learn to categorize errors by context rather than just source type.
  • Library vs. Application Boundaries: Understand how to separate error handling concerns between internal modules and external interfaces.
  • Source Mapping: Implement clear mapping of underlying errors to specific contextual failures.
  • Use Case: When developing a new Rust service, use this guidance to establish a consistent and expressive error handling strategy from the outset, ensuring clarity and maintainability.

Quick Start

Consult the mds-snafu-error-design skill for best practices on Rust error type design.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mds-snafu-error-design
Download link: https://github.com/eboody/eran.codes/archive/main.zip#mds-snafu-error-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.