rust

Define Rust development and Cargo workflow conventions for projects.

47|11|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/styrene-lab/omegon --skill rust-styrene-lab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rust
Source: https://github.com/styrene-lab/omegon/tree/main/skills/rust
Command: npx skills add https://github.com/styrene-lab/omegon --skill rust-styrene-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill gives you a consistent way to develop, test, format, and lint Rust projects without improvising workflow details each time.

Core Features & Use Cases

  • Stable Rust toolchain guidance for predictable builds and compatibility.
  • Cargo-first workflows for building, testing, formatting, documentation, and dependency inspection.
  • Clippy and rustfmt conventions for keeping code quality and style aligned.
  • Testing patterns for unit tests, async tests, and targeted test filtering.
  • Error-handling guidance for libraries and applications, including when to use custom errors or ergonomic result types.
  • Use it when setting up a new Rust workspace, standardizing a team project, or diagnosing CI failures in a Cargo-based repository.

Quick Start

Ask me to inspect your Rust project and recommend the right Cargo commands, linting setup, testing approach, and error-handling conventions.

Frequently Asked Questions about rust

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

FAQPage Schema
How do I set up a Rust workspace with Cargo for predictable builds?▼

A stable Rust toolchain is recommended for predictable builds and compatibility. Cargo-first workflows handle building, testing, formatting, documentation, and dependency inspection to standardize Rust project development.

What is the best way to configure clippy and rustfmt for a Rust project?▼

Configuring clippy and rustfmt involves applying their standard conventions to keep code quality and style aligned across a Rust project. This standardizes linting and formatting without improvising workflow details.

How do I write async tests and filter unit tests in Rust?▼

Writing async tests and unit tests in Rust uses standard testing patterns that support targeted test filtering. Cargo workflows satisfy these build and test commands for consistent execution.

When should I use custom errors versus ergonomic result types in Rust?▼

Use custom errors in Rust libraries and applications when specific error handling is needed, and ergonomic result types for simpler flows. Error-handling guidance dictates standard practices for both contexts.

Can I use this to standardize a team Rust project and diagnose CI failures?▼

Yes, this is designed for standardizing team Rust projects and diagnosing CI failures in Cargo-based repositories. It provides workspace layout, testing, linting, and CI setup conventions.