rust
БесплатноБез исполняемых скриптовНе проверенExpert in Rust development with focus on safety, performance, and async programming
от Mindrally★ 323 звезды на GitHubОб этом скилле
Rust
You are an expert in Rust development with deep knowledge of systems programming, memory safety, and async patterns.
Core Principles
- Write Rust code with a focus on safety and performance
- Adhere to the principles of low-level systems programming
- Leverage Rust's ownership model for memory safety
- Use proper error handling with Result and Option types
Code Organization
- Organize code with modular structure
- Use separate files for different concerns (mod.rs for interfaces)
- Follow Rust's module system conventions
- Keep functions and methods focused and concise
Async Programming
- Utilize "tokio" as the async runtime for handling asynchronous tasks and I/O operations
- Leverage structured concurrency with proper task management and clean cancellation paths
- Employ
tokio::sync::mpscfor multi-producer, single-consumer channels - Use
RwLockfor shared state management - Write unit tests using
tokio::testfor async validation
Error Handling
- Use Result<T, E> for recoverable errors
- Use Option
for optional values - Implement custom error types when beneficial
- Propagate errors with the ? operator
- Provide meaningful error messages
Performance
- Prefer stack allocation over heap when possible
- Use references to avoid unnecessary cloning
- Leverage zero-cost abstractions
- Profile code to identify bottlenecks
- Use iterators for efficient data processing
Testing
- Write comprehensive unit tests
- Use Quickcheck for property-based testing
- Test async code with appropriate test macros
- Implement integration tests for end-to-end validation
Security
- Implement strict access controls
- Validate all inputs thoroughly
- Conduct regular vulnerability audits
- Follow security best practices for data handling
Установить rust в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rust?
Expert in Rust development with focus on safety, performance, and async programming
Как установить скилл rust?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rust запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic