The m06-error-handling skill teaches Rust developers how to choose appropriate error handling strategies by distinguishing between expected failures, normal absence, and bugs—using Result, Option, panic, and crates like thiserror and anyhow. It's designed for developers writing both library and application code who need to decide when to propagate errors, return Options, panic, or add context to failures. The skill solves the problem of unclear error handling decisions by providing a decision framework that traces back to domain design and down to specific implementation patterns.
npx skills add https://github.com/zhanghandong/rust-skills --skill m06-error-handling