rust-pro

Installation
SKILL.md

Rust Pro — Rust 1.75+ Systems Mastery


Mandatory Pre-Flight Context Inspection

Before writing Rust code or Axum handlers, you MUST inspect:

  1. Zero .unwrap() in Production → Use the ? operator and typed Result<T, E>; use .expect("invariant: explanation") only if mathematically unreachable
  2. Standard Library std::sync::LazyLock → Use native LazyLock (Rust 1.80+); ban external lazy_static or once_cell dependencies
  3. Axum 0.7+ Route Parameters → Use {id} bracket syntax for path parameters (/users/{id}); ban legacy :id syntax
  4. Tokio Cancellation Safety → Ensure tokio::select! branches do not hold partially-completed state across cancellation points

Activation Boundaries

  • Activate when: Writing systems-level Rust, Tokio async services, Axum web backends, WebAssembly modules, and performance-critical native CLI engines.
  • DO NOT activate when: Writing frontend HTML/CSS, or rapid Python/Node.js glue scripts.

2026 Rust Performance & Memory Invariants

Installs
3
GitHub Stars
7
First Seen
Apr 26, 2026