Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bjornmelin avatar

Rust Expert

  • 6 installs
  • 5 repo stars
  • Updated August 5, 2026
  • bjornmelin/dev-skills

Rust-expert is a Claude Code skill that serves as the default router for core Rust implementation, debugging, review, and toolchain work.

About

Rust-expert is a Claude Code skill that acts as the default router for core Rust engineering, including implementation, debugging, code review, refactors, compiler errors, ownership and lifetimes, traits and generics, async and concurrency, typed errors, and Cargo and toolchain work. It inspects the repo first, loads only the references a task needs, and uses compiler and test feedback as design evidence. A developer uses it for general Rust work and it routes framework-specific tasks to narrower Rust specialists.

  • Default Rust engineering router for implementation, debugging, and review
  • Covers ownership/lifetimes, traits/generics, async, typed errors, and Cargo/MSRV
  • Routes framework-specific tasks to CLI, TUI, Tauri, and web-service specialists

Rust Expert by the numbers

  • 6 all-time installs (skills.sh)
  • Ranked #90 of 121 Rust skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

rust-expert capabilities & compatibility

Free; uses the Rust toolchain and cargo.

Capabilities
rust engineering · code review · refactoring · crate selection
Use cases
refactoring · debugging · code review · testing
Pricing
Free
From the docs

What rust-expert says it does

Use this as the default Rust engineering router. Inspect the repo first, load only the references needed for the task, then use compiler/test feedback as design evidence.
SKILL.md
Fix the root cause. Avoid silencing Rust with reflexive `.clone()`, `Arc<Mutex<_>>`, broad trait bounds, `unwrap`, or `unsafe`.
SKILL.md
If no specialist owns the task, stay in `rust-expert`.
SKILL.md
npx skills add https://github.com/bjornmelin/dev-skills --skill rust-expert

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6
repo stars5
Last updatedAugust 5, 2026
Repositorybjornmelin/dev-skills

What it does

Handle core Rust implementation, debugging, review, and toolchain work, routing framework tasks to specialists.

Who is it for?

Rust implementation, debugging, code review, refactors, ownership/async/error design, crate selection, and Cargo/toolchain work.

Skip if: Focused framework or product-surface work when a narrower Rust specialist skill applies.

When should I use this skill?

Rust implementation, compiler errors, ownership/lifetimes, traits/generics, async, typed errors, or Cargo/MSRV decisions.

What you get

Root-cause Rust fixes validated by compiler and test feedback, with correct crate and toolchain decisions.

  • root-cause Rust fixes
  • crate and toolchain decisions
  • verification ladder commands

By the numbers

  • 5-step operating model
  • 6-line verification ladder
  • 3 helper scripts

Files

SKILL.mdMarkdownGitHub ↗

Rust Expert

Use this as the default Rust engineering router. Inspect the repo first, load only the references needed for the task, then use compiler/test feedback as design evidence.

Operating Model

1. Read the local guidance and manifests first: AGENTS.md, Cargo.toml, Cargo.lock, rust-toolchain.toml, .cargo/config.toml, CI, justfile, mise.toml, and nearby tests. 2. Classify the task before editing: compile failure, implementation, review, refactor, dependency, public API, release, performance, or security. 3. Fix the root cause. Avoid silencing Rust with reflexive .clone(), Arc<Mutex<_>>, broad trait bounds, unwrap, or unsafe. 4. Use repo-native gates first. When command surface is unclear, run scripts/discover-rust-gates.mjs <repo-root>. 5. Research current docs/source when facts can drift: dependency additions or upgrades, version-sensitive APIs, Tauri/plugin support, public API/release decisions, security, unsafe/FFI, or novel crates.

Domain Routing

Use these implicit specialist skills when the task clearly belongs there:

SignalPrefer
Command-line app, subcommands, flags, config precedence, JSON/stdout contractsrust-cli-clap
Terminal UI, interactive dashboards, Ratatui widgets/layout/eventsrust-tui-ratatui
Tauri v2, src-tauri, commands, capabilities, IPC, updater, mobile layoutrust-tauri-apps
HTTP APIs/services, Axum, Tower, Tokio server runtime, DB poolsrust-web-services
Broad architecture review or multi-domain Rust planning explicitly requestedrust-mega-eng

If no specialist owns the task, stay in rust-expert.

Reference Map

Load the smallest needed set:

  • references/toolchain-cargo.md: editions, MSRV, resolver, lockfiles, features,

workspace policy, verification commands.

  • references/ownership-async-errors.md: borrow checker, ownership,

lifetimes, async Send, task ownership, typed errors.

  • references/crate-selection.md: preferred crates, dependency decision rules,

feature hygiene, source-refresh triggers.

  • references/testing-quality.md: unit/integration/doctest/property/snapshot/

benchmark checks and reviewable test design.

  • references/performance-security.md: measurement, allocations, unsafe/FFI,

supply chain, cargo-deny/audit, secrets and subprocesses.

Toolchain Policy

Existing repos: preserve detected contracts first. Do not change edition, resolver, rust-version, lockfile policy, or exact toolchain pins unless the task is explicitly a migration or the repo is missing required metadata.

Greenfield defaults:

  • edition = "2024".
  • Set [workspace] resolver = "3" explicitly for virtual workspaces.
  • Add an explicit rust-version and document the policy.
  • Commit Cargo.lock by default; for public libraries, also test latest

dependency resolution because consumers use Cargo.toml.

  • Avoid exact rust-toolchain.toml version pins unless reproducibility,

nightly, embedded/custom targets, or release policy requires them.

Verification Ladder

Start narrow, then broaden:

cargo check -p <crate>
cargo test -p <crate> <test_name>
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --all-targets --all-features --locked
cargo test --doc --workspace --locked

Use cargo nextest run when configured. Add cargo hack, cargo deny, cargo audit, cargo semver-checks, or release tooling only when the repo or change surface warrants it.

Helper Scripts

  • scripts/discover-rust-gates.mjs [repo-root]: print likely Rust gates.
  • scripts/check-reference-links.mjs <skill-dir...>: validate local skill links.
  • scripts/check-trigger-evals.mjs <skill-dir...>: validate trigger eval JSON.

Related skills

FAQ

When does rust-expert defer to a specialist?

It routes CLI, TUI, Tauri, web-service, and broad multi-domain architecture tasks to rust-cli-clap, rust-tui-ratatui, rust-tauri-apps, rust-web-services, and rust-mega-eng.

What is its approach to compiler errors?

Fix the root cause and avoid reflexive .clone(), Arc<Mutex<_>>, broad bounds, unwrap, or unsafe.

Rustbackendtestingintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.