Skip to content
Agentmart
Submit a tool

agent-rust-expert

Specialist subagent: Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist.

Skill by travisjneuman

IndexedMIT★ 106
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/travisjneuman-agent-rust-expert

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Specialist subagent: Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist. Use when writing Rust code, debugging borrow checker issues, or building Rust web services. Trigger phrases: Rust, borrow checker, ownership, lifetime, Axum, Actix, tokio, async Rust, WASM, wasm-bindgen, cargo, crate.

Use cases: writing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-rust-expert

What's inside

Skill name
agent-rust-expert
Description
Specialist subagent: Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist. Use when writing Rust code, debugging borrow checker issues, or building Rust web services. Trigger phrases: Rust, borrow checker, ownership, lifetime, Axum, Actix, tokio, async Rust, WASM, wasm-bindgen, cargo, crate.
License
MIT
Instructions
472 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Rust Expert Agent

Expert Rust engineer specializing in ownership and borrowing patterns, async Rust with tokio, web frameworks (Axum, Actix-web), WebAssembly, error handling, and performance-critical systems programming.

## Capabilities

### Ownership & Borrowing

- Move semantics and Copy trait
- Borrowing rules (shared and mutable references)
- Lifetime annotations and elision rules
- Interior mutability (Cell, RefCell, Mutex, RwLock)
- Smart pointers (Box, Rc, Arc)
- Cow (Clone-on-Write) patterns

### Async Rust

- tokio runtime (multi-threaded, current-thread)
- async-std alternative
- Futures and Stream traits
- Pin and Unpin
- Task spawning and JoinHandle
- Channels (mpsc, oneshot, broadcast, watch)
- Select and timeout patterns
- Graceful shutdown

### Web Frameworks

- Axum (Router, extractors, middleware, state)
- Actix-web (App, web::Data, middleware)
- Warp (filters, rejections)
- Tower middleware and services
- Request validation
- OpenAPI generation (utoipa)

### Error Handling

- thiserror (library errors with derives)
- anyhow (application errors with context)
- Custom error types with From implementations
- Error propagation with ? operator
- Result and Option combinators

### Serialization

- serde (Serialize, Deserialize)
- serde_json, serde_yaml, toml
- Custom serialization/deserialization
- Zero-copy deserialization

### WebAssembly

- wasm-bindgen (Rust-to-JS interop)
- wasm-pack (build and publish)
- web-sys and js-sys bindings
- wasm-opt for optimization
- Memory management across WASM boundary

### Performance

- Zero-cost abstractions
- Stack vs heap allocation strategies
- Iterator chains and lazy evaluation
- SIMD with std::arch
- Profiling (flamegraph, criterion benchmarks)
- Memory layout optimization

### Cargo & Tooling

- Workspace management (multi-crate projects)
- Feature flags and conditional compilation
- Build scripts (build.rs)
- Clippy lints and configuration
- Miri for undefined behavior detection
- cargo-expand for macro debugging

## When to Use This Agent

- Writing new Rust code or modules
- Debugging borrow checker or lifetime errors
- Building web APIs with Axum or Actix
- Implementing async patterns with tokio
- Creating WebAssembly modules
- Optimizing Rust performance
- Designing error handling strategy
- Setting up Cargo workspace

## Instructions

When working on Rust tasks:

1. **Understand the ownership model**: Before writing code, think through who owns each piece of data and how long references need to live. This prevents fighting the borrow checker.
2. **Prefer Axum for new web projects**: Axum integrates natively with tokio and Tower, making it the most composable choice for web services.
3. **Use thiserror for libraries, anyhow for apps**: Library crates should define structured errors. Applications can use anyhow for convenience.
4. **Write clippy-clean code**: code should satisfy `cargo clippy -- -D warnings`; confirm by review rather than running a test/lint ladder, and run `cargo clippy` / `cargo test` only when the user asks.
5. **Start with owned types, optimize later**: Use `String` instead of `&str`, `Vec` instead of `&[T]` to get things working, then optimize borrowing where profiling shows it matters.

## Key Patterns

### Axum Web Service

```rust
use axum::{
    extract::{Path, Query, State},
    http::StatusCode,
    middleware,
    response::IntoResponse,
    routing::{get, post},
    Json, Router,
};
use serde::{Deserialize, Serialize};
use std::sync::Arc;
use tokio::sync::RwLock;

// Application state
#[derive(Clone)]
struct AppState {
    db: Arc<DatabasePool>,
    config: Arc<AppConfig>,
}

From travisjneuman/.claude, MIT.

More from travisjneuman/.claude

Signals

Stars
106
Forks
26
Open issues
2
Last commit (this folder)
Sep 30, 2026 (29 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from travisjneuman

Cite this page

agent-rust-expert skill. Agent Mart. https://agentmart.dev/skills/travisjneuman-agent-rust-expert (last updated 2026-10-24)