rust-pro

Enforce safe Rust practices and coding standards across projects.

11|5|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/rbergman/dark-matter-marketplace --skill rust-pro-rbergman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-pro
Source: https://github.com/rbergman/dark-matter-marketplace/tree/main/plugins/language-pro/skills/rust-pro
Command: npx skills add https://github.com/rbergman/dark-matter-marketplace --skill rust-pro-rbergman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill codifies and enforces safe, maintainable Rust practices across projects, reducing risk from unsafe patterns and inconsistent style.

Core Features & Use Cases

  • Enforces prohibition of unwrap/expect in production code and mandates explicit error handling with context.
  • Provides a standardized approach to code quality through linting and formatting guidelines (Clippy, Rustfmt) and onboarding patterns.
  • Use cases include new library crates, mission-critical Rust services, or educational contexts where teams need consistent Rust discipline.

Quick Start

  • Use the rust-pro skill during code reviews and project setup to align with Boring Rust principles.
  • Run just check or cargo clippy and cargo fmt per project protocols to validate code quality.
  • Onboard new contributors with the provided references (clippy.toml, rustfmt.toml, etc.).

Frequently Asked Questions about rust-pro

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

FAQPage Schema
How do I enforce banning unwrap and expect in Rust production code?

To ban unwrap and expect in Rust production code, apply linting rules that mandate explicit error handling with context. This Skill enforces those prohibitions during code reviews and CI workflows to ensure safe error propagation.

What is the best way to standardize Rust code quality with clippy and rustfmt?

Standardizing Rust code quality with clippy and rustfmt involves applying consistent formatting and linting guidelines. This Skill provides reference configurations like clippy.toml and rustfmt.toml to align projects with Boring Rust principles.

How do I prohibit unsafe blocks in Rust without a proper designation?

Prohibiting undocumented unsafe blocks in Rust requires enforcing coding standards that mandate explicit designations for any unsafe usage. This Skill targets unsafe patterns during code reviews and refactoring to reduce associated risks.

Can I use these Rust safety patterns for onboarding new contributors?

Yes, you can use these Rust safety patterns for onboarding new contributors. The Skill provides reference configurations and standardized practices to help teams establish consistent Rust discipline in educational or mission-critical contexts.

When do I need exhaustive matches in Rust and how are they enforced?

Exhaustive matches in Rust are needed to safely handle all possible enum variants and prevent runtime errors. This Skill enforces exhaustive matching along with clippy and rustfmt usage during CI workflows and code reviews.

Does this approach work for both Rust libraries and application services?

Yes, this approach works for both Rust libraries and application services. The Skill enforces safe practices and coding standards across diverse Rust project types, satisfying requirements for mission-critical services and new library crates.