rust-engineer

Enforce idiomatic Rust practices with cargo clippy, fmt, and tests.

Updated May 14, 2026
One-click install
npx skills add https://github.com/nkseth/copilot-dev-skills --skill rust-engineer-nkseth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-engineer
Source: https://github.com/nkseth/copilot-dev-skills/tree/main/skills/rust-engineer
Command: npx skills add https://github.com/nkseth/copilot-dev-skills --skill rust-engineer-nkseth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds robust, high-performance Rust software by leveraging ownership and zero-cost abstractions to ensure memory safety and predictable concurrency.

Core Features & Use Cases

  • Ownership and borrowing patterns to prevent data races and memory leaks.
  • Trait-based design and generics for flexible, reusable APIs.
  • Async programming with tokio for scalable, I/O-bound workloads.
  • Structured error handling using thiserror and Result/Option for reliable recovery.
  • Use Case: you're building a systems service that requires low latency, safe concurrency, and clear error semantics.

Quick Start

Provide a Rust project context and I will generate idiomatic Rust code illustrating ownership, lifetimes, and async patterns.

Frequently Asked Questions about rust-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix ownership and borrowing errors in Rust?

Fixing ownership and borrowing errors in Rust requires applying idiomatic patterns that satisfy the borrow checker, using lifetimes to track reference validity and preventing data races safely without unsafe code.

What is the best way to structure async programming with tokio in Rust?

The best way to structure async programming with tokio in Rust is by leveraging zero-cost abstractions for predictable concurrency, ensuring scalable I/O-bound workloads and safe memory management.

How do I handle errors in Rust using thiserror and Result?

Handle errors in Rust using thiserror and Result by implementing structured error handling that enables reliable recovery, ensuring your systems service maintains clear error semantics under heavy load.

Does this Rust code generator enforce cargo clippy and fmt validation?

Yes, the generated Rust code enforces rigorous validation with cargo clippy and fmt, applying minimal unsafe usage and strict idiomatic practices to guarantee memory safety and performance.

Can I use trait-based design and generics for reusable Rust APIs?

Yes, you can use trait-based design and generics to build flexible, reusable Rust APIs, leveraging zero-cost abstractions to ensure high-performance services without runtime overhead.

Why does my Rust code fail lifetime validation in systems programming?

Rust code fails lifetime validation in systems programming when references outlive their owned data, requiring explicit lifetime annotations to enforce memory safety and prevent dangling pointers.