rust
Rust systems programming skill covering ownership, borrowing, traits, error handling, async, and cargo. Use when building Rust applications.
от skeletorflet★ 48 звёзд на GitHub
Установить rust в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
rust
Core Concepts
- Ownership + Borrowing: each value has one owner, references (&/&mut) temporarily lend access without transferring ownership
- Structs + Enums + Traits: structs for data grouping, enums for sum types with pattern matching, traits for shared behavior
- Pattern Matching: exhaustive match arms, if let for single patterns, destructuring tuples/structs/enums
Error Handling
- Result<T, E>: recoverable errors with ? operator for propagation
- Option: nullable values, unwrap/expect for prototyping, map/and_then for chaining
- Custom error types: thiserror derive for library errors, anyhow for application-level error handling
Async & Concurrency
- async/await: zero-cost futures, tokio runtime for I/O, tasks with tokio::spawn
- Channels: tokio::sync::mpsc for multi-producer, tokio::sync::oneshot for one-shot
- Shared state: Arc<Mutex> for shared mutable state across tasks
Common Cargo Patterns
- Cargo.toml: dependencies, features, profiles (dev/release)
- Tests: #[test] attribute, #[cfg(test)] module, cargo test with --test for integration
- Common crates: serde (serialization), tokio (async runtime), reqwest (HTTP client), clap (CLI parsing)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rust?
Rust systems programming skill covering ownership, borrowing, traits, error handling, async, and cargo. Use when building Rust applications.
Как установить скилл rust?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rust запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…