スキル一覧に戻る
plutowang

rust

by plutowang

ZSH · Starship · Neovim · Opencode — fast terminal configs

2🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: rust description: Rust Constraints. No unwrap, Idiomatic Iterators, Tokio, Error Handling.

Lang: Rust

Rules

  1. Safety: NEVER use .unwrap(). Use ? propagation or .expect("msg").
  2. Style: Prefer Iterators (.map().collect()) over for loops.
  3. Async: Assume tokio. Use .await. Never block async threads.
  4. Errors: Use anyhow::Result for apps, thiserror for libs.
  5. Tests: Co-locate unit tests in mod tests with #[cfg(test)].
  6. Clippy: Code must be strictly clippy-compliant (idiomatic).

Workflow

  • Use skill workflow-env before 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:

  1. Primary (Context7): /websites/doc_rust-lang_stable_book
  2. 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

レビュー

💬

レビュー機能は近日公開予定です