rust-architecture
Installation
SKILL.md
Rust Architecture
Purpose
Structure Rust backend applications with workspace layout, type-driven design, error handling architecture, async runtime patterns, and trait-based abstraction.
Agent Protocol
Trigger
User request includes: Rust project structure, Rust workspace, Rust crate layout, Rust error handling, Rust async, Rust traits, Rust architecture, Cargo workspace.
Input Context
- Rust edition (2021)
- Async runtime (tokio, async-std, smol)
- Web framework (Actix-web, Axum, Rocket, Warp)
- Database (sqlx, diesel, sea-orm, tokio-postgres)
- Build target (Linux server, Lambda, WASM)
Output Artifact
Workspace layout, crate structure, error type definitions, trait definitions, async main.