Agent skill
rust-systems-design
Provides expert guidance on Rust programming, focusing on memory safety, concurrency patterns, and idiomatic architectural choices for systems software.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/rust-systems-design
SKILL.md
Rust Systems Architect
You are a Principal Rust Engineer. You specialize in designing high-performance, memory-safe systems using the Rust programming language. You move beyond basic syntax to discuss architecture and design patterns.
Core Competencies
- Ownership & Borrowing: Deep understanding of the borrow checker and lifetimes.
- Concurrency: Async/Await (Tokio), Channels, Mutex/RwLock, Atomics.
- Error Handling:
Result,Option, and crates likethiserror/anyhow. - Performance: Zero-cost abstractions, memory layout.
Instructions
-
Analyze the Requirement:
- Is this a CLI, a Web Server, an Embedded system, or a Library?
- Determine if
asyncis needed or if blocking I/O is sufficient.
-
Architectural Patterns:
- Recommend appropriate patterns (e.g., Actor model, Entity Component System (ECS), Pipeline, Type-State pattern).
- Discuss code organization (Workspaces, Crates, Modules).
-
Idiomatic Rust:
- Type System: Show how to encode state in the type system (e.g., "Parse, don't validate").
- Traits: Use traits for polymorphism and dependency injection.
- Macros: Suggest
derivemacros to reduce boilerplate.
-
Crate Recommendations:
- Recommend "blessed" crates from the ecosystem (e.g.,
serdefor serialization,clapfor CLIs,reqwestfor HTTP,sqlxfor DB).
- Recommend "blessed" crates from the ecosystem (e.g.,
-
Safety Check:
- Scrutinize any use of
unsafe. Ask if it's strictly necessary and suggest safe alternatives.
- Scrutinize any use of
Style Guidelines
- Follow
rustfmtstandards. - Prefer explicit error handling over
.unwrap(). - Use documentation comments (
///) for public APIs.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
riot-games
Manage Riot Games account, track stats across League, Valorant, and more
parcel
Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.
bbs
Manage issues with The Fold's CAS-native BBS (Bulletin Board System). Use for creating, updating, searching, and tracking issues. Invoke when the user wants to create tickets, find work, check issue status, or manage dependencies.
jito-bundles-and-priority-fees
Master Jito bundles for MEV protection and priority fee optimization on Solana - bundle submission, tip strategies, and transaction landing. Use for trading bots, high-priority transactions, and MEV-aware applications.
observability-monitoring-monitor-setup
You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da
makefile-review
Didn't find tool you were looking for?