# rust_development

Guides Rust development with conventions for Tokio runtimes, Axum web services, and strict error handling.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 43 repo stars
- Author: vuralserhat86
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vuralserhat86/antigravity-agentic-skills/tree/HEAD/skills/rust_development/SKILL.md
- Updated: 2026-01-03
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/vuralserhat86-rust-development

## What it does

The skill provides guidelines for idiomatic Rust applications. It establishes design patterns for Axum routing and Tokio tasks. Direct panics via `unwrap()` are explicitly forbidden in production code paths.

Error management follows clear boundaries. Library crates must declare explicit types using `thiserror`, while application layers manage contexts through `anyhow`. The workflow incorporates `cargo-deny` checks and strict `clippy` runs enforcing `-D warnings`. Structured logging relies on `tracing`.

Production tuning requires explicit profile flags: omitting `lto = true` and `codegen-units = 1` in `Cargo.toml` leaves link-time optimizations disabled.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vuralserhat86/antigravity-agentic-skills --skill rust_development -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/rust_development/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/rust_development/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vuralserhat86/antigravity-agentic-skills --skill rust_development -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/rust_development/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vuralserhat86/antigravity-agentic-skills --skill rust_development -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/rust_development/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vuralserhat86/antigravity-agentic-skills skills/rust_development
```

2. **Manually: put the files in place**
- File: `.github/skills/rust_development/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vuralserhat86/antigravity-agentic-skills --skill rust_development -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vuralserhat86/antigravity-agentic-skills --path skills/rust_development
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/rust_development/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vuralserhat86/antigravity-agentic-skills --skill rust_development -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vuralserhat86/antigravity-agentic-skills/tree/HEAD/skills/rust_development/SKILL.md

## When to use it
- scaffold an Axum web service with Tokio runtime
- configure structured logging with tracing crates
- separate library errors via thiserror from anyhow contexts
- tune release profiles with LTO flags in Cargo.toml

## Example prompts
- Create a typed Axum route handler returning JSON with Tokio
- Define an application error enum with thiserror without using unwrap
- Set up Cargo workspace checks with strict clippy warnings

## Similar
- [rust](https://affpapa.org/en/nevibecode/skills/oakoss-rust.md) — skill · 128 installs
- [rust-stinger](https://affpapa.org/en/nevibecode/skills/rust-stinger.md) — skill · ★ 96 repo stars
- [rust-pro](https://affpapa.org/en/nevibecode/agents/rust-pro.md) — subagent · 1148 installs
- [rust-engineer](https://affpapa.org/en/nevibecode/skills/rust-engineer.md) — skill · 6900 installs
- [rust-project](https://affpapa.org/en/nevibecode/commands/rust-project.md) — command · ★ 42780 repo stars
- [rust-crate-ci](https://affpapa.org/en/nevibecode/skills/rust-crate-ci.md) — skill · ★ 539 repo stars

From the same set: [vuralserhat86/antigravity-agentic-skills](https://affpapa.org/en/nevibecode/by/vuralserhat86/antigravity-agentic-skills.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
