rust-pro

Implements Rust 1.75+ applications with async patterns, type safety, and performance optimization.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/mst-software-vn/mst-checkscam --skill rust-pro-mst-software-vn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rust-pro
Source: https://github.com/mst-software-vn/mst-checkscam/tree/main/.agent/skills/rust-pro
Command: npx skills add https://github.com/mst-software-vn/mst-checkscam --skill rust-pro-mst-software-vn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing production-grade Rust requires navigating ownership rules, lifetimes, async runtimes, and a fast-moving crate ecosystem, which slows down developers building systems software or web services. ## Core Features & Use Cases - Async & Concurrency Design: Build Tokio-based services with channels, streams, backpressure handling, and axum web frameworks. - Type System & Memory Safety: Apply advanced traits, GATs, smart pointers, and zero-cost abstractions for compile-time correctness. - Performance & Testing: Profile hotspots, write property-based tests with proptest, and benchmark with criterion. - Use Case: Ask it to design a high-performance async web service with structured error handling, and it will produce idiomatic Rust code with tests, linting, and optimization guidance. ## Quick Start Ask the assistant to design or review a Rust service, for example: build an async REST API with axum, sqlx, and proper error handling.

Frequently Asked Questions about rust-pro

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

FAQPage Schema
How do I build an async web service in Rust?▼

Use the Tokio runtime with the axum framework for routing and handlers, sqlx or diesel for database access, and serde for serialization. Structure errors with thiserror and anyhow, and add tower middleware for authentication and logging.

What is the best way to handle errors in Rust applications?▼

Define custom error types with thiserror for libraries and use anyhow for application-level error propagation. Return Result types explicitly, convert errors with the From trait, and preserve context across module boundaries.

How do I fix lifetime and borrowing errors in Rust?▼

Lifetime errors usually signal unclear ownership; restructure so each value has one clear owner, use references for short-lived borrows, and apply Rc, Arc, or RefCell when shared or interior mutability is required. Explicit lifetime annotations resolve ambiguous cases in generics.

Does Rust support lock-free concurrent data structures?▼

Yes, Rust supports lock-free programming through atomic operations in std::sync::atomic and crates like crossbeam. The ownership system enforces thread safety at compile time via the Send and Sync marker traits.

When should I avoid using Rust for a project?▼

Avoid Rust for quick throwaway scripts, prototypes needing rapid iteration, or projects where a dynamic runtime is required. The compile-time safety guarantees add upfront design cost that does not pay off for short-lived tooling.