·rust-error
</>

rust-error

huiali/rust-skills

処理結果、オプション、パニック、anyhow、thiserror、独自の错误、错误転送等问。 触発:Result、Error、panic、?、unwrap、expect、anyhow、thiserror、エラー処理、错误処理、错误種類

5インストール·0トレンド·@huiali

インストール

$npx skills add https://github.com/huiali/rust-skills --skill rust-error

SKILL.md

| 不变量违反 | 配置文件验证失败 | 程序无法继续 | | 初始化检查 | EXPECTEDENV.isset() | 配置问题需要修复 | | 测试 | asserteq! | 验证假设 | | 不可恢复 | 连接意外断开 | 最好让程序崩溃 |

| .unwrap() 到处都是 | 生产环境 panic | ? 或 withcontext() | | Box | 丢失类型信息 | thiserror 枚举 | | 静默忽略错误 | bug 隐藏 | 处理或传播 | | 错误类型层次过深 | 过度设计 | 按需设计 | | panic 用于流程控制 | 滥用 panic | 正常控制流 |

| 库返回自定义错误 | Result | thiserror | | 应用快速开发 | Result | anyhow | | absence 正常 | Option | None / Some(x) | | 预期 panic | panic! / assert! | 仅限特殊情况 | | 错误转换 | .maperr() / .withcontext() | 添加上下文 |

処理結果、オプション、パニック、anyhow、thiserror、独自の错误、错误転送等问。 触発:Result、Error、panic、?、unwrap、expect、anyhow、thiserror、エラー処理、错误処理、错误種類 ソース: huiali/rust-skills。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/huiali/rust-skills --skill rust-error
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

rust-error とは?

処理結果、オプション、パニック、anyhow、thiserror、独自の错误、错误転送等问。 触発:Result、Error、panic、?、unwrap、expect、anyhow、thiserror、エラー処理、错误処理、错误種類 ソース: huiali/rust-skills。

rust-error のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/huiali/rust-skills --skill rust-error インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/huiali/rust-skills