一键导入
rust-error-handling
Use when changing Rust code paths that return errors or log failures. Ensures errors are actionable, consistent, and safe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when changing Rust code paths that return errors or log failures. Ensures errors are actionable, consistent, and safe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| 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.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.