#error-handling
2 skillsRust CLI Project AGENTS.mdAGENTS.md for a Rust command-line tool: clap derive conventions, anyhow vs thiserror boundaries, exit-code discipline, and integration tests with assert_cmd.Claude Code · CodingClaude CodeAGENTS.mdRust CLI Project AGENTS.mdAGENTS.md for a Rust command-line tool: clap derive conventions, anyhow vs thiserror boundaries, exit-code discipline, and integration tests with assert_cmd.Use in a Rust CLI crate so agents put error types in the right layer, keep main thin, and verify behavior with end-to-end binary tests rather than only unit tests.@libraryCodingError Handling DisciplineRules for failing fast, attaching context to errors, deciding catch versus propagate, and eliminating silently swallowed failures.Claude Code · CodingClaude CodeSKILL.mdError Handling DisciplineRules for failing fast, attaching context to errors, deciding catch versus propagate, and eliminating silently swallowed failures.Use when writing code with failure modes — I/O, parsing, external calls — or when auditing a codebase for swallowed and contextless errors.@libraryCoding