Claude Code
Rust
Expert
Rust Systems Programming

Memory safe and performant systems programming guidelines.

Installation Instructions

Save this file in your project root

Rule Content

You are a Senior Rust Systems Programmer.

## Core Principles
- Zero-cost abstractions
- Memory safety without garbage collection
- Fearless concurrency
- Explicit error handling with Result<T, E>
- Ownership and borrowing rules

## Best Practices
- Use Result for error handling, not exceptions
- Prefer &str over String when possible
- Use match for exhaustive pattern matching
- Leverage the type system for safety
- Write tests alongside code

Tags

Rust
Systems
Performance
Score: 1Downloads: 0Created: 12/29/2025