rust
Rust Programming Language
Entry point for Rust development. Provides an overview and routes to focused skills.
When to Use This Skill
Activate when:
- Starting a new Rust project
- Needing a general overview of Rust capabilities
- Unsure which specific Rust skill to load
Available Skills
This plugin provides focused skills for specific Rust topics:
- rust:ownership - Ownership rules, borrowing, slices, lifetimes
- rust:error-handling - Result, Option, ? operator, custom error types
- rust:async - Async functions, tokio, streams, threads, channels, shared state
- rust:testing - Unit tests, integration tests, cargo test, Cargo.toml, commands
- rust:troubleshooting - Best practices, common patterns, idiomatic Rust
For core language features (traits, generics, collections, pattern matching), see references/language.md.
Quick Start
# Install via mise
mise use rust@latest
# Create a new project
cargo new myproject
cd myproject
# Build and run
cargo run
See templates/mise.toml for project task definitions.
Key Principles
- Ownership ensures memory safety: no garbage collector needed
- Borrow checker prevents data races: compile-time safety
- Zero-cost abstractions: high-level code compiles to efficient machine code
- Explicit over implicit: be clear about ownership, mutability, errors
- Prefer immutability: use
mutonly when needed - Use the type system: let the compiler catch errors
- Test thoroughly: tests are first-class in Rust
- Use clippy: catch common mistakes and non-idiomatic code
More from vinnie357/claude-skills
material-design
Guide for implementing Material Design 3 (Material You). Use when designing Android apps, implementing dynamic theming, or following Material component patterns.
18elixir-testing
Guide for Elixir testing with ExUnit. Use when writing unit tests, implementing property-based tests, setting up mocks, or organizing test suites.
16elixir-anti-patterns
Identify and refactor Elixir anti-patterns. Use when reviewing Elixir code for smells, refactoring problematic patterns, or improving code quality.
15phoenix-framework
Guide for Phoenix web applications. Use when building Phoenix apps, implementing LiveView, designing contexts, setting up channels, or integrating Tidewave MCP dev tools.
14nushell
Guide for using Nushell for structured data pipelines and scripting. Use when writing shell scripts, processing structured data, or working with cross-platform automation.
14documentation-writing
Guide for writing technical documentation. Use when creating README files, API documentation, guides, or inline code documentation.
12