AI AGENT ADDONS

M06 Error Handling

actionbook/rust-skills

Errors happen in all programs. Some failures are expected, like a missing file. Other failures are bugs, like a broken rule. This skill helps you decide how to handle each kind. You will learn when to use Result, Option, or panic. You will see how to add context with anyhow or design typed errors with thiserror. The goal is clear and safe code that tells you what went wrong.

This skill is for programmers who write Rust. It helps you avoid common mistakes like calling unwrap without thinking. You will learn to ask the right question: is this failure expected or a bug? The answer guides your choice. With practice, error handling becomes simple and predictable.

Add M06 Error Handling skill to your workflow

Global

mkdir -p ~/.claude/skills/m06-error-handling

Project

mkdir -p .claude/skills/m06-error-handling

Source Repository

Stars
1,264
Forks
104
Watchers
1,264
Last Push
1 month ago
Created
6 months ago