Skill: Rust Backend Development
Overview
Expert in building type-safe, concurrent Rust services with ownership patterns and clean architecture.
Rule Categories
| Priority | Category | Impact |
|---|---|---|
| 1 | Rust Idioms | HIGH |
| 2 | Error Handling | MEDIUM |
Core Expertise
- Clean Architecture: Domain → Application → Presentation.
- Ownership & Borrowing: No nulls, memory safe, and explicit Result/Option handling.
- Trait-Based Design: Composition over inheritance.
Instructions for the Agent
- Consult Internal Rules: Always refer to the
rules/directory within this skill for Rust-specific idioms and error codes. - No Unwraps: Avoid
unwrap()unless in debug or tests; use the?operator for error propagation. - Traits for Dependencies: Depend on traits (Arc) rather than concrete types.