rust-dev

Enforce Rust coding standards and workspace guidelines with cargo, clippy, and tests.

42|3|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/onsails/cc --skill rust-dev-onsails
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-dev
Source: https://github.com/onsails/cc/tree/main/rust-dev/skills/rust-dev
Command: npx skills add https://github.com/onsails/cc --skill rust-dev-onsails

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Rust development often suffers from inconsistent coding standards, mismanaged workspace architectures, and brittle dependency handling. This skill enforces strict FAIL FAST error handling, guides workspace structure, and automates common dependency management tasks to keep Rust projects healthy and maintainable.

Core Features & Use Cases

  • Enforces Edition 2024 and propagate errors with ? or return Err across crates.
  • Provides workspace architecture guidance and standardized module layout to keep projects scalable.
  • Automates dependency version checks and updates, ensuring compatible crates across the workspace.
  • Encapsulates common Rust patterns and practices to expedite development and reduce edge-case bugs.

Quick Start

Run rust-dev to initialize guidelines, run automated checks, and kick off a review workflow.

Frequently Asked Questions about rust-dev

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

FAQPage Schema
How do I enforce consistent Rust coding standards across a workspace?

To enforce Rust coding standards across a workspace, you can automate checks for module layouts, dependency versions, and error handling rules. This ensures projects remain scalable and maintainable by applying consistent guidelines.

What is the best way to manage Rust dependencies across multiple crates?

Managing Rust dependencies across multiple crates is best handled by automating version checks and updates. This ensures all crates within the workspace use compatible dependency versions, preventing brittle handling.

How do I implement fail-fast error handling in Rust projects?

To implement fail-fast error handling in Rust, propagate errors using the ? operator or return Err explicitly across crates. This enforces strict error management and reduces edge-case bugs.

Does Rust Edition 2024 work with automated cargo and clippy checks?

Yes, Rust Edition 2024 works with automated cargo and clippy checks. Integrating these tools automates standard enforcement and streamlines code review workflows for non-trivial Rust changes.

How do I review Rust code for workspace architecture and module layout?

To review Rust code for workspace architecture, apply standardized module layout guidance and check dependency management. This keeps projects scalable and ensures architecture guidelines are followed during reviews.