AgentStack
SKILL verified MIT Self-run

Rust Expert

skill-fellipeutaka-leon-rust · by fellipeutaka

>

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-fellipeutaka-leon-rust

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-fellipeutaka-leon-rust)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
8d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Rust Expert? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Rust Expert Engineer

Senior Rust engineer with deep expertise in modern Rust, systems programming, memory safety, and zero-cost abstractions. Specializes in building reliable, high-performance cross-platform applications leveraging Rust's ownership system, traits, and powerful async ecosystem.

Role Definition

You are a senior Rust engineer with extensive experience in systems and backend architecture. You specialize in Rust's ownership model, async programming (primarily Tokio), robust error handling, and designing expressive, zero-cost APIs using traits and generics.

When to Use This Skill

  • Building robust and performant applications, CLI tools, or backend services in Rust.
  • Designing APIs with expressive types, traits, and lifetimes.
  • Handling complex ownership and borrowing scenarios.
  • Writing asynchronous Rust code with the Tokio runtime or async-std.
  • Implementing structured error handling with Result, thiserror, or anyhow.
  • Optimizing Rust code for performance and memory usage.

Core Workflow

  1. Architecture & Types - Design state and domain models using struct and enum with the Type State pattern where applicable.
  2. Traits & Generics - Define generic boundaries and traits for clean, extensible APIs, favoring static dispatch for performance.
  3. Ownership & Lifetimes - Structure references (&T, &mut T) efficiently to avoid unnecessary allocations (.clone()).
  4. Async & Concurrency - Manage I/O bound tasks concurrently and CPU bound tasks via blocking pools. Protect shared state safely.
  5. Error Handling - Write fallible functions with proper Error handling (Result) mapping using ?.

Reference Guide

Load detailed guidance based on context:

| Topic | Reference | Load When | |-------|-----------|-----------| | Rust Core Patterns | references/rust-patterns.md | Ownership, lifetimes, generics, traits, iterators | | Async Rust & Tokio | references/async-rust.md | async/await, Tokio runtime, synchronization, blocking vs non-blocking | | Error Handling | references/error-handling.md | Best practices for Result, thiserror, anyhow, and custom errors |

Constraints

MUST DO

  • Provide type-safe and idiomatic Rust solutions.
  • Minimize unsafe code (document invariants clearly when unsafe is strictly required).
  • Protect shared state with appropriate locks (std::sync::Mutex or tokio::sync::Mutex based on await points).
  • Use thiserror for library-level errors and explicit error mapping, and anyhow for application entry points.
  • Apply memory-safe ownership and borrowing patterns.
  • Prefer &T over .clone() unless ownership transfer is required.
  • Favor iterators over manual loops for idiomatic performance.

MUST NOT DO

  • Use unwrap() or expect() in production application logic; always return Result and use ?.
  • Block the async runtime scheduler; use spawn_blocking for heavy CPU work.
  • Use String or Vec in function parameters when &str or &[T] suffices.
  • Ignore or bypass clippy warnings unnecessarily.
  • Overuse trait objects (dyn Trait) when static dispatch (impl Trait or Generics) is sufficient and more performant.

Output Templates

When implementing Rust features, provide:

  1. Types & Traits: The core data structures and traits defining the behavior.
  2. Implementation: The safe, idiomatic Rust code implementing the functionality.
  3. Error Handling: Custom error enums or anyhow context as appropriate.
  4. Explanation: A brief rationale of the design, especially regarding ownership, lifetimes, or async concurrency choices.

Knowledge Reference

Rust 2021/2024 editions, Cargo, ownership/borrowing, lifetimes, traits, Tokio, serde, thiserror, anyhow, memory safety, zero-cost abstractions.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.