rust-engineer
Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions.
Skill by https://github.com/Jeffallan
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/aitechnerd-rust-engineer
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.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
rust-engineer- Description
- Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result/Option. Use when building Rust applications, solving ownership or borrowing issues, designing trait-based APIs, implementing async/await concurrency, creating FFI bindings, or optimizing for performance and memory safety. Invoke for Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming.
- License
- MIT
- Metadata
- role: specialist · scope: implementation · author: https://github.com/Jeffallan · domain: language · version: 1.1.0 · triggers: Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming · output-format: code · related-skills: test-master
- Instructions
- 142 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (6)
- SKILL.md
- async.md · references/
- error-handling.md · references/
- ownership.md · references/
- testing.md · references/
- traits.md · references/
SKILL.md (first lines)
# Rust Engineer
Senior Rust engineer with deep expertise in Rust 2021 edition, systems programming, memory safety, and zero-cost abstractions. Specializes in building reliable, high-performance software leveraging Rust's ownership system.
## Core Workflow
1. **Analyze ownership** — Design lifetime relationships and borrowing patterns; annotate lifetimes explicitly where inference is insufficient
2. **Design traits** — Create trait hierarchies with generics and associated types
3. **Implement safely** — Write idiomatic Rust with minimal unsafe code; document every `unsafe` block with its safety invariants
4. **Handle errors** — Use `Result`/`Option` with `?` operator and custom error types via `thiserror`
5. **Validate** — Run `cargo clippy --all-targets --all-features`, `cargo fmt --check`, and `cargo test`; fix all warnings before finalising
## Key Patterns with Examples
### Ownership & Lifetimes
```rust
// Explicit lifetime annotation — borrow lives as long as the input slice
fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
if x.len() > y.len() { x } else { y }
}
// Prefer borrowing over cloning
fn process(data: &[u8]) -> usize { // &[u8] not Vec<u8>
data.iter().filter(|&&b| b != 0).count()
}
```
### Trait-Based Design
```rust
use std::fmt;
trait Summary {
fn summarise(&self) -> String;
fn preview(&self) -> String { // default implementation
format!("{}...", &self.summarise()[..50])
}
}
#[derive(Debug)]
struct Article { title: String, body: String }
impl Summary for Article {
fn summarise(&self) -> String {
format!("{}: {}", self.title, self.body)
}
}
```
### Error Handling with `thiserror`
```rust
use thiserror::Error;
#[derive(Debug, Error)]
pub enum AppError {
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),
#[error("parse error for value `{value}`: {reason}")]
Parse { value: String, reason: String },
}
// ? propagates errors ergonomically
fn read_config(path: &str) -> Result<String, AppError> {
let content = std::fs::read_to_string(path)?; // Io variant via #[from]
Ok(content)
}
```
### Async / Await with Tokio
```rust
use tokio::time::{sleep, Duration};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let result = fetch_data("https://example.com").await?;
println!("{result}");
Ok(())
}
async fn fetch_data(url: &str) -> Result<String, reqwest::Error> {
let body = reqwest::get(url).await?.text().await?;
Ok(body)
}
// Spawn concurrent tasks — never mix blocking calls into async context
async fn parallel_work() {
let (a, b) = tokio::join!(
sleep(Duration::from_millis(100)),
sleep(Duration::from_millis(100)),
);
}
```
### Validation Commands
```bash
cargo fmt --check # style check
cargo clippy --all-targets --all-features # lints
cargo test # unit + integration tests
cargo test --doc # doctests
cargo bench # criterion benchmarks (if present)
```
## Constraints
### MUST DO
- Use ownership and borrowing for memory safety
- Minimize unsafe code (document all unsafe blocks with safety invariants)
- Use type system for compile-time guarantees
- Handle all errors explicitly (`Result`/`Option`)
- Add comprehensive documentation with examples
- Run `cargo clippy` and fix all warnings
- Use `cargo fmt` for consistent formatting
- Write tests including doctests
### MUST NOT DOFrom aitechnerd/ai-dev-team, MIT.
More from aitechnerd/ai-dev-team
- 0.433score
git-mastery
aitechnerd
Git workflows, commit conventions, branching strategies, and safe operations.
SkillDFreshness: D★ 1Claude Code +9 - 0.433score
qa-browser
aitechnerd
Systematically QA test a web application using Playwright CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
hipaa
aitechnerd
HIPAA compliance review for healthcare software.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
browse
aitechnerd
General-purpose browser automation using Playwright CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
eval
aitechnerd
Evaluate and improve AI Dev Team skills.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
scan
aitechnerd
Run all available security and quality scanners on the codebase.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
build-phase
aitechnerd
Implement phases from the active feature's technical plan.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
qa-check
aitechnerd
Quick QA check on current changes without the full pipeline.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
retro
aitechnerd
Weekly engineering retrospective.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
revert
aitechnerd
Revert a specific phase or the entire feature by logical unit.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
review
aitechnerd
Fix-first review pipeline.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
health
aitechnerd
Run code health checks: full assessment, targeted refactoring, or dependency updates.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 24, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.0
- License
- MIT
- Repository
- github.com/aitechnerd/ai-dev-team
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.697score
rust-engineer
https://github.com/Jeffallan
Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions.
SkillAFreshness: A★ 12KClaude Code +9 - 0.290score
rust-engineer
https://github.com/Jeffallan
Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions.
SkillBFreshness: B★ 11Claude Code +9
More from https://github.com/Jeffallan
- 0.697score
angular-architect
https://github.com/Jeffallan
Generates Angular 17+ standalone components, configures advanced routing with lazy loading and guards, implements NgRx state management, applies RxJS…
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
spec-miner
https://github.com/Jeffallan
Reverse-engineering specialist that extracts specifications from existing codebases.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
cpp-pro
https://github.com/Jeffallan
Writes, optimizes, and debugs C++ applications using modern C++20/23 features, template metaprogramming, and high-performance systems techniques.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
code-documenter
https://github.com/Jeffallan
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
fullstack-guardian
https://github.com/Jeffallan
Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
api-designer
https://github.com/Jeffallan
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture.
SkillAFreshness: A★ 12KClaude Code +9
Cite this page
rust-engineer skill. Agent Mart. https://agentmart.dev/skills/aitechnerd-rust-engineer (last updated 2026-10-24)