Registry / actionbook

actionbook/rust-skills/m06-error-handling

CRITICAL: Use for error handling. Triggers: Result, Option, Error, ?, unwrap, expect, panic, anyhow, thiserror, when to panic vs return Result, custom error, error propagation, 错误处理, Result 用法, 什么时候用 panic

Agent skill · version 2.0.9 · from actionbook/rust-skills

Install

npx yarkr-cli add skill:actionbook/rust-skills/m06-error-handling

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:actionbook/rust-skills/m06-error-handling
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:actionbook/rust-skills/m06-error-handling

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:actionbook/rust-skills/m06-error-handling

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.