rust

Apply Rust best-practice patterns for ownership, error handling, and async programming.

9|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/calcosmic/Aether --skill rust-calcosmic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust
Source: https://github.com/calcosmic/Aether/tree/main/.aether/skills-codex/domain/rust
Command: npx skills add https://github.com/calcosmic/Aether --skill rust-calcosmic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams apply Rust best practices to build reliable, high-performance software across systems programming, CLI tools, and WebAssembly by giving concrete guidelines and patterns.

Core Features & Use Cases

  • Ownership and borrowing guidance to prevent data races and memory leaks.
  • Robust error handling and ergonomic crate design for libraries and applications.
  • Async programming patterns with Tokio and modern Rust tooling, including WASM targets.

Quick Start

Provide a tailored Rust best-practices plan for a new project that uses Tokio and Serde.

Frequently Asked Questions about rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle ownership and borrowing in Rust to prevent data races?

Rust ownership and borrowing guidance prevents data races and memory leaks by applying concrete best-practice patterns for reliable memory management. These rules ensure safe concurrent access without a garbage collector.

What is the best way to structure error handling in a Rust library?

Robust Rust error handling uses ergonomic crate design patterns to build reliable libraries and applications. This approach ensures errors are explicitly typed and propagated cleanly across your application boundaries.

How do I write async programming patterns with Tokio in Rust?

Async Rust programming with Tokio applies modern tooling patterns to build high-performance concurrent systems. These guidelines help you structure asynchronous tasks and manage runtime execution effectively.

Does this Rust guidance apply to WebAssembly and CLI tool projects?

Yes, these Rust best practices apply directly to systems programming, CLI tools, and WebAssembly projects. The patterns guide project structure and cargo usage across these specific target platforms.

Can I use these Rust best practices with web frameworks like Axum and Actix-web?

Yes, the guidelines support common Rust stacks including Axum, Actix-web, Serde, and Tokio. You can apply these concrete best-practice patterns to build reliable web services and applications.