rust-engineer

Write, review, and debug idiomatic Rust code with memory safety enforcement.

Updated Jun 16, 2026
One-click install
npx skills add https://github.com/Design-System-ET/genexus-dev-opencode --skill rust-engineer-design-system-et
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-engineer
Source: https://github.com/Design-System-ET/genexus-dev-opencode/tree/main/skills/rust-engineer
Command: npx skills add https://github.com/Design-System-ET/genexus-dev-opencode --skill rust-engineer-design-system-et

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of Rust's ownership model and memory safety requirements, helping developers write idiomatic, high-performance code while avoiding common pitfalls like memory leaks or data races.

Core Features & Use Cases

  • Ownership & Lifetime Management: Expert guidance on designing lifetime relationships and borrowing patterns to satisfy the borrow checker.
  • Trait-Based API Design: Assistance in creating robust trait hierarchies, generics, and associated types for modular code.
  • Async & Error Handling: Specialized patterns for building concurrent applications with tokio and implementing ergonomic error handling using Result, Option, and thiserror.
  • Use Case: Use this Skill when refactoring a performance-critical module to ensure zero-cost abstractions are used correctly or when debugging complex lifetime errors in an async-heavy codebase.

Quick Start

Invoke the rust-engineer skill to review the current module for ownership issues and suggest idiomatic improvements.

Frequently Asked Questions about rust-engineer

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

FAQPage Schema
How do I fix complex lifetime errors and ownership issues in Rust async code?

To fix lifetime errors and ownership issues in Rust async code, review borrowing patterns and lifetime annotations to satisfy the borrow checker while implementing concurrent applications using tokio.

What is the best way to design robust trait hierarchies with generics in Rust?

The best way to design robust trait hierarchies in Rust is by creating trait boundaries with generics and associated types, ensuring modular code that enforces strict memory safety and zero-cost abstractions.

How do I implement ergonomic error handling in Rust systems programming?

Implement ergonomic error handling in Rust systems programming by using Result, Option, and thiserror patterns to ensure comprehensive error propagation and compliance with Rust 2021 edition standards.

Does rust-engineer work with cargo clippy for validating Rust code?

Yes, rust-engineer integrates with cargo clippy to ensure rigorous validation of idiomatic Rust code, enforcing strict memory safety and verifying zero-cost abstractions within systems programming contexts.

When should I use zero-cost abstractions when refactoring a performance-critical Rust module?

Use zero-cost abstractions when refactoring a performance-critical Rust module to ensure high performance without runtime overhead, avoiding common pitfalls like memory leaks or data races during the optimization process.