← スキル一覧に戻る

rust
by plutowang
ZSH · Starship · Neovim · Opencode — fast terminal configs
⭐ 2🍴 0📅 2026年1月23日
SKILL.md
name: rust description: Rust Constraints. No unwrap, Idiomatic Iterators, Tokio, Error Handling.
Lang: Rust
Rules
- Safety: NEVER use
.unwrap(). Use?propagation or.expect("msg"). - Style: Prefer Iterators (
.map().collect()) overforloops. - Async: Assume
tokio. Use.await. Never block async threads. - Errors: Use
anyhow::Resultfor apps,thiserrorfor libs. - Tests: Co-locate unit tests in
mod testswith#[cfg(test)]. - Clippy: Code must be strictly
clippy-compliant (idiomatic).
Workflow
- Use
skill workflow-envbefore build/run commands. - Build:
cargo build --release - Test:
cargo test - Format:
cargo fmt
Documentation Access
When you need to verify ownership rules, async runtime behavior, or std library APIs:
- Primary (Context7):
/websites/doc_rust-lang_stable_book - Fallback: https://doc.rust-lang.org
Usage: Only use documentation lookup when you need to verify uncertain syntax, check breaking changes, or explore unfamiliar APIs. Apply this skill's established rules directly for routine tasks.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です