一键导入
rust-error-handling
// Use when changing Rust code paths that return errors or log failures. Ensures errors are actionable, consistent, and safe.
// Use when changing Rust code paths that return errors or log failures. Ensures errors are actionable, consistent, and safe.
Update project versions and release tag in one consistent flow (Cargo.toml, xtask, docs, and git tag).
Run a repository-wide maintenance pass before merge/release. Covers cleanup, formatting, tests, docs, security, and CI checks.
Use before merging security-relevant Rust changes. Catches common local-service security regressions.
Use when adding or modifying tests. Ensures behavior changes are covered with focused tests and fast feedback.
Use when making code or documentation changes in this repository. Provides consistent workflow and validation steps.
| name | rust-error-handling |
| description | Use when changing Rust code paths that return errors or log failures. Ensures errors are actionable, consistent, and safe. |
Use this skill when changing Rust code paths that return errors or log failures.
Keep errors actionable, consistent, and easy to debug without leaking sensitive data.
anyhow::Context to add operation + resource context.bail! for validation failures with explicit reason.DNS, PROXY, TLS, etc.).info/debug/error levels.